google-cloud-ai_platform-v1 0.32.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a9c9842b290132b7a1c37921490ffc787f2d4c9cc221aa50a6d3134af02ff06
4
- data.tar.gz: 8ffb9423ddec5d6dfc24ef9ceec65e8c5c68b0c54fc6aef22898a2921b725e0c
3
+ metadata.gz: 999730abf10f1e63a4ec176910afc133c77ec0daec9c05ff2403169285f544ec
4
+ data.tar.gz: cfc15d6a1c71d3ce6a49bf0d75aeab2b2e64cd8d4564cea86d8fa675b1552a3b
5
5
  SHA512:
6
- metadata.gz: 4eb8c8ecea4c9cb0bb938f3893188300c36e6e87b9c8ebe6f26f2fe328560a275235f42bd7a5fa7d57085a2e7f5da93cf20eb856fe88f8b2c867de1413339ea5
7
- data.tar.gz: 9b6dae375eab185698d6a54f4928319b391e2a6ff6fc29c19078eb48f0a0cbac5c6daaa1ce48b698b461b8340725d629b4367d1604cd97ba09f63421c03a6028
6
+ metadata.gz: 5a21c2f061345439ab3db3637ed7551f2ed91c3f9c133ca91905d7d099cfbf671c41216c6ad909d29f36cc05bfed7e9a71c2e456c5635458fd336b4b725c5df2
7
+ data.tar.gz: dd34fa4665a913961ef97587b76bb3c12ddaaa82413079c2e0ca140354ed544c3a022e87242a6e89ed37eea038dd2c0bf38f4266cdbf3510cae2b75a965857d8
@@ -872,6 +872,487 @@ module Google
872
872
  raise ::Google::Cloud::Error.from_error(e)
873
873
  end
874
874
 
