google-cloud-ai_platform 1.2.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 +127 -7
- 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
|
#
|
@@ -287,6 +317,36 @@ module Google
|
|
287
317
|
service_module.const_get(:Client).new(&block)
|
288
318
|
end
|
289
319
|
|
320
|
+
##
|
321
|
+
# Create a new client object for GenAiTuningService.
|
322
|
+
#
|
323
|
+
# By default, this returns an instance of
|
324
|
+
# [Google::Cloud::AIPlatform::V1::GenAiTuningService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GenAiTuningService-Client)
|
325
|
+
# for a gRPC client for version V1 of the API.
|
326
|
+
# However, you can specify a different API version by passing it in the
|
327
|
+
# `version` parameter. If the GenAiTuningService service is
|
328
|
+
# supported by that API version, and the corresponding gem is available, the
|
329
|
+
# appropriate versioned client will be returned.
|
330
|
+
#
|
331
|
+
# ## About GenAiTuningService
|
332
|
+
#
|
333
|
+
# A service for creating and managing GenAI Tuning Jobs.
|
334
|
+
#
|
335
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
336
|
+
# Defaults to `:v1`.
|
337
|
+
# @return [::Object] A client object for the specified version.
|
338
|
+
#
|
339
|
+
def self.gen_ai_tuning_service version: :v1, &block
|
340
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
341
|
+
|
342
|
+
package_name = Google::Cloud::AIPlatform
|
343
|
+
.constants
|
344
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
345
|
+
.first
|
346
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:GenAiTuningService)
|
347
|
+
service_module.const_get(:Client).new(&block)
|
348
|
+
end
|
349
|
+
|
290
350
|
##
|
291
351
|
# Create a new client object for IndexEndpointService.
|
292
352
|
#
|
@@ -529,6 +589,36 @@ module Google
|
|
529
589
|
service_module.const_get(:Client).new(&block)
|
530
590
|
end
|
531
591
|
|
592
|
+
##
|
593
|
+
# Create a new client object for ModelGardenService.
|
594
|
+
#
|
595
|
+
# By default, this returns an instance of
|
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)
|
597
|
+
# for a gRPC client for version V1 of the API.
|
598
|
+
# However, you can specify a different API version by passing it in the
|
599
|
+
# `version` parameter. If the ModelGardenService service is
|
600
|
+
# supported by that API version, and the corresponding gem is available, the
|
601
|
+
# appropriate versioned client will be returned.
|
602
|
+
#
|
603
|
+
# ## About ModelGardenService
|
604
|
+
#
|
605
|
+
# The interface of Model Garden Service.
|
606
|
+
#
|
607
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
608
|
+
# Defaults to `:v1`.
|
609
|
+
# @return [::Object] A client object for the specified version.
|
610
|
+
#
|
611
|
+
def self.model_garden_service version: :v1, &block
|
612
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
613
|
+
|
614
|
+
package_name = Google::Cloud::AIPlatform
|
615
|
+
.constants
|
616
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
617
|
+
.first
|
618
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:ModelGardenService)
|
619
|
+
service_module.const_get(:Client).new(&block)
|
620
|
+
end
|
621
|
+
|
532
622
|
##
|
533
623
|
# Create a new client object for ModelService.
|
534
624
|
#
|
@@ -560,32 +650,62 @@ module Google
|
|
560
650
|
end
|
561
651
|
|
562
652
|
##
|
563
|
-
# Create a new client object for
|
653
|
+
# Create a new client object for NotebookService.
|
564
654
|
#
|
565
655
|
# By default, this returns an instance of
|
566
|
-
# [Google::Cloud::AIPlatform::V1::
|
656
|
+
# [Google::Cloud::AIPlatform::V1::NotebookService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NotebookService-Client)
|
567
657
|
# for a gRPC client for version V1 of the API.
|
568
658
|
# However, you can specify a different API version by passing it in the
|
569
|
-
# `version` parameter. If the
|
659
|
+
# `version` parameter. If the NotebookService service is
|
570
660
|
# supported by that API version, and the corresponding gem is available, the
|
571
661
|
# appropriate versioned client will be returned.
|
572
662
|
#
|
573
|
-
# ## About
|
663
|
+
# ## About NotebookService
|
574
664
|
#
|
575
|
-
# The interface
|
665
|
+
# The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
|
576
666
|
#
|
577
667
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
578
668
|
# Defaults to `:v1`.
|
579
669
|
# @return [::Object] A client object for the specified version.
|
580
670
|
#
|
581
|
-
def self.
|
671
|
+
def self.notebook_service version: :v1, &block
|
582
672
|
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
583
673
|
|
584
674
|
package_name = Google::Cloud::AIPlatform
|
585
675
|
.constants
|
586
676
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
587
677
|
.first
|
588
|
-
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:
|
678
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:NotebookService)
|
679
|
+
service_module.const_get(:Client).new(&block)
|
680
|
+
end
|
681
|
+
|
682
|
+
##
|
683
|
+
# Create a new client object for PersistentResourceService.
|
684
|
+
#
|
685
|
+
# By default, this returns an instance of
|
686
|
+
# [Google::Cloud::AIPlatform::V1::PersistentResourceService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-PersistentResourceService-Client)
|
687
|
+
# for a gRPC client for version V1 of the API.
|
688
|
+
# However, you can specify a different API version by passing it in the
|
689
|
+
# `version` parameter. If the PersistentResourceService service is
|
690
|
+
# supported by that API version, and the corresponding gem is available, the
|
691
|
+
# appropriate versioned client will be returned.
|
692
|
+
#
|
693
|
+
# ## About PersistentResourceService
|
694
|
+
#
|
695
|
+
# A service for managing Vertex AI's machine learning PersistentResource.
|
696
|
+
#
|
697
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
698
|
+
# Defaults to `:v1`.
|
699
|
+
# @return [::Object] A client object for the specified version.
|
700
|
+
#
|
701
|
+
def self.persistent_resource_service version: :v1, &block
|
702
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
703
|
+
|
704
|
+
package_name = Google::Cloud::AIPlatform
|
705
|
+
.constants
|
706
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
707
|
+
.first
|
708
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:PersistentResourceService)
|
589
709
|
service_module.const_get(:Client).new(&block)
|
590
710
|
end
|
591
711
|
|
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
|