google-apis-dialogflow_v3 0.71.0 → 0.73.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a9cae40eef6820943d9f7cbb88ad3a2a29382b8791e6921b93168894715ea3e
|
4
|
+
data.tar.gz: be62f7d9cd0cec801a15dece2602ac356d7df3158e981de0581851d6eec74ece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aac4f4e928310c973cfdfc5b10fc3ab9b00e65d3872c715a18ff7c8b7b34f8bc006e2c0b930fd6ac4af314d6c6fdc96829a59041d2a3aeeeda76ca671e1a216
|
7
|
+
data.tar.gz: 23afa680835e2c98642c0779b534492a219f1d9b8c3c129e4860cc76aa1ee729b7cb31aec2967d9fc561a430b7e8e020112e2c1476c7165cbcbaeb2472fd5ffe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.73.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231204
|
6
|
+
|
7
|
+
### v0.72.0 (2023-12-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231129
|
10
|
+
|
3
11
|
### v0.71.0 (2023-11-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231109
|
@@ -510,13 +510,9 @@ module Google
|
|
510
510
|
# which the API starts speech detection and may inform the client that an
|
511
511
|
# utterance has been detected. Note that no-speech event is not expected in this
|
512
512
|
# phase. The client provides this configuration in terms of the durations of
|
513
|
-
# those two phases. The durations are measured in terms of the audio length
|
514
|
-
#
|
515
|
-
# without
|
516
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
517
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
518
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
519
|
-
# any transcript following up.
|
513
|
+
# those two phases. The durations are measured in terms of the audio length from
|
514
|
+
# the the start of the input audio. No-speech event is a response with
|
515
|
+
# END_OF_UTTERANCE without any transcript following up.
|
520
516
|
class GoogleCloudDialogflowCxV3BargeInConfig
|
521
517
|
include Google::Apis::Core::Hashable
|
522
518
|
|
@@ -3213,6 +3209,76 @@ module Google
|
|
3213
3209
|
end
|
3214
3210
|
end
|
3215
3211
|
|
3212
|
+
# Generators contain prompt to be sent to the LLM model to generate text. The
|
3213
|
+
# prompt can contain parameters which will be resolved before calling the model.
|
3214
|
+
# It can optionally contain banned phrases to ensure the model responses are
|
3215
|
+
# safe.
|
3216
|
+
class GoogleCloudDialogflowCxV3Generator
|
3217
|
+
include Google::Apis::Core::Hashable
|
3218
|
+
|
3219
|
+
# Required. The human-readable name of the generator, unique within the agent.
|
3220
|
+
# The prompt contains pre-defined parameters such as $conversation, $last-user-
|
3221
|
+
# utterance, etc. populated by Dialogflow. It can also contain custom
|
3222
|
+
# placeholders which will be resolved during fulfillment.
|
3223
|
+
# Corresponds to the JSON property `displayName`
|
3224
|
+
# @return [String]
|
3225
|
+
attr_accessor :display_name
|
3226
|
+
|
3227
|
+
# The unique identifier of the generator. Must be set for the Generators.
|
3228
|
+
# UpdateGenerator method. Generators.CreateGenerate populates the name
|
3229
|
+
# automatically. Format: `projects//locations//agents//generators/`.
|
3230
|
+
# Corresponds to the JSON property `name`
|
3231
|
+
# @return [String]
|
3232
|
+
attr_accessor :name
|
3233
|
+
|
3234
|
+
# Optional. List of custom placeholders in the prompt text.
|
3235
|
+
# Corresponds to the JSON property `placeholders`
|
3236
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder>]
|
3237
|
+
attr_accessor :placeholders
|
3238
|
+
|
3239
|
+
# Text input which can be used for prompt or banned phrases.
|
3240
|
+
# Corresponds to the JSON property `promptText`
|
3241
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase]
|
3242
|
+
attr_accessor :prompt_text
|
3243
|
+
|
3244
|
+
def initialize(**args)
|
3245
|
+
update!(**args)
|
3246
|
+
end
|
3247
|
+
|
3248
|
+
# Update properties of this object
|
3249
|
+
def update!(**args)
|
3250
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3251
|
+
@name = args[:name] if args.key?(:name)
|
3252
|
+
@placeholders = args[:placeholders] if args.key?(:placeholders)
|
3253
|
+
@prompt_text = args[:prompt_text] if args.key?(:prompt_text)
|
3254
|
+
end
|
3255
|
+
end
|
3256
|
+
|
3257
|
+
# Represents a custom placeholder in the prompt text.
|
3258
|
+
class GoogleCloudDialogflowCxV3GeneratorPlaceholder
|
3259
|
+
include Google::Apis::Core::Hashable
|
3260
|
+
|
3261
|
+
# Unique ID used to map custom placeholder to parameters in fulfillment.
|
3262
|
+
# Corresponds to the JSON property `id`
|
3263
|
+
# @return [String]
|
3264
|
+
attr_accessor :id
|
3265
|
+
|
3266
|
+
# Custom placeholder value in the prompt text.
|
3267
|
+
# Corresponds to the JSON property `name`
|
3268
|
+
# @return [String]
|
3269
|
+
attr_accessor :name
|
3270
|
+
|
3271
|
+
def initialize(**args)
|
3272
|
+
update!(**args)
|
3273
|
+
end
|
3274
|
+
|
3275
|
+
# Update properties of this object
|
3276
|
+
def update!(**args)
|
3277
|
+
@id = args[:id] if args.key?(:id)
|
3278
|
+
@name = args[:name] if args.key?(:name)
|
3279
|
+
end
|
3280
|
+
end
|
3281
|
+
|
3216
3282
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
3217
3283
|
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
3218
3284
|
include Google::Apis::Core::Hashable
|
@@ -3573,13 +3639,9 @@ module Google
|
|
3573
3639
|
# which the API starts speech detection and may inform the client that an
|
3574
3640
|
# utterance has been detected. Note that no-speech event is not expected in this
|
3575
3641
|
# phase. The client provides this configuration in terms of the durations of
|
3576
|
-
# those two phases. The durations are measured in terms of the audio length
|
3577
|
-
#
|
3578
|
-
# without
|
3579
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
3580
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
3581
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
3582
|
-
# any transcript following up.
|
3642
|
+
# those two phases. The durations are measured in terms of the audio length from
|
3643
|
+
# the the start of the input audio. No-speech event is a response with
|
3644
|
+
# END_OF_UTTERANCE without any transcript following up.
|
3583
3645
|
# Corresponds to the JSON property `bargeInConfig`
|
3584
3646
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BargeInConfig]
|
3585
3647
|
attr_accessor :barge_in_config
|
@@ -3593,17 +3655,9 @@ module Google
|
|
3593
3655
|
attr_accessor :enable_word_info
|
3594
3656
|
alias_method :enable_word_info?, :enable_word_info
|
3595
3657
|
|
3596
|
-
# Optional. Which Speech model to select for the given request.
|
3597
|
-
#
|
3598
|
-
#
|
3599
|
-
# InputAudioConfig. If enhanced speech model is enabled for the agent and an
|
3600
|
-
# enhanced version of the specified model for the language does not exist, then
|
3601
|
-
# the speech is recognized using the standard version of the specified model.
|
3602
|
-
# Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
|
3603
|
-
# text/docs/basics#select-model) for more details. If you specify a model, the
|
3604
|
-
# following models typically have the best performance: - phone_call (best for
|
3605
|
-
# Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
|
3606
|
-
# - command_and_search (best for very short utterances and commands)
|
3658
|
+
# Optional. Which Speech model to select for the given request. For more
|
3659
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
|
3660
|
+
# concept/speech-models).
|
3607
3661
|
# Corresponds to the JSON property `model`
|
3608
3662
|
# @return [String]
|
3609
3663
|
attr_accessor :model
|
@@ -4199,6 +4253,33 @@ module Google
|
|
4199
4253
|
end
|
4200
4254
|
end
|
4201
4255
|
|
4256
|
+
# The response message for Generators.ListGenerators.
|
4257
|
+
class GoogleCloudDialogflowCxV3ListGeneratorsResponse
|
4258
|
+
include Google::Apis::Core::Hashable
|
4259
|
+
|
4260
|
+
# The list of generators. There will be a maximum number of items returned based
|
4261
|
+
# on the page_size field in the request.
|
4262
|
+
# Corresponds to the JSON property `generators`
|
4263
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator>]
|
4264
|
+
attr_accessor :generators
|
4265
|
+
|
4266
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
4267
|
+
# results in the list.
|
4268
|
+
# Corresponds to the JSON property `nextPageToken`
|
4269
|
+
# @return [String]
|
4270
|
+
attr_accessor :next_page_token
|
4271
|
+
|
4272
|
+
def initialize(**args)
|
4273
|
+
update!(**args)
|
4274
|
+
end
|
4275
|
+
|
4276
|
+
# Update properties of this object
|
4277
|
+
def update!(**args)
|
4278
|
+
@generators = args[:generators] if args.key?(:generators)
|
4279
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4280
|
+
end
|
4281
|
+
end
|
4282
|
+
|
4202
4283
|
# The response message for Intents.ListIntents.
|
4203
4284
|
class GoogleCloudDialogflowCxV3ListIntentsResponse
|
4204
4285
|
include Google::Apis::Core::Hashable
|
@@ -4958,6 +5039,25 @@ module Google
|
|
4958
5039
|
end
|
4959
5040
|
end
|
4960
5041
|
|
5042
|
+
# Text input which can be used for prompt or banned phrases.
|
5043
|
+
class GoogleCloudDialogflowCxV3Phrase
|
5044
|
+
include Google::Apis::Core::Hashable
|
5045
|
+
|
5046
|
+
# Required. Text input which can be used for prompt or banned phrases.
|
5047
|
+
# Corresponds to the JSON property `text`
|
5048
|
+
# @return [String]
|
5049
|
+
attr_accessor :text
|
5050
|
+
|
5051
|
+
def initialize(**args)
|
5052
|
+
update!(**args)
|
5053
|
+
end
|
5054
|
+
|
5055
|
+
# Update properties of this object
|
5056
|
+
def update!(**args)
|
5057
|
+
@text = args[:text] if args.key?(:text)
|
5058
|
+
end
|
5059
|
+
end
|
5060
|
+
|
4961
5061
|
# Represents the query input. It can contain one of: 1. A conversational query
|
4962
5062
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
4963
5063
|
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
@@ -8102,13 +8202,9 @@ module Google
|
|
8102
8202
|
# which the API starts speech detection and may inform the client that an
|
8103
8203
|
# utterance has been detected. Note that no-speech event is not expected in this
|
8104
8204
|
# phase. The client provides this configuration in terms of the durations of
|
8105
|
-
# those two phases. The durations are measured in terms of the audio length
|
8106
|
-
#
|
8107
|
-
# without
|
8108
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
8109
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
8110
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
8111
|
-
# any transcript following up.
|
8205
|
+
# those two phases. The durations are measured in terms of the audio length from
|
8206
|
+
# the the start of the input audio. No-speech event is a response with
|
8207
|
+
# END_OF_UTTERANCE without any transcript following up.
|
8112
8208
|
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
8113
8209
|
include Google::Apis::Core::Hashable
|
8114
8210
|
|
@@ -9502,13 +9598,9 @@ module Google
|
|
9502
9598
|
# which the API starts speech detection and may inform the client that an
|
9503
9599
|
# utterance has been detected. Note that no-speech event is not expected in this
|
9504
9600
|
# phase. The client provides this configuration in terms of the durations of
|
9505
|
-
# those two phases. The durations are measured in terms of the audio length
|
9506
|
-
#
|
9507
|
-
# without
|
9508
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
9509
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
9510
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
9511
|
-
# any transcript following up.
|
9601
|
+
# those two phases. The durations are measured in terms of the audio length from
|
9602
|
+
# the the start of the input audio. No-speech event is a response with
|
9603
|
+
# END_OF_UTTERANCE without any transcript following up.
|
9512
9604
|
# Corresponds to the JSON property `bargeInConfig`
|
9513
9605
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
9514
9606
|
attr_accessor :barge_in_config
|
@@ -9522,17 +9614,9 @@ module Google
|
|
9522
9614
|
attr_accessor :enable_word_info
|
9523
9615
|
alias_method :enable_word_info?, :enable_word_info
|
9524
9616
|
|
9525
|
-
# Optional. Which Speech model to select for the given request.
|
9526
|
-
#
|
9527
|
-
#
|
9528
|
-
# InputAudioConfig. If enhanced speech model is enabled for the agent and an
|
9529
|
-
# enhanced version of the specified model for the language does not exist, then
|
9530
|
-
# the speech is recognized using the standard version of the specified model.
|
9531
|
-
# Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
|
9532
|
-
# text/docs/basics#select-model) for more details. If you specify a model, the
|
9533
|
-
# following models typically have the best performance: - phone_call (best for
|
9534
|
-
# Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
|
9535
|
-
# - command_and_search (best for very short utterances and commands)
|
9617
|
+
# Optional. Which Speech model to select for the given request. For more
|
9618
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
|
9619
|
+
# concept/speech-models).
|
9536
9620
|
# Corresponds to the JSON property `model`
|
9537
9621
|
# @return [String]
|
9538
9622
|
attr_accessor :model
|
@@ -12054,37 +12138,6 @@ module Google
|
|
12054
12138
|
end
|
12055
12139
|
end
|
12056
12140
|
|
12057
|
-
# A customer-managed encryption key specification that can be applied to all
|
12058
|
-
# created resources (e.g. Conversation).
|
12059
|
-
class GoogleCloudDialogflowV2EncryptionSpec
|
12060
|
-
include Google::Apis::Core::Hashable
|
12061
|
-
|
12062
|
-
# Required. The name of customer-managed encryption key that is used to secure a
|
12063
|
-
# resource and its sub-resources. If empty, the resource is secured by the
|
12064
|
-
# default Google encryption key. Only the key in the same location as this
|
12065
|
-
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
12066
|
-
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
12067
|
-
# Corresponds to the JSON property `kmsKey`
|
12068
|
-
# @return [String]
|
12069
|
-
attr_accessor :kms_key
|
12070
|
-
|
12071
|
-
# Immutable. The resource name of the encryption key specification resource.
|
12072
|
-
# Format: projects/`project`/locations/`location`/encryptionSpec
|
12073
|
-
# Corresponds to the JSON property `name`
|
12074
|
-
# @return [String]
|
12075
|
-
attr_accessor :name
|
12076
|
-
|
12077
|
-
def initialize(**args)
|
12078
|
-
update!(**args)
|
12079
|
-
end
|
12080
|
-
|
12081
|
-
# Update properties of this object
|
12082
|
-
def update!(**args)
|
12083
|
-
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
12084
|
-
@name = args[:name] if args.key?(:name)
|
12085
|
-
end
|
12086
|
-
end
|
12087
|
-
|
12088
12141
|
# Each intent parameter has a type, called the entity type, which dictates
|
12089
12142
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
12090
12143
|
# predefined system entities that can match many common types of data. For
|
@@ -12459,45 +12512,6 @@ module Google
|
|
12459
12512
|
end
|
12460
12513
|
end
|
12461
12514
|
|
12462
|
-
# Metadata for initializing a location-level encryption specification.
|
12463
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
12464
|
-
include Google::Apis::Core::Hashable
|
12465
|
-
|
12466
|
-
# The request to initialize a location-level encryption specification.
|
12467
|
-
# Corresponds to the JSON property `request`
|
12468
|
-
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
|
12469
|
-
attr_accessor :request
|
12470
|
-
|
12471
|
-
def initialize(**args)
|
12472
|
-
update!(**args)
|
12473
|
-
end
|
12474
|
-
|
12475
|
-
# Update properties of this object
|
12476
|
-
def update!(**args)
|
12477
|
-
@request = args[:request] if args.key?(:request)
|
12478
|
-
end
|
12479
|
-
end
|
12480
|
-
|
12481
|
-
# The request to initialize a location-level encryption specification.
|
12482
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
12483
|
-
include Google::Apis::Core::Hashable
|
12484
|
-
|
12485
|
-
# A customer-managed encryption key specification that can be applied to all
|
12486
|
-
# created resources (e.g. Conversation).
|
12487
|
-
# Corresponds to the JSON property `encryptionSpec`
|
12488
|
-
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec]
|
12489
|
-
attr_accessor :encryption_spec
|
12490
|
-
|
12491
|
-
def initialize(**args)
|
12492
|
-
update!(**args)
|
12493
|
-
end
|
12494
|
-
|
12495
|
-
# Update properties of this object
|
12496
|
-
def update!(**args)
|
12497
|
-
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
12498
|
-
end
|
12499
|
-
end
|
12500
|
-
|
12501
12515
|
# InputDataset used to create model or do evaluation. NextID:5
|
12502
12516
|
class GoogleCloudDialogflowV2InputDataset
|
12503
12517
|
include Google::Apis::Core::Hashable
|
@@ -14900,37 +14914,6 @@ module Google
|
|
14900
14914
|
end
|
14901
14915
|
end
|
14902
14916
|
|
14903
|
-
# A customer-managed encryption key specification that can be applied to all
|
14904
|
-
# created resources (e.g. Conversation).
|
14905
|
-
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
14906
|
-
include Google::Apis::Core::Hashable
|
14907
|
-
|
14908
|
-
# Required. The name of customer-managed encryption key that is used to secure a
|
14909
|
-
# resource and its sub-resources. If empty, the resource is secured by the
|
14910
|
-
# default Google encryption key. Only the key in the same location as this
|
14911
|
-
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
14912
|
-
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
14913
|
-
# Corresponds to the JSON property `kmsKey`
|
14914
|
-
# @return [String]
|
14915
|
-
attr_accessor :kms_key
|
14916
|
-
|
14917
|
-
# Immutable. The resource name of the encryption key specification resource.
|
14918
|
-
# Format: projects/`project`/locations/`location`/encryptionSpec
|
14919
|
-
# Corresponds to the JSON property `name`
|
14920
|
-
# @return [String]
|
14921
|
-
attr_accessor :name
|
14922
|
-
|
14923
|
-
def initialize(**args)
|
14924
|
-
update!(**args)
|
14925
|
-
end
|
14926
|
-
|
14927
|
-
# Update properties of this object
|
14928
|
-
def update!(**args)
|
14929
|
-
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
14930
|
-
@name = args[:name] if args.key?(:name)
|
14931
|
-
end
|
14932
|
-
end
|
14933
|
-
|
14934
14917
|
# Each intent parameter has a type, called the entity type, which dictates
|
14935
14918
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
14936
14919
|
# predefined system entities that can match many common types of data. For
|
@@ -15249,45 +15232,6 @@ module Google
|
|
15249
15232
|
end
|
15250
15233
|
end
|
15251
15234
|
|
15252
|
-
# Metadata for initializing a location-level encryption specification.
|
15253
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
15254
|
-
include Google::Apis::Core::Hashable
|
15255
|
-
|
15256
|
-
# The request to initialize a location-level encryption specification.
|
15257
|
-
# Corresponds to the JSON property `request`
|
15258
|
-
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
|
15259
|
-
attr_accessor :request
|
15260
|
-
|
15261
|
-
def initialize(**args)
|
15262
|
-
update!(**args)
|
15263
|
-
end
|
15264
|
-
|
15265
|
-
# Update properties of this object
|
15266
|
-
def update!(**args)
|
15267
|
-
@request = args[:request] if args.key?(:request)
|
15268
|
-
end
|
15269
|
-
end
|
15270
|
-
|
15271
|
-
# The request to initialize a location-level encryption specification.
|
15272
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
15273
|
-
include Google::Apis::Core::Hashable
|
15274
|
-
|
15275
|
-
# A customer-managed encryption key specification that can be applied to all
|
15276
|
-
# created resources (e.g. Conversation).
|
15277
|
-
# Corresponds to the JSON property `encryptionSpec`
|
15278
|
-
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
15279
|
-
attr_accessor :encryption_spec
|
15280
|
-
|
15281
|
-
def initialize(**args)
|
15282
|
-
update!(**args)
|
15283
|
-
end
|
15284
|
-
|
15285
|
-
# Update properties of this object
|
15286
|
-
def update!(**args)
|
15287
|
-
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
15288
|
-
end
|
15289
|
-
end
|
15290
|
-
|
15291
15235
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
15292
15236
|
# each agent, you define many intents, where your combined intents can handle a
|
15293
15237
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3
|
18
18
|
# Version of the google-apis-dialogflow_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.73.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231204"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -538,6 +538,18 @@ module Google
|
|
538
538
|
include Google::Apis::Core::JsonObjectSupport
|
539
539
|
end
|
540
540
|
|
541
|
+
class GoogleCloudDialogflowCxV3Generator
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
547
|
+
class GoogleCloudDialogflowCxV3GeneratorPlaceholder
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
541
553
|
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
542
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
555
|
|
@@ -724,6 +736,12 @@ module Google
|
|
724
736
|
include Google::Apis::Core::JsonObjectSupport
|
725
737
|
end
|
726
738
|
|
739
|
+
class GoogleCloudDialogflowCxV3ListGeneratorsResponse
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
|
+
|
742
|
+
include Google::Apis::Core::JsonObjectSupport
|
743
|
+
end
|
744
|
+
|
727
745
|
class GoogleCloudDialogflowCxV3ListIntentsResponse
|
728
746
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
747
|
|
@@ -844,6 +862,12 @@ module Google
|
|
844
862
|
include Google::Apis::Core::JsonObjectSupport
|
845
863
|
end
|
846
864
|
|
865
|
+
class GoogleCloudDialogflowCxV3Phrase
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
847
871
|
class GoogleCloudDialogflowCxV3QueryInput
|
848
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
873
|
|
@@ -1996,12 +2020,6 @@ module Google
|
|
1996
2020
|
include Google::Apis::Core::JsonObjectSupport
|
1997
2021
|
end
|
1998
2022
|
|
1999
|
-
class GoogleCloudDialogflowV2EncryptionSpec
|
2000
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2001
|
-
|
2002
|
-
include Google::Apis::Core::JsonObjectSupport
|
2003
|
-
end
|
2004
|
-
|
2005
2023
|
class GoogleCloudDialogflowV2EntityType
|
2006
2024
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2007
2025
|
|
@@ -2068,18 +2086,6 @@ module Google
|
|
2068
2086
|
include Google::Apis::Core::JsonObjectSupport
|
2069
2087
|
end
|
2070
2088
|
|
2071
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
2072
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2073
|
-
|
2074
|
-
include Google::Apis::Core::JsonObjectSupport
|
2075
|
-
end
|
2076
|
-
|
2077
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
2078
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2079
|
-
|
2080
|
-
include Google::Apis::Core::JsonObjectSupport
|
2081
|
-
end
|
2082
|
-
|
2083
2089
|
class GoogleCloudDialogflowV2InputDataset
|
2084
2090
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2085
2091
|
|
@@ -2440,12 +2446,6 @@ module Google
|
|
2440
2446
|
include Google::Apis::Core::JsonObjectSupport
|
2441
2447
|
end
|
2442
2448
|
|
2443
|
-
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
2444
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2445
|
-
|
2446
|
-
include Google::Apis::Core::JsonObjectSupport
|
2447
|
-
end
|
2448
|
-
|
2449
2449
|
class GoogleCloudDialogflowV2beta1EntityType
|
2450
2450
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2451
2451
|
|
@@ -2500,18 +2500,6 @@ module Google
|
|
2500
2500
|
include Google::Apis::Core::JsonObjectSupport
|
2501
2501
|
end
|
2502
2502
|
|
2503
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
2504
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2505
|
-
|
2506
|
-
include Google::Apis::Core::JsonObjectSupport
|
2507
|
-
end
|
2508
|
-
|
2509
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
2510
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2511
|
-
|
2512
|
-
include Google::Apis::Core::JsonObjectSupport
|
2513
|
-
end
|
2514
|
-
|
2515
2503
|
class GoogleCloudDialogflowV2beta1Intent
|
2516
2504
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2517
2505
|
|
@@ -3877,6 +3865,26 @@ module Google
|
|
3877
3865
|
end
|
3878
3866
|
end
|
3879
3867
|
|
3868
|
+
class GoogleCloudDialogflowCxV3Generator
|
3869
|
+
# @private
|
3870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3871
|
+
property :display_name, as: 'displayName'
|
3872
|
+
property :name, as: 'name'
|
3873
|
+
collection :placeholders, as: 'placeholders', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder::Representation
|
3874
|
+
|
3875
|
+
property :prompt_text, as: 'promptText', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase::Representation
|
3876
|
+
|
3877
|
+
end
|
3878
|
+
end
|
3879
|
+
|
3880
|
+
class GoogleCloudDialogflowCxV3GeneratorPlaceholder
|
3881
|
+
# @private
|
3882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3883
|
+
property :id, as: 'id'
|
3884
|
+
property :name, as: 'name'
|
3885
|
+
end
|
3886
|
+
end
|
3887
|
+
|
3880
3888
|
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
3881
3889
|
# @private
|
3882
3890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4156,6 +4164,15 @@ module Google
|
|
4156
4164
|
end
|
4157
4165
|
end
|
4158
4166
|
|
4167
|
+
class GoogleCloudDialogflowCxV3ListGeneratorsResponse
|
4168
|
+
# @private
|
4169
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4170
|
+
collection :generators, as: 'generators', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator::Representation
|
4171
|
+
|
4172
|
+
property :next_page_token, as: 'nextPageToken'
|
4173
|
+
end
|
4174
|
+
end
|
4175
|
+
|
4159
4176
|
class GoogleCloudDialogflowCxV3ListIntentsResponse
|
4160
4177
|
# @private
|
4161
4178
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4360,6 +4377,13 @@ module Google
|
|
4360
4377
|
end
|
4361
4378
|
end
|
4362
4379
|
|
4380
|
+
class GoogleCloudDialogflowCxV3Phrase
|
4381
|
+
# @private
|
4382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4383
|
+
property :text, as: 'text'
|
4384
|
+
end
|
4385
|
+
end
|
4386
|
+
|
4363
4387
|
class GoogleCloudDialogflowCxV3QueryInput
|
4364
4388
|
# @private
|
4365
4389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6277,14 +6301,6 @@ module Google
|
|
6277
6301
|
end
|
6278
6302
|
end
|
6279
6303
|
|
6280
|
-
class GoogleCloudDialogflowV2EncryptionSpec
|
6281
|
-
# @private
|
6282
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
6283
|
-
property :kms_key, as: 'kmsKey'
|
6284
|
-
property :name, as: 'name'
|
6285
|
-
end
|
6286
|
-
end
|
6287
|
-
|
6288
6304
|
class GoogleCloudDialogflowV2EntityType
|
6289
6305
|
# @private
|
6290
6306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6386,22 +6402,6 @@ module Google
|
|
6386
6402
|
end
|
6387
6403
|
end
|
6388
6404
|
|
6389
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
6390
|
-
# @private
|
6391
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
6392
|
-
property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
|
6393
|
-
|
6394
|
-
end
|
6395
|
-
end
|
6396
|
-
|
6397
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
6398
|
-
# @private
|
6399
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
6400
|
-
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec::Representation
|
6401
|
-
|
6402
|
-
end
|
6403
|
-
end
|
6404
|
-
|
6405
6405
|
class GoogleCloudDialogflowV2InputDataset
|
6406
6406
|
# @private
|
6407
6407
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7052,14 +7052,6 @@ module Google
|
|
7052
7052
|
end
|
7053
7053
|
end
|
7054
7054
|
|
7055
|
-
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
7056
|
-
# @private
|
7057
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7058
|
-
property :kms_key, as: 'kmsKey'
|
7059
|
-
property :name, as: 'name'
|
7060
|
-
end
|
7061
|
-
end
|
7062
|
-
|
7063
7055
|
class GoogleCloudDialogflowV2beta1EntityType
|
7064
7056
|
# @private
|
7065
7057
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7143,22 +7135,6 @@ module Google
|
|
7143
7135
|
end
|
7144
7136
|
end
|
7145
7137
|
|
7146
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
7147
|
-
# @private
|
7148
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7149
|
-
property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
|
7150
|
-
|
7151
|
-
end
|
7152
|
-
end
|
7153
|
-
|
7154
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
7155
|
-
# @private
|
7156
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7157
|
-
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
|
7158
|
-
|
7159
|
-
end
|
7160
|
-
end
|
7161
|
-
|
7162
7138
|
class GoogleCloudDialogflowV2beta1Intent
|
7163
7139
|
# @private
|
7164
7140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2898,6 +2898,199 @@ module Google
|
|
2898
2898
|
execute_or_queue_command(command, &block)
|
2899
2899
|
end
|
2900
2900
|
|
2901
|
+
# Creates a generator in the specified agent.
|
2902
|
+
# @param [String] parent
|
2903
|
+
# Required. The agent to create a generator for. Format: `projects//locations//
|
2904
|
+
# agents/`.
|
2905
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator] google_cloud_dialogflow_cx_v3_generator_object
|
2906
|
+
# @param [String] language_code
|
2907
|
+
# The language to create generators for the following fields: * `Generator.
|
2908
|
+
# prompt_text.text` If not specified, the agent's default language is used.
|
2909
|
+
# @param [String] fields
|
2910
|
+
# Selector specifying which fields to include in a partial response.
|
2911
|
+
# @param [String] quota_user
|
2912
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2913
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2914
|
+
# @param [Google::Apis::RequestOptions] options
|
2915
|
+
# Request-specific options
|
2916
|
+
#
|
2917
|
+
# @yield [result, err] Result & error if block supplied
|
2918
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator] parsed result object
|
2919
|
+
# @yieldparam err [StandardError] error object if request failed
|
2920
|
+
#
|
2921
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator]
|
2922
|
+
#
|
2923
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2924
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2925
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2926
|
+
def create_project_location_agent_generator(parent, google_cloud_dialogflow_cx_v3_generator_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2927
|
+
command = make_simple_command(:post, 'v3/{+parent}/generators', options)
|
2928
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator::Representation
|
2929
|
+
command.request_object = google_cloud_dialogflow_cx_v3_generator_object
|
2930
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator::Representation
|
2931
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator
|
2932
|
+
command.params['parent'] = parent unless parent.nil?
|
2933
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
2934
|
+
command.query['fields'] = fields unless fields.nil?
|
2935
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2936
|
+
execute_or_queue_command(command, &block)
|
2937
|
+
end
|
2938
|
+
|
2939
|
+
# Deletes the specified generators.
|
2940
|
+
# @param [String] name
|
2941
|
+
# Required. The name of the generator to delete. Format: `projects//locations//
|
2942
|
+
# agents//generators/`.
|
2943
|
+
# @param [Boolean] force
|
2944
|
+
# This field has no effect for generators not being used. For generators that
|
2945
|
+
# are used by pages/flows/transition route groups: * If `force` is set to false,
|
2946
|
+
# an error will be returned with message indicating the referenced resources. *
|
2947
|
+
# If `force` is set to true, Dialogflow will remove the generator, as well as
|
2948
|
+
# any references to the generator (i.e. Generator) in fulfillments.
|
2949
|
+
# @param [String] fields
|
2950
|
+
# Selector specifying which fields to include in a partial response.
|
2951
|
+
# @param [String] quota_user
|
2952
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2953
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2954
|
+
# @param [Google::Apis::RequestOptions] options
|
2955
|
+
# Request-specific options
|
2956
|
+
#
|
2957
|
+
# @yield [result, err] Result & error if block supplied
|
2958
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleProtobufEmpty] parsed result object
|
2959
|
+
# @yieldparam err [StandardError] error object if request failed
|
2960
|
+
#
|
2961
|
+
# @return [Google::Apis::DialogflowV3::GoogleProtobufEmpty]
|
2962
|
+
#
|
2963
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2964
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2965
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2966
|
+
def delete_project_location_agent_generator(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2967
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
2968
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleProtobufEmpty::Representation
|
2969
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleProtobufEmpty
|
2970
|
+
command.params['name'] = name unless name.nil?
|
2971
|
+
command.query['force'] = force unless force.nil?
|
2972
|
+
command.query['fields'] = fields unless fields.nil?
|
2973
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2974
|
+
execute_or_queue_command(command, &block)
|
2975
|
+
end
|
2976
|
+
|
2977
|
+
# Retrieves the specified generator.
|
2978
|
+
# @param [String] name
|
2979
|
+
# Required. The name of the generator. Format: `projects//locations//agents//
|
2980
|
+
# generators/`.
|
2981
|
+
# @param [String] language_code
|
2982
|
+
# The language to list generators for.
|
2983
|
+
# @param [String] fields
|
2984
|
+
# Selector specifying which fields to include in a partial response.
|
2985
|
+
# @param [String] quota_user
|
2986
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2987
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2988
|
+
# @param [Google::Apis::RequestOptions] options
|
2989
|
+
# Request-specific options
|
2990
|
+
#
|
2991
|
+
# @yield [result, err] Result & error if block supplied
|
2992
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator] parsed result object
|
2993
|
+
# @yieldparam err [StandardError] error object if request failed
|
2994
|
+
#
|
2995
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator]
|
2996
|
+
#
|
2997
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2998
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2999
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3000
|
+
def get_project_location_agent_generator(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3001
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
3002
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator::Representation
|
3003
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator
|
3004
|
+
command.params['name'] = name unless name.nil?
|
3005
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3006
|
+
command.query['fields'] = fields unless fields.nil?
|
3007
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3008
|
+
execute_or_queue_command(command, &block)
|
3009
|
+
end
|
3010
|
+
|
3011
|
+
# Returns the list of all generators in the specified agent.
|
3012
|
+
# @param [String] parent
|
3013
|
+
# Required. The agent to list all generators for. Format: `projects//locations//
|
3014
|
+
# agents/`.
|
3015
|
+
# @param [String] language_code
|
3016
|
+
# The language to list generators for.
|
3017
|
+
# @param [Fixnum] page_size
|
3018
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
3019
|
+
# most 1000.
|
3020
|
+
# @param [String] page_token
|
3021
|
+
# The next_page_token value returned from a previous list request.
|
3022
|
+
# @param [String] fields
|
3023
|
+
# Selector specifying which fields to include in a partial response.
|
3024
|
+
# @param [String] quota_user
|
3025
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3026
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3027
|
+
# @param [Google::Apis::RequestOptions] options
|
3028
|
+
# Request-specific options
|
3029
|
+
#
|
3030
|
+
# @yield [result, err] Result & error if block supplied
|
3031
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListGeneratorsResponse] parsed result object
|
3032
|
+
# @yieldparam err [StandardError] error object if request failed
|
3033
|
+
#
|
3034
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListGeneratorsResponse]
|
3035
|
+
#
|
3036
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3037
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3038
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3039
|
+
def list_project_location_agent_generators(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3040
|
+
command = make_simple_command(:get, 'v3/{+parent}/generators', options)
|
3041
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListGeneratorsResponse::Representation
|
3042
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListGeneratorsResponse
|
3043
|
+
command.params['parent'] = parent unless parent.nil?
|
3044
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3045
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3046
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3047
|
+
command.query['fields'] = fields unless fields.nil?
|
3048
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3049
|
+
execute_or_queue_command(command, &block)
|
3050
|
+
end
|
3051
|
+
|
3052
|
+
# Update the specified generator.
|
3053
|
+
# @param [String] name
|
3054
|
+
# The unique identifier of the generator. Must be set for the Generators.
|
3055
|
+
# UpdateGenerator method. Generators.CreateGenerate populates the name
|
3056
|
+
# automatically. Format: `projects//locations//agents//generators/`.
|
3057
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator] google_cloud_dialogflow_cx_v3_generator_object
|
3058
|
+
# @param [String] language_code
|
3059
|
+
# The language to list generators for.
|
3060
|
+
# @param [String] update_mask
|
3061
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
3062
|
+
# fields will be updated.
|
3063
|
+
# @param [String] fields
|
3064
|
+
# Selector specifying which fields to include in a partial response.
|
3065
|
+
# @param [String] quota_user
|
3066
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3067
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3068
|
+
# @param [Google::Apis::RequestOptions] options
|
3069
|
+
# Request-specific options
|
3070
|
+
#
|
3071
|
+
# @yield [result, err] Result & error if block supplied
|
3072
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator] parsed result object
|
3073
|
+
# @yieldparam err [StandardError] error object if request failed
|
3074
|
+
#
|
3075
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator]
|
3076
|
+
#
|
3077
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3078
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3079
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3080
|
+
def patch_project_location_agent_generator(name, google_cloud_dialogflow_cx_v3_generator_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3081
|
+
command = make_simple_command(:patch, 'v3/{+name}', options)
|
3082
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator::Representation
|
3083
|
+
command.request_object = google_cloud_dialogflow_cx_v3_generator_object
|
3084
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator::Representation
|
3085
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator
|
3086
|
+
command.params['name'] = name unless name.nil?
|
3087
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3088
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3089
|
+
command.query['fields'] = fields unless fields.nil?
|
3090
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3091
|
+
execute_or_queue_command(command, &block)
|
3092
|
+
end
|
3093
|
+
|
2901
3094
|
# Creates an intent in the specified agent. Note: You should always train a flow
|
2902
3095
|
# prior to sending it queries. See the [training documentation](https://cloud.
|
2903
3096
|
# google.com/dialogflow/cx/docs/concept/training).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.73.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: 2023-
|
11
|
+
date: 2023-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.73.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|