875
+ ##
876
+ # Create a version from a Dataset.
877
+ #
878
+ # @overload create_dataset_version(request, options = nil)
879
+ # Pass arguments to `create_dataset_version` via a request object, either of type
880
+ # {::Google::Cloud::AIPlatform::V1::CreateDatasetVersionRequest} or an equivalent Hash.
881
+ #
882
+ # @param request [::Google::Cloud::AIPlatform::V1::CreateDatasetVersionRequest, ::Hash]
883
+ # A request object representing the call parameters. Required. To specify no
884
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
885
+ # @param options [::Gapic::CallOptions, ::Hash]
886
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
887
+ #
888
+ # @overload create_dataset_version(parent: nil, dataset_version: nil)
889
+ # Pass arguments to `create_dataset_version` via keyword arguments. Note that at
890
+ # least one keyword argument is required. To specify no parameters, or to keep all
891
+ # the default parameter values, pass an empty Hash as a request object (see above).
892
+ #
893
+ # @param parent [::String]
894
+ # Required. The name of the Dataset resource.
895
+ # Format:
896
+ # `projects/{project}/locations/{location}/datasets/{dataset}`
897
+ # @param dataset_version [::Google::Cloud::AIPlatform::V1::DatasetVersion, ::Hash]
898
+ # Required. The version to be created. The same CMEK policies with the
899
+ # original Dataset will be applied the dataset version. So here we don't need
900
+ # to specify the EncryptionSpecType here.
901
+ #
902
+ # @yield [response, operation] Access the result along with the RPC operation
903
+ # @yieldparam response [::Gapic::Operation]
904
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
905
+ #
906
+ # @return [::Gapic::Operation]
907
+ #
908
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
909
+ #
910
+ # @example Basic example
911
+ # require "google/cloud/ai_platform/v1"
912
+ #
913
+ # # Create a client object. The client can be reused for multiple calls.
914
+ # client = Google::Cloud::AIPlatform::V1::DatasetService::Client.new
915
+ #
916
+ # # Create a request. To set request fields, pass in keyword arguments.
917
+ # request = Google::Cloud::AIPlatform::V1::CreateDatasetVersionRequest.new
918
+ #
919
+ # # Call the create_dataset_version method.
920
+ # result = client.create_dataset_version request
921
+ #
922
+ # # The returned object is of type Gapic::Operation. You can use it to
923
+ # # check the status of an operation, cancel it, or wait for results.
924
+ # # Here is how to wait for a response.
925
+ # result.wait_until_done! timeout: 60
926
+ # if result.response?
927
+ # p result.response
928
+ # else
929
+ # puts "No response received."
930
+ # end
931
+ #
932
+ def create_dataset_version request, options = nil
933
+ raise ::ArgumentError, "request must be provided" if request.nil?
934
+
935
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::CreateDatasetVersionRequest
936
+
937
+ # Converts hash and nil to an options object
938
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
939
+
940
+ # Customize the options with defaults
941
+ metadata = @config.rpcs.create_dataset_version.metadata.to_h
942
+
943
+ # Set x-goog-api-client and x-goog-user-project headers
944
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
945
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
946
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
947
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
948
+
949
+ header_params = {}
950
+ if request.parent
951
+ header_params["parent"] = request.parent
952
+ end
953
+
954
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
955
+ metadata[:"x-goog-request-params"] ||= request_params_header
956
+
957
+ options.apply_defaults timeout: @config.rpcs.create_dataset_version.timeout,
958
+ metadata: metadata,
959
+ retry_policy: @config.rpcs.create_dataset_version.retry_policy
960
+
961
+ options.apply_defaults timeout: @config.timeout,
962
+ metadata: @config.metadata,
963
+ retry_policy: @config.retry_policy
964
+
965
+ @dataset_service_stub.call_rpc :create_dataset_version, request, options: options do |response, operation|
966
+ response = ::Gapic::Operation.new response, @operations_client, options: options
967
+ yield response, operation if block_given?
968
+ return response
969
+ end
970
+ rescue ::GRPC::BadStatus => e
971
+ raise ::Google::Cloud::Error.from_error(e)
972
+ end
973
+
974
+ ##
975
+ # Deletes a Dataset version.
976
+ #
977
+ # @overload delete_dataset_version(request, options = nil)
978
+ # Pass arguments to `delete_dataset_version` via a request object, either of type
979
+ # {::Google::Cloud::AIPlatform::V1::DeleteDatasetVersionRequest} or an equivalent Hash.
980
+ #
981
+ # @param request [::Google::Cloud::AIPlatform::V1::DeleteDatasetVersionRequest, ::Hash]
982
+ # A request object representing the call parameters. Required. To specify no
983
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
984
+ # @param options [::Gapic::CallOptions, ::Hash]
985
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
986
+ #
987
+ # @overload delete_dataset_version(name: nil)
988
+ # Pass arguments to `delete_dataset_version` via keyword arguments. Note that at
989
+ # least one keyword argument is required. To specify no parameters, or to keep all
990
+ # the default parameter values, pass an empty Hash as a request object (see above).
991
+ #
992
+ # @param name [::String]
993
+ # Required. The resource name of the Dataset version to delete.
994
+ # Format:
995
+ # `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
996
+ #
997
+ # @yield [response, operation] Access the result along with the RPC operation
998
+ # @yieldparam response [::Gapic::Operation]
999
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1000
+ #
1001
+ # @return [::Gapic::Operation]
1002
+ #
1003
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1004
+ #
1005
+ # @example Basic example
1006
+ # require "google/cloud/ai_platform/v1"
1007
+ #
1008
+ # # Create a client object. The client can be reused for multiple calls.
1009
+ # client = Google::Cloud::AIPlatform::V1::DatasetService::Client.new
1010
+ #
1011
+ # # Create a request. To set request fields, pass in keyword arguments.
1012
+ # request = Google::Cloud::AIPlatform::V1::DeleteDatasetVersionRequest.new
1013
+ #
1014
+ # # Call the delete_dataset_version method.
1015
+ # result = client.delete_dataset_version request
1016
+ #
1017
+ # # The returned object is of type Gapic::Operation. You can use it to
1018
+ # # check the status of an operation, cancel it, or wait for results.
1019
+ # # Here is how to wait for a response.
1020
+ # result.wait_until_done! timeout: 60
1021
+ # if result.response?
1022
+ # p result.response
1023
+ # else
1024
+ # puts "No response received."
1025
+ # end
1026
+ #
1027
+ def delete_dataset_version request, options = nil
1028
+ raise ::ArgumentError, "request must be provided" if request.nil?
1029
+
1030
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::DeleteDatasetVersionRequest
1031
+
1032
+ # Converts hash and nil to an options object
1033
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1034
+
1035
+ # Customize the options with defaults
1036
+ metadata = @config.rpcs.delete_dataset_version.metadata.to_h
1037
+
1038
+ # Set x-goog-api-client and x-goog-user-project headers
1039
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1040
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1041
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1042
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1043
+
1044
+ header_params = {}
1045
+ if request.name
1046
+ header_params["name"] = request.name
1047
+ end
1048
+
1049
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1050
+ metadata[:"x-goog-request-params"] ||= request_params_header
1051
+
1052
+ options.apply_defaults timeout: @config.rpcs.delete_dataset_version.timeout,
1053
+ metadata: metadata,
1054
+ retry_policy: @config.rpcs.delete_dataset_version.retry_policy
1055
+
1056
+ options.apply_defaults timeout: @config.timeout,
1057
+ metadata: @config.metadata,
1058
+ retry_policy: @config.retry_policy
1059
+
1060
+ @dataset_service_stub.call_rpc :delete_dataset_version, request, options: options do |response, operation|
1061
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1062
+ yield response, operation if block_given?
1063
+ return response
1064
+ end
1065
+ rescue ::GRPC::BadStatus => e
1066
+ raise ::Google::Cloud::Error.from_error(e)
1067
+ end
1068
+
1069
+ ##
1070
+ # Gets a Dataset version.
1071
+ #
1072
+ # @overload get_dataset_version(request, options = nil)
1073
+ # Pass arguments to `get_dataset_version` via a request object, either of type
1074
+ # {::Google::Cloud::AIPlatform::V1::GetDatasetVersionRequest} or an equivalent Hash.
1075
+ #
1076
+ # @param request [::Google::Cloud::AIPlatform::V1::GetDatasetVersionRequest, ::Hash]
1077
+ # A request object representing the call parameters. Required. To specify no
1078
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1079
+ # @param options [::Gapic::CallOptions, ::Hash]
1080
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1081
+ #
1082
+ # @overload get_dataset_version(name: nil, read_mask: nil)
1083
+ # Pass arguments to `get_dataset_version` via keyword arguments. Note that at
1084
+ # least one keyword argument is required. To specify no parameters, or to keep all
1085
+ # the default parameter values, pass an empty Hash as a request object (see above).
1086
+ #
1087
+ # @param name [::String]
1088
+ # Required. The resource name of the Dataset version to delete.
1089
+ # Format:
1090
+ # `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
1091
+ # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
1092
+ # Mask specifying which fields to read.
1093
+ #
1094
+ # @yield [response, operation] Access the result along with the RPC operation
1095
+ # @yieldparam response [::Google::Cloud::AIPlatform::V1::DatasetVersion]
1096
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1097
+ #
1098
+ # @return [::Google::Cloud::AIPlatform::V1::DatasetVersion]
1099
+ #
1100
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1101
+ #
1102
+ # @example Basic example
1103
+ # require "google/cloud/ai_platform/v1"
1104
+ #
1105
+ # # Create a client object. The client can be reused for multiple calls.
1106
+ # client = Google::Cloud::AIPlatform::V1::DatasetService::Client.new
1107
+ #
1108
+ # # Create a request. To set request fields, pass in keyword arguments.
1109
+ # request = Google::Cloud::AIPlatform::V1::GetDatasetVersionRequest.new
1110
+ #
1111
+ # # Call the get_dataset_version method.
1112
+ # result = client.get_dataset_version request
1113
+ #
1114
+ # # The returned object is of type Google::Cloud::AIPlatform::V1::DatasetVersion.
1115
+ # p result
1116
+ #
1117
+ def get_dataset_version request, options = nil
1118
+ raise ::ArgumentError, "request must be provided" if request.nil?
1119
+
1120
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::GetDatasetVersionRequest
1121
+
1122
+ # Converts hash and nil to an options object
1123
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1124
+
1125
+ # Customize the options with defaults
1126
+ metadata = @config.rpcs.get_dataset_version.metadata.to_h
1127
+
1128
+ # Set x-goog-api-client and x-goog-user-project headers
1129
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1130
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1131
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1132
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1133
+
1134
+ header_params = {}
1135
+ if request.name
1136
+ header_params["name"] = request.name
1137
+ end
1138
+
1139
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1140
+ metadata[:"x-goog-request-params"] ||= request_params_header
1141
+
1142
+ options.apply_defaults timeout: @config.rpcs.get_dataset_version.timeout,
1143
+ metadata: metadata,
1144
+ retry_policy: @config.rpcs.get_dataset_version.retry_policy
1145
+
1146
+ options.apply_defaults timeout: @config.timeout,
1147
+ metadata: @config.metadata,
1148
+ retry_policy: @config.retry_policy
1149
+
1150
+ @dataset_service_stub.call_rpc :get_dataset_version, request, options: options do |response, operation|
1151
+ yield response, operation if block_given?
1152
+ return response
1153
+ end
1154
+ rescue ::GRPC::BadStatus => e
1155
+ raise ::Google::Cloud::Error.from_error(e)
1156
+ end
1157
+
1158
+ ##
1159
+ # Lists DatasetVersions in a Dataset.
1160
+ #
1161
+ # @overload list_dataset_versions(request, options = nil)
1162
+ # Pass arguments to `list_dataset_versions` via a request object, either of type
1163
+ # {::Google::Cloud::AIPlatform::V1::ListDatasetVersionsRequest} or an equivalent Hash.
1164
+ #
1165
+ # @param request [::Google::Cloud::AIPlatform::V1::ListDatasetVersionsRequest, ::Hash]
1166
+ # A request object representing the call parameters. Required. To specify no
1167
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1168
+ # @param options [::Gapic::CallOptions, ::Hash]
1169
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1170
+ #
1171
+ # @overload list_dataset_versions(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil, order_by: nil)
1172
+ # Pass arguments to `list_dataset_versions` via keyword arguments. Note that at
1173
+ # least one keyword argument is required. To specify no parameters, or to keep all
1174
+ # the default parameter values, pass an empty Hash as a request object (see above).
1175
+ #
1176
+ # @param parent [::String]
1177
+ # Required. The resource name of the Dataset to list DatasetVersions from.
1178
+ # Format:
1179
+ # `projects/{project}/locations/{location}/datasets/{dataset}`
1180
+ # @param filter [::String]
1181
+ # Optional. The standard list filter.
1182
+ # @param page_size [::Integer]
1183
+ # Optional. The standard list page size.
1184
+ # @param page_token [::String]
1185
+ # Optional. The standard list page token.
1186
+ # @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
1187
+ # Optional. Mask specifying which fields to read.
1188
+ # @param order_by [::String]
1189
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
1190
+ # order. Use "desc" after a field name for descending.
1191
+ #
1192
+ # @yield [response, operation] Access the result along with the RPC operation
1193
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::DatasetVersion>]
1194
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1195
+ #
1196
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::DatasetVersion>]
1197
+ #
1198
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1199
+ #
1200
+ # @example Basic example
1201
+ # require "google/cloud/ai_platform/v1"
1202
+ #
1203
+ # # Create a client object. The client can be reused for multiple calls.
1204
+ # client = Google::Cloud::AIPlatform::V1::DatasetService::Client.new
1205
+ #
1206
+ # # Create a request. To set request fields, pass in keyword arguments.
1207
+ # request = Google::Cloud::AIPlatform::V1::ListDatasetVersionsRequest.new
1208
+ #
1209
+ # # Call the list_dataset_versions method.
1210
+ # result = client.list_dataset_versions request
1211
+ #
1212
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1213
+ # # over elements, and API calls will be issued to fetch pages as needed.
1214
+ # result.each do |item|
1215
+ # # Each element is of type ::Google::Cloud::AIPlatform::V1::DatasetVersion.
1216
+ # p item
1217
+ # end
1218
+ #
1219
+ def list_dataset_versions request, options = nil
1220
+ raise ::ArgumentError, "request must be provided" if request.nil?
1221
+
1222
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::ListDatasetVersionsRequest
1223
+
1224
+ # Converts hash and nil to an options object
1225
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1226
+
1227
+ # Customize the options with defaults
1228
+ metadata = @config.rpcs.list_dataset_versions.metadata.to_h
1229
+
1230
+ # Set x-goog-api-client and x-goog-user-project headers
1231
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1232
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1233
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1234
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1235
+
1236
+ header_params = {}
1237
+ if request.parent
1238
+ header_params["parent"] = request.parent
1239
+ end
1240
+
1241
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1242
+ metadata[:"x-goog-request-params"] ||= request_params_header
1243
+
1244
+ options.apply_defaults timeout: @config.rpcs.list_dataset_versions.timeout,
1245
+ metadata: metadata,
1246
+ retry_policy: @config.rpcs.list_dataset_versions.retry_policy
1247
+
1248
+ options.apply_defaults timeout: @config.timeout,
1249
+ metadata: @config.metadata,
1250
+ retry_policy: @config.retry_policy
1251
+
1252
+ @dataset_service_stub.call_rpc :list_dataset_versions, request, options: options do |response, operation|
1253
+ response = ::Gapic::PagedEnumerable.new @dataset_service_stub, :list_dataset_versions, request, response, operation, options
1254
+ yield response, operation if block_given?
1255
+ return response
1256
+ end
1257
+ rescue ::GRPC::BadStatus => e
1258
+ raise ::Google::Cloud::Error.from_error(e)
1259
+ end
1260
+
1261
+ ##
1262
+ # Restores a dataset version.
1263
+ #
1264
+ # @overload restore_dataset_version(request, options = nil)
1265
+ # Pass arguments to `restore_dataset_version` via a request object, either of type
1266
+ # {::Google::Cloud::AIPlatform::V1::RestoreDatasetVersionRequest} or an equivalent Hash.
1267
+ #
1268
+ # @param request [::Google::Cloud::AIPlatform::V1::RestoreDatasetVersionRequest, ::Hash]
1269
+ # A request object representing the call parameters. Required. To specify no
1270
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1271
+ # @param options [::Gapic::CallOptions, ::Hash]
1272
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1273
+ #
1274
+ # @overload restore_dataset_version(name: nil)
1275
+ # Pass arguments to `restore_dataset_version` via keyword arguments. Note that at
1276
+ # least one keyword argument is required. To specify no parameters, or to keep all
1277
+ # the default parameter values, pass an empty Hash as a request object (see above).
1278
+ #
1279
+ # @param name [::String]
1280
+ # Required. The name of the DatasetVersion resource.
1281
+ # Format:
1282
+ # `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
1283
+ #
1284
+ # @yield [response, operation] Access the result along with the RPC operation
1285
+ # @yieldparam response [::Gapic::Operation]
1286
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1287
+ #
1288
+ # @return [::Gapic::Operation]
1289
+ #
1290
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1291
+ #
1292
+ # @example Basic example
1293
+ # require "google/cloud/ai_platform/v1"
1294
+ #
1295
+ # # Create a client object. The client can be reused for multiple calls.
1296
+ # client = Google::Cloud::AIPlatform::V1::DatasetService::Client.new
1297
+ #
1298
+ # # Create a request. To set request fields, pass in keyword arguments.
1299
+ # request = Google::Cloud::AIPlatform::V1::RestoreDatasetVersionRequest.new
1300
+ #
1301
+ # # Call the restore_dataset_version method.
1302
+ # result = client.restore_dataset_version request
1303
+ #
1304
+ # # The returned object is of type Gapic::Operation. You can use it to
1305
+ # # check the status of an operation, cancel it, or wait for results.
1306
+ # # Here is how to wait for a response.
1307
+ # result.wait_until_done! timeout: 60
1308
+ # if result.response?
1309
+ # p result.response
1310
+ # else
1311
+ # puts "No response received."
1312
+ # end
1313
+ #
1314
+ def restore_dataset_version request, options = nil
1315
+ raise ::ArgumentError, "request must be provided" if request.nil?
1316
+
1317
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::RestoreDatasetVersionRequest
1318
+
1319
+ # Converts hash and nil to an options object
1320
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1321
+
1322
+ # Customize the options with defaults
1323
+ metadata = @config.rpcs.restore_dataset_version.metadata.to_h
1324
+
1325
+ # Set x-goog-api-client and x-goog-user-project headers
1326
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1327
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1328
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1329
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1330
+
1331
+ header_params = {}
1332
+ if request.name
1333
+ header_params["name"] = request.name
1334
+ end
1335
+
1336
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1337
+ metadata[:"x-goog-request-params"] ||= request_params_header
1338
+
1339
+ options.apply_defaults timeout: @config.rpcs.restore_dataset_version.timeout,
1340
+ metadata: metadata,
1341
+ retry_policy: @config.rpcs.restore_dataset_version.retry_policy
1342
+
1343
+ options.apply_defaults timeout: @config.timeout,
1344
+ metadata: @config.metadata,
1345
+ retry_policy: @config.retry_policy
1346
+
1347
+ @dataset_service_stub.call_rpc :restore_dataset_version, request, options: options do |response, operation|
1348
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1349
+ yield response, operation if block_given?
1350
+ return response
1351
+ end
1352
+ rescue ::GRPC::BadStatus => e
1353
+ raise ::Google::Cloud::Error.from_error(e)
1354
+ end
1355
+
875
1356
  ##
