google-apis-dialogflow_v3beta1 0.113.0 → 0.114.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +66 -2
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +33 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +12 -10
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 984b65fa408f1c12733f0836dbdcd50ad0a805de8f60c18a933b90b5439ea592
|
|
4
|
+
data.tar.gz: 5753558a517bec56b2f77232e0883c27f8755acc97a1f6fd2e7732057826bf5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4eb6200c5d32c7d7bb592d4f56178f91b8bdef27ee12eadcd5484707c81728143eb432eee1b3da402bd30b6ddb1ebcaeb5e3d65f8e79b69c1a29d2af956b7fbc
|
|
7
|
+
data.tar.gz: 31b0f575426c7f315c43bc4d6912b27a7ade662bb989fb541747a91c3c6d32afc00a6f444fa5dc014a141a0059712d6c1aa7c2b792becec8d2b130dc99c3c37b
|
data/CHANGELOG.md
CHANGED
|
@@ -6648,6 +6648,12 @@ module Google
|
|
|
6648
6648
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters]
|
|
6649
6649
|
attr_accessor :query_params
|
|
6650
6650
|
|
|
6651
|
+
# Optional. Specifies which fields in the QueryResult to return. If not set, the
|
|
6652
|
+
# default is DETECT_INTENT_RESPONSE_VIEW_FULL.
|
|
6653
|
+
# Corresponds to the JSON property `responseView`
|
|
6654
|
+
# @return [String]
|
|
6655
|
+
attr_accessor :response_view
|
|
6656
|
+
|
|
6651
6657
|
# Required. The name of the session this query is sent to. Format: `projects//
|
|
6652
6658
|
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
|
6653
6659
|
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
@@ -6671,6 +6677,7 @@ module Google
|
|
|
6671
6677
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
|
6672
6678
|
@query_input = args[:query_input] if args.key?(:query_input)
|
|
6673
6679
|
@query_params = args[:query_params] if args.key?(:query_params)
|
|
6680
|
+
@response_view = args[:response_view] if args.key?(:response_view)
|
|
6674
6681
|
@session = args[:session] if args.key?(:session)
|
|
6675
6682
|
end
|
|
6676
6683
|
end
|
|
@@ -13304,11 +13311,21 @@ module Google
|
|
|
13304
13311
|
# @return [String]
|
|
13305
13312
|
attr_accessor :default_banned_phrase_match_strategy
|
|
13306
13313
|
|
|
13314
|
+
# Settings for Responsible AI.
|
|
13315
|
+
# Corresponds to the JSON property `defaultRaiSettings`
|
|
13316
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings]
|
|
13317
|
+
attr_accessor :default_rai_settings
|
|
13318
|
+
|
|
13307
13319
|
# Settings for prompt security checks.
|
|
13308
13320
|
# Corresponds to the JSON property `promptSecuritySettings`
|
|
13309
13321
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings]
|
|
13310
13322
|
attr_accessor :prompt_security_settings
|
|
13311
13323
|
|
|
13324
|
+
# Settings for Responsible AI.
|
|
13325
|
+
# Corresponds to the JSON property `raiSettings`
|
|
13326
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings]
|
|
13327
|
+
attr_accessor :rai_settings
|
|
13328
|
+
|
|
13312
13329
|
def initialize(**args)
|
|
13313
13330
|
update!(**args)
|
|
13314
13331
|
end
|
|
@@ -13317,7 +13334,9 @@ module Google
|
|
|
13317
13334
|
def update!(**args)
|
|
13318
13335
|
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
|
13319
13336
|
@default_banned_phrase_match_strategy = args[:default_banned_phrase_match_strategy] if args.key?(:default_banned_phrase_match_strategy)
|
|
13337
|
+
@default_rai_settings = args[:default_rai_settings] if args.key?(:default_rai_settings)
|
|
13320
13338
|
@prompt_security_settings = args[:prompt_security_settings] if args.key?(:prompt_security_settings)
|
|
13339
|
+
@rai_settings = args[:rai_settings] if args.key?(:rai_settings)
|
|
13321
13340
|
end
|
|
13322
13341
|
end
|
|
13323
13342
|
|
|
@@ -13366,6 +13385,50 @@ module Google
|
|
|
13366
13385
|
end
|
|
13367
13386
|
end
|
|
13368
13387
|
|
|
13388
|
+
# Settings for Responsible AI.
|
|
13389
|
+
class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings
|
|
13390
|
+
include Google::Apis::Core::Hashable
|
|
13391
|
+
|
|
13392
|
+
# Optional. RAI blocking configurations.
|
|
13393
|
+
# Corresponds to the JSON property `categoryFilters`
|
|
13394
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter>]
|
|
13395
|
+
attr_accessor :category_filters
|
|
13396
|
+
|
|
13397
|
+
def initialize(**args)
|
|
13398
|
+
update!(**args)
|
|
13399
|
+
end
|
|
13400
|
+
|
|
13401
|
+
# Update properties of this object
|
|
13402
|
+
def update!(**args)
|
|
13403
|
+
@category_filters = args[:category_filters] if args.key?(:category_filters)
|
|
13404
|
+
end
|
|
13405
|
+
end
|
|
13406
|
+
|
|
13407
|
+
# Configuration of the sensitivity level for blocking an RAI category.
|
|
13408
|
+
class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter
|
|
13409
|
+
include Google::Apis::Core::Hashable
|
|
13410
|
+
|
|
13411
|
+
# RAI category to configure.
|
|
13412
|
+
# Corresponds to the JSON property `category`
|
|
13413
|
+
# @return [String]
|
|
13414
|
+
attr_accessor :category
|
|
13415
|
+
|
|
13416
|
+
# Blocking sensitivity level to configure for the RAI category.
|
|
13417
|
+
# Corresponds to the JSON property `filterLevel`
|
|
13418
|
+
# @return [String]
|
|
13419
|
+
attr_accessor :filter_level
|
|
13420
|
+
|
|
13421
|
+
def initialize(**args)
|
|
13422
|
+
update!(**args)
|
|
13423
|
+
end
|
|
13424
|
+
|
|
13425
|
+
# Update properties of this object
|
|
13426
|
+
def update!(**args)
|
|
13427
|
+
@category = args[:category] if args.key?(:category)
|
|
13428
|
+
@filter_level = args[:filter_level] if args.key?(:filter_level)
|
|
13429
|
+
end
|
|
13430
|
+
end
|
|
13431
|
+
|
|
13369
13432
|
# Search configuration for UCS search queries.
|
|
13370
13433
|
class GoogleCloudDialogflowCxV3beta1SearchConfig
|
|
13371
13434
|
include Google::Apis::Core::Hashable
|
|
@@ -25324,8 +25387,9 @@ module Google
|
|
|
25324
25387
|
attr_accessor :operations
|
|
25325
25388
|
|
|
25326
25389
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
25327
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
25328
|
-
# when attempting to list all resources across all supported
|
|
25390
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
25391
|
+
# For example, when attempting to list all resources across all supported
|
|
25392
|
+
# locations.
|
|
25329
25393
|
# Corresponds to the JSON property `unreachable`
|
|
25330
25394
|
# @return [Array<String>]
|
|
25331
25395
|
attr_accessor :unreachable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DialogflowV3beta1
|
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.114.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251209"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2140,6 +2140,18 @@ module Google
|
|
|
2140
2140
|
include Google::Apis::Core::JsonObjectSupport
|
|
2141
2141
|
end
|
|
2142
2142
|
|
|
2143
|
+
class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings
|
|
2144
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2145
|
+
|
|
2146
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2147
|
+
end
|
|
2148
|
+
|
|
2149
|
+
class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter
|
|
2150
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2151
|
+
|
|
2152
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2153
|
+
end
|
|
2154
|
+
|
|
2143
2155
|
class GoogleCloudDialogflowCxV3beta1SearchConfig
|
|
2144
2156
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2145
2157
|
|
|
@@ -5899,6 +5911,7 @@ module Google
|
|
|
5899
5911
|
|
|
5900
5912
|
property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters::Representation
|
|
5901
5913
|
|
|
5914
|
+
property :response_view, as: 'responseView'
|
|
5902
5915
|
property :session, as: 'session'
|
|
5903
5916
|
end
|
|
5904
5917
|
end
|
|
@@ -7690,8 +7703,12 @@ module Google
|
|
|
7690
7703
|
collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase::Representation
|
|
7691
7704
|
|
|
7692
7705
|
property :default_banned_phrase_match_strategy, as: 'defaultBannedPhraseMatchStrategy'
|
|
7706
|
+
property :default_rai_settings, as: 'defaultRaiSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings::Representation
|
|
7707
|
+
|
|
7693
7708
|
property :prompt_security_settings, as: 'promptSecuritySettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings::Representation
|
|
7694
7709
|
|
|
7710
|
+
property :rai_settings, as: 'raiSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings::Representation
|
|
7711
|
+
|
|
7695
7712
|
end
|
|
7696
7713
|
end
|
|
7697
7714
|
|
|
@@ -7710,6 +7727,22 @@ module Google
|
|
|
7710
7727
|
end
|
|
7711
7728
|
end
|
|
7712
7729
|
|
|
7730
|
+
class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings
|
|
7731
|
+
# @private
|
|
7732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7733
|
+
collection :category_filters, as: 'categoryFilters', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter::Representation
|
|
7734
|
+
|
|
7735
|
+
end
|
|
7736
|
+
end
|
|
7737
|
+
|
|
7738
|
+
class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter
|
|
7739
|
+
# @private
|
|
7740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7741
|
+
property :category, as: 'category'
|
|
7742
|
+
property :filter_level, as: 'filterLevel'
|
|
7743
|
+
end
|
|
7744
|
+
end
|
|
7745
|
+
|
|
7713
7746
|
class GoogleCloudDialogflowCxV3beta1SearchConfig
|
|
7714
7747
|
# @private
|
|
7715
7748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5893,11 +5893,12 @@ module Google
|
|
|
5893
5893
|
# The standard list page token.
|
|
5894
5894
|
# @param [Boolean] return_partial_success
|
|
5895
5895
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
5896
|
-
# those that are unreachable are returned in the
|
|
5897
|
-
# unreachable
|
|
5898
|
-
#
|
|
5899
|
-
# by default
|
|
5900
|
-
# explicitly documented otherwise in service or product specific
|
|
5896
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
5897
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
5898
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
5899
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
5900
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
5901
|
+
# documentation.
|
|
5901
5902
|
# @param [String] fields
|
|
5902
5903
|
# Selector specifying which fields to include in a partial response.
|
|
5903
5904
|
# @param [String] quota_user
|
|
@@ -6184,11 +6185,12 @@ module Google
|
|
|
6184
6185
|
# The standard list page token.
|
|
6185
6186
|
# @param [Boolean] return_partial_success
|
|
6186
6187
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
6187
|
-
# those that are unreachable are returned in the
|
|
6188
|
-
# unreachable
|
|
6189
|
-
#
|
|
6190
|
-
# by default
|
|
6191
|
-
# explicitly documented otherwise in service or product specific
|
|
6188
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
6189
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
6190
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
6191
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
6192
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
6193
|
+
# documentation.
|
|
6192
6194
|
# @param [String] fields
|
|
6193
6195
|
# Selector specifying which fields to include in a partial response.
|
|
6194
6196
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.114.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.114.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|