google-cloud-dialogflow-cx 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af29bdf37b4e3c94bd4e5f2e1991f19a92743205e043d8b48cc1c062f2c4fb6d
4
- data.tar.gz: ce57b9e2861d9a186c1aac901c2a94de71c949da1509c2c2210126d5b59d2b4e
3
+ metadata.gz: 7ea79280af95ce080e3dd766ca0b12e9d0bd83c9849aa49ff6ffe1db879fed7c
4
+ data.tar.gz: ab498c472d4cdf3dc67e0306ee0df7b8818b90df9dac4c1dc10988b784b677a0
5
5
  SHA512:
6
- metadata.gz: 5c176b734552f7cd3c28120a890be2b879038c998ef600971d9c0c50b7d6fcd458aa903b7c6135e12b024c2acb19c93b9ec2a1a81780e18e72b98fb96944e2d6
7
- data.tar.gz: 81b87dffdc627ce21d7504660aea682a8364091dabce8bf9b7e95f3c6b4ec2c113cef518d627805fb1fbc182c5cf0974e4a59ae19e3bef5afefa70750ed708d8
6
+ metadata.gz: aa08c0a5801cf5fb5d7522adb858ccebc137e089cb72b4be4877bb1f0e6282e2847bdc79ac96fec72692a6ddbbf7742bb91048cabaf4d955854175c426e1b4c2
7
+ data.tar.gz: c1808db5a18dc6a8760b8e08a480a524529b5b3f00cbcd5f4da091c3662ab5a9786c3dac11e2328f84e0afb8fb5a46e959c9f4a17901aaaabb4c106d94fd3f61
data/README.md CHANGED
@@ -11,7 +11,7 @@ verisoned gems in as dependencies, and provides high-level methods for
11
11
  constructing clients. More information on versioned clients can be found below
12
12
  in the section titled *Which client should I use?*.
13
13
 
14
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-dialogflow-cx/latest)
14
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx/latest)
15
15
  for this library, google-cloud-dialogflow-cx, to see the convenience methods for
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
@@ -62,14 +62,14 @@ end
62
62
 
63
63
  ## Supported Ruby Versions
64
64
 
65
- This library is supported on Ruby 2.5+.
65
+ This library is supported on Ruby 2.6+.
66
66
 
67
67
  Google provides official support for Ruby versions that are actively supported
68
68
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
69
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
70
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
71
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
72
- about the Ruby support schedule.
69
+ in security maintenance, and not end of life. Older versions of Ruby _may_
70
+ still work, but are unsupported and not recommended. See
71
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
72
+ support schedule.
73
73
 
74
74
  ## Which client should I use?
75
75
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module CX
24
- VERSION = "0.2.1"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -105,36 +105,6 @@ module Google
105
105
  package_module.const_get(:Flows).const_get(:Client).new(&block)
106
106
  end
107
107
 
108
- ##
109
- # Create a new client object for SecuritySettingsService.
110
- #
111
- # By default, this returns an instance of
112
- # [Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client](https://googleapis.dev/ruby/google-cloud-dialogflow-cx-v3/latest/Google/Cloud/Dialogflow/CX/V3/SecuritySettingsService/Client.html)
113
- # for version V3 of the API.
114
- # However, you can specify specify a different API version by passing it in the
115
- # `version` parameter. If the SecuritySettingsService service is
116
- # supported by that API version, and the corresponding gem is available, the
117
- # appropriate versioned client will be returned.
118
- #
119
- # ## About SecuritySettingsService
120
- #
121
- # Service for managing security settings for Dialogflow.
122
- #
123
- # @param version [::String, ::Symbol] The API version to connect to. Optional.
124
- # Defaults to `:v3`.
125
- # @return [SecuritySettingsService::Client] A client object for the specified version.
126
- #
127
- def self.security_settings_service version: :v3, &block
128
- require "google/cloud/dialogflow/cx/#{version.to_s.downcase}"
129
-
130
- package_name = Google::Cloud::Dialogflow::CX
131
- .constants
132
- .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
133
- .first
134
- package_module = Google::Cloud::Dialogflow::CX.const_get package_name
135
- package_module.const_get(:SecuritySettingsService).const_get(:Client).new(&block)
136
- end
137
-
138
108
  ##
139
109
  # Create a new client object for Agents.
140
110
  #
@@ -498,6 +468,36 @@ module Google
498
468
  package_module.const_get(:Experiments).const_get(:Client).new(&block)
499
469
  end
500
470
 
471
+ ##
472
+ # Create a new client object for SecuritySettingsService.
473
+ #
474
+ # By default, this returns an instance of
475
+ # [Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client](https://googleapis.dev/ruby/google-cloud-dialogflow-cx-v3/latest/Google/Cloud/Dialogflow/CX/V3/SecuritySettingsService/Client.html)
476
+ # for version V3 of the API.
477
+ # However, you can specify specify a different API version by passing it in the
478
+ # `version` parameter. If the SecuritySettingsService service is
479
+ # supported by that API version, and the corresponding gem is available, the
480
+ # appropriate versioned client will be returned.
481
+ #
482
+ # ## About SecuritySettingsService
483
+ #
484
+ # Service for managing security settings for Dialogflow.
485
+ #
486
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
487
+ # Defaults to `:v3`.
488
+ # @return [SecuritySettingsService::Client] A client object for the specified version.
489
+ #
490
+ def self.security_settings_service version: :v3, &block
491
+ require "google/cloud/dialogflow/cx/#{version.to_s.downcase}"
492
+
493
+ package_name = Google::Cloud::Dialogflow::CX
494
+ .constants
495
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
496
+ .first
497
+ package_module = Google::Cloud::Dialogflow::CX.const_get package_name
498
+ package_module.const_get(:SecuritySettingsService).const_get(:Client).new(&block)
499
+ end
500
+
501
501
  ##
502
502
  # Create a new client object for Versions.
503
503
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-cx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.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: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -186,14 +186,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  requirements:
187
187
  - - ">="
188
188
  - !ruby/object:Gem::Version
189
- version: '2.5'
189
+ version: '2.6'
190
190
  required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  requirements: []
196
- rubygems_version: 3.3.4
196
+ rubygems_version: 3.3.14
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: API Client library for the Dialogflow CX API