876
1357
  # Lists DataItems in a Dataset.
877
1358
  #
@@ -1697,6 +2178,31 @@ module Google
1697
2178
  #
1698
2179
  attr_reader :export_data
1699
2180
  ##
2181
+ # RPC-specific configuration for `create_dataset_version`
2182
+ # @return [::Gapic::Config::Method]
2183
+ #
2184
+ attr_reader :create_dataset_version
2185
+ ##
2186
+ # RPC-specific configuration for `delete_dataset_version`
2187
+ # @return [::Gapic::Config::Method]
2188
+ #
2189
+ attr_reader :delete_dataset_version
2190
+ ##
2191
+ # RPC-specific configuration for `get_dataset_version`
2192
+ # @return [::Gapic::Config::Method]
2193
+ #
2194
+ attr_reader :get_dataset_version
2195
+ ##
2196
+ # RPC-specific configuration for `list_dataset_versions`
2197
+ # @return [::Gapic::Config::Method]
2198
+ #
2199
+ attr_reader :list_dataset_versions
2200
+ ##
2201
+ # RPC-specific configuration for `restore_dataset_version`
2202
+ # @return [::Gapic::Config::Method]
2203
+ #
2204
+ attr_reader :restore_dataset_version
2205
+ ##
1700
2206
  # RPC-specific configuration for `list_data_items`
1701
2207
  # @return [::Gapic::Config::Method]
1702
2208
  #
@@ -1743,6 +2249,16 @@ module Google
1743
2249
  @import_data = ::Gapic::Config::Method.new import_data_config
1744
2250
  export_data_config = parent_rpcs.export_data if parent_rpcs.respond_to? :export_data
1745
2251
  @export_data = ::Gapic::Config::Method.new export_data_config
2252
+ create_dataset_version_config = parent_rpcs.create_dataset_version if parent_rpcs.respond_to? :create_dataset_version
2253
+ @create_dataset_version = ::Gapic::Config::Method.new create_dataset_version_config
2254
+ delete_dataset_version_config = parent_rpcs.delete_dataset_version if parent_rpcs.respond_to? :delete_dataset_version
2255
+ @delete_dataset_version = ::Gapic::Config::Method.new delete_dataset_version_config
2256
+ get_dataset_version_config = parent_rpcs.get_dataset_version if parent_rpcs.respond_to? :get_dataset_version
2257
+ @get_dataset_version = ::Gapic::Config::Method.new get_dataset_version_config
2258
+ list_dataset_versions_config = parent_rpcs.list_dataset_versions if parent_rpcs.respond_to? :list_dataset_versions
2259
+ @list_dataset_versions = ::Gapic::Config::Method.new list_dataset_versions_config
2260
+ restore_dataset_version_config = parent_rpcs.restore_dataset_version if parent_rpcs.respond_to? :restore_dataset_version
2261
+ @restore_dataset_version = ::Gapic::Config::Method.new restore_dataset_version_config
1746
2262
  list_data_items_config = parent_rpcs.list_data_items if parent_rpcs.respond_to? :list_data_items
1747
2263
  @list_data_items = ::Gapic::Config::Method.new list_data_items_config
1748
2264
  search_data_items_config = parent_rpcs.search_data_items if parent_rpcs.respond_to? :search_data_items
@@ -85,6 +85,27 @@ module Google
85
85
  "projects/#{project}/locations/#{location}/datasets/#{dataset}"
86
86
  end
87
87
 
88
+ ##
89
+ # Create a fully-qualified DatasetVersion resource string.
90
+ #
91
+ # The resource will be in the following format:
92
+ #
93
+ # `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
94
+ #
95
+ # @param project [String]
96
+ # @param location [String]
97
+ # @param dataset [String]
98
+ # @param dataset_version [String]
99
+ #
100
+ # @return [::String]
101
+ def dataset_version_path project:, location:, dataset:, dataset_version:
102
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
103
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
104
+ raise ::ArgumentError, "dataset cannot contain /" if dataset.to_s.include? "/"
105
+
106
+ "projects/#{project}/locations/#{location}/datasets/#{dataset}/datasetVersions/#{dataset_version}"
107
+ end
108
+
88
109
  ##
89
110
  # Create a fully-qualified Location resource string.
90
111
  #
@@ -297,6 +297,23 @@ module Google
297
297
  "projects/#{project}/global/networks/#{network}"
298
298
  end
299
299
 
300
+ ##
301
+ # Create a fully-qualified NotificationChannel resource string.
302
+ #
303
+ # The resource will be in the following format:
304
+ #
305
+ # `projects/{project}/notificationChannels/{notification_channel}`
306
+ #
307
+ # @param project [String]
308
+ # @param notification_channel [String]
309
+ #
310
+ # @return [::String]
311
+ def notification_channel_path project:, notification_channel:
312
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
313
+
314
+ "projects/#{project}/notificationChannels/#{notification_channel}"
315
+ end
316
+
300
317
  ##
301
318
  # Create a fully-qualified Tensorboard resource string.
302
319
  #
@@ -711,7 +711,7 @@ module Google
711
711
  # generated.
712
712
  #
713
713
  # This value should be less than 128 characters, and valid characters
714
- # are /[a-z][0-9]-/.
714
+ # are `/[a-z][0-9]-/`.
715
715
  #
716
716
  # @yield [response, operation] Access the result along with the RPC operation
717
717
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::PipelineJob]
@@ -880,7 +880,7 @@ module Google
880
880
  # final component of the Tensorboard experiment's resource name.
881
881
  #
882
882
  # This value should be 1-128 characters, and valid characters
883
- # are /[a-z][0-9]-/.
883
+ # are `/[a-z][0-9]-/`.
884
884
  #
885
885
  # @yield [response, operation] Access the result along with the RPC operation
886
886
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::TensorboardExperiment]
@@ -1362,7 +1362,7 @@ module Google
1362
1362
  # component of the Tensorboard run's resource name.
1363
1363
  #
