google-cloud-ai_platform 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/version.rb +1 -1
- data/lib/google/cloud/ai_platform.rb +44 -14
- 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: bdf6d7ea5a6fc37f3969216c8441bb1f7651dba1dfd15130ac0ca120b72e70fc
|
4
|
+
data.tar.gz: c95b4904978cb670c9e811e651e23254344c25dbf7ef1958f4d3c9b21d2b7bd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5647c5fb7fb00eab103864e641d45b7e058f22185852897305a5171e5c0adead0e2afb819301099996177e811c4fb834e328232502e9afc33475d4fda9461183
|
7
|
+
data.tar.gz: 04d951e97edf5b31a3274f8aa8d07a16b87d2427af82b870859a8b9574d582cda045db8daaac4c863706825838364d0814790bf4efac41dbe60f4ee41ea10f31
|
@@ -135,6 +135,36 @@ module Google
|
|
135
135
|
service_module.const_get(:Client).new(&block)
|
136
136
|
end
|
137
137
|
|
138
|
+
##
|
139
|
+
# Create a new client object for EvaluationService.
|
140
|
+
#
|
141
|
+
# By default, this returns an instance of
|
142
|
+
# [Google::Cloud::AIPlatform::V1::EvaluationService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-EvaluationService-Client)
|
143
|
+
# for a gRPC client for version V1 of the API.
|
144
|
+
# However, you can specify a different API version by passing it in the
|
145
|
+
# `version` parameter. If the EvaluationService service is
|
146
|
+
# supported by that API version, and the corresponding gem is available, the
|
147
|
+
# appropriate versioned client will be returned.
|
148
|
+
#
|
149
|
+
# ## About EvaluationService
|
150
|
+
#
|
151
|
+
# Vertex AI Online Evaluation Service.
|
152
|
+
#
|
153
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
154
|
+
# Defaults to `:v1`.
|
155
|
+
# @return [::Object] A client object for the specified version.
|
156
|
+
#
|
157
|
+
def self.evaluation_service version: :v1, &block
|
158
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
159
|
+
|
160
|
+
package_name = Google::Cloud::AIPlatform
|
161
|
+
.constants
|
162
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
163
|
+
.first
|
164
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:EvaluationService)
|
165
|
+
service_module.const_get(:Client).new(&block)
|
166
|
+
end
|
167
|
+
|
138
168
|
##
|
139
169
|
# Create a new client object for FeatureOnlineStoreAdminService.
|
140
170
|
#
|
@@ -560,62 +590,62 @@ module Google
|
|
560
590
|
end
|
561
591
|
|
562
592
|
##
|
563
|
-
# Create a new client object for
|
593
|
+
# Create a new client object for ModelGardenService.
|
564
594
|
#
|
565
595
|
# By default, this returns an instance of
|
566
|
-
# [Google::Cloud::AIPlatform::V1::
|
596
|
+
# [Google::Cloud::AIPlatform::V1::ModelGardenService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelGardenService-Client)
|
567
597
|
# for a gRPC client for version V1 of the API.
|
568
598
|
# However, you can specify a different API version by passing it in the
|
569
|
-
# `version` parameter. If the
|
599
|
+
# `version` parameter. If the ModelGardenService service is
|
570
600
|
# supported by that API version, and the corresponding gem is available, the
|
571
601
|
# appropriate versioned client will be returned.
|
572
602
|
#
|
573
|
-
# ## About
|
603
|
+
# ## About ModelGardenService
|
574
604
|
#
|
575
|
-
#
|
605
|
+
# The interface of Model Garden Service.
|
576
606
|
#
|
577
607
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
578
608
|
# Defaults to `:v1`.
|
579
609
|
# @return [::Object] A client object for the specified version.
|
580
610
|
#
|
581
|
-
def self.
|
611
|
+
def self.model_garden_service version: :v1, &block
|
582
612
|
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
583
613
|
|
584
614
|
package_name = Google::Cloud::AIPlatform
|
585
615
|
.constants
|
586
616
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
587
617
|
.first
|
588
|
-
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:
|
618
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:ModelGardenService)
|
589
619
|
service_module.const_get(:Client).new(&block)
|
590
620
|
end
|
591
621
|
|
592
622
|
##
|
593
|
-
# Create a new client object for
|
623
|
+
# Create a new client object for ModelService.
|
594
624
|
#
|
595
625
|
# By default, this returns an instance of
|
596
|
-
# [Google::Cloud::AIPlatform::V1::
|
626
|
+
# [Google::Cloud::AIPlatform::V1::ModelService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelService-Client)
|
597
627
|
# for a gRPC client for version V1 of the API.
|
598
628
|
# However, you can specify a different API version by passing it in the
|
599
|
-
# `version` parameter. If the
|
629
|
+
# `version` parameter. If the ModelService service is
|
600
630
|
# supported by that API version, and the corresponding gem is available, the
|
601
631
|
# appropriate versioned client will be returned.
|
602
632
|
#
|
603
|
-
# ## About
|
633
|
+
# ## About ModelService
|
604
634
|
#
|
605
|
-
#
|
635
|
+
# A service for managing Vertex AI's machine learning Models.
|
606
636
|
#
|
607
637
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
608
638
|
# Defaults to `:v1`.
|
609
639
|
# @return [::Object] A client object for the specified version.
|
610
640
|
#
|
611
|
-
def self.
|
641
|
+
def self.model_service version: :v1, &block
|
612
642
|
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
613
643
|
|
614
644
|
package_name = Google::Cloud::AIPlatform
|
615
645
|
.constants
|
616
646
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
617
647
|
.first
|
618
|
-
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:
|
648
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:ModelService)
|
619
649
|
service_module.const_get(:Client).new(&block)
|
620
650
|
end
|
621
651
|
|
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: 1.
|
4
|
+
version: 1.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: 2024-
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-ai_platform-v1
|