google-cloud-ai_platform-v1 0.42.0 → 0.43.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/deployment_resource_pool_service/client.rb +108 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +101 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool_service.rb +17 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +12 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +8 -2
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard.rb +6 -0
- 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: cd3d6857272d2def6e204c5c24e6330d5b4e301be661cd59769242047eca873a
|
4
|
+
data.tar.gz: 22bdfaa734640a641e795348b97387f308518be9e8bbc18d06dd360615b8ce4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45b421686312408bd49955d1b6b3df10eead6aabb986621f8925524c94a573fc34add89eaea583dd8d8824ab24543a53c7b51124bedd814ad81118552ade479a
|
7
|
+
data.tar.gz: 2b10f6561ef6913aea0c2cf5d1989ed7d2cebc82234e3b1bed2eda9b4e878024abad335e3e3a9b12ca00d42c4f1be0c9df0ca3acf6ae178f1fd17ad7b0533e5d
|
@@ -501,6 +501,107 @@ module Google
|
|
501
501
|
raise ::Google::Cloud::Error.from_error(e)
|
502
502
|
end
|
503
503
|
|
504
|
+
##
|
505
|
+
# Update a DeploymentResourcePool.
|
506
|
+
#
|
507
|
+
# @overload update_deployment_resource_pool(request, options = nil)
|
508
|
+
# Pass arguments to `update_deployment_resource_pool` via a request object, either of type
|
509
|
+
# {::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest} or an equivalent Hash.
|
510
|
+
#
|
511
|
+
# @param request [::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest, ::Hash]
|
512
|
+
# A request object representing the call parameters. Required. To specify no
|
513
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
514
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
515
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
516
|
+
#
|
517
|
+
# @overload update_deployment_resource_pool(deployment_resource_pool: nil, update_mask: nil)
|
518
|
+
# Pass arguments to `update_deployment_resource_pool` via keyword arguments. Note that at
|
519
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
520
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
521
|
+
#
|
522
|
+
# @param deployment_resource_pool [::Google::Cloud::AIPlatform::V1::DeploymentResourcePool, ::Hash]
|
523
|
+
# Required. The DeploymentResourcePool to update.
|
524
|
+
#
|
525
|
+
# The DeploymentResourcePool's `name` field is used to identify the
|
526
|
+
# DeploymentResourcePool to update.
|
527
|
+
# Format:
|
528
|
+
# `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
|
529
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
530
|
+
# Required. The list of fields to update.
|
531
|
+
#
|
532
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
533
|
+
# @yieldparam response [::Gapic::Operation]
|
534
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
535
|
+
#
|
536
|
+
# @return [::Gapic::Operation]
|
537
|
+
#
|
538
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
539
|
+
#
|
540
|
+
# @example Basic example
|
541
|
+
# require "google/cloud/ai_platform/v1"
|
542
|
+
#
|
543
|
+
# # Create a client object. The client can be reused for multiple calls.
|
544
|
+
# client = Google::Cloud::AIPlatform::V1::DeploymentResourcePoolService::Client.new
|
545
|
+
#
|
546
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
547
|
+
# request = Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest.new
|
548
|
+
#
|
549
|
+
# # Call the update_deployment_resource_pool method.
|
550
|
+
# result = client.update_deployment_resource_pool request
|
551
|
+
#
|
552
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
553
|
+
# # check the status of an operation, cancel it, or wait for results.
|
554
|
+
# # Here is how to wait for a response.
|
555
|
+
# result.wait_until_done! timeout: 60
|
556
|
+
# if result.response?
|
557
|
+
# p result.response
|
558
|
+
# else
|
559
|
+
# puts "No response received."
|
560
|
+
# end
|
561
|
+
#
|
562
|
+
def update_deployment_resource_pool request, options = nil
|
563
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
564
|
+
|
565
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest
|
566
|
+
|
567
|
+
# Converts hash and nil to an options object
|
568
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
569
|
+
|
570
|
+
# Customize the options with defaults
|
571
|
+
metadata = @config.rpcs.update_deployment_resource_pool.metadata.to_h
|
572
|
+
|
573
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
574
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
575
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
576
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
577
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
578
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
579
|
+
|
580
|
+
header_params = {}
|
581
|
+
if request.deployment_resource_pool&.name
|
582
|
+
header_params["deployment_resource_pool.name"] = request.deployment_resource_pool.name
|
583
|
+
end
|
584
|
+
|
585
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
586
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
587
|
+
|
588
|
+
options.apply_defaults timeout: @config.rpcs.update_deployment_resource_pool.timeout,
|
589
|
+
metadata: metadata,
|
590
|
+
retry_policy: @config.rpcs.update_deployment_resource_pool.retry_policy
|
591
|
+
|
592
|
+
options.apply_defaults timeout: @config.timeout,
|
593
|
+
metadata: @config.metadata,
|
594
|
+
retry_policy: @config.retry_policy
|
595
|
+
|
596
|
+
@deployment_resource_pool_service_stub.call_rpc :update_deployment_resource_pool, request, options: options do |response, operation|
|
597
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
598
|
+
yield response, operation if block_given?
|
599
|
+
return response
|
600
|
+
end
|
601
|
+
rescue ::GRPC::BadStatus => e
|
602
|
+
raise ::Google::Cloud::Error.from_error(e)
|
603
|
+
end
|
604
|
+
|
504
605
|
##
|
505
606
|
# Delete a DeploymentResourcePool.
|
506
607
|
#
|
@@ -869,6 +970,11 @@ module Google
|
|
869
970
|
#
|
870
971
|
attr_reader :list_deployment_resource_pools
|
871
972
|
##
|
973
|
+
# RPC-specific configuration for `update_deployment_resource_pool`
|
974
|
+
# @return [::Gapic::Config::Method]
|
975
|
+
#
|
976
|
+
attr_reader :update_deployment_resource_pool
|
977
|
+
##
|
872
978
|
# RPC-specific configuration for `delete_deployment_resource_pool`
|
873
979
|
# @return [::Gapic::Config::Method]
|
874
980
|
#
|
@@ -887,6 +993,8 @@ module Google
|
|
887
993
|
@get_deployment_resource_pool = ::Gapic::Config::Method.new get_deployment_resource_pool_config
|
888
994
|
list_deployment_resource_pools_config = parent_rpcs.list_deployment_resource_pools if parent_rpcs.respond_to? :list_deployment_resource_pools
|
889
995
|
@list_deployment_resource_pools = ::Gapic::Config::Method.new list_deployment_resource_pools_config
|
996
|
+
update_deployment_resource_pool_config = parent_rpcs.update_deployment_resource_pool if parent_rpcs.respond_to? :update_deployment_resource_pool
|
997
|
+
@update_deployment_resource_pool = ::Gapic::Config::Method.new update_deployment_resource_pool_config
|
890
998
|
delete_deployment_resource_pool_config = parent_rpcs.delete_deployment_resource_pool if parent_rpcs.respond_to? :delete_deployment_resource_pool
|
891
999
|
@delete_deployment_resource_pool = ::Gapic::Config::Method.new delete_deployment_resource_pool_config
|
892
1000
|
query_deployed_models_config = parent_rpcs.query_deployed_models if parent_rpcs.respond_to? :query_deployed_models
|
@@ -475,6 +475,100 @@ module Google
|
|
475
475
|
raise ::Google::Cloud::Error.from_error(e)
|
476
476
|
end
|
477
477
|
|
478
|
+
##
|
479
|
+
# Update a DeploymentResourcePool.
|
480
|
+
#
|
481
|
+
# @overload update_deployment_resource_pool(request, options = nil)
|
482
|
+
# Pass arguments to `update_deployment_resource_pool` via a request object, either of type
|
483
|
+
# {::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest} or an equivalent Hash.
|
484
|
+
#
|
485
|
+
# @param request [::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest, ::Hash]
|
486
|
+
# A request object representing the call parameters. Required. To specify no
|
487
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
488
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
489
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
490
|
+
#
|
491
|
+
# @overload update_deployment_resource_pool(deployment_resource_pool: nil, update_mask: nil)
|
492
|
+
# Pass arguments to `update_deployment_resource_pool` via keyword arguments. Note that at
|
493
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
494
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
495
|
+
#
|
496
|
+
# @param deployment_resource_pool [::Google::Cloud::AIPlatform::V1::DeploymentResourcePool, ::Hash]
|
497
|
+
# Required. The DeploymentResourcePool to update.
|
498
|
+
#
|
499
|
+
# The DeploymentResourcePool's `name` field is used to identify the
|
500
|
+
# DeploymentResourcePool to update.
|
501
|
+
# Format:
|
502
|
+
# `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
|
503
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
504
|
+
# Required. The list of fields to update.
|
505
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
506
|
+
# @yieldparam result [::Gapic::Operation]
|
507
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
508
|
+
#
|
509
|
+
# @return [::Gapic::Operation]
|
510
|
+
#
|
511
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
512
|
+
#
|
513
|
+
# @example Basic example
|
514
|
+
# require "google/cloud/ai_platform/v1"
|
515
|
+
#
|
516
|
+
# # Create a client object. The client can be reused for multiple calls.
|
517
|
+
# client = Google::Cloud::AIPlatform::V1::DeploymentResourcePoolService::Rest::Client.new
|
518
|
+
#
|
519
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
520
|
+
# request = Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest.new
|
521
|
+
#
|
522
|
+
# # Call the update_deployment_resource_pool method.
|
523
|
+
# result = client.update_deployment_resource_pool request
|
524
|
+
#
|
525
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
526
|
+
# # check the status of an operation, cancel it, or wait for results.
|
527
|
+
# # Here is how to wait for a response.
|
528
|
+
# result.wait_until_done! timeout: 60
|
529
|
+
# if result.response?
|
530
|
+
# p result.response
|
531
|
+
# else
|
532
|
+
# puts "No response received."
|
533
|
+
# end
|
534
|
+
#
|
535
|
+
def update_deployment_resource_pool request, options = nil
|
536
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
537
|
+
|
538
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest
|
539
|
+
|
540
|
+
# Converts hash and nil to an options object
|
541
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
542
|
+
|
543
|
+
# Customize the options with defaults
|
544
|
+
call_metadata = @config.rpcs.update_deployment_resource_pool.metadata.to_h
|
545
|
+
|
546
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
547
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
548
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
549
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION,
|
550
|
+
transports_version_send: [:rest]
|
551
|
+
|
552
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
553
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
554
|
+
|
555
|
+
options.apply_defaults timeout: @config.rpcs.update_deployment_resource_pool.timeout,
|
556
|
+
metadata: call_metadata,
|
557
|
+
retry_policy: @config.rpcs.update_deployment_resource_pool.retry_policy
|
558
|
+
|
559
|
+
options.apply_defaults timeout: @config.timeout,
|
560
|
+
metadata: @config.metadata,
|
561
|
+
retry_policy: @config.retry_policy
|
562
|
+
|
563
|
+
@deployment_resource_pool_service_stub.update_deployment_resource_pool request, options do |result, operation|
|
564
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
565
|
+
yield result, operation if block_given?
|
566
|
+
return result
|
567
|
+
end
|
568
|
+
rescue ::Gapic::Rest::Error => e
|
569
|
+
raise ::Google::Cloud::Error.from_error(e)
|
570
|
+
end
|
571
|
+
|
478
572
|
##
|
479
573
|
# Delete a DeploymentResourcePool.
|
480
574
|
#
|
@@ -815,6 +909,11 @@ module Google
|
|
815
909
|
#
|
816
910
|
attr_reader :list_deployment_resource_pools
|
817
911
|
##
|
912
|
+
# RPC-specific configuration for `update_deployment_resource_pool`
|
913
|
+
# @return [::Gapic::Config::Method]
|
914
|
+
#
|
915
|
+
attr_reader :update_deployment_resource_pool
|
916
|
+
##
|
818
917
|
# RPC-specific configuration for `delete_deployment_resource_pool`
|
819
918
|
# @return [::Gapic::Config::Method]
|
820
919
|
#
|
@@ -833,6 +932,8 @@ module Google
|
|
833
932
|
@get_deployment_resource_pool = ::Gapic::Config::Method.new get_deployment_resource_pool_config
|
834
933
|
list_deployment_resource_pools_config = parent_rpcs.list_deployment_resource_pools if parent_rpcs.respond_to? :list_deployment_resource_pools
|
835
934
|
@list_deployment_resource_pools = ::Gapic::Config::Method.new list_deployment_resource_pools_config
|
935
|
+
update_deployment_resource_pool_config = parent_rpcs.update_deployment_resource_pool if parent_rpcs.respond_to? :update_deployment_resource_pool
|
936
|
+
@update_deployment_resource_pool = ::Gapic::Config::Method.new update_deployment_resource_pool_config
|
836
937
|
delete_deployment_resource_pool_config = parent_rpcs.delete_deployment_resource_pool if parent_rpcs.respond_to? :delete_deployment_resource_pool
|
837
938
|
@delete_deployment_resource_pool = ::Gapic::Config::Method.new delete_deployment_resource_pool_config
|
838
939
|
query_deployed_models_config = parent_rpcs.query_deployed_models if parent_rpcs.respond_to? :query_deployed_models
|
@@ -175,6 +175,44 @@ module Google
|
|
175
175
|
result
|
176
176
|
end
|
177
177
|
|
178
|
+
##
|
179
|
+
# Baseline implementation for the update_deployment_resource_pool REST call
|
180
|
+
#
|
181
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest]
|
182
|
+
# A request object representing the call parameters. Required.
|
183
|
+
# @param options [::Gapic::CallOptions]
|
184
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
185
|
+
#
|
186
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
187
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
188
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
189
|
+
#
|
190
|
+
# @return [::Google::Longrunning::Operation]
|
191
|
+
# A result object deserialized from the server's reply
|
192
|
+
def update_deployment_resource_pool request_pb, options = nil
|
193
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
194
|
+
|
195
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_deployment_resource_pool_request request_pb
|
196
|
+
query_string_params = if query_string_params.any?
|
197
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
198
|
+
else
|
199
|
+
{}
|
200
|
+
end
|
201
|
+
|
202
|
+
response = @client_stub.make_http_request(
|
203
|
+
verb,
|
204
|
+
uri: uri,
|
205
|
+
body: body || "",
|
206
|
+
params: query_string_params,
|
207
|
+
options: options
|
208
|
+
)
|
209
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
210
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
211
|
+
|
212
|
+
yield result, operation if block_given?
|
213
|
+
result
|
214
|
+
end
|
215
|
+
|
178
216
|
##
|
179
217
|
# Baseline implementation for the delete_deployment_resource_pool REST call
|
180
218
|
#
|
@@ -315,6 +353,28 @@ module Google
|
|
315
353
|
transcoder.transcode request_pb
|
316
354
|
end
|
317
355
|
|
356
|
+
##
|
357
|
+
# @private
|
358
|
+
#
|
359
|
+
# GRPC transcoding helper method for the update_deployment_resource_pool REST call
|
360
|
+
#
|
361
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest]
|
362
|
+
# A request object representing the call parameters. Required.
|
363
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
364
|
+
# Uri, Body, Query string parameters
|
365
|
+
def self.transcode_update_deployment_resource_pool_request request_pb
|
366
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
367
|
+
.with_bindings(
|
368
|
+
uri_method: :patch,
|
369
|
+
uri_template: "/v1/{deployment_resource_pool.name}",
|
370
|
+
body: "deployment_resource_pool",
|
371
|
+
matches: [
|
372
|
+
["deployment_resource_pool.name", %r{^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+/?$}, false]
|
373
|
+
]
|
374
|
+
)
|
375
|
+
transcoder.transcode request_pb
|
376
|
+
end
|
377
|
+
|
318
378
|
##
|
319
379
|
# @private
|
320
380
|
#
|
@@ -14,9 +14,10 @@ require 'google/cloud/aiplatform/v1/endpoint_pb'
|
|
14
14
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
15
15
|
require 'google/longrunning/operations_pb'
|
16
16
|
require 'google/protobuf/empty_pb'
|
17
|
+
require 'google/protobuf/field_mask_pb'
|
17
18
|
|
18
19
|
|
19
|
-
descriptor_data = "\nAgoogle/cloud/aiplatform/v1/deployment_resource_pool_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\x33google/cloud/aiplatform/v1/deployed_model_ref.proto\x1a\x39google/cloud/aiplatform/v1/deployment_resource_pool.proto\x1a)google/cloud/aiplatform/v1/endpoint.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xe5\x01\n#CreateDeploymentResourcePoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x18\x64\x65ployment_resource_pool\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePoolB\x03\xe0\x41\x02\x12(\n\x1b\x64\x65ployment_resource_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x7f\n-CreateDeploymentResourcePoolOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"j\n GetDeploymentResourcePoolRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePool\"\x86\x01\n\"ListDeploymentResourcePoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x95\x01\n#ListDeploymentResourcePoolsResponse\x12U\n\x19\x64\x65ployment_resource_pools\x18\x01 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x7f\n-UpdateDeploymentResourcePoolOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"m\n#DeleteDeploymentResourcePoolRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePool\"j\n\x1aQueryDeployedModelsRequest\x12%\n\x18\x64\x65ployment_resource_pool\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8b\x02\n\x1bQueryDeployedModelsResponse\x12\x46\n\x0f\x64\x65ployed_models\x18\x01 \x03(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x02\x18\x01\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12I\n\x13\x64\x65ployed_model_refs\x18\x03 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedModelRef\x12\"\n\x1atotal_deployed_model_count\x18\x04 \x01(\x05\x12\x1c\n\x14total_endpoint_count\x18\x05 \x01(\x05\x32\
|
20
|
+
descriptor_data = "\nAgoogle/cloud/aiplatform/v1/deployment_resource_pool_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\x33google/cloud/aiplatform/v1/deployed_model_ref.proto\x1a\x39google/cloud/aiplatform/v1/deployment_resource_pool.proto\x1a)google/cloud/aiplatform/v1/endpoint.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xe5\x01\n#CreateDeploymentResourcePoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x18\x64\x65ployment_resource_pool\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePoolB\x03\xe0\x41\x02\x12(\n\x1b\x64\x65ployment_resource_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x7f\n-CreateDeploymentResourcePoolOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"j\n GetDeploymentResourcePoolRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePool\"\x86\x01\n\"ListDeploymentResourcePoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x95\x01\n#ListDeploymentResourcePoolsResponse\x12U\n\x19\x64\x65ployment_resource_pools\x18\x01 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb6\x01\n#UpdateDeploymentResourcePoolRequest\x12Y\n\x18\x64\x65ployment_resource_pool\x18\x01 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePoolB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x7f\n-UpdateDeploymentResourcePoolOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"m\n#DeleteDeploymentResourcePoolRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePool\"j\n\x1aQueryDeployedModelsRequest\x12%\n\x18\x64\x65ployment_resource_pool\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8b\x02\n\x1bQueryDeployedModelsResponse\x12\x46\n\x0f\x64\x65ployed_models\x18\x01 \x03(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x02\x18\x01\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12I\n\x13\x64\x65ployed_model_refs\x18\x03 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedModelRef\x12\"\n\x1atotal_deployed_model_count\x18\x04 \x01(\x05\x12\x1c\n\x14total_endpoint_count\x18\x05 \x01(\x05\x32\x88\x0e\n\x1d\x44\x65ploymentResourcePoolService\x12\xcf\x02\n\x1c\x43reateDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest\x1a\x1d.google.longrunning.Operation\"\xce\x01\xca\x41G\n\x16\x44\x65ploymentResourcePool\x12-CreateDeploymentResourcePoolOperationMetadata\xda\x41;parent,deployment_resource_pool,deployment_resource_pool_id\x82\xd3\xe4\x93\x02@\";/v1/{parent=projects/*/locations/*}/deploymentResourcePools:\x01*\x12\xd9\x01\n\x19GetDeploymentResourcePool\x12<.google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest\x1a\x32.google.cloud.aiplatform.v1.DeploymentResourcePool\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}\x12\xec\x01\n\x1bListDeploymentResourcePools\x12>.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest\x1a?.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*}/deploymentResourcePools\x12\xe8\x02\n\x1cUpdateDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolRequest\x1a\x1d.google.longrunning.Operation\"\xe7\x01\xca\x41G\n\x16\x44\x65ploymentResourcePool\x12-UpdateDeploymentResourcePoolOperationMetadata\xda\x41$deployment_resource_pool,update_mask\x82\xd3\xe4\x93\x02p2T/v1/{deployment_resource_pool.name=projects/*/locations/*/deploymentResourcePools/*}:\x18\x64\x65ployment_resource_pool\x12\xfd\x01\n\x1c\x44\x65leteDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}\x12\x8f\x02\n\x13QueryDeployedModels\x12\x36.google.cloud.aiplatform.v1.QueryDeployedModelsRequest\x1a\x37.google.cloud.aiplatform.v1.QueryDeployedModelsResponse\"\x86\x01\xda\x41\x18\x64\x65ployment_resource_pool\x82\xd3\xe4\x93\x02\x65\x12\x63/v1/{deployment_resource_pool=projects/*/locations/*/deploymentResourcePools/*}:queryDeployedModels\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe0\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\"DeploymentResourcePoolServiceProtoP\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
21
|
|
21
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
23
|
|
@@ -33,6 +34,7 @@ rescue TypeError
|
|
33
34
|
imports = [
|
34
35
|
["google.cloud.aiplatform.v1.DeploymentResourcePool", "google/cloud/aiplatform/v1/deployment_resource_pool.proto"],
|
35
36
|
["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
|
37
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
36
38
|
["google.cloud.aiplatform.v1.DeployedModel", "google/cloud/aiplatform/v1/endpoint.proto"],
|
37
39
|
["google.cloud.aiplatform.v1.DeployedModelRef", "google/cloud/aiplatform/v1/deployed_model_ref.proto"],
|
38
40
|
]
|
@@ -55,6 +57,7 @@ module Google
|
|
55
57
|
GetDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest").msgclass
|
56
58
|
ListDeploymentResourcePoolsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest").msgclass
|
57
59
|
ListDeploymentResourcePoolsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse").msgclass
|
60
|
+
UpdateDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolRequest").msgclass
|
58
61
|
UpdateDeploymentResourcePoolOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolOperationMetadata").msgclass
|
59
62
|
DeleteDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest").msgclass
|
60
63
|
QueryDeployedModelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.QueryDeployedModelsRequest").msgclass
|
@@ -39,6 +39,8 @@ module Google
|
|
39
39
|
rpc :GetDeploymentResourcePool, ::Google::Cloud::AIPlatform::V1::GetDeploymentResourcePoolRequest, ::Google::Cloud::AIPlatform::V1::DeploymentResourcePool
|
40
40
|
# List DeploymentResourcePools in a location.
|
41
41
|
rpc :ListDeploymentResourcePools, ::Google::Cloud::AIPlatform::V1::ListDeploymentResourcePoolsRequest, ::Google::Cloud::AIPlatform::V1::ListDeploymentResourcePoolsResponse
|
42
|
+
# Update a DeploymentResourcePool.
|
43
|
+
rpc :UpdateDeploymentResourcePool, ::Google::Cloud::AIPlatform::V1::UpdateDeploymentResourcePoolRequest, ::Google::Longrunning::Operation
|
42
44
|
# Delete a DeploymentResourcePool.
|
43
45
|
rpc :DeleteDeploymentResourcePool, ::Google::Cloud::AIPlatform::V1::DeleteDeploymentResourcePoolRequest, ::Google::Longrunning::Operation
|
44
46
|
# List DeployedModels that have been deployed on this DeploymentResourcePool.
|
@@ -7,10 +7,11 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
10
|
+
require 'google/cloud/aiplatform/v1/service_networking_pb'
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
11
12
|
|
12
13
|
|
13
|
-
descriptor_data = "\n5google/cloud/aiplatform/v1/feature_online_store.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
14
|
+
descriptor_data = "\n5google/cloud/aiplatform/v1/feature_online_store.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x33google/cloud/aiplatform/v1/service_networking.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\n\n\x12\x46\x65\x61tureOnlineStore\x12K\n\x08\x62igtable\x18\x08 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.FeatureOnlineStore.BigtableH\x00\x12M\n\toptimized\x18\x0c \x01(\x0b\x32\x38.google.cloud.aiplatform.v1.FeatureOnlineStore.OptimizedH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x06 \x03(\x0b\x32:.google.cloud.aiplatform.v1.FeatureOnlineStore.LabelsEntryB\x03\xe0\x41\x01\x12H\n\x05state\x18\x07 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.FeatureOnlineStore.StateB\x03\xe0\x41\x03\x12p\n\x1a\x64\x65\x64icated_serving_endpoint\x18\n \x01(\x0b\x32G.google.cloud.aiplatform.v1.FeatureOnlineStore.DedicatedServingEndpointB\x03\xe0\x41\x01\x12H\n\x0f\x65ncryption_spec\x18\r \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x01\x1a\xd8\x01\n\x08\x42igtable\x12^\n\x0c\x61uto_scaling\x18\x01 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScalingB\x03\xe0\x41\x02\x1al\n\x0b\x41utoScaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0emax_node_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12#\n\x16\x63pu_utilization_target\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x1a\x0b\n\tOptimized\x1a\xcb\x01\n\x18\x44\x65\x64icatedServingEndpoint\x12(\n\x1bpublic_endpoint_domain_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x1eprivate_service_connect_config\x18\x03 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.PrivateServiceConnectConfigB\x03\xe0\x41\x01\x12\x1f\n\x12service_attachment\x18\x04 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06STABLE\x10\x01\x12\x0c\n\x08UPDATING\x10\x02:\x86\x01\xea\x41\x82\x01\n,aiplatform.googleapis.com/FeatureOnlineStore\x12Rprojects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}B\x0e\n\x0cstorage_typeB\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17\x46\x65\x61tureOnlineStoreProtoP\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
15
|
|
15
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
17
|
|
@@ -27,6 +28,7 @@ rescue TypeError
|
|
27
28
|
imports = [
|
28
29
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
30
|
["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
|
31
|
+
["google.cloud.aiplatform.v1.PrivateServiceConnectConfig", "google/cloud/aiplatform/v1/service_networking.proto"],
|
30
32
|
]
|
31
33
|
imports.each do |type_name, expected_filename|
|
32
34
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -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\"\
|
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\"\xb7\x15\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\x12\x1a\n\rsatisfies_pzs\x18\x33 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x34 \x01(\x08\x42\x03\xe0\x41\x03\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
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/aiplatform/v1/machine_resources_pb'
|
|
10
10
|
require 'google/cloud/aiplatform/v1/model_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n0google/cloud/aiplatform/v1/publisher_model.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a&google/cloud/aiplatform/v1/model.proto\"\
|
13
|
+
descriptor_data = "\n0google/cloud/aiplatform/v1/publisher_model.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a&google/cloud/aiplatform/v1/model.proto\"\xce#\n\x0ePublisherModel\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\nversion_id\x18\x02 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12`\n\x14open_source_category\x18\x07 \x01(\x0e\x32=.google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategoryB\x03\xe0\x41\x02\x12W\n\x11supported_actions\x18\x13 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.PublisherModel.CallToActionB\x03\xe0\x41\x01\x12\x17\n\nframeworks\x18\x17 \x03(\tB\x03\xe0\x41\x01\x12Q\n\x0claunch_stage\x18\x1d \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.PublisherModel.LaunchStageB\x03\xe0\x41\x01\x12S\n\rversion_state\x18% \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.PublisherModel.VersionStateB\x03\xe0\x41\x01\x12(\n\x18publisher_model_template\x18\x1e \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12J\n\x10predict_schemata\x18\x1f \x01(\x0b\x32+.google.cloud.aiplatform.v1.PredictSchemataB\x03\xe0\x41\x01\x1a{\n\x11ResourceReference\x12\r\n\x03uri\x18\x01 \x01(\tH\x00\x12\x17\n\rresource_name\x18\x02 \x01(\tH\x00\x12\x16\n\x08use_case\x18\x03 \x01(\tB\x02\x18\x01H\x00\x12\x19\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x02\x18\x01H\x00\x42\x0b\n\treference\x1a\x39\n\rDocumentation\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x63ontent\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\xd9\x19\n\x0c\x43\x61llToAction\x12_\n\rview_rest_api\x18\x01 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.PublisherModel.CallToAction.ViewRestApiB\x03\xe0\x41\x01\x12n\n\ropen_notebook\x18\x02 \x01(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x01\x12g\n\x0eopen_notebooks\x18\x0c \x01(\x0b\x32\x45.google.cloud.aiplatform.v1.PublisherModel.CallToAction.OpenNotebooksB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12s\n\x12\x63reate_application\x18\x03 \x01(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x01\x12z\n\x19open_fine_tuning_pipeline\x18\x04 \x01(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x01\x12}\n\x1aopen_fine_tuning_pipelines\x18\r \x01(\x0b\x32O.google.cloud.aiplatform.v1.PublisherModel.CallToAction.OpenFineTuningPipelinesB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12|\n\x1bopen_prompt_tuning_pipeline\x18\x05 \x01(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x01\x12k\n\nopen_genie\x18\x06 \x01(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x01\x12S\n\x06\x64\x65ploy\x18\x07 \x01(\x0b\x32>.google.cloud.aiplatform.v1.PublisherModel.CallToAction.DeployB\x03\xe0\x41\x01\x12Z\n\ndeploy_gke\x18\x0e \x01(\x0b\x32\x41.google.cloud.aiplatform.v1.PublisherModel.CallToAction.DeployGkeB\x03\xe0\x41\x01\x12z\n\x19open_generation_ai_studio\x18\x08 \x01(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x01\x12o\n\x0erequest_access\x18\t \x01(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x01\x12y\n\x18open_evaluation_pipeline\x18\x0b \x01(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x01\x1a\xcf\x03\n\x1aRegionalResourceReferences\x12{\n\nreferences\x18\x01 \x03(\x0b\x32\x62.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences.ReferencesEntryB\x03\xe0\x41\x02\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x0eresource_title\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12#\n\x11resource_use_case\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12&\n\x14resource_description\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x1ao\n\x0fReferencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12K\n\x05value\x18\x02 \x01(\x0b\x32<.google.cloud.aiplatform.v1.PublisherModel.ResourceReference:\x02\x38\x01\x42\x11\n\x0f_resource_titleB\x14\n\x12_resource_use_caseB\x17\n\x15_resource_description\x1ax\n\x0bViewRestApi\x12U\n\x0e\x64ocumentations\x18\x01 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.PublisherModel.DocumentationB\x03\xe0\x41\x02\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a{\n\rOpenNotebooks\x12j\n\tnotebooks\x18\x01 \x03(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x02\x1a\x91\x01\n\x17OpenFineTuningPipelines\x12v\n\x15\x66ine_tuning_pipelines\x18\x01 \x03(\x0b\x32R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xe0\x41\x02\x1a\xdf\x06\n\x06\x44\x65ploy\x12M\n\x13\x64\x65\x64icated_resources\x18\x05 \x01(\x0b\x32..google.cloud.aiplatform.v1.DedicatedResourcesH\x00\x12M\n\x13\x61utomatic_resources\x18\x06 \x01(\x0b\x32..google.cloud.aiplatform.v1.AutomaticResourcesH\x00\x12\x1a\n\x10shared_resources\x18\x07 \x01(\tH\x00\x12\x1f\n\x12model_display_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12S\n\x15large_model_reference\x18\x02 \x01(\x0b\x32/.google.cloud.aiplatform.v1.LargeModelReferenceB\x03\xe0\x41\x01\x12K\n\x0e\x63ontainer_spec\x18\x03 \x01(\x0b\x32..google.cloud.aiplatform.v1.ModelContainerSpecB\x03\xe0\x41\x01\x12\x19\n\x0c\x61rtifact_uri\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x10\x64\x65ploy_task_name\x18\n \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12p\n\x0f\x64\x65ploy_metadata\x18\x0b \x01(\x0b\x32M.google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadataB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x12\n\x05title\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13public_artifact_uri\x18\t \x01(\tB\x03\xe0\x41\x01\x1a\xaf\x01\n\x0e\x44\x65ployMetadata\x12n\n\x06labels\x18\x01 \x03(\x0b\x32Y.google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x14prediction_resourcesB\x13\n\x11_deploy_task_nameB\x12\n\x10_deploy_metadata\x1a*\n\tDeployGke\x12\x1d\n\x10gke_yaml_configs\x18\x01 \x03(\tB\x03\xe0\x41\x01\x42\x11\n\x0f_open_notebooksB\x1d\n\x1b_open_fine_tuning_pipelines\"\xdb\x01\n\x12OpenSourceCategory\x12$\n OPEN_SOURCE_CATEGORY_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPROPRIETARY\x10\x01\x12+\n\'GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT\x10\x02\x12\x30\n,THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT\x10\x03\x12\x14\n\x10GOOGLE_OWNED_OSS\x10\x04\x12\x19\n\x15THIRD_PARTY_OWNED_OSS\x10\x05\"n\n\x0bLaunchStage\x12\x1c\n\x18LAUNCH_STAGE_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x45XPERIMENTAL\x10\x01\x12\x13\n\x0fPRIVATE_PREVIEW\x10\x02\x12\x12\n\x0ePUBLIC_PREVIEW\x10\x03\x12\x06\n\x02GA\x10\x04\"c\n\x0cVersionState\x12\x1d\n\x19VERSION_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14VERSION_STATE_STABLE\x10\x01\x12\x1a\n\x16VERSION_STATE_UNSTABLE\x10\x02:T\xea\x41Q\n(aiplatform.googleapis.com/PublisherModel\x12%publishers/{publisher}/models/{model}B\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13PublisherModelProtoP\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
|
|
@@ -51,6 +51,7 @@ module Google
|
|
51
51
|
PublisherModel::CallToAction::OpenNotebooks = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PublisherModel.CallToAction.OpenNotebooks").msgclass
|
52
52
|
PublisherModel::CallToAction::OpenFineTuningPipelines = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PublisherModel.CallToAction.OpenFineTuningPipelines").msgclass
|
53
53
|
PublisherModel::CallToAction::Deploy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy").msgclass
|
54
|
+
PublisherModel::CallToAction::Deploy::DeployMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata").msgclass
|
54
55
|
PublisherModel::CallToAction::DeployGke = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PublisherModel.CallToAction.DeployGke").msgclass
|
55
56
|
PublisherModel::OpenSourceCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory").enummodule
|
56
57
|
PublisherModel::LaunchStage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PublisherModel.LaunchStage").enummodule
|
@@ -10,7 +10,7 @@ require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n,google/cloud/aiplatform/v1/tensorboard.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n,google/cloud/aiplatform/v1/tensorboard.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x04\n\x0bTensorboard\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\x43\n\x0f\x65ncryption_spec\x18\x0b \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12%\n\x18\x62lob_storage_path_prefix\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x16\n\trun_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x06labels\x18\x08 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.Tensorboard.LabelsEntry\x12\x0c\n\x04\x65tag\x18\t \x01(\t\x12\x12\n\nis_default\x18\x0c \x01(\x08\x12\x1a\n\rsatisfies_pzs\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:n\xea\x41k\n%aiplatform.googleapis.com/Tensorboard\x12\x42projects/{project}/locations/{location}/tensorboards/{tensorboard}B\xce\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x10TensorboardProtoP\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
|
|
@@ -97,6 +97,23 @@ module Google
|
|
97
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
98
98
|
end
|
99
99
|
|
100
|
+
# Request message for UpdateDeploymentResourcePool method.
|
101
|
+
# @!attribute [rw] deployment_resource_pool
|
102
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeploymentResourcePool]
|
103
|
+
# Required. The DeploymentResourcePool to update.
|
104
|
+
#
|
105
|
+
# The DeploymentResourcePool's `name` field is used to identify the
|
106
|
+
# DeploymentResourcePool to update.
|
107
|
+
# Format:
|
108
|
+
# `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
|
109
|
+
# @!attribute [rw] update_mask
|
110
|
+
# @return [::Google::Protobuf::FieldMask]
|
111
|
+
# Required. The list of fields to update.
|
112
|
+
class UpdateDeploymentResourcePoolRequest
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
end
|
116
|
+
|
100
117
|
# Runtime operation information for UpdateDeploymentResourcePool method.
|
101
118
|
# @!attribute [rw] generic_metadata
|
102
119
|
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
@@ -120,6 +120,18 @@ module Google
|
|
120
120
|
# @return [::String]
|
121
121
|
# Output only. This field will be populated with the domain name to use for
|
122
122
|
# this FeatureOnlineStore
|
123
|
+
# @!attribute [rw] private_service_connect_config
|
124
|
+
# @return [::Google::Cloud::AIPlatform::V1::PrivateServiceConnectConfig]
|
125
|
+
# Optional. Private service connect config. The private service connection
|
126
|
+
# is available only for Optimized storage type, not for embedding
|
127
|
+
# management now. If
|
128
|
+
# {::Google::Cloud::AIPlatform::V1::PrivateServiceConnectConfig#enable_private_service_connect PrivateServiceConnectConfig.enable_private_service_connect}
|
129
|
+
# set to true, customers will use private service connection to send
|
130
|
+
# request. Otherwise, the connection will set to public endpoint.
|
131
|
+
# @!attribute [r] service_attachment
|
132
|
+
# @return [::String]
|
133
|
+
# Output only. The name of the service attachment resource. Populated if
|
134
|
+
# private service connect is enabled and after FeatureViewSync is created.
|
123
135
|
class DedicatedServingEndpoint
|
124
136
|
include ::Google::Protobuf::MessageExts
|
125
137
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -299,6 +299,12 @@ module Google
|
|
299
299
|
# @return [::Google::Cloud::AIPlatform::V1::Model::BaseModelSource]
|
300
300
|
# Optional. User input field to specify the base model source. Currently it
|
301
301
|
# only supports specifing the Model Garden models and Genie models.
|
302
|
+
# @!attribute [r] satisfies_pzs
|
303
|
+
# @return [::Boolean]
|
304
|
+
# Output only. Reserved for future use.
|
305
|
+
# @!attribute [r] satisfies_pzi
|
306
|
+
# @return [::Boolean]
|
307
|
+
# Output only. Reserved for future use.
|
302
308
|
class Model
|
303
309
|
include ::Google::Protobuf::MessageExts
|
304
310
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -166,7 +166,7 @@ module Google
|
|
166
166
|
# this resource pool. Will replace idle_replica_count.
|
167
167
|
# @!attribute [rw] autoscaling_spec
|
168
168
|
# @return [::Google::Cloud::AIPlatform::V1::ResourcePool::AutoscalingSpec]
|
169
|
-
# Optional. Optional spec to configure GKE autoscaling
|
169
|
+
# Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling
|
170
170
|
class ResourcePool
|
171
171
|
include ::Google::Protobuf::MessageExts
|
172
172
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -175,7 +175,13 @@ module Google
|
|
175
175
|
# @!attribute [rw] min_replica_count
|
176
176
|
# @return [::Integer]
|
177
177
|
# Optional. min replicas in the node pool,
|
178
|
-
# must be ≤ replica_count and < max_replica_count or will throw error
|
178
|
+
# must be ≤ replica_count and < max_replica_count or will throw error.
|
179
|
+
# For autoscaling enabled Ray-on-Vertex, we allow min_replica_count of a
|
180
|
+
# resource_pool to be 0 to match the OSS Ray
|
181
|
+
# behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters).
|
182
|
+
# As for Persistent Resource, the min_replica_count must be > 0, we added
|
183
|
+
# a corresponding validation inside
|
184
|
+
# CreatePersistentResourceRequestValidator.java.
|
179
185
|
# @!attribute [rw] max_replica_count
|
180
186
|
# @return [::Integer]
|
181
187
|
# Optional. max replicas in the node pool,
|
@@ -232,6 +232,9 @@ module Google
|
|
232
232
|
# @return [::String]
|
233
233
|
# Optional. The name of the deploy task (e.g., "text to image
|
234
234
|
# generation").
|
235
|
+
# @!attribute [rw] deploy_metadata
|
236
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy::DeployMetadata]
|
237
|
+
# Optional. Metadata information about this deployment config.
|
235
238
|
# @!attribute [rw] title
|
236
239
|
# @return [::String]
|
237
240
|
# Required. The title of the regional resource reference.
|
@@ -242,6 +245,26 @@ module Google
|
|
242
245
|
class Deploy
|
243
246
|
include ::Google::Protobuf::MessageExts
|
244
247
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
248
|
+
|
249
|
+
# Metadata information about the deployment for managing deployment
|
250
|
+
# config.
|
251
|
+
# @!attribute [rw] labels
|
252
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
253
|
+
# Optional. Labels for the deployment. For managing deployment config
|
254
|
+
# like verifying, source of deployment config, etc.
|
255
|
+
class DeployMetadata
|
256
|
+
include ::Google::Protobuf::MessageExts
|
257
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
258
|
+
|
259
|
+
# @!attribute [rw] key
|
260
|
+
# @return [::String]
|
261
|
+
# @!attribute [rw] value
|
262
|
+
# @return [::String]
|
263
|
+
class LabelsEntry
|
264
|
+
include ::Google::Protobuf::MessageExts
|
265
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
266
|
+
end
|
267
|
+
end
|
245
268
|
end
|
246
269
|
|
247
270
|
# Configurations for PublisherModel GKE deployment
|
@@ -77,6 +77,12 @@ module Google
|
|
77
77
|
# Creation of a default TensorBoard instance and updating an existing
|
78
78
|
# TensorBoard instance to be default will mark all other TensorBoard
|
79
79
|
# instances (if any) as non default.
|
80
|
+
# @!attribute [r] satisfies_pzs
|
81
|
+
# @return [::Boolean]
|
82
|
+
# Output only. Reserved for future use.
|
83
|
+
# @!attribute [r] satisfies_pzi
|
84
|
+
# @return [::Boolean]
|
85
|
+
# Output only. Reserved for future use.
|
80
86
|
class Tensorboard
|
81
87
|
include ::Google::Protobuf::MessageExts
|
82
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.43.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-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|