1364
1364
  # This value should be 1-128 characters, and valid characters
1365
- # are /[a-z][0-9]-/.
1365
+ # are `/[a-z][0-9]-/`.
1366
1366
  #
1367
1367
  # @yield [response, operation] Access the result along with the RPC operation
1368
1368
  # @yieldparam response [::Google::Cloud::AIPlatform::V1::TensorboardRun]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- VERSION = "0.32.0"
24
+ VERSION = "0.33.0"
25
25
  end
26
26
  end
27
27
  end
@@ -12,6 +12,7 @@ require 'google/cloud/aiplatform/v1/annotation_pb'
12
12
  require 'google/cloud/aiplatform/v1/annotation_spec_pb'
13
13
  require 'google/cloud/aiplatform/v1/data_item_pb'
14
14
  require 'google/cloud/aiplatform/v1/dataset_pb'
15
+ require 'google/cloud/aiplatform/v1/dataset_version_pb'
15
16
  require 'google/cloud/aiplatform/v1/operation_pb'
16
17
  require 'google/cloud/aiplatform/v1/saved_query_pb'
17
18
  require 'google/longrunning/operations_pb'
@@ -19,7 +20,7 @@ require 'google/protobuf/empty_pb'
19
20
  require 'google/protobuf/field_mask_pb'
20
21
 
21
22
 
