google-cloud-dialogflow 1.8.0 → 1.9.1

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: 1070d13c9e9f76dd374b1b2522676c4691f030b6bfb17c486c505695b343e1b6
4
+ data.tar.gz: 225de54f2cf6e09c0e87aa128b72bb4fc79e5ce01c9fc653c8470d0b70e45070
5
5
  SHA512:
6
- metadata.gz: 57306082236352e557cbd283841f27d43faeeaece5d6b80a43e85f0e8104db182c074735119443dacc6535c231ca417532fc459df13d552015a5c10f631481f7
7
- data.tar.gz: 0624dcb3d7293074fbf7b0592ec25456a0b6bed18b5a274f223a2d5b7fd26c81d8a6fad99d24a3da42b781a7fb978643d163e2ac332b128a5287a251aa7b197d
6
+ metadata.gz: 1680bc1010f1978f757e83f61a9ea21abc750174aa87a8582d42cdd1ec6099b9cb169c816963725756d5cc3896b71230685da6926d13c9847345956fe8a99fcf
7
+ data.tar.gz: eca9c1fb74cb54d47df2cf7dba36c32415096be415682b8a879b88457b5c1232ee0389f4d3149ab050e7fc4ecbb95130d58d2efe05b7d3b873c385f316596a73
@@ -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.1".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.1
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-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core