google-cloud-dialogflow 1.7.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: bf4b53c36df7d076b5eb5a7b5091af895a9a97c016ce158769d11c97237c9625
4
- data.tar.gz: 3afb556a0d99260dde9a66ea7354ec31270522c4c4eb55b2119bac0e1a2c8f1e
3
+ metadata.gz: c0b56a5694d74e2e140149ab5006f9ecdbd2378036ccaab268501f01ac591a63
4
+ data.tar.gz: bc41cc282e5b0c935355185eae4b23be6a1ae48f3bf7602c0deb6d3486b7c927
5
5
  SHA512:
6
- metadata.gz: fb658838595955b3866dd97bee873723e168adb55bfc503ef6ea324aea240ecde6dd9406e4e287992b6c8e163faea69eaeadd0d0a610f058c5e2164a0fab11a6
7
- data.tar.gz: 3864ebb69100d1898a8e87301aa51560c470b738ad39ff9e27e50d7c957fc2178fc8c0bb0b80f34cc2b0620cdc10ca0080512804645f390ccce7bb1240c186d1
6
+ metadata.gz: 05baaacd8fccd99afd229b7d19be39751ab80dc7e34721d0d82dab84aaf5e36c8e3070f07fea5cdf047fe7b1cb5382af04dce2d71c07c1da82cd92a491d71582
7
+ data.tar.gz: bb7f88f85ea88d724fd76526295a485c19aaa0876e300b2cd66d07ff9b9b832e3af616ec1aaf9e02a216b630c349566bb11cc70be44c4d56ed64c2b82967d4ce
data/README.md CHANGED
@@ -44,7 +44,7 @@ See the {file:MIGRATING.md MIGRATING.md} document for more information.
44
44
 
45
45
  ## Supported Ruby Versions
46
46
 
47
- This library is supported on Ruby 2.6+.
47
+ This library is supported on Ruby 2.7+.
48
48
 
49
49
  Google provides official support for Ruby versions that are actively supported
50
50
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Dialogflow
19
- VERSION = "1.7.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.7.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-01-15 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
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.a
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.1
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.1
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.9'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.9'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Dialogflow is an end-to-end, build-once deploy-everywhere development
160
48
  suite for creating conversational interfaces for websites, mobile applications,
161
49
  popular messaging platforms, and IoT devices. You can use it to build interfaces
@@ -187,14 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
187
75
  requirements:
188
76
  - - ">="
189
77
  - !ruby/object:Gem::Version
190
- version: '2.6'
78
+ version: '2.7'
191
79
  required_rubygems_version: !ruby/object:Gem::Requirement
192
80
  requirements:
193
81
  - - ">="
194
82
  - !ruby/object:Gem::Version
195
83
  version: '0'
196
84
  requirements: []
197
- rubygems_version: 3.5.3
85
+ rubygems_version: 3.5.6
198
86
  signing_key:
199
87
  specification_version: 4
200
88
  summary: API Client library for the Dialogflow API