google-cloud-ai_platform 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bb67d0e47f01036a8e2d5db964a81634bc6444c36a9248b4362bd57942e83b2
4
- data.tar.gz: eb92d7e74ad35e038b112982be004e5db42eaa406d6514e8437ce44b56958b6c
3
+ metadata.gz: 4cb6377c7dffa263e672e3f9fcc30f6959a3b52161ba0c2084c6b2a76c240f09
4
+ data.tar.gz: 12b83c3da9b2ee2d7b66e0ab9b19bfe35643339a5574aa554a9aef0e0c62d571
5
5
  SHA512:
6
- metadata.gz: 0cc7b6861ce1f62bf883638f7d220ec8a8822dd1cd5e1cdc5578161ef042d3f7bd03126b933a07341721e2516fa4b59125cd51de0d31b08652eabfa262a84260
7
- data.tar.gz: 442981f32ef00f99fb2cf3f4dff22a52bb60b94107a70fc38a3508483345594b2de86fbde0f6c47cc028b0f199aaf7a42c83d78b17a05c57dd60f8b0d1a5ed52
6
+ metadata.gz: 1977b212eca01bf0da74a695dfb34ed7fb7d3f4a178e23765fb13e4b55660b3b78e59479cdfe38c43761fab5f4f11cbed0bb695151d8b9623c9ce3b99f4abf2f
7
+ data.tar.gz: 76698e042cac09b09f86cb5665f3ea597a9e0fd66d81cb31c04f86e9372ff1a53b91e305e246366fe4b924734c7a1bda527762b232c6c2da79b0bdf7c6f6e1c1
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
- VERSION = "1.2.0"
23
+ VERSION = "1.3.0"
24
24
  end
25
25
  end
26
26
  end
@@ -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.2.0
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-02-26 00:00:00.000000000 Z
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