22
- descriptor_data = "\n0google/cloud/aiplatform/v1/dataset_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/aiplatform/v1/annotation.proto\x1a\x30google/cloud/aiplatform/v1/annotation_spec.proto\x1a*google/cloud/aiplatform/v1/data_item.proto\x1a(google/cloud/aiplatform/v1/dataset.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a,google/cloud/aiplatform/v1/saved_query.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x8c\x01\n\x14\x43reateDatasetRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x39\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\"p\n\x1e\x43reateDatasetOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n\x11GetDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x87\x01\n\x14UpdateDatasetRequest\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xc8\x01\n\x13ListDatasetsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"f\n\x14ListDatasetsResponse\x12\x35\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.Dataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x14\x44\x65leteDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\"\x97\x01\n\x11ImportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12I\n\x0eimport_configs\x18\x02 \x03(\x0b\x32,.google.cloud.aiplatform.v1.ImportDataConfigB\x03\xe0\x41\x02\"\x14\n\x12ImportDataResponse\"m\n\x1bImportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x96\x01\n\x11\x45xportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12H\n\rexport_config\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ExportDataConfigB\x03\xe0\x41\x02\",\n\x12\x45xportDataResponse\x12\x16\n\x0e\x65xported_files\x18\x01 \x03(\t\"\x8b\x01\n\x1b\x45xportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x1c\n\x14gcs_output_directory\x18\x02 \x01(\t\"w\n%CreateDatasetVersionOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"x\n&RestoreDatasetVersionOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xc9\x01\n\x14ListDataItemsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"j\n\x15ListDataItemsResponse\x12\x38\n\ndata_items\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdc\x04\n\x16SearchDataItemsRequest\x12\x1c\n\x12order_by_data_item\x18\x0c \x01(\tH\x00\x12\x63\n\x13order_by_annotation\x18\r \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotationH\x00\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12@\n\x0bsaved_query\x18\x02 \x01(\tB+\x18\x01\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\x12\x19\n\x11\x64\x61ta_labeling_job\x18\x03 \x01(\t\x12\x18\n\x10\x64\x61ta_item_filter\x18\x04 \x01(\t\x12\x1e\n\x12\x61nnotations_filter\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61nnotation_filters\x18\x0b \x03(\t\x12.\n\nfield_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61nnotations_limit\x18\x07 \x01(\x05\x12\x11\n\tpage_size\x18\x08 \x01(\x05\x12\x14\n\x08order_by\x18\t \x01(\tB\x02\x18\x01\x12\x12\n\npage_token\x18\n \x01(\t\x1a?\n\x11OrderByAnnotation\x12\x18\n\x0bsaved_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08order_by\x18\x02 \x01(\tB\x07\n\x05order\"u\n\x17SearchDataItemsResponse\x12\x41\n\x0f\x64\x61ta_item_views\x18\x01 \x03(\x0b\x32(.google.cloud.aiplatform.v1.DataItemView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x0c\x44\x61taItemView\x12\x37\n\tdata_item\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12;\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12!\n\x19has_truncated_annotations\x18\x03 \x01(\x08\"\xcc\x01\n\x17ListSavedQueriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"r\n\x18ListSavedQueriesResponse\x12=\n\rsaved_queries\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.SavedQuery\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x17\x44\x65leteSavedQueryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\"\x89\x01\n\x18GetAnnotationSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/AnnotationSpec\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xcc\x01\n\x16ListAnnotationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/DataItem\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"o\n\x17ListAnnotationsResponse\x12;\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd4\x15\n\x0e\x44\x61tasetService\x12\xdc\x01\n\rCreateDataset\x12\x30.google.cloud.aiplatform.v1.CreateDatasetRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/datasets:\x07\x64\x61taset\xda\x41\x0eparent,dataset\xca\x41)\n\x07\x44\x61taset\x12\x1e\x43reateDatasetOperationMetadata\x12\x9d\x01\n\nGetDataset\x12-.google.cloud.aiplatform.v1.GetDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\x12\xc3\x01\n\rUpdateDataset\x12\x30.google.cloud.aiplatform.v1.UpdateDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\"[\x82\xd3\xe4\x93\x02?24/v1/{dataset.name=projects/*/locations/*/datasets/*}:\x07\x64\x61taset\xda\x41\x13\x64\x61taset,update_mask\x12\xb0\x01\n\x0cListDatasets\x12/.google.cloud.aiplatform.v1.ListDatasetsRequest\x1a\x30.google.cloud.aiplatform.v1.ListDatasetsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/datasets\xda\x41\x06parent\x12\xd0\x01\n\rDeleteDataset\x12\x30.google.cloud.aiplatform.v1.DeleteDatasetRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xe5\x01\n\nImportData\x12-.google.cloud.aiplatform.v1.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:import:\x01*\xda\x41\x13name,import_configs\xca\x41\x31\n\x12ImportDataResponse\x12\x1bImportDataOperationMetadata\x12\xe4\x01\n\nExportData\x12-.google.cloud.aiplatform.v1.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:export:\x01*\xda\x41\x12name,export_config\xca\x41\x31\n\x12\x45xportDataResponse\x12\x1b\x45xportDataOperationMetadata\x12\xbf\x01\n\rListDataItems\x12\x30.google.cloud.aiplatform.v1.ListDataItemsRequest\x1a\x31.google.cloud.aiplatform.v1.ListDataItemsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/datasets/*}/dataItems\xda\x41\x06parent\x12\xc3\x01\n\x0fSearchDataItems\x12\x32.google.cloud.aiplatform.v1.SearchDataItemsRequest\x1a\x33.google.cloud.aiplatform.v1.SearchDataItemsResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/v1/{dataset=projects/*/locations/*/datasets/*}:searchDataItems\x12\xcb\x01\n\x10ListSavedQueries\x12\x33.google.cloud.aiplatform.v1.ListSavedQueriesRequest\x1a\x34.google.cloud.aiplatform.v1.ListSavedQueriesResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/datasets/*}/savedQueries\xda\x41\x06parent\x12\xe5\x01\n\x10\x44\x65leteSavedQuery\x12\x33.google.cloud.aiplatform.v1.DeleteSavedQueryRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc4\x01\n\x11GetAnnotationSpec\x12\x34.google.cloud.aiplatform.v1.GetAnnotationSpecRequest\x1a*.google.cloud.aiplatform.v1.AnnotationSpec\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}\xda\x41\x04name\x12\xd3\x01\n\x0fListAnnotations\x12\x32.google.cloud.aiplatform.v1.ListAnnotationsRequest\x1a\x33.google.cloud.aiplatform.v1.ListAnnotationsResponse\"W\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations\xda\x41\x06parent\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13\x44\x61tasetServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
23
+ descriptor_data = "\n0google/cloud/aiplatform/v1/dataset_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/aiplatform/v1/annotation.proto\x1a\x30google/cloud/aiplatform/v1/annotation_spec.proto\x1a*google/cloud/aiplatform/v1/data_item.proto\x1a(google/cloud/aiplatform/v1/dataset.proto\x1a\x30google/cloud/aiplatform/v1/dataset_version.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a,google/cloud/aiplatform/v1/saved_query.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x8c\x01\n\x14\x43reateDatasetRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x39\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\"p\n\x1e\x43reateDatasetOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n\x11GetDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x87\x01\n\x14UpdateDatasetRequest\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xc8\x01\n\x13ListDatasetsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"f\n\x14ListDatasetsResponse\x12\x35\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.Dataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x14\x44\x65leteDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\"\x97\x01\n\x11ImportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12I\n\x0eimport_configs\x18\x02 \x03(\x0b\x32,.google.cloud.aiplatform.v1.ImportDataConfigB\x03\xe0\x41\x02\"\x14\n\x12ImportDataResponse\"m\n\x1bImportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x96\x01\n\x11\x45xportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12H\n\rexport_config\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ExportDataConfigB\x03\xe0\x41\x02\",\n\x12\x45xportDataResponse\x12\x16\n\x0e\x65xported_files\x18\x01 \x03(\t\"\x8b\x01\n\x1b\x45xportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x1c\n\x14gcs_output_directory\x18\x02 \x01(\t\"\xa2\x01\n\x1b\x43reateDatasetVersionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12H\n\x0f\x64\x61taset_version\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.DatasetVersionB\x03\xe0\x41\x02\"w\n%CreateDatasetVersionOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"]\n\x1b\x44\x65leteDatasetVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/DatasetVersion\"\x89\x01\n\x18GetDatasetVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/DatasetVersion\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xe8\x01\n\x1aListDatasetVersionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"|\n\x1bListDatasetVersionsResponse\x12\x44\n\x10\x64\x61taset_versions\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.DatasetVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x1cRestoreDatasetVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/DatasetVersion\"x\n&RestoreDatasetVersionOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xc9\x01\n\x14ListDataItemsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"j\n\x15ListDataItemsResponse\x12\x38\n\ndata_items\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdc\x04\n\x16SearchDataItemsRequest\x12\x1c\n\x12order_by_data_item\x18\x0c \x01(\tH\x00\x12\x63\n\x13order_by_annotation\x18\r \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotationH\x00\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12@\n\x0bsaved_query\x18\x02 \x01(\tB+\x18\x01\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\x12\x19\n\x11\x64\x61ta_labeling_job\x18\x03 \x01(\t\x12\x18\n\x10\x64\x61ta_item_filter\x18\x04 \x01(\t\x12\x1e\n\x12\x61nnotations_filter\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61nnotation_filters\x18\x0b \x03(\t\x12.\n\nfield_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61nnotations_limit\x18\x07 \x01(\x05\x12\x11\n\tpage_size\x18\x08 \x01(\x05\x12\x14\n\x08order_by\x18\t \x01(\tB\x02\x18\x01\x12\x12\n\npage_token\x18\n \x01(\t\x1a?\n\x11OrderByAnnotation\x12\x18\n\x0bsaved_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08order_by\x18\x02 \x01(\tB\x07\n\x05order\"u\n\x17SearchDataItemsResponse\x12\x41\n\x0f\x64\x61ta_item_views\x18\x01 \x03(\x0b\x32(.google.cloud.aiplatform.v1.DataItemView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x0c\x44\x61taItemView\x12\x37\n\tdata_item\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12;\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12!\n\x19has_truncated_annotations\x18\x03 \x01(\x08\"\xcc\x01\n\x17ListSavedQueriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"r\n\x18ListSavedQueriesResponse\x12=\n\rsaved_queries\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.SavedQuery\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x17\x44\x65leteSavedQueryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\"\x89\x01\n\x18GetAnnotationSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/AnnotationSpec\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xcc\x01\n\x16ListAnnotationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/DataItem\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"o\n\x17ListAnnotationsResponse\x12;\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x8d\x1f\n\x0e\x44\x61tasetService\x12\xdc\x01\n\rCreateDataset\x12\x30.google.cloud.aiplatform.v1.CreateDatasetRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/datasets:\x07\x64\x61taset\xda\x41\x0eparent,dataset\xca\x41)\n\x07\x44\x61taset\x12\x1e\x43reateDatasetOperationMetadata\x12\x9d\x01\n\nGetDataset\x12-.google.cloud.aiplatform.v1.GetDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\x12\xc3\x01\n\rUpdateDataset\x12\x30.google.cloud.aiplatform.v1.UpdateDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\"[\x82\xd3\xe4\x93\x02?24/v1/{dataset.name=projects/*/locations/*/datasets/*}:\x07\x64\x61taset\xda\x41\x13\x64\x61taset,update_mask\x12\xb0\x01\n\x0cListDatasets\x12/.google.cloud.aiplatform.v1.ListDatasetsRequest\x1a\x30.google.cloud.aiplatform.v1.ListDatasetsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/datasets\xda\x41\x06parent\x12\xd0\x01\n\rDeleteDataset\x12\x30.google.cloud.aiplatform.v1.DeleteDatasetRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xe5\x01\n\nImportData\x12-.google.cloud.aiplatform.v1.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:import:\x01*\xda\x41\x13name,import_configs\xca\x41\x31\n\x12ImportDataResponse\x12\x1bImportDataOperationMetadata\x12\xe4\x01\n\nExportData\x12-.google.cloud.aiplatform.v1.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:export:\x01*\xda\x41\x12name,export_config\xca\x41\x31\n\x12\x45xportDataResponse\x12\x1b\x45xportDataOperationMetadata\x12\x9b\x02\n\x14\x43reateDatasetVersion\x12\x37.google.cloud.aiplatform.v1.CreateDatasetVersionRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\x82\xd3\xe4\x93\x02Q\">/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions:\x0f\x64\x61taset_version\xda\x41\x16parent,dataset_version\xca\x41\x37\n\x0e\x44\x61tasetVersion\x12%CreateDatasetVersionOperationMetadata\x12\xf1\x01\n\x14\x44\x65leteDatasetVersion\x12\x37.google.cloud.aiplatform.v1.DeleteDatasetVersionRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc4\x01\n\x11GetDatasetVersion\x12\x34.google.cloud.aiplatform.v1.GetDatasetVersionRequest\x1a*.google.cloud.aiplatform.v1.DatasetVersion\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}\xda\x41\x04name\x12\xd7\x01\n\x13ListDatasetVersions\x12\x36.google.cloud.aiplatform.v1.ListDatasetVersionsRequest\x1a\x37.google.cloud.aiplatform.v1.ListDatasetVersionsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions\xda\x41\x06parent\x12\x83\x02\n\x15RestoreDatasetVersion\x12\x38.google.cloud.aiplatform.v1.RestoreDatasetVersionRequest\x1a\x1d.google.longrunning.Operation\"\x90\x01\x82\xd3\xe4\x93\x02H\x12\x46/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restore\xda\x41\x04name\xca\x41\x38\n\x0e\x44\x61tasetVersion\x12&RestoreDatasetVersionOperationMetadata\x12\xbf\x01\n\rListDataItems\x12\x30.google.cloud.aiplatform.v1.ListDataItemsRequest\x1a\x31.google.cloud.aiplatform.v1.ListDataItemsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/datasets/*}/dataItems\xda\x41\x06parent\x12\xc3\x01\n\x0fSearchDataItems\x12\x32.google.cloud.aiplatform.v1.SearchDataItemsRequest\x1a\x33.google.cloud.aiplatform.v1.SearchDataItemsResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/v1/{dataset=projects/*/locations/*/datasets/*}:searchDataItems\x12\xcb\x01\n\x10ListSavedQueries\x12\x33.google.cloud.aiplatform.v1.ListSavedQueriesRequest\x1a\x34.google.cloud.aiplatform.v1.ListSavedQueriesResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/datasets/*}/savedQueries\xda\x41\x06parent\x12\xe5\x01\n\x10\x44\x65leteSavedQuery\x12\x33.google.cloud.aiplatform.v1.DeleteSavedQueryRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc4\x01\n\x11GetAnnotationSpec\x12\x34.google.cloud.aiplatform.v1.GetAnnotationSpecRequest\x1a*.google.cloud.aiplatform.v1.AnnotationSpec\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}\xda\x41\x04name\x12\xd3\x01\n\x0fListAnnotations\x12\x32.google.cloud.aiplatform.v1.ListAnnotationsRequest\x1a\x33.google.cloud.aiplatform.v1.ListAnnotationsResponse\"W\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations\xda\x41\x06parent\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13\x44\x61tasetServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
23
24
 
24
25
  pool = Google::Protobuf::DescriptorPool.generated_pool
25
26
 
@@ -37,6 +38,7 @@ rescue TypeError => e
37
38
  ["google.cloud.aiplatform.v1.Dataset", "google/cloud/aiplatform/v1/dataset.proto"],
38
39
  ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
39
40
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
41
+ ["google.cloud.aiplatform.v1.DatasetVersion", "google/cloud/aiplatform/v1/dataset_version.proto"],
40
42
  ["google.cloud.aiplatform.v1.DataItem", "google/cloud/aiplatform/v1/data_item.proto"],
41
43
  ["google.cloud.aiplatform.v1.Annotation", "google/cloud/aiplatform/v1/annotation.proto"],
42
44
  ["google.cloud.aiplatform.v1.SavedQuery", "google/cloud/aiplatform/v1/saved_query.proto"],
@@ -68,7 +70,13 @@ module Google
68
70
  ExportDataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportDataRequest").msgclass
69
71
  ExportDataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportDataResponse").msgclass
70
72
  ExportDataOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportDataOperationMetadata").msgclass
73
+ CreateDatasetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateDatasetVersionRequest").msgclass
71
74
  CreateDatasetVersionOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata").msgclass
75
+ DeleteDatasetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteDatasetVersionRequest").msgclass
76
+ GetDatasetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetDatasetVersionRequest").msgclass
77
+ ListDatasetVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDatasetVersionsRequest").msgclass
78
+ ListDatasetVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDatasetVersionsResponse").msgclass
79
+ RestoreDatasetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RestoreDatasetVersionRequest").msgclass
72
80
  RestoreDatasetVersionOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata").msgclass
73
81
  ListDataItemsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDataItemsRequest").msgclass
74
82
  ListDataItemsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDataItemsResponse").msgclass
@@ -47,6 +47,16 @@ module Google
47
47
  rpc :ImportData, ::Google::Cloud::AIPlatform::V1::ImportDataRequest, ::Google::Longrunning::Operation
48
48
  # Exports data from a Dataset.
49
49
  rpc :ExportData, ::Google::Cloud::AIPlatform::V1::ExportDataRequest, ::Google::Longrunning::Operation
50
+ # Create a version from a Dataset.
51
+ rpc :CreateDatasetVersion, ::Google::Cloud::AIPlatform::V1::CreateDatasetVersionRequest, ::Google::Longrunning::Operation
52
+ # Deletes a Dataset version.
53
+ rpc :DeleteDatasetVersion, ::Google::Cloud::AIPlatform::V1::DeleteDatasetVersionRequest, ::Google::Longrunning::Operation
54
+ # Gets a Dataset version.
55
+ rpc :GetDatasetVersion, ::Google::Cloud::AIPlatform::V1::GetDatasetVersionRequest, ::Google::Cloud::AIPlatform::V1::DatasetVersion
56
+ # Lists DatasetVersions in a Dataset.
57
+ rpc :ListDatasetVersions, ::Google::Cloud::AIPlatform::V1::ListDatasetVersionsRequest, ::Google::Cloud::AIPlatform::V1::ListDatasetVersionsResponse
58
+ # Restores a dataset version.
59
+ rpc :RestoreDatasetVersion, ::Google::Cloud::AIPlatform::V1::RestoreDatasetVersionRequest, ::Google::Longrunning::Operation
50
60
  # Lists DataItems in a Dataset.
51
61
  rpc :ListDataItems, ::Google::Cloud::AIPlatform::V1::ListDataItemsRequest, ::Google::Cloud::AIPlatform::V1::ListDataItemsResponse
52
62
  # Searches DataItems in a Dataset.
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/dataset_version.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n0google/cloud/aiplatform/v1/dataset_version.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\x02\n\x0e\x44\x61tasetVersion\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12#\n\x16\x62ig_query_dataset_name\x18\x04 \x01(\tB\x03\xe0\x41\x03:\x8c\x01\xea\x41\x88\x01\n(aiplatform.googleapis.com/DatasetVersion\x12\\projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}B\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13\x44\x61tasetVersionProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module AIPlatform
42
+ module V1
43
+ DatasetVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DatasetVersion").msgclass
44
+ end
45
+ end
46
+ end
47
+ end
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/cloud/aiplatform/v1/accelerator_type_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n2google/cloud/aiplatform/v1/machine_resources.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x31google/cloud/aiplatform/v1/accelerator_type.proto\"\x8f\x01\n\x0bMachineSpec\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12J\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\x0e\x32+.google.cloud.aiplatform.v1.AcceleratorTypeB\x03\xe0\x41\x05\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x03 \x01(\x05\"\xf8\x01\n\x12\x44\x65\x64icatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12!\n\x11min_replica_count\x18\x02 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\x12X\n\x18\x61utoscaling_metric_specs\x18\x04 \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.AutoscalingMetricSpecB\x03\xe0\x41\x05\"T\n\x12\x41utomaticResources\x12\x1e\n\x11min_replica_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\"\xa5\x01\n\x17\x42\x61tchDedicatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12#\n\x16starting_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\"/\n\x11ResourcesConsumed\x12\x1a\n\rreplica_hours\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\"=\n\x08\x44iskSpec\x12\x16\n\x0e\x62oot_disk_type\x18\x01 \x01(\t\x12\x19\n\x11\x62oot_disk_size_gb\x18\x02 \x01(\x05\"L\n\x08NfsMount\x12\x13\n\x06server\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bmount_point\x18\x03 \x01(\tB\x03\xe0\x41\x02\"A\n\x15\x41utoscalingMetricSpec\x12\x18\n\x0bmetric_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06target\x18\x02 \x01(\x05\x42\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15MachineResourcesProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
11
+ descriptor_data = "\n2google/cloud/aiplatform/v1/machine_resources.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x31google/cloud/aiplatform/v1/accelerator_type.proto\"\x8f\x01\n\x0bMachineSpec\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12J\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\x0e\x32+.google.cloud.aiplatform.v1.AcceleratorTypeB\x03\xe0\x41\x05\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x03 \x01(\x05\"\xf8\x01\n\x12\x44\x65\x64icatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12!\n\x11min_replica_count\x18\x02 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\x12X\n\x18\x61utoscaling_metric_specs\x18\x04 \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.AutoscalingMetricSpecB\x03\xe0\x41\x05\"T\n\x12\x41utomaticResources\x12\x1e\n\x11min_replica_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\"\xa5\x01\n\x17\x42\x61tchDedicatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12#\n\x16starting_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\"/\n\x11ResourcesConsumed\x12\x1a\n\rreplica_hours\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\"=\n\x08\x44iskSpec\x12\x16\n\x0e\x62oot_disk_type\x18\x01 \x01(\t\x12\x19\n\x11\x62oot_disk_size_gb\x18\x02 \x01(\x05\"=\n\x12PersistentDiskSpec\x12\x11\n\tdisk_type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x02 \x01(\x03\"L\n\x08NfsMount\x12\x13\n\x06server\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bmount_point\x18\x03 \x01(\tB\x03\xe0\x41\x02\"A\n\x15\x41utoscalingMetricSpec\x12\x18\n\x0bmetric_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06target\x18\x02 \x01(\x05\x42\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15MachineResourcesProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -44,6 +44,7 @@ module Google
44
44
  BatchDedicatedResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchDedicatedResources").msgclass
45
45
  ResourcesConsumed = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ResourcesConsumed").msgclass
46
46
  DiskSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DiskSpec").msgclass
47
+ PersistentDiskSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PersistentDiskSpec").msgclass
47
48
  NfsMount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NfsMount").msgclass
48
49
  AutoscalingMetricSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AutoscalingMetricSpec").msgclass
49
50
  end
@@ -8,7 +8,7 @@ require 'google/api/resource_pb'
8
8
  require 'google/cloud/aiplatform/v1/io_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n1google/cloud/aiplatform/v1/model_monitoring.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x19google/api/resource.proto\x1a#google/cloud/aiplatform/v1/io.proto\"\xbf\x15\n\x1eModelMonitoringObjectiveConfig\x12\x64\n\x10training_dataset\x18\x01 \x01(\x0b\x32J.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset\x12\x93\x01\n)training_prediction_skew_detection_config\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig\x12\x84\x01\n!prediction_drift_detection_config\x18\x03 \x01(\x0b\x32Y.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig\x12h\n\x12\x65xplanation_config\x18\x05 \x01(\x0b\x32L.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig\x1a\xdb\x02\n\x0fTrainingDataset\x12\x39\n\x07\x64\x61taset\x18\x03 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12;\n\ngcs_source\x18\x04 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12\x45\n\x0f\x62igquery_source\x18\x05 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12\x13\n\x0b\x64\x61ta_format\x18\x02 \x01(\t\x12\x14\n\x0ctarget_field\x18\x06 \x01(\t\x12O\n\x19logging_sampling_strategy\x18\x07 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SamplingStrategyB\r\n\x0b\x64\x61ta_source\x1a\x8f\x05\n%TrainingPredictionSkewDetectionConfig\x12\x8d\x01\n\x0fskew_thresholds\x18\x01 \x03(\x0b\x32t.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.SkewThresholdsEntry\x12\xb0\x01\n!attribution_score_skew_thresholds\x18\x02 \x03(\x0b\x32\x84\x01.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.AttributionScoreSkewThresholdsEntry\x12K\n\x16\x64\x65\x66\x61ult_skew_threshold\x18\x06 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x62\n\x13SkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1ar\n#AttributionScoreSkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\x80\x05\n\x1ePredictionDriftDetectionConfig\x12\x88\x01\n\x10\x64rift_thresholds\x18\x01 \x03(\x0b\x32n.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.DriftThresholdsEntry\x12\xaa\x01\n\"attribution_score_drift_thresholds\x18\x02 \x03(\x0b\x32~.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.AttributionScoreDriftThresholdsEntry\x12L\n\x17\x64\x65\x66\x61ult_drift_threshold\x18\x05 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x63\n\x14\x44riftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1as\n$AttributionScoreDriftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\xbc\x04\n\x11\x45xplanationConfig\x12!\n\x19\x65nable_feature_attributes\x18\x01 \x01(\x08\x12~\n\x14\x65xplanation_baseline\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline\x1a\x83\x03\n\x13\x45xplanationBaseline\x12\x39\n\x03gcs\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12\x43\n\x08\x62igquery\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12\x8c\x01\n\x11prediction_format\x18\x01 \x01(\x0e\x32q.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.PredictionFormat\"N\n\x10PredictionFormat\x12!\n\x1dPREDICTION_FORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05JSONL\x10\x02\x12\x0c\n\x08\x42IGQUERY\x10\x03\x42\r\n\x0b\x64\x65stination\"\xcd\x01\n\x1aModelMonitoringAlertConfig\x12\x65\n\x12\x65mail_alert_config\x18\x01 \x01(\x0b\x32G.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfigH\x00\x12\x16\n\x0e\x65nable_logging\x18\x02 \x01(\x08\x1a\'\n\x10\x45mailAlertConfig\x12\x13\n\x0buser_emails\x18\x01 \x03(\tB\x07\n\x05\x61lert\"/\n\x0fThresholdConfig\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x42\x0b\n\tthreshold\"\x9c\x01\n\x10SamplingStrategy\x12]\n\x14random_sample_config\x18\x01 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig\x1a)\n\x12RandomSampleConfig\x12\x13\n\x0bsample_rate\x18\x01 \x01(\x01\x42\xc4\x02\n\x1e\x63om.google.cloud.aiplatform.v1B\x14ModelMonitoringProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1\xea\x41o\n-monitoring.googleapis.com/NotificationChannel\x12>projects/{project}/notificationChannels/{notification_channel}b\x06proto3"
11
+ descriptor_data = "\n1google/cloud/aiplatform/v1/model_monitoring.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x19google/api/resource.proto\x1a#google/cloud/aiplatform/v1/io.proto\"\xbf\x15\n\x1eModelMonitoringObjectiveConfig\x12\x64\n\x10training_dataset\x18\x01 \x01(\x0b\x32J.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset\x12\x93\x01\n)training_prediction_skew_detection_config\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig\x12\x84\x01\n!prediction_drift_detection_config\x18\x03 \x01(\x0b\x32Y.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig\x12h\n\x12\x65xplanation_config\x18\x05 \x01(\x0b\x32L.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig\x1a\xdb\x02\n\x0fTrainingDataset\x12\x39\n\x07\x64\x61taset\x18\x03 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12;\n\ngcs_source\x18\x04 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12\x45\n\x0f\x62igquery_source\x18\x05 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12\x13\n\x0b\x64\x61ta_format\x18\x02 \x01(\t\x12\x14\n\x0ctarget_field\x18\x06 \x01(\t\x12O\n\x19logging_sampling_strategy\x18\x07 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SamplingStrategyB\r\n\x0b\x64\x61ta_source\x1a\x8f\x05\n%TrainingPredictionSkewDetectionConfig\x12\x8d\x01\n\x0fskew_thresholds\x18\x01 \x03(\x0b\x32t.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.SkewThresholdsEntry\x12\xb0\x01\n!attribution_score_skew_thresholds\x18\x02 \x03(\x0b\x32\x84\x01.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.AttributionScoreSkewThresholdsEntry\x12K\n\x16\x64\x65\x66\x61ult_skew_threshold\x18\x06 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x62\n\x13SkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1ar\n#AttributionScoreSkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\x80\x05\n\x1ePredictionDriftDetectionConfig\x12\x88\x01\n\x10\x64rift_thresholds\x18\x01 \x03(\x0b\x32n.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.DriftThresholdsEntry\x12\xaa\x01\n\"attribution_score_drift_thresholds\x18\x02 \x03(\x0b\x32~.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.AttributionScoreDriftThresholdsEntry\x12L\n\x17\x64\x65\x66\x61ult_drift_threshold\x18\x05 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x63\n\x14\x44riftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1as\n$AttributionScoreDriftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\xbc\x04\n\x11\x45xplanationConfig\x12!\n\x19\x65nable_feature_attributes\x18\x01 \x01(\x08\x12~\n\x14\x65xplanation_baseline\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline\x1a\x83\x03\n\x13\x45xplanationBaseline\x12\x39\n\x03gcs\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12\x43\n\x08\x62igquery\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12\x8c\x01\n\x11prediction_format\x18\x01 \x01(\x0e\x32q.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.PredictionFormat\"N\n\x10PredictionFormat\x12!\n\x1dPREDICTION_FORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05JSONL\x10\x02\x12\x0c\n\x08\x42IGQUERY\x10\x03\x42\r\n\x0b\x64\x65stination\"\xa0\x02\n\x1aModelMonitoringAlertConfig\x12\x65\n\x12\x65mail_alert_config\x18\x01 \x01(\x0b\x32G.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfigH\x00\x12\x16\n\x0e\x65nable_logging\x18\x02 \x01(\x08\x12Q\n\x15notification_channels\x18\x03 \x03(\tB2\xfa\x41/\n-monitoring.googleapis.com/NotificationChannel\x1a\'\n\x10\x45mailAlertConfig\x12\x13\n\x0buser_emails\x18\x01 \x03(\tB\x07\n\x05\x61lert\"/\n\x0fThresholdConfig\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x42\x0b\n\tthreshold\"\x9c\x01\n\x10SamplingStrategy\x12]\n\x14random_sample_config\x18\x01 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig\x1a)\n\x12RandomSampleConfig\x12\x13\n\x0bsample_rate\x18\x01 \x01(\x01\x42\xc4\x02\n\x1e\x63om.google.cloud.aiplatform.v1B\x14ModelMonitoringProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1\xea\x41o\n-monitoring.googleapis.com/NotificationChannel\x12>projects/{project}/notificationChannels/{notification_channel}b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -219,8 +219,25 @@ module Google
219
219
  extend ::Google::Protobuf::MessageExts::ClassMethods
220
220
  end
221
221
 
222
+ # Request message for
223
+ # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#create_dataset_version DatasetService.CreateDatasetVersion}.
224
+ # @!attribute [rw] parent
225
+ # @return [::String]
226
+ # Required. The name of the Dataset resource.
227
+ # Format:
228
+ # `projects/{project}/locations/{location}/datasets/{dataset}`
229
+ # @!attribute [rw] dataset_version
230
+ # @return [::Google::Cloud::AIPlatform::V1::DatasetVersion]
231
+ # Required. The version to be created. The same CMEK policies with the
232
+ # original Dataset will be applied the dataset version. So here we don't need
233
+ # to specify the EncryptionSpecType here.
234
+ class CreateDatasetVersionRequest
235
+ include ::Google::Protobuf::MessageExts
236
+ extend ::Google::Protobuf::MessageExts::ClassMethods
237
+ end
238
+
222
239
  # Runtime operation information for
223
- # [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion].
240
+ # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#create_dataset_version DatasetService.CreateDatasetVersion}.
224
241
  # @!attribute [rw] generic_metadata
225
242
  # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
226
243
  # The common part of the operation metadata.
@@ -229,8 +246,88 @@ module Google
229
246
  extend ::Google::Protobuf::MessageExts::ClassMethods
230
247
  end
231
248
 
249
+ # Request message for
250
+ # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#delete_dataset_version DatasetService.DeleteDatasetVersion}.
251
+ # @!attribute [rw] name
252
+ # @return [::String]
253
+ # Required. The resource name of the Dataset version to delete.
254
+ # Format:
255
+ # `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
256
+ class DeleteDatasetVersionRequest
257
+ include ::Google::Protobuf::MessageExts
258
+ extend ::Google::Protobuf::MessageExts::ClassMethods
259
+ end
260
+
261
+ # Request message for
262
+ # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#get_dataset_version DatasetService.GetDatasetVersion}.
263
+ # @!attribute [rw] name
264
+ # @return [::String]
265
+ # Required. The resource name of the Dataset version to delete.
266
+ # Format:
267
+ # `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
268
+ # @!attribute [rw] read_mask
269
+ # @return [::Google::Protobuf::FieldMask]
270
+ # Mask specifying which fields to read.
271
+ class GetDatasetVersionRequest
272
+ include ::Google::Protobuf::MessageExts
273
+ extend ::Google::Protobuf::MessageExts::ClassMethods
274
+ end
275
+
276
+ # Request message for
277
+ # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_dataset_versions DatasetService.ListDatasetVersions}.
278
+ # @!attribute [rw] parent
279
+ # @return [::String]
280
+ # Required. The resource name of the Dataset to list DatasetVersions from.
281
+ # Format:
282
+ # `projects/{project}/locations/{location}/datasets/{dataset}`
283
+ # @!attribute [rw] filter
284
+ # @return [::String]
285
+ # Optional. The standard list filter.
286
+ # @!attribute [rw] page_size
287
+ # @return [::Integer]
288
+ # Optional. The standard list page size.
289
+ # @!attribute [rw] page_token
290
+ # @return [::String]
291
+ # Optional. The standard list page token.
292
+ # @!attribute [rw] read_mask
293
+ # @return [::Google::Protobuf::FieldMask]
294
+ # Optional. Mask specifying which fields to read.
295
+ # @!attribute [rw] order_by
296
+ # @return [::String]
297
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
298
+ # order. Use "desc" after a field name for descending.
299
+ class ListDatasetVersionsRequest
300
+ include ::Google::Protobuf::MessageExts
301
+ extend ::Google::Protobuf::MessageExts::ClassMethods
302
+ end
303
+
304
+ # Response message for
305
+ # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_dataset_versions DatasetService.ListDatasetVersions}.
306
+ # @!attribute [rw] dataset_versions
307
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::DatasetVersion>]
308
+ # A list of DatasetVersions that matches the specified filter in the request.
309
+ # @!attribute [rw] next_page_token
310
+ # @return [::String]
311
+ # The standard List next-page token.
312
+ class ListDatasetVersionsResponse
313
+ include ::Google::Protobuf::MessageExts
314
+ extend ::Google::Protobuf::MessageExts::ClassMethods
315
+ end
316
+
317
+ # Request message for
318
+ # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#restore_dataset_version DatasetService.RestoreDatasetVersion}.
319
+ # @!attribute [rw] name
320
+ # @return [::String]
321
+ # Required. The name of the DatasetVersion resource.
322
+ # Format:
323
+ # `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
324
+ class RestoreDatasetVersionRequest
325
+ include ::Google::Protobuf::MessageExts
326
+ extend ::Google::Protobuf::MessageExts::ClassMethods
327
+ end
328
+
232
329
  # Runtime operation information for
233
- # [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion].
330
+ # {::Google::Cloud::AIPlatform::V1::DatasetService::Client#restore_dataset_version DatasetService.RestoreDatasetVersion}.
234
331
  # @!attribute [rw] generic_metadata
235
332
  # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
236
333
  # The common part of the operation metadata.
@@ -0,0 +1,48 @@
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 Cloud
22
+ module AIPlatform
23
+ module V1
24
+ # Describes the dataset version.
25
+ # @!attribute [r] name
26
+ # @return [::String]
27
+ # Output only. The resource name of the DatasetVersion.
28
+ # @!attribute [r] create_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # Output only. Timestamp when this DatasetVersion was created.
31
+ # @!attribute [r] update_time
32
+ # @return [::Google::Protobuf::Timestamp]
33
+ # Output only. Timestamp when this DatasetVersion was last updated.
34
+ # @!attribute [rw] etag
35
+ # @return [::String]
36
+ # Used to perform consistent read-modify-write updates. If not set, a blind
37
+ # "overwrite" update happens.
38
+ # @!attribute [r] big_query_dataset_name
39
+ # @return [::String]
40
+ # Output only. Name of the associated BigQuery dataset.
41
+ class DatasetVersion
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -149,7 +149,7 @@ module Google
149
149
  # Immutable. The ID of the DeployedModel. If not provided upon deployment,
150
150
  # Vertex AI will generate a value for this ID.
151
151
  #
152
- # This value should be 1-10 characters, and valid characters are /[0-9]/.
152
+ # This value should be 1-10 characters, and valid characters are `/[0-9]/`.
153
153
  # @!attribute [rw] model
154
154
  # @return [::String]
155
155
  # Required. The resource name of the Model that this is the deployment of.
@@ -110,7 +110,7 @@ module Google
110
110
  INDEX_UPDATE_METHOD_UNSPECIFIED = 0
111
111
 
112
112
  # BatchUpdate: user can call UpdateIndex with files on Cloud Storage of
113
- # datapoints to update.
113
+ # Datapoints to update.
114
114
  BATCH_UPDATE = 1
115
115
 
116
116
  # StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update
@@ -132,7 +132,7 @@ module Google
132
132
  # @return [::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint::Restriction>]
133
133
  # Optional. List of Restrict of the datapoint, used to perform "restricted
134
134
  # searches" where boolean rule are used to filter the subset of the database
135
- # eligible for matching. See:
135
+ # eligible for matching. This uses categorical tokens. See:
136
136
  # https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
137
137
  # @!attribute [rw] crowding_tag
138
138
  # @return [::Google::Cloud::AIPlatform::V1::IndexDatapoint::CrowdingTag]
@@ -146,13 +146,13 @@ module Google
146
146
  # of several attribute categories(namespaces).
147
147
  # @!attribute [rw] namespace
148
148
  # @return [::String]
149
- # The namespace of this restriction. eg: color.
149
+ # The namespace of this restriction. e.g.: color.
150
150
  # @!attribute [rw] allow_list
151
151
  # @return [::Array<::String>]
152
- # The attributes to allow in this namespace. eg: 'red'
152
+ # The attributes to allow in this namespace. e.g.: 'red'
153
153
  # @!attribute [rw] deny_list
154
154
  # @return [::Array<::String>]
155
- # The attributes to deny in this namespace. eg: 'blue'
155
+ # The attributes to deny in this namespace. e.g.: 'blue'
156
156
  class Restriction
157
157
  include ::Google::Protobuf::MessageExts
158
158
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -214,7 +214,10 @@ module Google
214
214
  #
215
215
  # The value should be the name of the address
216
216
  # (https://cloud.google.com/compute/docs/reference/rest/v1/addresses)
217
- # Example: 'vertex-ai-ip-range'.
217
+ # Example: ['vertex-ai-ip-range'].
218
+ #
219
+ # For more information about subnets and network IP ranges, please see
220
+ # https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges.
218
221
  # @!attribute [rw] deployment_group
219
222
  # @return [::String]
220
223
  # Optional. The deployment group can be no longer than 64 characters (eg:
@@ -182,6 +182,23 @@ module Google
182
182
  extend ::Google::Protobuf::MessageExts::ClassMethods
183
183
  end
184
184
 
185
+ # Represents the spec of [persistent
186
+ # disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options.
187
+ # @!attribute [rw] disk_type
188
+ # @return [::String]
189
+ # Type of the disk (default is "pd-standard").
190
+ # Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
191
+ # "pd-standard" (Persistent Disk Hard Disk Drive)
192
+ # "pd-balanced" (Balanced Persistent Disk)
193
+ # "pd-extreme" (Extreme Persistent Disk)
194
+ # @!attribute [rw] disk_size_gb
195
+ # @return [::Integer]
196
+ # Size in GB of the disk (default is 100GB).
197
+ class PersistentDiskSpec
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
185
202
  # Represents a mount configuration for Network File System (NFS) to mount.
186
203
  # @!attribute [rw] server
187
204
  # @return [::String]
@@ -215,6 +215,11 @@ module Google
215
215
  # [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][].
216
216
  # This can be further sinked to Pub/Sub or any other services supported
217
217
  # by Cloud Logging.
218
+ # @!attribute [rw] notification_channels
219
+ # @return [::Array<::String>]
220
+ # Resource names of the NotificationChannels to send alert.
221
+ # Must be of the format
222
+ # `projects/<project_id_or_number>/notificationChannels/<channel_id>`
218
223
  class ModelMonitoringAlertConfig
219
224
  include ::Google::Protobuf::MessageExts
220
225
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -114,7 +114,9 @@ module Google
114
114
  # @return [::String]
115
115
  # A template uri from where the
116
116
  # {::Google::Cloud::AIPlatform::V1::PipelineJob#pipeline_spec PipelineJob.pipeline_spec},
117
- # if empty, will be downloaded.
117
+ # if empty, will be downloaded. Currently, only uri from Vertex Template
118
+ # Registry & Gallery is supported. Reference to
119
+ # https://cloud.google.com/vertex-ai/docs/pipelines/create-pipeline-template.
118
120
  # @!attribute [r] template_metadata
119
121
  # @return [::Google::Cloud::AIPlatform::V1::PipelineTemplateMetadata]
120
122
  # Output only. Pipeline template metadata. Will fill up fields if
@@ -150,7 +150,7 @@ module Google
150
150
  # generated.
151
151
  #
152
152
  # This value should be less than 128 characters, and valid characters
153
- # are /[a-z][0-9]-/.
153
+ # are `/[a-z][0-9]-/`.
154
154
  class CreatePipelineJobRequest
155
155
  include ::Google::Protobuf::MessageExts
156
156
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -221,7 +221,7 @@ module Google
221
221
  # final component of the Tensorboard experiment's resource name.
222
222
  #
223
223
  # This value should be 1-128 characters, and valid characters
224
- # are /[a-z][0-9]-/.
224
+ # are `/[a-z][0-9]-/`.
225
225
  class CreateTensorboardExperimentRequest
226
226
  include ::Google::Protobuf::MessageExts
227
227
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -367,7 +367,7 @@ module Google
367
367
  # component of the Tensorboard run's resource name.
368
368
  #
369
369
  # This value should be 1-128 characters, and valid characters
370
- # are /[a-z][0-9]-/.
370
+ # are `/[a-z][0-9]-/`.
371
371
  class CreateTensorboardRunRequest
372
372
  include ::Google::Protobuf::MessageExts
373
373
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.32.0
4
+ version: 0.33.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-09-12 00:00:00.000000000 Z
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -312,6 +312,7 @@ files:
312
312
  - lib/google/cloud/aiplatform/v1/dataset_pb.rb
313
313
  - lib/google/cloud/aiplatform/v1/dataset_service_pb.rb
314
314
  - lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb
315
+ - lib/google/cloud/aiplatform/v1/dataset_version_pb.rb
315
316
  - lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb
316
317
  - lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb
317
318
  - lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb
@@ -417,6 +418,7 @@ files:
417
418
  - proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb
418
419
  - proto_docs/google/cloud/aiplatform/v1/dataset.rb
419
420
  - proto_docs/google/cloud/aiplatform/v1/dataset_service.rb
421
+ - proto_docs/google/cloud/aiplatform/v1/dataset_version.rb
420
422
  - proto_docs/google/cloud/aiplatform/v1/deployed_index_ref.rb
421
423
  - proto_docs/google/cloud/aiplatform/v1/deployed_model_ref.rb
422
424
  - proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb