google-cloud-ai_platform 0.3.0 → 0.4.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/version.rb +1 -1
- data/lib/google/cloud/ai_platform.rb +32 -2
- 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: 6bf61ba8f079dd0a9cd2763152b0f1dcd30d0fefe78ac5d7d47ab7ba5cda9473
|
4
|
+
data.tar.gz: 9815451a5b520bfbe06fc93d9d4b2449f952f95600f2d3f603b2efebe16d552b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7c1b77e96ab579826e0358db23cf423818099128b95f16976047c1fa80c5c8d691c0c7c5096c13fc43e9572ed8e7f6b46a23373e954a389466bf2d47109a4b8
|
7
|
+
data.tar.gz: 96391f9d993c8d62ada9dd6a92512896fc15ea6708cd83f3e976e14fdb2a97a69d2fbcce7b36fd04446db3b5e5c02d58fb8da14995155137810976a694596425
|
@@ -57,8 +57,7 @@ module Google
|
|
57
57
|
#
|
58
58
|
# ## About DatasetService
|
59
59
|
#
|
60
|
-
# The service that
|
61
|
-
# resources.
|
60
|
+
# The service that manages Vertex AI Dataset and its child resources.
|
62
61
|
#
|
63
62
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
64
63
|
# Defaults to `:v1`.
|
@@ -469,6 +468,37 @@ module Google
|
|
469
468
|
service_module.const_get(:Client).new(&block)
|
470
469
|
end
|
471
470
|
|
471
|
+
##
|
472
|
+
# Create a new client object for ScheduleService.
|
473
|
+
#
|
474
|
+
# By default, this returns an instance of
|
475
|
+
# [Google::Cloud::AIPlatform::V1::ScheduleService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ScheduleService-Client)
|
476
|
+
# for a gRPC client for version V1 of the API.
|
477
|
+
# However, you can specify a different API version by passing it in the
|
478
|
+
# `version` parameter. If the ScheduleService service is
|
479
|
+
# supported by that API version, and the corresponding gem is available, the
|
480
|
+
# appropriate versioned client will be returned.
|
481
|
+
#
|
482
|
+
# ## About ScheduleService
|
483
|
+
#
|
484
|
+
# A service for creating and managing Vertex AI's Schedule resources to
|
485
|
+
# periodically launch shceudled runs to make API calls.
|
486
|
+
#
|
487
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
488
|
+
# Defaults to `:v1`.
|
489
|
+
# @return [::Object] A client object for the specified version.
|
490
|
+
#
|
491
|
+
def self.schedule_service version: :v1, &block
|
492
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
493
|
+
|
494
|
+
package_name = Google::Cloud::AIPlatform
|
495
|
+
.constants
|
496
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
497
|
+
.first
|
498
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:ScheduleService)
|
499
|
+
service_module.const_get(:Client).new(&block)
|
500
|
+
end
|
501
|
+
|
472
502
|
##
|
473
503
|
# Create a new client object for SpecialistPoolService.
|
474
504
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-ai_platform-v1
|