google-cloud-ai_platform-v1 0.37.0 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +6 -3
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +220 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +7 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +12 -0
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +5 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +99 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +8 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +6 -3
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +4 -2
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +16 -0
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +37 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +2 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +64 -0
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +11 -4
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +58 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 061ef1a71794c5d397cbff5f8b8c4568063952311d8991223212234360e2e590
|
4
|
+
data.tar.gz: aeae4aa17d5e4768e092d8706062a35d57f1f685d6dfe27e20aa9656f3885e73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5d8117c2cb825ec88450d7ccde1f1033d6dd9892f6d283ecf2fa64a176236292e856b2be07ba7462cf94057c400ab071669417714745b7d121151c113bb40c6
|
7
|
+
data.tar.gz: 421974eb91087333219ff8e7ea771cb3e821eadf77cafffb92e416f1d33c3a4ff4e0429421111007468e7d08f7e63e0de92e98b0672f8f20b0e1a2f3d2f50d00
|
@@ -427,20 +427,23 @@ module Google
|
|
427
427
|
# Optional. An expression for filtering the results of the request. For field
|
428
428
|
# names both snake_case and camelCase are supported.
|
429
429
|
#
|
430
|
-
# * `endpoint` supports
|
430
|
+
# * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint
|
431
|
+
# ID,
|
431
432
|
# i.e. the last segment of the Endpoint's [resource
|
432
433
|
# name][google.cloud.aiplatform.v1.Endpoint.name].
|
433
|
-
# * `display_name` supports
|
434
|
+
# * `display_name` supports `=` and `!=`.
|
434
435
|
# * `labels` supports general map functions that is:
|
435
436
|
# * `labels.key=value` - key:value equality
|
436
|
-
# * `labels.key
|
437
|
+
# * `labels.key:*` or `labels:key` - key existence
|
437
438
|
# * A key including a space must be quoted. `labels."a key"`.
|
439
|
+
# * `base_model_name` only supports `=`.
|
438
440
|
#
|
439
441
|
# Some examples:
|
440
442
|
#
|
441
443
|
# * `endpoint=1`
|
442
444
|
# * `displayName="myDisplayName"`
|
443
445
|
# * `labels.myKey="myValue"`
|
446
|
+
# * `baseModelName="text-bison"`
|
444
447
|
# @param page_size [::Integer]
|
445
448
|
# Optional. The standard list page size.
|
446
449
|
# @param page_token [::String]
|
@@ -446,12 +446,14 @@ module Google
|
|
446
446
|
# * `labels.key=value` - key:value equality
|
447
447
|
# * `labels.key:* or labels:key - key existence
|
448
448
|
# * A key including a space must be quoted. `labels."a key"`.
|
449
|
+
# * `base_model_name` only supports =
|
449
450
|
#
|
450
451
|
# Some examples:
|
451
452
|
#
|
452
453
|
# * `model=1234`
|
453
454
|
# * `displayName="myDisplayName"`
|
454
455
|
# * `labels.myKey="myValue"`
|
456
|
+
# * `baseModelName="text-bison"`
|
455
457
|
# @param page_size [::Integer]
|
456
458
|
# The standard list page size.
|
457
459
|
# @param page_token [::String]
|
@@ -1128,6 +1128,107 @@ module Google
|
|
1128
1128
|
raise ::Google::Cloud::Error.from_error(e)
|
1129
1129
|
end
|
1130
1130
|
|
1131
|
+
##
|
1132
|
+
# Batch deletes PipelineJobs
|
1133
|
+
# The Operation is atomic. If it fails, none of the PipelineJobs are deleted.
|
1134
|
+
# If it succeeds, all of the PipelineJobs are deleted.
|
1135
|
+
#
|
1136
|
+
# @overload batch_delete_pipeline_jobs(request, options = nil)
|
1137
|
+
# Pass arguments to `batch_delete_pipeline_jobs` via a request object, either of type
|
1138
|
+
# {::Google::Cloud::AIPlatform::V1::BatchDeletePipelineJobsRequest} or an equivalent Hash.
|
1139
|
+
#
|
1140
|
+
# @param request [::Google::Cloud::AIPlatform::V1::BatchDeletePipelineJobsRequest, ::Hash]
|
1141
|
+
# A request object representing the call parameters. Required. To specify no
|
1142
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1143
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1144
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1145
|
+
#
|
1146
|
+
# @overload batch_delete_pipeline_jobs(parent: nil, names: nil)
|
1147
|
+
# Pass arguments to `batch_delete_pipeline_jobs` via keyword arguments. Note that at
|
1148
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
1149
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
1150
|
+
#
|
1151
|
+
# @param parent [::String]
|
1152
|
+
# Required. The name of the PipelineJobs' parent resource.
|
1153
|
+
# Format: `projects/{project}/locations/{location}`
|
1154
|
+
# @param names [::Array<::String>]
|
1155
|
+
# Required. The names of the PipelineJobs to delete.
|
1156
|
+
# A maximum of 32 PipelineJobs can be deleted in a batch.
|
1157
|
+
# Format:
|
1158
|
+
# `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
|
1159
|
+
#
|
1160
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
1161
|
+
# @yieldparam response [::Gapic::Operation]
|
1162
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1163
|
+
#
|
1164
|
+
# @return [::Gapic::Operation]
|
1165
|
+
#
|
1166
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1167
|
+
#
|
1168
|
+
# @example Basic example
|
1169
|
+
# require "google/cloud/ai_platform/v1"
|
1170
|
+
#
|
1171
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1172
|
+
# client = Google::Cloud::AIPlatform::V1::PipelineService::Client.new
|
1173
|
+
#
|
1174
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1175
|
+
# request = Google::Cloud::AIPlatform::V1::BatchDeletePipelineJobsRequest.new
|
1176
|
+
#
|
1177
|
+
# # Call the batch_delete_pipeline_jobs method.
|
1178
|
+
# result = client.batch_delete_pipeline_jobs request
|
1179
|
+
#
|
1180
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1181
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1182
|
+
# # Here is how to wait for a response.
|
1183
|
+
# result.wait_until_done! timeout: 60
|
1184
|
+
# if result.response?
|
1185
|
+
# p result.response
|
1186
|
+
# else
|
1187
|
+
# puts "No response received."
|
1188
|
+
# end
|
1189
|
+
#
|
1190
|
+
def batch_delete_pipeline_jobs request, options = nil
|
1191
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1192
|
+
|
1193
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::BatchDeletePipelineJobsRequest
|
1194
|
+
|
1195
|
+
# Converts hash and nil to an options object
|
1196
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1197
|
+
|
1198
|
+
# Customize the options with defaults
|
1199
|
+
metadata = @config.rpcs.batch_delete_pipeline_jobs.metadata.to_h
|
1200
|
+
|
1201
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
1202
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1203
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1204
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1205
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1206
|
+
|
1207
|
+
header_params = {}
|
1208
|
+
if request.parent
|
1209
|
+
header_params["parent"] = request.parent
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1213
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
1214
|
+
|
1215
|
+
options.apply_defaults timeout: @config.rpcs.batch_delete_pipeline_jobs.timeout,
|
1216
|
+
metadata: metadata,
|
1217
|
+
retry_policy: @config.rpcs.batch_delete_pipeline_jobs.retry_policy
|
1218
|
+
|
1219
|
+
options.apply_defaults timeout: @config.timeout,
|
1220
|
+
metadata: @config.metadata,
|
1221
|
+
retry_policy: @config.retry_policy
|
1222
|
+
|
1223
|
+
@pipeline_service_stub.call_rpc :batch_delete_pipeline_jobs, request, options: options do |response, operation|
|
1224
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1225
|
+
yield response, operation if block_given?
|
1226
|
+
return response
|
1227
|
+
end
|
1228
|
+
rescue ::GRPC::BadStatus => e
|
1229
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1230
|
+
end
|
1231
|
+
|
1131
1232
|
##
|
1132
1233
|
# Cancels a PipelineJob.
|
1133
1234
|
# Starts asynchronous cancellation on the PipelineJob. The server
|
@@ -1227,6 +1328,111 @@ module Google
|
|
1227
1328
|
raise ::Google::Cloud::Error.from_error(e)
|
1228
1329
|
end
|
1229
1330
|
|
1331
|
+
##
|
1332
|
+
# Batch cancel PipelineJobs.
|
1333
|
+
# Firstly the server will check if all the jobs are in non-terminal states,
|
1334
|
+
# and skip the jobs that are already terminated.
|
1335
|
+
# If the operation failed, none of the pipeline jobs are cancelled.
|
1336
|
+
# The server will poll the states of all the pipeline jobs periodically
|
1337
|
+
# to check the cancellation status.
|
1338
|
+
# This operation will return an LRO.
|
1339
|
+
#
|
1340
|
+
# @overload batch_cancel_pipeline_jobs(request, options = nil)
|
1341
|
+
# Pass arguments to `batch_cancel_pipeline_jobs` via a request object, either of type
|
1342
|
+
# {::Google::Cloud::AIPlatform::V1::BatchCancelPipelineJobsRequest} or an equivalent Hash.
|
1343
|
+
#
|
1344
|
+
# @param request [::Google::Cloud::AIPlatform::V1::BatchCancelPipelineJobsRequest, ::Hash]
|
1345
|
+
# A request object representing the call parameters. Required. To specify no
|
1346
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1347
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1348
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1349
|
+
#
|
1350
|
+
# @overload batch_cancel_pipeline_jobs(parent: nil, names: nil)
|
1351
|
+
# Pass arguments to `batch_cancel_pipeline_jobs` via keyword arguments. Note that at
|
1352
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
1353
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
1354
|
+
#
|
1355
|
+
# @param parent [::String]
|
1356
|
+
# Required. The name of the PipelineJobs' parent resource.
|
1357
|
+
# Format: `projects/{project}/locations/{location}`
|
1358
|
+
# @param names [::Array<::String>]
|
1359
|
+
# Required. The names of the PipelineJobs to cancel.
|
1360
|
+
# A maximum of 32 PipelineJobs can be cancelled in a batch.
|
1361
|
+
# Format:
|
1362
|
+
# `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
|
1363
|
+
#
|
1364
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
1365
|
+
# @yieldparam response [::Gapic::Operation]
|
1366
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1367
|
+
#
|
1368
|
+
# @return [::Gapic::Operation]
|
1369
|
+
#
|
1370
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1371
|
+
#
|
1372
|
+
# @example Basic example
|
1373
|
+
# require "google/cloud/ai_platform/v1"
|
1374
|
+
#
|
1375
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1376
|
+
# client = Google::Cloud::AIPlatform::V1::PipelineService::Client.new
|
1377
|
+
#
|
1378
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1379
|
+
# request = Google::Cloud::AIPlatform::V1::BatchCancelPipelineJobsRequest.new
|
1380
|
+
#
|
1381
|
+
# # Call the batch_cancel_pipeline_jobs method.
|
1382
|
+
# result = client.batch_cancel_pipeline_jobs request
|
1383
|
+
#
|
1384
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1385
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1386
|
+
# # Here is how to wait for a response.
|
1387
|
+
# result.wait_until_done! timeout: 60
|
1388
|
+
# if result.response?
|
1389
|
+
# p result.response
|
1390
|
+
# else
|
1391
|
+
# puts "No response received."
|
1392
|
+
# end
|
1393
|
+
#
|
1394
|
+
def batch_cancel_pipeline_jobs request, options = nil
|
1395
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1396
|
+
|
1397
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::BatchCancelPipelineJobsRequest
|
1398
|
+
|
1399
|
+
# Converts hash and nil to an options object
|
1400
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1401
|
+
|
1402
|
+
# Customize the options with defaults
|
1403
|
+
metadata = @config.rpcs.batch_cancel_pipeline_jobs.metadata.to_h
|
1404
|
+
|
1405
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
1406
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1407
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1408
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1409
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1410
|
+
|
1411
|
+
header_params = {}
|
1412
|
+
if request.parent
|
1413
|
+
header_params["parent"] = request.parent
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1417
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
1418
|
+
|
1419
|
+
options.apply_defaults timeout: @config.rpcs.batch_cancel_pipeline_jobs.timeout,
|
1420
|
+
metadata: metadata,
|
1421
|
+
retry_policy: @config.rpcs.batch_cancel_pipeline_jobs.retry_policy
|
1422
|
+
|
1423
|
+
options.apply_defaults timeout: @config.timeout,
|
1424
|
+
metadata: @config.metadata,
|
1425
|
+
retry_policy: @config.retry_policy
|
1426
|
+
|
1427
|
+
@pipeline_service_stub.call_rpc :batch_cancel_pipeline_jobs, request, options: options do |response, operation|
|
1428
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1429
|
+
yield response, operation if block_given?
|
1430
|
+
return response
|
1431
|
+
end
|
1432
|
+
rescue ::GRPC::BadStatus => e
|
1433
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1434
|
+
end
|
1435
|
+
|
1230
1436
|
##
|
1231
1437
|
# Configuration class for the PipelineService API.
|
1232
1438
|
#
|
@@ -1426,10 +1632,20 @@ module Google
|
|
1426
1632
|
#
|
1427
1633
|
attr_reader :delete_pipeline_job
|
1428
1634
|
##
|
1635
|
+
# RPC-specific configuration for `batch_delete_pipeline_jobs`
|
1636
|
+
# @return [::Gapic::Config::Method]
|
1637
|
+
#
|
1638
|
+
attr_reader :batch_delete_pipeline_jobs
|
1639
|
+
##
|
1429
1640
|
# RPC-specific configuration for `cancel_pipeline_job`
|
1430
1641
|
# @return [::Gapic::Config::Method]
|
1431
1642
|
#
|
1432
1643
|
attr_reader :cancel_pipeline_job
|
1644
|
+
##
|
1645
|
+
# RPC-specific configuration for `batch_cancel_pipeline_jobs`
|
1646
|
+
# @return [::Gapic::Config::Method]
|
1647
|
+
#
|
1648
|
+
attr_reader :batch_cancel_pipeline_jobs
|
1433
1649
|
|
1434
1650
|
# @private
|
1435
1651
|
def initialize parent_rpcs = nil
|
@@ -1451,8 +1667,12 @@ module Google
|
|
1451
1667
|
@list_pipeline_jobs = ::Gapic::Config::Method.new list_pipeline_jobs_config
|
1452
1668
|
delete_pipeline_job_config = parent_rpcs.delete_pipeline_job if parent_rpcs.respond_to? :delete_pipeline_job
|
1453
1669
|
@delete_pipeline_job = ::Gapic::Config::Method.new delete_pipeline_job_config
|
1670
|
+
batch_delete_pipeline_jobs_config = parent_rpcs.batch_delete_pipeline_jobs if parent_rpcs.respond_to? :batch_delete_pipeline_jobs
|
1671
|
+
@batch_delete_pipeline_jobs = ::Gapic::Config::Method.new batch_delete_pipeline_jobs_config
|
1454
1672
|
cancel_pipeline_job_config = parent_rpcs.cancel_pipeline_job if parent_rpcs.respond_to? :cancel_pipeline_job
|
1455
1673
|
@cancel_pipeline_job = ::Gapic::Config::Method.new cancel_pipeline_job_config
|
1674
|
+
batch_cancel_pipeline_jobs_config = parent_rpcs.batch_cancel_pipeline_jobs if parent_rpcs.respond_to? :batch_cancel_pipeline_jobs
|
1675
|
+
@batch_cancel_pipeline_jobs = ::Gapic::Config::Method.new batch_cancel_pipeline_jobs_config
|
1456
1676
|
|
1457
1677
|
yield self if block_given?
|
1458
1678
|
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n1google/cloud/aiplatform/v1/accelerator_type.proto\x12\x1agoogle.cloud.aiplatform.v1*\
|
8
|
+
descriptor_data = "\n1google/cloud/aiplatform/v1/accelerator_type.proto\x12\x1agoogle.cloud.aiplatform.v1*\x9b\x02\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10NVIDIA_TESLA_K80\x10\x01\x12\x15\n\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\n\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\n\x0fNVIDIA_TESLA_P4\x10\x04\x12\x13\n\x0fNVIDIA_TESLA_T4\x10\x05\x12\x15\n\x11NVIDIA_TESLA_A100\x10\x08\x12\x14\n\x10NVIDIA_A100_80GB\x10\t\x12\r\n\tNVIDIA_L4\x10\x0b\x12\x14\n\x10NVIDIA_H100_80GB\x10\r\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07\x12\x0e\n\nTPU_V4_POD\x10\nB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x41\x63\x63\x65leratorTypeProtoP\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"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
@@ -10,7 +10,7 @@ require 'google/protobuf/duration_pb'
|
|
10
10
|
require 'google/type/date_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n(google/cloud/aiplatform/v1/content.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x16google/type/date.proto\"R\n\x07\x43ontent\x12\x11\n\x04role\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x05parts\x18\x02 \x03(\x0b\x32 .google.cloud.aiplatform.v1.PartB\x03\xe0\x41\x02\"\x8f\x03\n\x04Part\x12\x13\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12<\n\x0binline_data\x18\x02 \x01(\x0b\x32 .google.cloud.aiplatform.v1.BlobB\x03\xe0\x41\x01H\x00\x12>\n\tfile_data\x18\x03 \x01(\x0b\x32$.google.cloud.aiplatform.v1.FileDataB\x03\xe0\x41\x01H\x00\x12\x46\n\rfunction_call\x18\x05 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FunctionCallB\x03\xe0\x41\x01H\x00\x12N\n\x11\x66unction_response\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.FunctionResponseB\x03\xe0\x41\x01H\x00\x12H\n\x0evideo_metadata\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.VideoMetadataB\x03\xe0\x41\x01H\x01\x42\x06\n\x04\x64\x61taB\n\n\x08metadata\"1\n\x04\x42lob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"9\n\x08\x46ileData\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x66ile_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\"y\n\rVideoMetadata\x12\x34\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x32\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\x96\x02\n\x10GenerationConfig\x12\x1d\n\x0btemperature\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x17\n\x05top_p\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12!\n\x0f\x63\x61ndidate_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12#\n\x11max_output_tokens\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01H\x04\x88\x01\x01\x12\x1b\n\x0estop_sequences\x18\x06 \x03(\tB\x03\xe0\x41\x01\x42\x0e\n\x0c_temperatureB\x08\n\x06_top_pB\x08\n\x06_top_kB\x12\n\x10_candidate_countB\x14\n\x12_max_output_tokens\"\xbd\x02\n\rSafetySetting\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x02\x12T\n\tthreshold\x18\x02 \x01(\x0e\x32<.google.cloud.aiplatform.v1.SafetySetting.HarmBlockThresholdB\x03\xe0\x41\x02\"\x94\x01\n\x12HarmBlockThreshold\x12$\n HARM_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x01\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10\x02\x12\x13\n\x0f\x42LOCK_ONLY_HIGH\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04\"\
|
13
|
+
descriptor_data = "\n(google/cloud/aiplatform/v1/content.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x16google/type/date.proto\"R\n\x07\x43ontent\x12\x11\n\x04role\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x05parts\x18\x02 \x03(\x0b\x32 .google.cloud.aiplatform.v1.PartB\x03\xe0\x41\x02\"\x8f\x03\n\x04Part\x12\x13\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12<\n\x0binline_data\x18\x02 \x01(\x0b\x32 .google.cloud.aiplatform.v1.BlobB\x03\xe0\x41\x01H\x00\x12>\n\tfile_data\x18\x03 \x01(\x0b\x32$.google.cloud.aiplatform.v1.FileDataB\x03\xe0\x41\x01H\x00\x12\x46\n\rfunction_call\x18\x05 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FunctionCallB\x03\xe0\x41\x01H\x00\x12N\n\x11\x66unction_response\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.FunctionResponseB\x03\xe0\x41\x01H\x00\x12H\n\x0evideo_metadata\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.VideoMetadataB\x03\xe0\x41\x01H\x01\x42\x06\n\x04\x64\x61taB\n\n\x08metadata\"1\n\x04\x42lob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"9\n\x08\x46ileData\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x66ile_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\"y\n\rVideoMetadata\x12\x34\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x32\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\x96\x02\n\x10GenerationConfig\x12\x1d\n\x0btemperature\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x17\n\x05top_p\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12!\n\x0f\x63\x61ndidate_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12#\n\x11max_output_tokens\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01H\x04\x88\x01\x01\x12\x1b\n\x0estop_sequences\x18\x06 \x03(\tB\x03\xe0\x41\x01\x42\x0e\n\x0c_temperatureB\x08\n\x06_top_pB\x08\n\x06_top_kB\x12\n\x10_candidate_countB\x14\n\x12_max_output_tokens\"\xbd\x02\n\rSafetySetting\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x02\x12T\n\tthreshold\x18\x02 \x01(\x0e\x32<.google.cloud.aiplatform.v1.SafetySetting.HarmBlockThresholdB\x03\xe0\x41\x02\"\x94\x01\n\x12HarmBlockThreshold\x12$\n HARM_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x01\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10\x02\x12\x13\n\x0f\x42LOCK_ONLY_HIGH\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04\"\xbf\x04\n\x0cSafetyRating\x12?\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xe0\x41\x03\x12R\n\x0bprobability\x18\x02 \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.SafetyRating.HarmProbabilityB\x03\xe0\x41\x03\x12\x1e\n\x11probability_score\x18\x05 \x01(\x02\x42\x03\xe0\x41\x03\x12L\n\x08severity\x18\x06 \x01(\x0e\x32\x35.google.cloud.aiplatform.v1.SafetyRating.HarmSeverityB\x03\xe0\x41\x03\x12\x1b\n\x0eseverity_score\x18\x07 \x01(\x02\x42\x03\xe0\x41\x03\x12\x14\n\x07\x62locked\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\"b\n\x0fHarmProbability\x12 \n\x1cHARM_PROBABILITY_UNSPECIFIED\x10\x00\x12\x0e\n\nNEGLIGIBLE\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x08\n\x04HIGH\x10\x04\"\x94\x01\n\x0cHarmSeverity\x12\x1d\n\x19HARM_SEVERITY_UNSPECIFIED\x10\x00\x12\x1c\n\x18HARM_SEVERITY_NEGLIGIBLE\x10\x01\x12\x15\n\x11HARM_SEVERITY_LOW\x10\x02\x12\x18\n\x14HARM_SEVERITY_MEDIUM\x10\x03\x12\x16\n\x12HARM_SEVERITY_HIGH\x10\x04\"P\n\x10\x43itationMetadata\x12<\n\tcitations\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.CitationB\x03\xe0\x41\x03\"\xaa\x01\n\x08\x43itation\x12\x18\n\x0bstart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tend_index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x10\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07license\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x30\n\x10publication_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x03\"\xe6\x04\n\tCandidate\x12\x12\n\x05index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x39\n\x07\x63ontent\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x03\x12N\n\rfinish_reason\x18\x03 \x01(\x0e\x32\x32.google.cloud.aiplatform.v1.Candidate.FinishReasonB\x03\xe0\x41\x03\x12\x45\n\x0esafety_ratings\x18\x04 \x03(\x0b\x32(.google.cloud.aiplatform.v1.SafetyRatingB\x03\xe0\x41\x03\x12 \n\x0e\x66inish_message\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12L\n\x11\x63itation_metadata\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.CitationMetadataB\x03\xe0\x41\x03\x12N\n\x12grounding_metadata\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.GroundingMetadataB\x03\xe0\x41\x03\"\x9f\x01\n\x0c\x46inishReason\x12\x1d\n\x19\x46INISH_REASON_UNSPECIFIED\x10\x00\x12\x08\n\x04STOP\x10\x01\x12\x0e\n\nMAX_TOKENS\x10\x02\x12\n\n\x06SAFETY\x10\x03\x12\x0e\n\nRECITATION\x10\x04\x12\t\n\x05OTHER\x10\x05\x12\r\n\tBLOCKLIST\x10\x06\x12\x16\n\x12PROHIBITED_CONTENT\x10\x07\x12\x08\n\x04SPII\x10\x08\x42\x11\n\x0f_finish_message\"T\n\x07Segment\x12\x17\n\npart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tend_index\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\"\x91\x02\n\x14GroundingAttribution\x12H\n\x03web\x18\x03 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GroundingAttribution.WebB\x03\xe0\x41\x01H\x00\x12\x39\n\x07segment\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.SegmentB\x03\xe0\x41\x03\x12%\n\x10\x63onfidence_score\x18\x02 \x01(\x02\x42\x06\xe0\x41\x01\xe0\x41\x03H\x01\x88\x01\x01\x1a+\n\x03Web\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\x0b\n\treferenceB\x13\n\x11_confidence_score\"\x8b\x01\n\x11GroundingMetadata\x12\x1f\n\x12web_search_queries\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12U\n\x16grounding_attributions\x18\x02 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.GroundingAttributionB\x03\xe0\x41\x01*\xb4\x01\n\x0cHarmCategory\x12\x1d\n\x19HARM_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19HARM_CATEGORY_HATE_SPEECH\x10\x01\x12#\n\x1fHARM_CATEGORY_DANGEROUS_CONTENT\x10\x02\x12\x1c\n\x18HARM_CATEGORY_HARASSMENT\x10\x03\x12#\n\x1fHARM_CATEGORY_SEXUALLY_EXPLICIT\x10\x04\x42\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x43ontentProtoP\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"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -53,10 +53,15 @@ module Google
|
|
53
53
|
SafetySetting::HarmBlockThreshold = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SafetySetting.HarmBlockThreshold").enummodule
|
54
54
|
SafetyRating = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SafetyRating").msgclass
|
55
55
|
SafetyRating::HarmProbability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SafetyRating.HarmProbability").enummodule
|
56
|
+
SafetyRating::HarmSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SafetyRating.HarmSeverity").enummodule
|
56
57
|
CitationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CitationMetadata").msgclass
|
57
58
|
Citation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Citation").msgclass
|
58
59
|
Candidate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Candidate").msgclass
|
59
60
|
Candidate::FinishReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Candidate.FinishReason").enummodule
|
61
|
+
Segment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Segment").msgclass
|
62
|
+
GroundingAttribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GroundingAttribution").msgclass
|
63
|
+
GroundingAttribution::Web = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GroundingAttribution.Web").msgclass
|
64
|
+
GroundingMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GroundingMetadata").msgclass
|
60
65
|
HarmCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.HarmCategory").enummodule
|
61
66
|
end
|
62
67
|
end
|
@@ -6,10 +6,11 @@ require 'google/protobuf'
|
|
6
6
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/struct_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
|
11
12
|
|
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\"\
|
13
|
+
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\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x99\x03\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\x12\x14\n\x0c\x64isplay_name\x18\x07 \x01(\t\x12\x30\n\x08metadata\x18\x08 \x01(\x0b\x32\x16.google.protobuf.ValueB\x06\xe0\x41\x03\xe0\x41\x02:\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
|
|
14
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
16
|
|
@@ -25,6 +26,7 @@ rescue TypeError
|
|
25
26
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
27
|
imports = [
|
27
28
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
28
30
|
]
|
29
31
|
imports.each do |type_name, expected_filename|
|
30
32
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n-google/cloud/aiplatform/v1/feature_view.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n-google/cloud/aiplatform/v1/feature_view.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaa\x08\n\x0b\x46\x65\x61tureView\x12W\n\x10\x62ig_query_source\x18\x06 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.FeatureView.BigQuerySourceB\x03\xe0\x41\x01H\x00\x12\x65\n\x17\x66\x65\x61ture_registry_source\x18\t \x01(\x0b\x32=.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySourceB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\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\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12H\n\x06labels\x18\x05 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.FeatureView.LabelsEntryB\x03\xe0\x41\x01\x12G\n\x0bsync_config\x18\x07 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.FeatureView.SyncConfig\x1a\x42\n\x0e\x42igQuerySource\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11\x65ntity_id_columns\x18\x02 \x03(\tB\x03\xe0\x41\x02\x1a\x1a\n\nSyncConfig\x12\x0c\n\x04\x63ron\x18\x01 \x01(\t\x1a\xfe\x01\n\x15\x46\x65\x61tureRegistrySource\x12g\n\x0e\x66\x65\x61ture_groups\x18\x01 \x03(\x0b\x32J.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroupB\x03\xe0\x41\x02\x12 \n\x0eproject_number\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x1aG\n\x0c\x46\x65\x61tureGroup\x12\x1d\n\x10\x66\x65\x61ture_group_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x66\x65\x61ture_ids\x18\x02 \x03(\tB\x03\xe0\x41\x02\x42\x11\n\x0f_project_number\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9b\x01\xea\x41\x97\x01\n%aiplatform.googleapis.com/FeatureView\x12nprojects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}B\x08\n\x06sourceB\xce\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x10\x46\x65\x61tureViewProtoP\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
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -11,7 +11,7 @@ require 'google/rpc/status_pb'
|
|
11
11
|
require 'google/type/interval_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n2google/cloud/aiplatform/v1/feature_view_sync.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x1agoogle/type/interval.proto\"\
|
14
|
+
descriptor_data = "\n2google/cloud/aiplatform/v1/feature_view_sync.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x1agoogle/type/interval.proto\"\x92\x04\n\x0f\x46\x65\x61tureViewSync\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12,\n\x08run_time\x18\x05 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x03\x12-\n\x0c\x66inal_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12R\n\x0csync_summary\x18\x06 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummaryB\x03\xe0\x41\x03\x1a?\n\x0bSyncSummary\x12\x17\n\nrow_synced\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x17\n\ntotal_slot\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03:\xc3\x01\xea\x41\xbf\x01\n)aiplatform.googleapis.com/FeatureViewSync\x12\x91\x01projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/feature_view_syncB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x46\x65\x61tureViewSyncProtoP\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"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -45,6 +45,7 @@ module Google
|
|
45
45
|
module Aiplatform
|
46
46
|
module V1
|
47
47
|
FeatureViewSync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureViewSync").msgclass
|
48
|
+
FeatureViewSync::SyncSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary").msgclass
|
48
49
|
end
|
49
50
|
end
|
50
51
|
end
|
@@ -12,7 +12,7 @@ require 'google/protobuf/struct_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n&google/cloud/aiplatform/v1/index.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/aiplatform/v1/deployed_index_ref.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x06\n\x05Index\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12 \n\x13metadata_schema_uri\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12(\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Value\x12K\n\x10\x64\x65ployed_indexes\x18\x07 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedIndexRefB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12=\n\x06labels\x18\t \x03(\x0b\x32-.google.cloud.aiplatform.v1.Index.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x0bindex_stats\x18\x0e \x01(\x0b\x32&.google.cloud.aiplatform.v1.IndexStatsB\x03\xe0\x41\x03\x12U\n\x13index_update_method\x18\x10 \x01(\x0e\x32\x33.google.cloud.aiplatform.v1.Index.IndexUpdateMethodB\x03\xe0\x41\x05\x12H\n\x0f\x65ncryption_spec\x18\x11 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x11IndexUpdateMethod\x12#\n\x1fINDEX_UPDATE_METHOD_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x42\x41TCH_UPDATE\x10\x01\x12\x11\n\rSTREAM_UPDATE\x10\x02:]\xea\x41Z\n\x1f\x61iplatform.googleapis.com/Index\x12\x37projects/{project}/locations/{location}/indexes/{index}\"\
|
15
|
+
descriptor_data = "\n&google/cloud/aiplatform/v1/index.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/aiplatform/v1/deployed_index_ref.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x06\n\x05Index\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12 \n\x13metadata_schema_uri\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12(\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Value\x12K\n\x10\x64\x65ployed_indexes\x18\x07 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedIndexRefB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12=\n\x06labels\x18\t \x03(\x0b\x32-.google.cloud.aiplatform.v1.Index.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x0bindex_stats\x18\x0e \x01(\x0b\x32&.google.cloud.aiplatform.v1.IndexStatsB\x03\xe0\x41\x03\x12U\n\x13index_update_method\x18\x10 \x01(\x0e\x32\x33.google.cloud.aiplatform.v1.Index.IndexUpdateMethodB\x03\xe0\x41\x05\x12H\n\x0f\x65ncryption_spec\x18\x11 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x11IndexUpdateMethod\x12#\n\x1fINDEX_UPDATE_METHOD_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x42\x41TCH_UPDATE\x10\x01\x12\x11\n\rSTREAM_UPDATE\x10\x02:]\xea\x41Z\n\x1f\x61iplatform.googleapis.com/Index\x12\x37projects/{project}/locations/{location}/indexes/{index}\"\x83\x06\n\x0eIndexDatapoint\x12\x19\n\x0c\x64\x61tapoint_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x66\x65\x61ture_vector\x18\x02 \x03(\x02\x42\x03\xe0\x41\x02\x12N\n\trestricts\x18\x04 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionB\x03\xe0\x41\x01\x12]\n\x11numeric_restricts\x18\x06 \x03(\x0b\x32=.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestrictionB\x03\xe0\x41\x01\x12Q\n\x0c\x63rowding_tag\x18\x05 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagB\x03\xe0\x41\x01\x1aG\n\x0bRestriction\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\nallow_list\x18\x02 \x03(\t\x12\x11\n\tdeny_list\x18\x03 \x03(\t\x1a\xc2\x02\n\x12NumericRestriction\x12\x13\n\tvalue_int\x18\x02 \x01(\x03H\x00\x12\x15\n\x0bvalue_float\x18\x03 \x01(\x02H\x00\x12\x16\n\x0cvalue_double\x18\x04 \x01(\x01H\x00\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12R\n\x02op\x18\x05 \x01(\x0e\x32\x46.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator\"x\n\x08Operator\x12\x18\n\x14OPERATOR_UNSPECIFIED\x10\x00\x12\x08\n\x04LESS\x10\x01\x12\x0e\n\nLESS_EQUAL\x10\x02\x12\t\n\x05\x45QUAL\x10\x03\x12\x11\n\rGREATER_EQUAL\x10\x04\x12\x0b\n\x07GREATER\x10\x05\x12\r\n\tNOT_EQUAL\x10\x06\x42\x07\n\x05Value\x1a)\n\x0b\x43rowdingTag\x12\x1a\n\x12\x63rowding_attribute\x18\x01 \x01(\t\"C\n\nIndexStats\x12\x1a\n\rvectors_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0cshards_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x42\xc8\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\nIndexProtoP\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"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -15,7 +15,7 @@ require 'google/protobuf/struct_pb'
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n&google/cloud/aiplatform/v1/model.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/aiplatform/v1/deployed_model_ref.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xff\
|
18
|
+
descriptor_data = "\n&google/cloud/aiplatform/v1/model.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/aiplatform/v1/deployed_model_ref.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xff\x14\n\x05Model\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\nversion_id\x18\x1c \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12\x17\n\x0fversion_aliases\x18\x1d \x03(\t\x12<\n\x13version_create_time\x18\x1f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x13version_update_time\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x13version_description\x18\x1e \x01(\t\x12\x45\n\x10predict_schemata\x18\x04 \x01(\x0b\x32+.google.cloud.aiplatform.v1.PredictSchemata\x12 \n\x13metadata_schema_uri\x18\x05 \x01(\tB\x03\xe0\x41\x05\x12-\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x05\x12U\n\x18supported_export_formats\x18\x14 \x03(\x0b\x32..google.cloud.aiplatform.v1.Model.ExportFormatB\x03\xe0\x41\x03\x12M\n\x11training_pipeline\x18\x07 \x01(\tB2\xe0\x41\x03\xfa\x41,\n*aiplatform.googleapis.com/TrainingPipeline\x12\x43\n\x0cpipeline_job\x18/ \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob\x12K\n\x0e\x63ontainer_spec\x18\t \x01(\x0b\x32..google.cloud.aiplatform.v1.ModelContainerSpecB\x03\xe0\x41\x04\x12\x19\n\x0c\x61rtifact_uri\x18\x1a \x01(\tB\x03\xe0\x41\x05\x12l\n$supported_deployment_resources_types\x18\n \x03(\x0e\x32\x39.google.cloud.aiplatform.v1.Model.DeploymentResourcesTypeB\x03\xe0\x41\x03\x12,\n\x1fsupported_input_storage_formats\x18\x0b \x03(\tB\x03\xe0\x41\x03\x12-\n supported_output_storage_formats\x18\x0c \x03(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x0f\x64\x65ployed_models\x18\x0f \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedModelRefB\x03\xe0\x41\x03\x12\x45\n\x10\x65xplanation_spec\x18\x17 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ExplanationSpec\x12\x0c\n\x04\x65tag\x18\x10 \x01(\t\x12=\n\x06labels\x18\x11 \x03(\x0b\x32-.google.cloud.aiplatform.v1.Model.LabelsEntry\x12?\n\ndata_stats\x18\x15 \x01(\x0b\x32+.google.cloud.aiplatform.v1.Model.DataStats\x12\x43\n\x0f\x65ncryption_spec\x18\x18 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12K\n\x11model_source_info\x18& \x01(\x0b\x32+.google.cloud.aiplatform.v1.ModelSourceInfoB\x03\xe0\x41\x03\x12U\n\x13original_model_info\x18\" \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.Model.OriginalModelInfoB\x03\xe0\x41\x03\x12\x1e\n\x11metadata_artifact\x18, \x01(\tB\x03\xe0\x41\x03\x12Q\n\x11\x62\x61se_model_source\x18\x32 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.Model.BaseModelSourceB\x03\xe0\x41\x01\x1a\xd5\x01\n\x0c\x45xportFormat\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x62\n\x13\x65xportable_contents\x18\x02 \x03(\x0e\x32@.google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContentB\x03\xe0\x41\x03\"P\n\x11\x45xportableContent\x12\"\n\x1e\x45XPORTABLE_CONTENT_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41RTIFACT\x10\x01\x12\t\n\x05IMAGE\x10\x02\x1a\xdc\x01\n\tDataStats\x12!\n\x19training_data_items_count\x18\x01 \x01(\x03\x12#\n\x1bvalidation_data_items_count\x18\x02 \x01(\x03\x12\x1d\n\x15test_data_items_count\x18\x03 \x01(\x03\x12\"\n\x1atraining_annotations_count\x18\x04 \x01(\x03\x12$\n\x1cvalidation_annotations_count\x18\x05 \x01(\x03\x12\x1e\n\x16test_annotations_count\x18\x06 \x01(\x03\x1aK\n\x11OriginalModelInfo\x12\x36\n\x05model\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x1a\xaa\x01\n\x0f\x42\x61seModelSource\x12L\n\x13model_garden_source\x18\x01 \x01(\x0b\x32-.google.cloud.aiplatform.v1.ModelGardenSourceH\x00\x12?\n\x0cgenie_source\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.GenieSourceH\x00\x42\x08\n\x06source\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8c\x01\n\x17\x44\x65ploymentResourcesType\x12)\n%DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x44\x45\x44ICATED_RESOURCES\x10\x01\x12\x17\n\x13\x41UTOMATIC_RESOURCES\x10\x02\x12\x14\n\x10SHARED_RESOURCES\x10\x03:\\\xea\x41Y\n\x1f\x61iplatform.googleapis.com/Model\x12\x36projects/{project}/locations/{location}/models/{model}\"(\n\x13LargeModelReference\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"3\n\x11ModelGardenSource\x12\x1e\n\x11public_model_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"*\n\x0bGenieSource\x12\x1b\n\x0e\x62\x61se_model_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"{\n\x0fPredictSchemata\x12 \n\x13instance_schema_uri\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\"\n\x15parameters_schema_uri\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12\"\n\x15prediction_schema_uri\x18\x03 \x01(\tB\x03\xe0\x41\x05\"\x93\x04\n\x12ModelContainerSpec\x12\x19\n\timage_uri\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x14\n\x07\x63ommand\x18\x02 \x03(\tB\x03\xe0\x41\x05\x12\x11\n\x04\x61rgs\x18\x03 \x03(\tB\x03\xe0\x41\x05\x12\x34\n\x03\x65nv\x18\x04 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVarB\x03\xe0\x41\x05\x12\x34\n\x05ports\x18\x05 \x03(\x0b\x32 .google.cloud.aiplatform.v1.PortB\x03\xe0\x41\x05\x12\x1a\n\rpredict_route\x18\x06 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0chealth_route\x18\x07 \x01(\tB\x03\xe0\x41\x05\x12\x39\n\ngrpc_ports\x18\t \x03(\x0b\x32 .google.cloud.aiplatform.v1.PortB\x03\xe0\x41\x05\x12:\n\x12\x64\x65ployment_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x05\x12\"\n\x15shared_memory_size_mb\x18\x0b \x01(\x03\x42\x03\xe0\x41\x05\x12=\n\rstartup_probe\x18\x0c \x01(\x0b\x32!.google.cloud.aiplatform.v1.ProbeB\x03\xe0\x41\x05\x12<\n\x0chealth_probe\x18\r \x01(\x0b\x32!.google.cloud.aiplatform.v1.ProbeB\x03\xe0\x41\x05\"\x1e\n\x04Port\x12\x16\n\x0e\x63ontainer_port\x18\x03 \x01(\x05\"\x93\x02\n\x0fModelSourceInfo\x12P\n\x0bsource_type\x18\x01 \x01(\x0e\x32;.google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType\x12\x0c\n\x04\x63opy\x18\x02 \x01(\x08\"\x9f\x01\n\x0fModelSourceType\x12!\n\x1dMODEL_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41UTOML\x10\x01\x12\n\n\x06\x43USTOM\x10\x02\x12\x08\n\x04\x42QML\x10\x03\x12\x10\n\x0cMODEL_GARDEN\x10\x04\x12\t\n\x05GENIE\x10\x05\x12\x19\n\x15\x43USTOM_TEXT_EMBEDDING\x10\x06\x12\x0f\n\x0bMARKETPLACE\x10\x07\"\xa3\x01\n\x05Probe\x12<\n\x04\x65xec\x18\x01 \x01(\x0b\x32,.google.cloud.aiplatform.v1.Probe.ExecActionH\x00\x12\x16\n\x0eperiod_seconds\x18\x02 \x01(\x05\x12\x17\n\x0ftimeout_seconds\x18\x03 \x01(\x05\x1a\x1d\n\nExecAction\x12\x0f\n\x07\x63ommand\x18\x01 \x03(\tB\x0c\n\nprobe_typeB\xc8\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\nModelProtoP\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"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -57,8 +57,11 @@ module Google
|
|
57
57
|
Model::ExportFormat::ExportableContent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContent").enummodule
|
58
58
|
Model::DataStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Model.DataStats").msgclass
|
59
59
|
Model::OriginalModelInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Model.OriginalModelInfo").msgclass
|
60
|
+
Model::BaseModelSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Model.BaseModelSource").msgclass
|
60
61
|
Model::DeploymentResourcesType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Model.DeploymentResourcesType").enummodule
|
61
62
|
LargeModelReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.LargeModelReference").msgclass
|
63
|
+
ModelGardenSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelGardenSource").msgclass
|
64
|
+
GenieSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenieSource").msgclass
|
62
65
|
PredictSchemata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PredictSchemata").msgclass
|
63
66
|
ModelContainerSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelContainerSpec").msgclass
|
64
67
|
Port = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Port").msgclass
|
@@ -16,7 +16,7 @@ require 'google/protobuf/empty_pb'
|
|
16
16
|
require 'google/protobuf/field_mask_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n1google/cloud/aiplatform/v1/pipeline_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/operation.proto\x1a-google/cloud/aiplatform/v1/pipeline_job.proto\x1a\x32google/cloud/aiplatform/v1/training_pipeline.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa8\x01\n\x1d\x43reateTrainingPipelineRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12L\n\x11training_pipeline\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.TrainingPipelineB\x03\xe0\x41\x02\"^\n\x1aGetTrainingPipelineRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*aiplatform.googleapis.com/TrainingPipeline\"\xbf\x01\n\x1cListTrainingPipelinesRequest\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\"\x82\x01\n\x1dListTrainingPipelinesResponse\x12H\n\x12training_pipelines\x18\x01 \x03(\x0b\x32,.google.cloud.aiplatform.v1.TrainingPipeline\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x1d\x44\x65leteTrainingPipelineRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*aiplatform.googleapis.com/TrainingPipeline\"a\n\x1d\x43\x61ncelTrainingPipelineRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*aiplatform.googleapis.com/TrainingPipeline\"\xb2\x01\n\x18\x43reatePipelineJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x42\n\x0cpipeline_job\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.PipelineJobB\x03\xe0\x41\x02\x12\x17\n\x0fpipeline_job_id\x18\x03 \x01(\t\"T\n\x15GetPipelineJobRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob\"\xcc\x01\n\x17ListPipelineJobsRequest\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\x10\n\x08order_by\x18\x06 \x01(\t\x12-\n\tread_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"s\n\x18ListPipelineJobsResponse\x12>\n\rpipeline_jobs\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.PipelineJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x18\x44\x65letePipelineJobRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob\"W\n\x18\x43\x61ncelPipelineJobRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob2\
|
19
|
+
descriptor_data = "\n1google/cloud/aiplatform/v1/pipeline_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/operation.proto\x1a-google/cloud/aiplatform/v1/pipeline_job.proto\x1a\x32google/cloud/aiplatform/v1/training_pipeline.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"z\n(BatchCancelPipelineJobsOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xa8\x01\n\x1d\x43reateTrainingPipelineRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12L\n\x11training_pipeline\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.TrainingPipelineB\x03\xe0\x41\x02\"^\n\x1aGetTrainingPipelineRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*aiplatform.googleapis.com/TrainingPipeline\"\xbf\x01\n\x1cListTrainingPipelinesRequest\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\"\x82\x01\n\x1dListTrainingPipelinesResponse\x12H\n\x12training_pipelines\x18\x01 \x03(\x0b\x32,.google.cloud.aiplatform.v1.TrainingPipeline\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x1d\x44\x65leteTrainingPipelineRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*aiplatform.googleapis.com/TrainingPipeline\"a\n\x1d\x43\x61ncelTrainingPipelineRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*aiplatform.googleapis.com/TrainingPipeline\"\xb2\x01\n\x18\x43reatePipelineJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x42\n\x0cpipeline_job\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.PipelineJobB\x03\xe0\x41\x02\x12\x17\n\x0fpipeline_job_id\x18\x03 \x01(\t\"T\n\x15GetPipelineJobRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob\"\xcc\x01\n\x17ListPipelineJobsRequest\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\x10\n\x08order_by\x18\x06 \x01(\t\x12-\n\tread_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"s\n\x18ListPipelineJobsResponse\x12>\n\rpipeline_jobs\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.PipelineJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x18\x44\x65letePipelineJobRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob\"\x9d\x01\n\x1e\x42\x61tchDeletePipelineJobsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%aiplatform.googleapis.com/PipelineJob\x12<\n\x05names\x18\x02 \x03(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob\"a\n\x1f\x42\x61tchDeletePipelineJobsResponse\x12>\n\rpipeline_jobs\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.PipelineJob\"W\n\x18\x43\x61ncelPipelineJobRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob\"\x9d\x01\n\x1e\x42\x61tchCancelPipelineJobsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%aiplatform.googleapis.com/PipelineJob\x12<\n\x05names\x18\x02 \x03(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/PipelineJob\"a\n\x1f\x42\x61tchCancelPipelineJobsResponse\x12>\n\rpipeline_jobs\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.PipelineJob2\xa7\x15\n\x0fPipelineService\x12\xee\x01\n\x16\x43reateTrainingPipeline\x12\x39.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest\x1a,.google.cloud.aiplatform.v1.TrainingPipeline\"k\xda\x41\x18parent,training_pipeline\x82\xd3\xe4\x93\x02J\"5/v1/{parent=projects/*/locations/*}/trainingPipelines:\x11training_pipeline\x12\xc1\x01\n\x13GetTrainingPipeline\x12\x36.google.cloud.aiplatform.v1.GetTrainingPipelineRequest\x1a,.google.cloud.aiplatform.v1.TrainingPipeline\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/trainingPipelines/*}\x12\xd4\x01\n\x15ListTrainingPipelines\x12\x38.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest\x1a\x39.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/trainingPipelines\x12\xeb\x01\n\x16\x44\x65leteTrainingPipeline\x12\x39.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/trainingPipelines/*}\x12\xbb\x01\n\x16\x43\x61ncelTrainingPipeline\x12\x39.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest\x1a\x16.google.protobuf.Empty\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v1/{name=projects/*/locations/*/trainingPipelines/*}:cancel:\x01*\x12\xe0\x01\n\x11\x43reatePipelineJob\x12\x34.google.cloud.aiplatform.v1.CreatePipelineJobRequest\x1a\'.google.cloud.aiplatform.v1.PipelineJob\"l\xda\x41#parent,pipeline_job,pipeline_job_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/pipelineJobs:\x0cpipeline_job\x12\xad\x01\n\x0eGetPipelineJob\x12\x31.google.cloud.aiplatform.v1.GetPipelineJobRequest\x1a\'.google.cloud.aiplatform.v1.PipelineJob\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/pipelineJobs/*}\x12\xc0\x01\n\x10ListPipelineJobs\x12\x33.google.cloud.aiplatform.v1.ListPipelineJobsRequest\x1a\x34.google.cloud.aiplatform.v1.ListPipelineJobsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/pipelineJobs\x12\xdc\x01\n\x11\x44\x65letePipelineJob\x12\x34.google.cloud.aiplatform.v1.DeletePipelineJobRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/pipelineJobs/*}\x12\x8a\x02\n\x17\x42\x61tchDeletePipelineJobs\x12:.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest\x1a\x1d.google.longrunning.Operation\"\x93\x01\xca\x41:\n\x1f\x42\x61tchDeletePipelineJobsResponse\x12\x17\x44\x65leteOperationMetadata\xda\x41\x0cparent,names\x82\xd3\xe4\x93\x02\x41\"</v1/{parent=projects/*/locations/*}/pipelineJobs:batchDelete:\x01*\x12\xac\x01\n\x11\x43\x61ncelPipelineJob\x12\x34.google.cloud.aiplatform.v1.CancelPipelineJobRequest\x1a\x16.google.protobuf.Empty\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/pipelineJobs/*}:cancel:\x01*\x12\x9b\x02\n\x17\x42\x61tchCancelPipelineJobs\x12:.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest\x1a\x1d.google.longrunning.Operation\"\xa4\x01\xca\x41K\n\x1f\x42\x61tchCancelPipelineJobsResponse\x12(BatchCancelPipelineJobsOperationMetadata\xda\x41\x0cparent,names\x82\xd3\xe4\x93\x02\x41\"</v1/{parent=projects/*/locations/*}/pipelineJobs:batchCancel:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14PipelineServiceProtoP\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"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -31,6 +31,7 @@ rescue TypeError
|
|
31
31
|
file = pool.add_serialized_file(serialized)
|
32
32
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
33
33
|
imports = [
|
34
|
+
["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
|
34
35
|
["google.cloud.aiplatform.v1.TrainingPipeline", "google/cloud/aiplatform/v1/training_pipeline.proto"],
|
35
36
|
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
36
37
|
["google.cloud.aiplatform.v1.PipelineJob", "google/cloud/aiplatform/v1/pipeline_job.proto"],
|
@@ -49,6 +50,7 @@ module Google
|
|
49
50
|
module Cloud
|
50
51
|
module AIPlatform
|
51
52
|
module V1
|
53
|
+
BatchCancelPipelineJobsOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata").msgclass
|
52
54
|
CreateTrainingPipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateTrainingPipelineRequest").msgclass
|
53
55
|
GetTrainingPipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetTrainingPipelineRequest").msgclass
|
54
56
|
ListTrainingPipelinesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListTrainingPipelinesRequest").msgclass
|
@@ -60,7 +62,11 @@ module Google
|
|
60
62
|
ListPipelineJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListPipelineJobsRequest").msgclass
|
61
63
|
ListPipelineJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListPipelineJobsResponse").msgclass
|
62
64
|
DeletePipelineJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeletePipelineJobRequest").msgclass
|
65
|
+
BatchDeletePipelineJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest").msgclass
|
66
|
+
BatchDeletePipelineJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse").msgclass
|
63
67
|
CancelPipelineJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CancelPipelineJobRequest").msgclass
|
68
|
+
BatchCancelPipelineJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest").msgclass
|
69
|
+
BatchCancelPipelineJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse").msgclass
|
64
70
|
end
|
65
71
|
end
|
66
72
|
end
|
@@ -67,6 +67,10 @@ module Google
|
|
67
67
|
rpc :ListPipelineJobs, ::Google::Cloud::AIPlatform::V1::ListPipelineJobsRequest, ::Google::Cloud::AIPlatform::V1::ListPipelineJobsResponse
|
68
68
|
# Deletes a PipelineJob.
|
69
69
|
rpc :DeletePipelineJob, ::Google::Cloud::AIPlatform::V1::DeletePipelineJobRequest, ::Google::Longrunning::Operation
|
70
|
+
# Batch deletes PipelineJobs
|
71
|
+
# The Operation is atomic. If it fails, none of the PipelineJobs are deleted.
|
72
|
+
# If it succeeds, all of the PipelineJobs are deleted.
|
73
|
+
rpc :BatchDeletePipelineJobs, ::Google::Cloud::AIPlatform::V1::BatchDeletePipelineJobsRequest, ::Google::Longrunning::Operation
|
70
74
|
# Cancels a PipelineJob.
|
71
75
|
# Starts asynchronous cancellation on the PipelineJob. The server
|
72
76
|
# makes a best effort to cancel the pipeline, but success is not
|
@@ -81,6 +85,14 @@ module Google
|
|
81
85
|
# [PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
|
82
86
|
# `CANCELLED`.
|
83
87
|
rpc :CancelPipelineJob, ::Google::Cloud::AIPlatform::V1::CancelPipelineJobRequest, ::Google::Protobuf::Empty
|
88
|
+
# Batch cancel PipelineJobs.
|
89
|
+
# Firstly the server will check if all the jobs are in non-terminal states,
|
90
|
+
# and skip the jobs that are already terminated.
|
91
|
+
# If the operation failed, none of the pipeline jobs are cancelled.
|
92
|
+
# The server will poll the states of all the pipeline jobs periodically
|
93
|
+
# to check the cancellation status.
|
94
|
+
# This operation will return an LRO.
|
95
|
+
rpc :BatchCancelPipelineJobs, ::Google::Cloud::AIPlatform::V1::BatchCancelPipelineJobsRequest, ::Google::Longrunning::Operation
|
84
96
|
end
|
85
97
|
|
86
98
|
Stub = Service.rpc_stub_class
|
@@ -5,11 +5,12 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
8
9
|
require 'google/cloud/aiplatform/v1/openapi_pb'
|
9
10
|
require 'google/protobuf/struct_pb'
|
10
11
|
|
11
12
|
|
12
|
-
descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\"
|
13
|
+
descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xf3\x01\n\x04Tool\x12S\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xe0\x41\x01\x12=\n\tretrieval\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RetrievalB\x03\xe0\x41\x01\x12W\n\x17google_search_retrieval\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xe0\x41\x01\"\x7f\n\x13\x46unctionDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\"M\n\x0c\x46unctionCall\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\"U\n\x10\x46unctionResponse\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\"\x7f\n\tRetrieval\x12\x46\n\x10vertex_ai_search\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12 \n\x13\x64isable_attribution\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"(\n\x0eVertexAISearch\x12\x16\n\tdatastore\x18\x01 \x01(\tB\x03\xe0\x41\x02\"9\n\x15GoogleSearchRetrieval\x12 \n\x13\x64isable_attribution\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x42\xc7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\tToolProtoP\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
|
|
14
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
16
|
|
@@ -45,6 +46,9 @@ module Google
|
|
45
46
|
FunctionDeclaration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionDeclaration").msgclass
|
46
47
|
FunctionCall = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionCall").msgclass
|
47
48
|
FunctionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FunctionResponse").msgclass
|
49
|
+
Retrieval = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Retrieval").msgclass
|
50
|
+
VertexAISearch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.VertexAISearch").msgclass
|
51
|
+
GoogleSearchRetrieval = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GoogleSearchRetrieval").msgclass
|
48
52
|
end
|
49
53
|
end
|
50
54
|
end
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -176,6 +176,15 @@ module Google
|
|
176
176
|
# @!attribute [r] probability
|
177
177
|
# @return [::Google::Cloud::AIPlatform::V1::SafetyRating::HarmProbability]
|
178
178
|
# Output only. Harm probability levels in the content.
|
179
|
+
# @!attribute [r] probability_score
|
180
|
+
# @return [::Float]
|
181
|
+
# Output only. Harm probability score.
|
182
|
+
# @!attribute [r] severity
|
183
|
+
# @return [::Google::Cloud::AIPlatform::V1::SafetyRating::HarmSeverity]
|
184
|
+
# Output only. Harm severity levels in the content.
|
185
|
+
# @!attribute [r] severity_score
|
186
|
+
# @return [::Float]
|
187
|
+
# Output only. Harm severity score.
|
179
188
|
# @!attribute [r] blocked
|
180
189
|
# @return [::Boolean]
|
181
190
|
# Output only. Indicates whether the content was filtered out because of this
|
@@ -201,6 +210,24 @@ module Google
|
|
201
210
|
# High level of harm.
|
202
211
|
HIGH = 4
|
203
212
|
end
|
213
|
+
|
214
|
+
# Harm severity levels.
|
215
|
+
module HarmSeverity
|
216
|
+
# Harm severity unspecified.
|
217
|
+
HARM_SEVERITY_UNSPECIFIED = 0
|
218
|
+
|
219
|
+
# Negligible level of harm severity.
|
220
|
+
HARM_SEVERITY_NEGLIGIBLE = 1
|
221
|
+
|
222
|
+
# Low level of harm severity.
|
223
|
+
HARM_SEVERITY_LOW = 2
|
224
|
+
|
225
|
+
# Medium level of harm severity.
|
226
|
+
HARM_SEVERITY_MEDIUM = 3
|
227
|
+
|
228
|
+
# High level of harm severity.
|
229
|
+
HARM_SEVERITY_HIGH = 4
|
230
|
+
end
|
204
231
|
end
|
205
232
|
|
206
233
|
# A collection of source attributions for a piece of content.
|
@@ -259,6 +286,9 @@ module Google
|
|
259
286
|
# @!attribute [r] citation_metadata
|
260
287
|
# @return [::Google::Cloud::AIPlatform::V1::CitationMetadata]
|
261
288
|
# Output only. Source attribution of the generated content.
|
289
|
+
# @!attribute [r] grounding_metadata
|
290
|
+
# @return [::Google::Cloud::AIPlatform::V1::GroundingMetadata]
|
291
|
+
# Output only. Metadata specifies sources used to ground generated content.
|
262
292
|
class Candidate
|
263
293
|
include ::Google::Protobuf::MessageExts
|
264
294
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -286,9 +316,78 @@ module Google
|
|
286
316
|
|
287
317
|
# All other reasons that stopped the token generation
|
288
318
|
OTHER = 5
|
319
|
+
|
320
|
+
# The token generation was stopped as the response was flagged for the
|
321
|
+
# terms which are included from the terminology blocklist.
|
322
|
+
BLOCKLIST = 6
|
323
|
+
|
324
|
+
# The token generation was stopped as the response was flagged for
|
325
|
+
# the prohibited contents.
|
326
|
+
PROHIBITED_CONTENT = 7
|
327
|
+
|
328
|
+
# The token generation was stopped as the response was flagged for
|
329
|
+
# Sensitive Personally Identifiable Information (SPII) contents.
|
330
|
+
SPII = 8
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
# Segment of the content.
|
335
|
+
# @!attribute [r] part_index
|
336
|
+
# @return [::Integer]
|
337
|
+
# Output only. The index of a Part object within its parent Content object.
|
338
|
+
# @!attribute [r] start_index
|
339
|
+
# @return [::Integer]
|
340
|
+
# Output only. Start index in the given Part, measured in bytes. Offset from
|
341
|
+
# the start of the Part, inclusive, starting at zero.
|
342
|
+
# @!attribute [r] end_index
|
343
|
+
# @return [::Integer]
|
344
|
+
# Output only. End index in the given Part, measured in bytes. Offset from
|
345
|
+
# the start of the Part, exclusive, starting at zero.
|
346
|
+
class Segment
|
347
|
+
include ::Google::Protobuf::MessageExts
|
348
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
349
|
+
end
|
350
|
+
|
351
|
+
# Grounding attribution.
|
352
|
+
# @!attribute [rw] web
|
353
|
+
# @return [::Google::Cloud::AIPlatform::V1::GroundingAttribution::Web]
|
354
|
+
# Optional. Attribution from the web.
|
355
|
+
# @!attribute [r] segment
|
356
|
+
# @return [::Google::Cloud::AIPlatform::V1::Segment]
|
357
|
+
# Output only. Segment of the content this attribution belongs to.
|
358
|
+
# @!attribute [r] confidence_score
|
359
|
+
# @return [::Float]
|
360
|
+
# Optional. Output only. Confidence score of the attribution. Ranges from 0
|
361
|
+
# to 1. 1 is the most confident.
|
362
|
+
class GroundingAttribution
|
363
|
+
include ::Google::Protobuf::MessageExts
|
364
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
365
|
+
|
366
|
+
# Attribution from the web.
|
367
|
+
# @!attribute [r] uri
|
368
|
+
# @return [::String]
|
369
|
+
# Output only. URI reference of the attribution.
|
370
|
+
# @!attribute [r] title
|
371
|
+
# @return [::String]
|
372
|
+
# Output only. Title of the attribution.
|
373
|
+
class Web
|
374
|
+
include ::Google::Protobuf::MessageExts
|
375
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
289
376
|
end
|
290
377
|
end
|
291
378
|
|
379
|
+
# Metadata returned to client when grounding is enabled.
|
380
|
+
# @!attribute [rw] web_search_queries
|
381
|
+
# @return [::Array<::String>]
|
382
|
+
# Optional. Web search queries for the following-up web search.
|
383
|
+
# @!attribute [rw] grounding_attributions
|
384
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::GroundingAttribution>]
|
385
|
+
# Optional. List of grounding attributions.
|
386
|
+
class GroundingMetadata
|
387
|
+
include ::Google::Protobuf::MessageExts
|
388
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
389
|
+
end
|
390
|
+
|
292
391
|
# Harm categories that will block the content.
|
293
392
|
module HarmCategory
|
294
393
|
# The harm category is unspecified.
|
@@ -38,6 +38,14 @@ module Google
|
|
38
38
|
# @!attribute [r] big_query_dataset_name
|
39
39
|
# @return [::String]
|
40
40
|
# Output only. Name of the associated BigQuery dataset.
|
41
|
+
# @!attribute [rw] display_name
|
42
|
+
# @return [::String]
|
43
|
+
# The user-defined name of the DatasetVersion.
|
44
|
+
# The name can be up to 128 characters long and can consist of any UTF-8
|
45
|
+
# characters.
|
46
|
+
# @!attribute [r] metadata
|
47
|
+
# @return [::Google::Protobuf::Value]
|
48
|
+
# Required. Output only. Additional information about the DatasetVersion.
|
41
49
|
class DatasetVersion
|
42
50
|
include ::Google::Protobuf::MessageExts
|
43
51
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -84,20 +84,23 @@ module Google
|
|
84
84
|
# Optional. An expression for filtering the results of the request. For field
|
85
85
|
# names both snake_case and camelCase are supported.
|
86
86
|
#
|
87
|
-
# * `endpoint` supports
|
87
|
+
# * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint
|
88
|
+
# ID,
|
88
89
|
# i.e. the last segment of the Endpoint's [resource
|
89
90
|
# name][google.cloud.aiplatform.v1.Endpoint.name].
|
90
|
-
# * `display_name` supports
|
91
|
+
# * `display_name` supports `=` and `!=`.
|
91
92
|
# * `labels` supports general map functions that is:
|
92
93
|
# * `labels.key=value` - key:value equality
|
93
|
-
# * `labels.key
|
94
|
+
# * `labels.key:*` or `labels:key` - key existence
|
94
95
|
# * A key including a space must be quoted. `labels."a key"`.
|
96
|
+
# * `base_model_name` only supports `=`.
|
95
97
|
#
|
96
98
|
# Some examples:
|
97
99
|
#
|
98
100
|
# * `endpoint=1`
|
99
101
|
# * `displayName="myDisplayName"`
|
100
102
|
# * `labels.myKey="myValue"`
|
103
|
+
# * `baseModelName="text-bison"`
|
101
104
|
# @!attribute [rw] page_size
|
102
105
|
# @return [::Integer]
|
103
106
|
# Optional. The standard list page size.
|
@@ -69,8 +69,8 @@ module Google
|
|
69
69
|
# BigQuery Table or View.
|
70
70
|
# @!attribute [rw] entity_id_columns
|
71
71
|
# @return [::Array<::String>]
|
72
|
-
# Optional. Columns to construct entity_id / row keys.
|
73
|
-
#
|
72
|
+
# Optional. Columns to construct entity_id / row keys.
|
73
|
+
# If not provided defaults to `entity_id`.
|
74
74
|
class BigQuery
|
75
75
|
include ::Google::Protobuf::MessageExts
|
76
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -73,8 +73,7 @@ module Google
|
|
73
73
|
# trigger based on FeatureView.SyncConfig.
|
74
74
|
# @!attribute [rw] entity_id_columns
|
75
75
|
# @return [::Array<::String>]
|
76
|
-
# Required. Columns to construct entity_id / row keys.
|
77
|
-
# 1 only.
|
76
|
+
# Required. Columns to construct entity_id / row keys.
|
78
77
|
class BigQuerySource
|
79
78
|
include ::Google::Protobuf::MessageExts
|
80
79
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -99,6 +98,9 @@ module Google
|
|
99
98
|
# @!attribute [rw] feature_groups
|
100
99
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::FeatureView::FeatureRegistrySource::FeatureGroup>]
|
101
100
|
# Required. List of features that need to be synced to Online Store.
|
101
|
+
# @!attribute [rw] project_number
|
102
|
+
# @return [::Integer]
|
103
|
+
# Optional. The project number of the parent project of the Feature Groups.
|
102
104
|
class FeatureRegistrySource
|
103
105
|
include ::Google::Protobuf::MessageExts
|
104
106
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -38,9 +38,25 @@ module Google
|
|
38
38
|
# @!attribute [r] final_status
|
39
39
|
# @return [::Google::Rpc::Status]
|
40
40
|
# Output only. Final status of the FeatureViewSync.
|
41
|
+
# @!attribute [r] sync_summary
|
42
|
+
# @return [::Google::Cloud::Aiplatform::V1::FeatureViewSync::SyncSummary]
|
43
|
+
# Output only. Summary of the sync job.
|
41
44
|
class FeatureViewSync
|
42
45
|
include ::Google::Protobuf::MessageExts
|
43
46
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
|
48
|
+
# Summary from the Sync job. For continuous syncs, the summary is updated
|
49
|
+
# periodically. For batch syncs, it gets updated on completion of the sync.
|
50
|
+
# @!attribute [r] row_synced
|
51
|
+
# @return [::Integer]
|
52
|
+
# Output only. Total number of rows synced.
|
53
|
+
# @!attribute [r] total_slot
|
54
|
+
# @return [::Integer]
|
55
|
+
# Output only. BigQuery slot milliseconds consumed for the sync job.
|
56
|
+
class SyncSummary
|
57
|
+
include ::Google::Protobuf::MessageExts
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
|
+
end
|
44
60
|
end
|
45
61
|
end
|
46
62
|
end
|
@@ -295,6 +295,10 @@ module Google
|
|
295
295
|
# MetadataStore when creating the Model. The Artifact resource name pattern
|
296
296
|
# is
|
297
297
|
# `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
|
298
|
+
# @!attribute [rw] base_model_source
|
299
|
+
# @return [::Google::Cloud::AIPlatform::V1::Model::BaseModelSource]
|
300
|
+
# Optional. User input field to specify the base model source. Currently it
|
301
|
+
# only supports specifing the Model Garden models and Genie models.
|
298
302
|
class Model
|
299
303
|
include ::Google::Protobuf::MessageExts
|
300
304
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -394,6 +398,19 @@ module Google
|
|
394
398
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
395
399
|
end
|
396
400
|
|
401
|
+
# User input field to specify the base model source. Currently it only
|
402
|
+
# supports specifing the Model Garden models and Genie models.
|
403
|
+
# @!attribute [rw] model_garden_source
|
404
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelGardenSource]
|
405
|
+
# Source information of Model Garden models.
|
406
|
+
# @!attribute [rw] genie_source
|
407
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenieSource]
|
408
|
+
# Information about the base model of Genie models.
|
409
|
+
class BaseModelSource
|
410
|
+
include ::Google::Protobuf::MessageExts
|
411
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
412
|
+
end
|
413
|
+
|
397
414
|
# @!attribute [rw] key
|
398
415
|
# @return [::String]
|
399
416
|
# @!attribute [rw] value
|
@@ -437,6 +454,26 @@ module Google
|
|
437
454
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
438
455
|
end
|
439
456
|
|
457
|
+
# Contains information about the source of the models generated from Model
|
458
|
+
# Garden.
|
459
|
+
# @!attribute [rw] public_model_name
|
460
|
+
# @return [::String]
|
461
|
+
# Required. The model garden source model resource name.
|
462
|
+
class ModelGardenSource
|
463
|
+
include ::Google::Protobuf::MessageExts
|
464
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
465
|
+
end
|
466
|
+
|
467
|
+
# Contains information about the source of the models generated from Generative
|
468
|
+
# AI Studio.
|
469
|
+
# @!attribute [rw] base_model_uri
|
470
|
+
# @return [::String]
|
471
|
+
# Required. The public base model URI.
|
472
|
+
class GenieSource
|
473
|
+
include ::Google::Protobuf::MessageExts
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
475
|
+
end
|
476
|
+
|
440
477
|
# Contains the schemata used in Model's predictions and explanations via
|
441
478
|
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#predict PredictionService.Predict},
|
442
479
|
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#explain PredictionService.Explain}
|
@@ -121,12 +121,14 @@ module Google
|
|
121
121
|
# * `labels.key=value` - key:value equality
|
122
122
|
# * `labels.key:* or labels:key - key existence
|
123
123
|
# * A key including a space must be quoted. `labels."a key"`.
|
124
|
+
# * `base_model_name` only supports =
|
124
125
|
#
|
125
126
|
# Some examples:
|
126
127
|
#
|
127
128
|
# * `model=1234`
|
128
129
|
# * `displayName="myDisplayName"`
|
129
130
|
# * `labels.myKey="myValue"`
|
131
|
+
# * `baseModelName="text-bison"`
|
130
132
|
# @!attribute [rw] page_size
|
131
133
|
# @return [::Integer]
|
132
134
|
# The standard list page size.
|
@@ -21,6 +21,16 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AIPlatform
|
23
23
|
module V1
|
24
|
+
# Runtime operation information for
|
25
|
+
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#batch_cancel_pipeline_jobs PipelineService.BatchCancelPipelineJobs}.
|
26
|
+
# @!attribute [rw] generic_metadata
|
27
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
28
|
+
# The common part of the operation metadata.
|
29
|
+
class BatchCancelPipelineJobsOperationMetadata
|
30
|
+
include ::Google::Protobuf::MessageExts
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
end
|
33
|
+
|
24
34
|
# Request message for
|
25
35
|
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#create_training_pipeline PipelineService.CreateTrainingPipeline}.
|
26
36
|
# @!attribute [rw] parent
|
@@ -272,6 +282,33 @@ module Google
|
|
272
282
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
273
283
|
end
|
274
284
|
|
285
|
+
# Request message for
|
286
|
+
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#batch_delete_pipeline_jobs PipelineService.BatchDeletePipelineJobs}.
|
287
|
+
# @!attribute [rw] parent
|
288
|
+
# @return [::String]
|
289
|
+
# Required. The name of the PipelineJobs' parent resource.
|
290
|
+
# Format: `projects/{project}/locations/{location}`
|
291
|
+
# @!attribute [rw] names
|
292
|
+
# @return [::Array<::String>]
|
293
|
+
# Required. The names of the PipelineJobs to delete.
|
294
|
+
# A maximum of 32 PipelineJobs can be deleted in a batch.
|
295
|
+
# Format:
|
296
|
+
# `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
|
297
|
+
class BatchDeletePipelineJobsRequest
|
298
|
+
include ::Google::Protobuf::MessageExts
|
299
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
300
|
+
end
|
301
|
+
|
302
|
+
# Response message for
|
303
|
+
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#batch_delete_pipeline_jobs PipelineService.BatchDeletePipelineJobs}.
|
304
|
+
# @!attribute [rw] pipeline_jobs
|
305
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::PipelineJob>]
|
306
|
+
# PipelineJobs deleted.
|
307
|
+
class BatchDeletePipelineJobsResponse
|
308
|
+
include ::Google::Protobuf::MessageExts
|
309
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
310
|
+
end
|
311
|
+
|
275
312
|
# Request message for
|
276
313
|
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#cancel_pipeline_job PipelineService.CancelPipelineJob}.
|
277
314
|
# @!attribute [rw] name
|
@@ -283,6 +320,33 @@ module Google
|
|
283
320
|
include ::Google::Protobuf::MessageExts
|
284
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
285
322
|
end
|
323
|
+
|
324
|
+
# Request message for
|
325
|
+
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#batch_cancel_pipeline_jobs PipelineService.BatchCancelPipelineJobs}.
|
326
|
+
# @!attribute [rw] parent
|
327
|
+
# @return [::String]
|
328
|
+
# Required. The name of the PipelineJobs' parent resource.
|
329
|
+
# Format: `projects/{project}/locations/{location}`
|
330
|
+
# @!attribute [rw] names
|
331
|
+
# @return [::Array<::String>]
|
332
|
+
# Required. The names of the PipelineJobs to cancel.
|
333
|
+
# A maximum of 32 PipelineJobs can be cancelled in a batch.
|
334
|
+
# Format:
|
335
|
+
# `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
|
336
|
+
class BatchCancelPipelineJobsRequest
|
337
|
+
include ::Google::Protobuf::MessageExts
|
338
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
339
|
+
end
|
340
|
+
|
341
|
+
# Response message for
|
342
|
+
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#batch_cancel_pipeline_jobs PipelineService.BatchCancelPipelineJobs}.
|
343
|
+
# @!attribute [rw] pipeline_jobs
|
344
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::PipelineJob>]
|
345
|
+
# PipelineJobs cancelled.
|
346
|
+
class BatchCancelPipelineJobsResponse
|
347
|
+
include ::Google::Protobuf::MessageExts
|
348
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
349
|
+
end
|
286
350
|
end
|
287
351
|
end
|
288
352
|
end
|
@@ -279,16 +279,23 @@ module Google
|
|
279
279
|
# The model launch stage is unspecified.
|
280
280
|
LAUNCH_STAGE_UNSPECIFIED = 0
|
281
281
|
|
282
|
-
# Used to indicate the PublisherModel is at Experimental launch stage
|
282
|
+
# Used to indicate the PublisherModel is at Experimental launch stage,
|
283
|
+
# available to a small set of customers.
|
283
284
|
EXPERIMENTAL = 1
|
284
285
|
|
285
|
-
# Used to indicate the PublisherModel is at Private Preview launch stage
|
286
|
+
# Used to indicate the PublisherModel is at Private Preview launch stage,
|
287
|
+
# only available to a small set of customers, although a larger set of
|
288
|
+
# customers than an Experimental launch. Previews are the first launch
|
289
|
+
# stage used to get feedback from customers.
|
286
290
|
PRIVATE_PREVIEW = 2
|
287
291
|
|
288
|
-
# Used to indicate the PublisherModel is at Public Preview launch stage
|
292
|
+
# Used to indicate the PublisherModel is at Public Preview launch stage,
|
293
|
+
# available to all customers, although not supported for production
|
294
|
+
# workloads.
|
289
295
|
PUBLIC_PREVIEW = 3
|
290
296
|
|
291
|
-
# Used to indicate the PublisherModel is at GA launch stage
|
297
|
+
# Used to indicate the PublisherModel is at GA launch stage, available to
|
298
|
+
# all customers and ready for production workload.
|
292
299
|
GA = 4
|
293
300
|
end
|
294
301
|
|
@@ -25,17 +25,29 @@ module Google
|
|
25
25
|
#
|
26
26
|
# A `Tool` is a piece of code that enables the system to interact with
|
27
27
|
# external systems to perform an action, or set of actions, outside of
|
28
|
-
# knowledge and scope of the model.
|
28
|
+
# knowledge and scope of the model. A Tool object should contain exactly
|
29
|
+
# one type of Tool (e.g FunctionDeclaration, Retrieval or
|
30
|
+
# GoogleSearchRetrieval).
|
29
31
|
# @!attribute [rw] function_declarations
|
30
32
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::FunctionDeclaration>]
|
31
|
-
# Optional.
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
35
|
-
# [FunctionResponse][content.part.function_response]
|
36
|
-
# in the next turn. Based on the function responses,
|
37
|
-
# final response back to the user.
|
38
|
-
# provided.
|
33
|
+
# Optional. Function tool type.
|
34
|
+
# One or more function declarations to be passed to the model along with the
|
35
|
+
# current user query. Model may decide to call a subset of these functions
|
36
|
+
# by populating [FunctionCall][content.part.function_call] in the response.
|
37
|
+
# User should provide a [FunctionResponse][content.part.function_response]
|
38
|
+
# for each function call in the next turn. Based on the function responses,
|
39
|
+
# Model will generate the final response back to the user.
|
40
|
+
# Maximum 64 function declarations can be provided.
|
41
|
+
# @!attribute [rw] retrieval
|
42
|
+
# @return [::Google::Cloud::AIPlatform::V1::Retrieval]
|
43
|
+
# Optional. Retrieval tool type.
|
44
|
+
# System will always execute the provided retrieval tool(s) to get external
|
45
|
+
# knowledge to answer the prompt. Retrieval results are presented to the
|
46
|
+
# model for generation.
|
47
|
+
# @!attribute [rw] google_search_retrieval
|
48
|
+
# @return [::Google::Cloud::AIPlatform::V1::GoogleSearchRetrieval]
|
49
|
+
# Optional. GoogleSearchRetrieval tool type.
|
50
|
+
# Specialized retrieval tool that is powered by Google search.
|
39
51
|
class Tool
|
40
52
|
include ::Google::Protobuf::MessageExts
|
41
53
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -106,6 +118,43 @@ module Google
|
|
106
118
|
include ::Google::Protobuf::MessageExts
|
107
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
108
120
|
end
|
121
|
+
|
122
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
123
|
+
# @!attribute [rw] vertex_ai_search
|
124
|
+
# @return [::Google::Cloud::AIPlatform::V1::VertexAISearch]
|
125
|
+
# Set to use data source powered by Vertex AI Search.
|
126
|
+
# @!attribute [rw] disable_attribution
|
127
|
+
# @return [::Boolean]
|
128
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
129
|
+
# attribution. This does not affect how the result is given to the model for
|
130
|
+
# generation.
|
131
|
+
class Retrieval
|
132
|
+
include ::Google::Protobuf::MessageExts
|
133
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
134
|
+
end
|
135
|
+
|
136
|
+
# Retrieve from Vertex AI Search datastore for grounding.
|
137
|
+
# See https://cloud.google.com/vertex-ai-search-and-conversation
|
138
|
+
# @!attribute [rw] datastore
|
139
|
+
# @return [::String]
|
140
|
+
# Required. Fully-qualified Vertex AI Search's datastore resource ID.
|
141
|
+
# Format:
|
142
|
+
# projects/\\{project}/locations/\\{location}/collections/\\{collection}/dataStores/\\{dataStore}
|
143
|
+
class VertexAISearch
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
end
|
147
|
+
|
148
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
149
|
+
# @!attribute [rw] disable_attribution
|
150
|
+
# @return [::Boolean]
|
151
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
152
|
+
# attribution. This does not affect how the result is given to the model for
|
153
|
+
# generation.
|
154
|
+
class GoogleSearchRetrieval
|
155
|
+
include ::Google::Protobuf::MessageExts
|
156
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
157
|
+
end
|
109
158
|
end
|
110
159
|
end
|
111
160
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.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: 2024-
|
11
|
+
date: 2024-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|