google-cloud-dialogflow 1.8.0 → 1.9.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: 200e329fda73c61f3237e068d7e1362b2875fcc829c5d580022e54d8887663ff
4
- data.tar.gz: b0b6a6ea4f64ca8b8367bcd6f3a703e12a1d1eb1a485ceeb48b2627e322a3c43
3
+ metadata.gz: c0b56a5694d74e2e140149ab5006f9ecdbd2378036ccaab268501f01ac591a63
4
+ data.tar.gz: bc41cc282e5b0c935355185eae4b23be6a1ae48f3bf7602c0deb6d3486b7c927
5
5
  SHA512:
6
- metadata.gz: 57306082236352e557cbd283841f27d43faeeaece5d6b80a43e85f0e8104db182c074735119443dacc6535c231ca417532fc459df13d552015a5c10f631481f7
7
- data.tar.gz: 0624dcb3d7293074fbf7b0592ec25456a0b6bed18b5a274f223a2d5b7fd26c81d8a6fad99d24a3da42b781a7fb978643d163e2ac332b128a5287a251aa7b197d
6
+ metadata.gz: 05baaacd8fccd99afd229b7d19be39751ab80dc7e34721d0d82dab84aaf5e36c8e3070f07fea5cdf047fe7b1cb5382af04dce2d71c07c1da82cd92a491d71582
7
+ data.tar.gz: bb7f88f85ea88d724fd76526295a485c19aaa0876e300b2cd66d07ff9b9b832e3af616ec1aaf9e02a216b630c349566bb11cc70be44c4d56ed64c2b82967d4ce
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Dialogflow
19
- VERSION = "1.8.0".freeze
19
+ VERSION = "1.9.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -357,6 +357,44 @@ module Google
357
357
  service_module.const_get(:Client).new(&block)
358
358
  end
359
359
 
360
+ ##
361
+ # Create a new client object for Generators.
362
+ #
363
+ # By default, this returns an instance of
364
+ # [Google::Cloud::Dialogflow::V2::Generators::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-Generators-Client)
365
+ # for a gRPC client for version V2 of the API.
366
+ # However, you can specify a different API version by passing it in the
367
+ # `version` parameter. If the Generators service is
368
+ # supported by that API version, and the corresponding gem is available, the
369
+ # appropriate versioned client will be returned.
370
+ # You can also specify a different transport by passing `:rest` or `:grpc` in
371
+ # the `transport` parameter.
372
+ #
373
+ # ## About Generators
374
+ #
375
+ # Generator Service for LLM powered Agent Assist. This service manages the
376
+ # configurations of user owned Generators, such as description, context and
377
+ # instruction, input/output format, etc. The generator resources will be used
378
+ # inside a conversation and will be triggered by TriggerEvent to query LLM for
379
+ # answers.
380
+ #
381
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
382
+ # Defaults to `:v2`.
383
+ # @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
384
+ # @return [::Object] A client object for the specified version.
385
+ #
386
+ def self.generators version: :v2, transport: :grpc, &block
387
+ require "google/cloud/dialogflow/#{version.to_s.downcase}"
388
+
389
+ package_name = Google::Cloud::Dialogflow
390
+ .constants
391
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
392
+ .first
393
+ service_module = Google::Cloud::Dialogflow.const_get(package_name).const_get(:Generators)
394
+ service_module = service_module.const_get(:Rest) if transport == :rest
395
+ service_module.const_get(:Client).new(&block)
396
+ end
397
+
360
398
  ##
361
399
  # Create a new client object for Conversations.
362
400
  #
@@ -498,6 +536,40 @@ module Google
498
536
  service_module.const_get(:Client).new(&block)
499
537
  end
500
538
 
539
+ ##
540
+ # Create a new client object for EncryptionSpecService.
541
+ #
542
+ # By default, this returns an instance of
543
+ # [Google::Cloud::Dialogflow::V2::EncryptionSpecService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-EncryptionSpecService-Client)
544
+ # for a gRPC client for version V2 of the API.
545
+ # However, you can specify a different API version by passing it in the
546
+ # `version` parameter. If the EncryptionSpecService service is
547
+ # supported by that API version, and the corresponding gem is available, the
548
+ # appropriate versioned client will be returned.
549
+ # You can also specify a different transport by passing `:rest` or `:grpc` in
550
+ # the `transport` parameter.
551
+ #
552
+ # ## About EncryptionSpecService
553
+ #
554
+ # Manages encryption spec settings for Dialogflow and Agent Assist.
555
+ #
556
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
557
+ # Defaults to `:v2`.
558
+ # @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
559
+ # @return [::Object] A client object for the specified version.
560
+ #
561
+ def self.encryption_spec_service version: :v2, transport: :grpc, &block
562
+ require "google/cloud/dialogflow/#{version.to_s.downcase}"
563
+
564
+ package_name = Google::Cloud::Dialogflow
565
+ .constants
566
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
567
+ .first
568
+ service_module = Google::Cloud::Dialogflow.const_get(package_name).const_get(:EncryptionSpecService)
569
+ service_module = service_module.const_get(:Rest) if transport == :rest
570
+ service_module.const_get(:Client).new(&block)
571
+ end
572
+
501
573
  ##
502
574
  # Create a new client object for Fulfillments.
503
575
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.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-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core