google-cloud-ai_platform 1.2.0 → 1.3.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 +90 -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: 4cb6377c7dffa263e672e3f9fcc30f6959a3b52161ba0c2084c6b2a76c240f09
|
4
|
+
data.tar.gz: 12b83c3da9b2ee2d7b66e0ab9b19bfe35643339a5574aa554a9aef0e0c62d571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1977b212eca01bf0da74a695dfb34ed7fb7d3f4a178e23765fb13e4b55660b3b78e59479cdfe38c43761fab5f4f11cbed0bb695151d8b9623c9ce3b99f4abf2f
|
7
|
+
data.tar.gz: 76698e042cac09b09f86cb5665f3ea597a9e0fd66d81cb31c04f86e9372ff1a53b91e305e246366fe4b924734c7a1bda527762b232c6c2da79b0bdf7c6f6e1c1
|
@@ -287,6 +287,36 @@ module Google
|
|
287
287
|
service_module.const_get(:Client).new(&block)
|
288
288
|
end
|
289
289
|
|
290
|
+
##
|
291
|
+
# Create a new client object for GenAiTuningService.
|
292
|
+
#
|
293
|
+
# By default, this returns an instance of
|
294
|
+
# [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)
|
295
|
+
# for a gRPC client for version V1 of the API.
|
296
|
+
# However, you can specify a different API version by passing it in the
|
297
|
+
# `version` parameter. If the GenAiTuningService service is
|
298
|
+
# supported by that API version, and the corresponding gem is available, the
|
299
|
+
# appropriate versioned client will be returned.
|
300
|
+
#
|
301
|
+
# ## About GenAiTuningService
|
302
|
+
#
|
303
|
+
# A service for creating and managing GenAI Tuning Jobs.
|
304
|
+
#
|
305
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
306
|
+
# Defaults to `:v1`.
|
307
|
+
# @return [::Object] A client object for the specified version.
|
308
|
+
#
|
309
|
+
def self.gen_ai_tuning_service version: :v1, &block
|
310
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
311
|
+
|
312
|
+
package_name = Google::Cloud::AIPlatform
|
313
|
+
.constants
|
314
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
315
|
+
.first
|
316
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:GenAiTuningService)
|
317
|
+
service_module.const_get(:Client).new(&block)
|
318
|
+
end
|
319
|
+
|
290
320
|
##
|
291
321
|
# Create a new client object for IndexEndpointService.
|
292
322
|
#
|
@@ -589,6 +619,66 @@ module Google
|
|
589
619
|
service_module.const_get(:Client).new(&block)
|
590
620
|
end
|
591
621
|
|
622
|
+
##
|
623
|
+
# Create a new client object for NotebookService.
|
624
|
+
#
|
625
|
+
# By default, this returns an instance of
|
626
|
+
# [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)
|
627
|
+
# for a gRPC client for version V1 of the API.
|
628
|
+
# However, you can specify a different API version by passing it in the
|
629
|
+
# `version` parameter. If the NotebookService service is
|
630
|
+
# supported by that API version, and the corresponding gem is available, the
|
631
|
+
# appropriate versioned client will be returned.
|
632
|
+
#
|
633
|
+
# ## About NotebookService
|
634
|
+
#
|
635
|
+
# The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
|
636
|
+
#
|
637
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
638
|
+
# Defaults to `:v1`.
|
639
|
+
# @return [::Object] A client object for the specified version.
|
640
|
+
#
|
641
|
+
def self.notebook_service version: :v1, &block
|
642
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
643
|
+
|
644
|
+
package_name = Google::Cloud::AIPlatform
|
645
|
+
.constants
|
646
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
647
|
+
.first
|
648
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:NotebookService)
|
649
|
+
service_module.const_get(:Client).new(&block)
|
650
|
+
end
|
651
|
+
|
652
|
+
##
|
653
|
+
# Create a new client object for PersistentResourceService.
|
654
|
+
#
|
655
|
+
# By default, this returns an instance of
|
656
|
+
# [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)
|
657
|
+
# for a gRPC client for version V1 of the API.
|
658
|
+
# However, you can specify a different API version by passing it in the
|
659
|
+
# `version` parameter. If the PersistentResourceService service is
|
660
|
+
# supported by that API version, and the corresponding gem is available, the
|
661
|
+
# appropriate versioned client will be returned.
|
662
|
+
#
|
663
|
+
# ## About PersistentResourceService
|
664
|
+
#
|
665
|
+
# A service for managing Vertex AI's machine learning PersistentResource.
|
666
|
+
#
|
667
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
668
|
+
# Defaults to `:v1`.
|
669
|
+
# @return [::Object] A client object for the specified version.
|
670
|
+
#
|
671
|
+
def self.persistent_resource_service version: :v1, &block
|
672
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
673
|
+
|
674
|
+
package_name = Google::Cloud::AIPlatform
|
675
|
+
.constants
|
676
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
677
|
+
.first
|
678
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:PersistentResourceService)
|
679
|
+
service_module.const_get(:Client).new(&block)
|
680
|
+
end
|
681
|
+
|
592
682
|
##
|
593
683
|
# Create a new client object for PipelineService.
|
594
684
|
#
|
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.3.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-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-ai_platform-v1
|