google-cloud-ai_platform 1.3.0 → 1.4.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: 4cb6377c7dffa263e672e3f9fcc30f6959a3b52161ba0c2084c6b2a76c240f09
4
- data.tar.gz: 12b83c3da9b2ee2d7b66e0ab9b19bfe35643339a5574aa554a9aef0e0c62d571
3
+ metadata.gz: bdf6d7ea5a6fc37f3969216c8441bb1f7651dba1dfd15130ac0ca120b72e70fc
4
+ data.tar.gz: c95b4904978cb670c9e811e651e23254344c25dbf7ef1958f4d3c9b21d2b7bd0
5
5
  SHA512:
6
- metadata.gz: 1977b212eca01bf0da74a695dfb34ed7fb7d3f4a178e23765fb13e4b55660b3b78e59479cdfe38c43761fab5f4f11cbed0bb695151d8b9623c9ce3b99f4abf2f
7
- data.tar.gz: 76698e042cac09b09f86cb5665f3ea597a9e0fd66d81cb31c04f86e9372ff1a53b91e305e246366fe4b924734c7a1bda527762b232c6c2da79b0bdf7c6f6e1c1
6
+ metadata.gz: 5647c5fb7fb00eab103864e641d45b7e058f22185852897305a5171e5c0adead0e2afb819301099996177e811c4fb834e328232502e9afc33475d4fda9461183
7
+ data.tar.gz: 04d951e97edf5b31a3274f8aa8d07a16b87d2427af82b870859a8b9574d582cda045db8daaac4c863706825838364d0814790bf4efac41dbe60f4ee41ea10f31
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
- VERSION = "1.3.0"
23
+ VERSION = "1.4.0"
24
24
  end
25
25
  end
26
26
  end
@@ -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 ModelService.
593
+ # Create a new client object for ModelGardenService.
564
594
  #
565
595
  # By default, this returns an instance of
566
- # [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)
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 ModelService service is
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 ModelService
603
+ # ## About ModelGardenService
574
604
  #
575
- # A service for managing Vertex AI's machine learning Models.
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.model_service version: :v1, &block
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(:ModelService)
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 ModelGardenService.
623
+ # Create a new client object for ModelService.
594
624
  #
595
625
  # 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)
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 ModelGardenService service is
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 ModelGardenService
633
+ # ## About ModelService
604
634
  #
605
- # The interface of Model Garden Service.
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.model_garden_service version: :v1, &block
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(:ModelGardenService)
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.3.0
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-04-19 00:00:00.000000000 Z
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