google-apis-dialogflow_v3beta1 0.71.0 → 0.73.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +134 -190
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +60 -84
- data/lib/google/apis/dialogflow_v3beta1/service.rb +193 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 993e53372d45ee28764c0c9caff97cd1f1ad7769fe8dd474121eafcd5e00e614
|
4
|
+
data.tar.gz: a84971e9478fb819de23a3601da6821263c6c3dc4f9ac981b2e1ea7d5ec6d7ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f541bbb278f9fab7653b092b431c3520bf12834b14598e8c94ecb0454da595d967f3cd8269115f10905fb22ac1b247d0d91c01a2a925567dde3275c2c00bd0d
|
7
|
+
data.tar.gz: 4dd272f4d120b8a22fced362005ce05baee5b18b8c0ec212b45c25937a99c2f655532526cf9cb4e5c044da46aa1de1896ea1c8b811d6a0cc7cf357acd06a1764
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
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
|
@@ -167,13 +167,9 @@ module Google
|
|
167
167
|
# which the API starts speech detection and may inform the client that an
|
168
168
|
# utterance has been detected. Note that no-speech event is not expected in this
|
169
169
|
# phase. The client provides this configuration in terms of the durations of
|
170
|
-
# those two phases. The durations are measured in terms of the audio length
|
171
|
-
#
|
172
|
-
# without
|
173
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
174
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
175
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
176
|
-
# any transcript following up.
|
170
|
+
# those two phases. The durations are measured in terms of the audio length from
|
171
|
+
# the the start of the input audio. No-speech event is a response with
|
172
|
+
# END_OF_UTTERANCE without any transcript following up.
|
177
173
|
class GoogleCloudDialogflowCxV3BargeInConfig
|
178
174
|
include Google::Apis::Core::Hashable
|
179
175
|
|
@@ -1567,13 +1563,9 @@ module Google
|
|
1567
1563
|
# which the API starts speech detection and may inform the client that an
|
1568
1564
|
# utterance has been detected. Note that no-speech event is not expected in this
|
1569
1565
|
# phase. The client provides this configuration in terms of the durations of
|
1570
|
-
# those two phases. The durations are measured in terms of the audio length
|
1571
|
-
#
|
1572
|
-
# without
|
1573
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
1574
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
1575
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
1576
|
-
# any transcript following up.
|
1566
|
+
# those two phases. The durations are measured in terms of the audio length from
|
1567
|
+
# the the start of the input audio. No-speech event is a response with
|
1568
|
+
# END_OF_UTTERANCE without any transcript following up.
|
1577
1569
|
# Corresponds to the JSON property `bargeInConfig`
|
1578
1570
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3BargeInConfig]
|
1579
1571
|
attr_accessor :barge_in_config
|
@@ -1587,17 +1579,9 @@ module Google
|
|
1587
1579
|
attr_accessor :enable_word_info
|
1588
1580
|
alias_method :enable_word_info?, :enable_word_info
|
1589
1581
|
|
1590
|
-
# Optional. Which Speech model to select for the given request.
|
1591
|
-
#
|
1592
|
-
#
|
1593
|
-
# InputAudioConfig. If enhanced speech model is enabled for the agent and an
|
1594
|
-
# enhanced version of the specified model for the language does not exist, then
|
1595
|
-
# the speech is recognized using the standard version of the specified model.
|
1596
|
-
# Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
|
1597
|
-
# text/docs/basics#select-model) for more details. If you specify a model, the
|
1598
|
-
# following models typically have the best performance: - phone_call (best for
|
1599
|
-
# Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
|
1600
|
-
# - command_and_search (best for very short utterances and commands)
|
1582
|
+
# Optional. Which Speech model to select for the given request. For more
|
1583
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
|
1584
|
+
# concept/speech-models).
|
1601
1585
|
# Corresponds to the JSON property `model`
|
1602
1586
|
# @return [String]
|
1603
1587
|
attr_accessor :model
|
@@ -4095,13 +4079,9 @@ module Google
|
|
4095
4079
|
# which the API starts speech detection and may inform the client that an
|
4096
4080
|
# utterance has been detected. Note that no-speech event is not expected in this
|
4097
4081
|
# phase. The client provides this configuration in terms of the durations of
|
4098
|
-
# those two phases. The durations are measured in terms of the audio length
|
4099
|
-
#
|
4100
|
-
# without
|
4101
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
4102
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
4103
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
4104
|
-
# any transcript following up.
|
4082
|
+
# those two phases. The durations are measured in terms of the audio length from
|
4083
|
+
# the the start of the input audio. No-speech event is a response with
|
4084
|
+
# END_OF_UTTERANCE without any transcript following up.
|
4105
4085
|
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
4106
4086
|
include Google::Apis::Core::Hashable
|
4107
4087
|
|
@@ -6799,6 +6779,76 @@ module Google
|
|
6799
6779
|
end
|
6800
6780
|
end
|
6801
6781
|
|
6782
|
+
# Generators contain prompt to be sent to the LLM model to generate text. The
|
6783
|
+
# prompt can contain parameters which will be resolved before calling the model.
|
6784
|
+
# It can optionally contain banned phrases to ensure the model responses are
|
6785
|
+
# safe.
|
6786
|
+
class GoogleCloudDialogflowCxV3beta1Generator
|
6787
|
+
include Google::Apis::Core::Hashable
|
6788
|
+
|
6789
|
+
# Required. The human-readable name of the generator, unique within the agent.
|
6790
|
+
# The prompt contains pre-defined parameters such as $conversation, $last-user-
|
6791
|
+
# utterance, etc. populated by Dialogflow. It can also contain custom
|
6792
|
+
# placeholders which will be resolved during fulfillment.
|
6793
|
+
# Corresponds to the JSON property `displayName`
|
6794
|
+
# @return [String]
|
6795
|
+
attr_accessor :display_name
|
6796
|
+
|
6797
|
+
# The unique identifier of the generator. Must be set for the Generators.
|
6798
|
+
# UpdateGenerator method. Generators.CreateGenerate populates the name
|
6799
|
+
# automatically. Format: `projects//locations//agents//generators/`.
|
6800
|
+
# Corresponds to the JSON property `name`
|
6801
|
+
# @return [String]
|
6802
|
+
attr_accessor :name
|
6803
|
+
|
6804
|
+
# Optional. List of custom placeholders in the prompt text.
|
6805
|
+
# Corresponds to the JSON property `placeholders`
|
6806
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder>]
|
6807
|
+
attr_accessor :placeholders
|
6808
|
+
|
6809
|
+
# Text input which can be used for prompt or banned phrases.
|
6810
|
+
# Corresponds to the JSON property `promptText`
|
6811
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Phrase]
|
6812
|
+
attr_accessor :prompt_text
|
6813
|
+
|
6814
|
+
def initialize(**args)
|
6815
|
+
update!(**args)
|
6816
|
+
end
|
6817
|
+
|
6818
|
+
# Update properties of this object
|
6819
|
+
def update!(**args)
|
6820
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6821
|
+
@name = args[:name] if args.key?(:name)
|
6822
|
+
@placeholders = args[:placeholders] if args.key?(:placeholders)
|
6823
|
+
@prompt_text = args[:prompt_text] if args.key?(:prompt_text)
|
6824
|
+
end
|
6825
|
+
end
|
6826
|
+
|
6827
|
+
# Represents a custom placeholder in the prompt text.
|
6828
|
+
class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
|
6829
|
+
include Google::Apis::Core::Hashable
|
6830
|
+
|
6831
|
+
# Unique ID used to map custom placeholder to parameters in fulfillment.
|
6832
|
+
# Corresponds to the JSON property `id`
|
6833
|
+
# @return [String]
|
6834
|
+
attr_accessor :id
|
6835
|
+
|
6836
|
+
# Custom placeholder value in the prompt text.
|
6837
|
+
# Corresponds to the JSON property `name`
|
6838
|
+
# @return [String]
|
6839
|
+
attr_accessor :name
|
6840
|
+
|
6841
|
+
def initialize(**args)
|
6842
|
+
update!(**args)
|
6843
|
+
end
|
6844
|
+
|
6845
|
+
# Update properties of this object
|
6846
|
+
def update!(**args)
|
6847
|
+
@id = args[:id] if args.key?(:id)
|
6848
|
+
@name = args[:name] if args.key?(:name)
|
6849
|
+
end
|
6850
|
+
end
|
6851
|
+
|
6802
6852
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
6803
6853
|
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
6804
6854
|
include Google::Apis::Core::Hashable
|
@@ -7159,13 +7209,9 @@ module Google
|
|
7159
7209
|
# which the API starts speech detection and may inform the client that an
|
7160
7210
|
# utterance has been detected. Note that no-speech event is not expected in this
|
7161
7211
|
# phase. The client provides this configuration in terms of the durations of
|
7162
|
-
# those two phases. The durations are measured in terms of the audio length
|
7163
|
-
#
|
7164
|
-
# without
|
7165
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
7166
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
7167
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
7168
|
-
# any transcript following up.
|
7212
|
+
# those two phases. The durations are measured in terms of the audio length from
|
7213
|
+
# the the start of the input audio. No-speech event is a response with
|
7214
|
+
# END_OF_UTTERANCE without any transcript following up.
|
7169
7215
|
# Corresponds to the JSON property `bargeInConfig`
|
7170
7216
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
7171
7217
|
attr_accessor :barge_in_config
|
@@ -7179,17 +7225,9 @@ module Google
|
|
7179
7225
|
attr_accessor :enable_word_info
|
7180
7226
|
alias_method :enable_word_info?, :enable_word_info
|
7181
7227
|
|
7182
|
-
# Optional. Which Speech model to select for the given request.
|
7183
|
-
#
|
7184
|
-
#
|
7185
|
-
# InputAudioConfig. If enhanced speech model is enabled for the agent and an
|
7186
|
-
# enhanced version of the specified model for the language does not exist, then
|
7187
|
-
# the speech is recognized using the standard version of the specified model.
|
7188
|
-
# Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
|
7189
|
-
# text/docs/basics#select-model) for more details. If you specify a model, the
|
7190
|
-
# following models typically have the best performance: - phone_call (best for
|
7191
|
-
# Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
|
7192
|
-
# - command_and_search (best for very short utterances and commands)
|
7228
|
+
# Optional. Which Speech model to select for the given request. For more
|
7229
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
|
7230
|
+
# concept/speech-models).
|
7193
7231
|
# Corresponds to the JSON property `model`
|
7194
7232
|
# @return [String]
|
7195
7233
|
attr_accessor :model
|
@@ -7785,6 +7823,33 @@ module Google
|
|
7785
7823
|
end
|
7786
7824
|
end
|
7787
7825
|
|
7826
|
+
# The response message for Generators.ListGenerators.
|
7827
|
+
class GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse
|
7828
|
+
include Google::Apis::Core::Hashable
|
7829
|
+
|
7830
|
+
# The list of generators. There will be a maximum number of items returned based
|
7831
|
+
# on the page_size field in the request.
|
7832
|
+
# Corresponds to the JSON property `generators`
|
7833
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator>]
|
7834
|
+
attr_accessor :generators
|
7835
|
+
|
7836
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
7837
|
+
# results in the list.
|
7838
|
+
# Corresponds to the JSON property `nextPageToken`
|
7839
|
+
# @return [String]
|
7840
|
+
attr_accessor :next_page_token
|
7841
|
+
|
7842
|
+
def initialize(**args)
|
7843
|
+
update!(**args)
|
7844
|
+
end
|
7845
|
+
|
7846
|
+
# Update properties of this object
|
7847
|
+
def update!(**args)
|
7848
|
+
@generators = args[:generators] if args.key?(:generators)
|
7849
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
7850
|
+
end
|
7851
|
+
end
|
7852
|
+
|
7788
7853
|
# The response message for Intents.ListIntents.
|
7789
7854
|
class GoogleCloudDialogflowCxV3beta1ListIntentsResponse
|
7790
7855
|
include Google::Apis::Core::Hashable
|
@@ -8544,6 +8609,25 @@ module Google
|
|
8544
8609
|
end
|
8545
8610
|
end
|
8546
8611
|
|
8612
|
+
# Text input which can be used for prompt or banned phrases.
|
8613
|
+
class GoogleCloudDialogflowCxV3beta1Phrase
|
8614
|
+
include Google::Apis::Core::Hashable
|
8615
|
+
|
8616
|
+
# Required. Text input which can be used for prompt or banned phrases.
|
8617
|
+
# Corresponds to the JSON property `text`
|
8618
|
+
# @return [String]
|
8619
|
+
attr_accessor :text
|
8620
|
+
|
8621
|
+
def initialize(**args)
|
8622
|
+
update!(**args)
|
8623
|
+
end
|
8624
|
+
|
8625
|
+
# Update properties of this object
|
8626
|
+
def update!(**args)
|
8627
|
+
@text = args[:text] if args.key?(:text)
|
8628
|
+
end
|
8629
|
+
end
|
8630
|
+
|
8547
8631
|
# Represents the query input. It can contain one of: 1. A conversational query
|
8548
8632
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
8549
8633
|
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
@@ -12058,37 +12142,6 @@ module Google
|
|
12058
12142
|
end
|
12059
12143
|
end
|
12060
12144
|
|
12061
|
-
# A customer-managed encryption key specification that can be applied to all
|
12062
|
-
# created resources (e.g. Conversation).
|
12063
|
-
class GoogleCloudDialogflowV2EncryptionSpec
|
12064
|
-
include Google::Apis::Core::Hashable
|
12065
|
-
|
12066
|
-
# Required. The name of customer-managed encryption key that is used to secure a
|
12067
|
-
# resource and its sub-resources. If empty, the resource is secured by the
|
12068
|
-
# default Google encryption key. Only the key in the same location as this
|
12069
|
-
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
12070
|
-
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
12071
|
-
# Corresponds to the JSON property `kmsKey`
|
12072
|
-
# @return [String]
|
12073
|
-
attr_accessor :kms_key
|
12074
|
-
|
12075
|
-
# Immutable. The resource name of the encryption key specification resource.
|
12076
|
-
# Format: projects/`project`/locations/`location`/encryptionSpec
|
12077
|
-
# Corresponds to the JSON property `name`
|
12078
|
-
# @return [String]
|
12079
|
-
attr_accessor :name
|
12080
|
-
|
12081
|
-
def initialize(**args)
|
12082
|
-
update!(**args)
|
12083
|
-
end
|
12084
|
-
|
12085
|
-
# Update properties of this object
|
12086
|
-
def update!(**args)
|
12087
|
-
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
12088
|
-
@name = args[:name] if args.key?(:name)
|
12089
|
-
end
|
12090
|
-
end
|
12091
|
-
|
12092
12145
|
# Each intent parameter has a type, called the entity type, which dictates
|
12093
12146
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
12094
12147
|
# predefined system entities that can match many common types of data. For
|
@@ -12463,45 +12516,6 @@ module Google
|
|
12463
12516
|
end
|
12464
12517
|
end
|
12465
12518
|
|
12466
|
-
# Metadata for initializing a location-level encryption specification.
|
12467
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
12468
|
-
include Google::Apis::Core::Hashable
|
12469
|
-
|
12470
|
-
# The request to initialize a location-level encryption specification.
|
12471
|
-
# Corresponds to the JSON property `request`
|
12472
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
|
12473
|
-
attr_accessor :request
|
12474
|
-
|
12475
|
-
def initialize(**args)
|
12476
|
-
update!(**args)
|
12477
|
-
end
|
12478
|
-
|
12479
|
-
# Update properties of this object
|
12480
|
-
def update!(**args)
|
12481
|
-
@request = args[:request] if args.key?(:request)
|
12482
|
-
end
|
12483
|
-
end
|
12484
|
-
|
12485
|
-
# The request to initialize a location-level encryption specification.
|
12486
|
-
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
12487
|
-
include Google::Apis::Core::Hashable
|
12488
|
-
|
12489
|
-
# A customer-managed encryption key specification that can be applied to all
|
12490
|
-
# created resources (e.g. Conversation).
|
12491
|
-
# Corresponds to the JSON property `encryptionSpec`
|
12492
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec]
|
12493
|
-
attr_accessor :encryption_spec
|
12494
|
-
|
12495
|
-
def initialize(**args)
|
12496
|
-
update!(**args)
|
12497
|
-
end
|
12498
|
-
|
12499
|
-
# Update properties of this object
|
12500
|
-
def update!(**args)
|
12501
|
-
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
12502
|
-
end
|
12503
|
-
end
|
12504
|
-
|
12505
12519
|
# InputDataset used to create model or do evaluation. NextID:5
|
12506
12520
|
class GoogleCloudDialogflowV2InputDataset
|
12507
12521
|
include Google::Apis::Core::Hashable
|
@@ -14904,37 +14918,6 @@ module Google
|
|
14904
14918
|
end
|
14905
14919
|
end
|
14906
14920
|
|
14907
|
-
# A customer-managed encryption key specification that can be applied to all
|
14908
|
-
# created resources (e.g. Conversation).
|
14909
|
-
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
14910
|
-
include Google::Apis::Core::Hashable
|
14911
|
-
|
14912
|
-
# Required. The name of customer-managed encryption key that is used to secure a
|
14913
|
-
# resource and its sub-resources. If empty, the resource is secured by the
|
14914
|
-
# default Google encryption key. Only the key in the same location as this
|
14915
|
-
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
14916
|
-
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
14917
|
-
# Corresponds to the JSON property `kmsKey`
|
14918
|
-
# @return [String]
|
14919
|
-
attr_accessor :kms_key
|
14920
|
-
|
14921
|
-
# Immutable. The resource name of the encryption key specification resource.
|
14922
|
-
# Format: projects/`project`/locations/`location`/encryptionSpec
|
14923
|
-
# Corresponds to the JSON property `name`
|
14924
|
-
# @return [String]
|
14925
|
-
attr_accessor :name
|
14926
|
-
|
14927
|
-
def initialize(**args)
|
14928
|
-
update!(**args)
|
14929
|
-
end
|
14930
|
-
|
14931
|
-
# Update properties of this object
|
14932
|
-
def update!(**args)
|
14933
|
-
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
14934
|
-
@name = args[:name] if args.key?(:name)
|
14935
|
-
end
|
14936
|
-
end
|
14937
|
-
|
14938
14921
|
# Each intent parameter has a type, called the entity type, which dictates
|
14939
14922
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
14940
14923
|
# predefined system entities that can match many common types of data. For
|
@@ -15253,45 +15236,6 @@ module Google
|
|
15253
15236
|
end
|
15254
15237
|
end
|
15255
15238
|
|
15256
|
-
# Metadata for initializing a location-level encryption specification.
|
15257
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
15258
|
-
include Google::Apis::Core::Hashable
|
15259
|
-
|
15260
|
-
# The request to initialize a location-level encryption specification.
|
15261
|
-
# Corresponds to the JSON property `request`
|
15262
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
|
15263
|
-
attr_accessor :request
|
15264
|
-
|
15265
|
-
def initialize(**args)
|
15266
|
-
update!(**args)
|
15267
|
-
end
|
15268
|
-
|
15269
|
-
# Update properties of this object
|
15270
|
-
def update!(**args)
|
15271
|
-
@request = args[:request] if args.key?(:request)
|
15272
|
-
end
|
15273
|
-
end
|
15274
|
-
|
15275
|
-
# The request to initialize a location-level encryption specification.
|
15276
|
-
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
15277
|
-
include Google::Apis::Core::Hashable
|
15278
|
-
|
15279
|
-
# A customer-managed encryption key specification that can be applied to all
|
15280
|
-
# created resources (e.g. Conversation).
|
15281
|
-
# Corresponds to the JSON property `encryptionSpec`
|
15282
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
15283
|
-
attr_accessor :encryption_spec
|
15284
|
-
|
15285
|
-
def initialize(**args)
|
15286
|
-
update!(**args)
|
15287
|
-
end
|
15288
|
-
|
15289
|
-
# Update properties of this object
|
15290
|
-
def update!(**args)
|
15291
|
-
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
15292
|
-
end
|
15293
|
-
end
|
15294
|
-
|
15295
15239
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
15296
15240
|
# each agent, you define many intents, where your combined intents can handle a
|
15297
15241
|
# 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 DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 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
|
@@ -1132,6 +1132,18 @@ module Google
|
|
1132
1132
|
include Google::Apis::Core::JsonObjectSupport
|
1133
1133
|
end
|
1134
1134
|
|
1135
|
+
class GoogleCloudDialogflowCxV3beta1Generator
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
|
+
|
1138
|
+
include Google::Apis::Core::JsonObjectSupport
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
|
+
|
1144
|
+
include Google::Apis::Core::JsonObjectSupport
|
1145
|
+
end
|
1146
|
+
|
1135
1147
|
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
1136
1148
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
1149
|
|
@@ -1318,6 +1330,12 @@ module Google
|
|
1318
1330
|
include Google::Apis::Core::JsonObjectSupport
|
1319
1331
|
end
|
1320
1332
|
|
1333
|
+
class GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse
|
1334
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1335
|
+
|
1336
|
+
include Google::Apis::Core::JsonObjectSupport
|
1337
|
+
end
|
1338
|
+
|
1321
1339
|
class GoogleCloudDialogflowCxV3beta1ListIntentsResponse
|
1322
1340
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1323
1341
|
|
@@ -1438,6 +1456,12 @@ module Google
|
|
1438
1456
|
include Google::Apis::Core::JsonObjectSupport
|
1439
1457
|
end
|
1440
1458
|
|
1459
|
+
class GoogleCloudDialogflowCxV3beta1Phrase
|
1460
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1461
|
+
|
1462
|
+
include Google::Apis::Core::JsonObjectSupport
|
1463
|
+
end
|
1464
|
+
|
1441
1465
|
class GoogleCloudDialogflowCxV3beta1QueryInput
|
1442
1466
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1443
1467
|
|
@@ -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
|
|
@@ -4853,6 +4841,26 @@ module Google
|
|
4853
4841
|
end
|
4854
4842
|
end
|
4855
4843
|
|
4844
|
+
class GoogleCloudDialogflowCxV3beta1Generator
|
4845
|
+
# @private
|
4846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4847
|
+
property :display_name, as: 'displayName'
|
4848
|
+
property :name, as: 'name'
|
4849
|
+
collection :placeholders, as: 'placeholders', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder::Representation
|
4850
|
+
|
4851
|
+
property :prompt_text, as: 'promptText', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Phrase, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Phrase::Representation
|
4852
|
+
|
4853
|
+
end
|
4854
|
+
end
|
4855
|
+
|
4856
|
+
class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
|
4857
|
+
# @private
|
4858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4859
|
+
property :id, as: 'id'
|
4860
|
+
property :name, as: 'name'
|
4861
|
+
end
|
4862
|
+
end
|
4863
|
+
|
4856
4864
|
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
4857
4865
|
# @private
|
4858
4866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5132,6 +5140,15 @@ module Google
|
|
5132
5140
|
end
|
5133
5141
|
end
|
5134
5142
|
|
5143
|
+
class GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse
|
5144
|
+
# @private
|
5145
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5146
|
+
collection :generators, as: 'generators', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator::Representation
|
5147
|
+
|
5148
|
+
property :next_page_token, as: 'nextPageToken'
|
5149
|
+
end
|
5150
|
+
end
|
5151
|
+
|
5135
5152
|
class GoogleCloudDialogflowCxV3beta1ListIntentsResponse
|
5136
5153
|
# @private
|
5137
5154
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5336,6 +5353,13 @@ module Google
|
|
5336
5353
|
end
|
5337
5354
|
end
|
5338
5355
|
|
5356
|
+
class GoogleCloudDialogflowCxV3beta1Phrase
|
5357
|
+
# @private
|
5358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5359
|
+
property :text, as: 'text'
|
5360
|
+
end
|
5361
|
+
end
|
5362
|
+
|
5339
5363
|
class GoogleCloudDialogflowCxV3beta1QueryInput
|
5340
5364
|
# @private
|
5341
5365
|
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::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
|
7158
|
-
|
7159
|
-
end
|
7160
|
-
end
|
7161
|
-
|
7162
7138
|
class GoogleCloudDialogflowV2beta1Intent
|
7163
7139
|
# @private
|
7164
7140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2891,6 +2891,199 @@ module Google
|
|
2891
2891
|
execute_or_queue_command(command, &block)
|
2892
2892
|
end
|
2893
2893
|
|
2894
|
+
# Creates a generator in the specified agent.
|
2895
|
+
# @param [String] parent
|
2896
|
+
# Required. The agent to create a generator for. Format: `projects//locations//
|
2897
|
+
# agents/`.
|
2898
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator] google_cloud_dialogflow_cx_v3beta1_generator_object
|
2899
|
+
# @param [String] language_code
|
2900
|
+
# The language to create generators for the following fields: * `Generator.
|
2901
|
+
# prompt_text.text` If not specified, the agent's default language is used.
|
2902
|
+
# @param [String] fields
|
2903
|
+
# Selector specifying which fields to include in a partial response.
|
2904
|
+
# @param [String] quota_user
|
2905
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2906
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2907
|
+
# @param [Google::Apis::RequestOptions] options
|
2908
|
+
# Request-specific options
|
2909
|
+
#
|
2910
|
+
# @yield [result, err] Result & error if block supplied
|
2911
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator] parsed result object
|
2912
|
+
# @yieldparam err [StandardError] error object if request failed
|
2913
|
+
#
|
2914
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator]
|
2915
|
+
#
|
2916
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2917
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2918
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2919
|
+
def create_project_location_agent_generator(parent, google_cloud_dialogflow_cx_v3beta1_generator_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2920
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/generators', options)
|
2921
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator::Representation
|
2922
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_generator_object
|
2923
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator::Representation
|
2924
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator
|
2925
|
+
command.params['parent'] = parent unless parent.nil?
|
2926
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
2927
|
+
command.query['fields'] = fields unless fields.nil?
|
2928
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2929
|
+
execute_or_queue_command(command, &block)
|
2930
|
+
end
|
2931
|
+
|
2932
|
+
# Deletes the specified generators.
|
2933
|
+
# @param [String] name
|
2934
|
+
# Required. The name of the generator to delete. Format: `projects//locations//
|
2935
|
+
# agents//generators/`.
|
2936
|
+
# @param [Boolean] force
|
2937
|
+
# This field has no effect for generators not being used. For generators that
|
2938
|
+
# are used by pages/flows/transition route groups: * If `force` is set to false,
|
2939
|
+
# an error will be returned with message indicating the referenced resources. *
|
2940
|
+
# If `force` is set to true, Dialogflow will remove the generator, as well as
|
2941
|
+
# any references to the generator (i.e. Generator) in fulfillments.
|
2942
|
+
# @param [String] fields
|
2943
|
+
# Selector specifying which fields to include in a partial response.
|
2944
|
+
# @param [String] quota_user
|
2945
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2946
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2947
|
+
# @param [Google::Apis::RequestOptions] options
|
2948
|
+
# Request-specific options
|
2949
|
+
#
|
2950
|
+
# @yield [result, err] Result & error if block supplied
|
2951
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
2952
|
+
# @yieldparam err [StandardError] error object if request failed
|
2953
|
+
#
|
2954
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
2955
|
+
#
|
2956
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2957
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2958
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2959
|
+
def delete_project_location_agent_generator(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2960
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
2961
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
2962
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
2963
|
+
command.params['name'] = name unless name.nil?
|
2964
|
+
command.query['force'] = force unless force.nil?
|
2965
|
+
command.query['fields'] = fields unless fields.nil?
|
2966
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2967
|
+
execute_or_queue_command(command, &block)
|
2968
|
+
end
|
2969
|
+
|
2970
|
+
# Retrieves the specified generator.
|
2971
|
+
# @param [String] name
|
2972
|
+
# Required. The name of the generator. Format: `projects//locations//agents//
|
2973
|
+
# generators/`.
|
2974
|
+
# @param [String] language_code
|
2975
|
+
# The language to list generators for.
|
2976
|
+
# @param [String] fields
|
2977
|
+
# Selector specifying which fields to include in a partial response.
|
2978
|
+
# @param [String] quota_user
|
2979
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2980
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2981
|
+
# @param [Google::Apis::RequestOptions] options
|
2982
|
+
# Request-specific options
|
2983
|
+
#
|
2984
|
+
# @yield [result, err] Result & error if block supplied
|
2985
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator] parsed result object
|
2986
|
+
# @yieldparam err [StandardError] error object if request failed
|
2987
|
+
#
|
2988
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator]
|
2989
|
+
#
|
2990
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2991
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2992
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2993
|
+
def get_project_location_agent_generator(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2994
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
2995
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator::Representation
|
2996
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator
|
2997
|
+
command.params['name'] = name unless name.nil?
|
2998
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
2999
|
+
command.query['fields'] = fields unless fields.nil?
|
3000
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3001
|
+
execute_or_queue_command(command, &block)
|
3002
|
+
end
|
3003
|
+
|
3004
|
+
# Returns the list of all generators in the specified agent.
|
3005
|
+
# @param [String] parent
|
3006
|
+
# Required. The agent to list all generators for. Format: `projects//locations//
|
3007
|
+
# agents/`.
|
3008
|
+
# @param [String] language_code
|
3009
|
+
# The language to list generators for.
|
3010
|
+
# @param [Fixnum] page_size
|
3011
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
3012
|
+
# most 1000.
|
3013
|
+
# @param [String] page_token
|
3014
|
+
# The next_page_token value returned from a previous list request.
|
3015
|
+
# @param [String] fields
|
3016
|
+
# Selector specifying which fields to include in a partial response.
|
3017
|
+
# @param [String] quota_user
|
3018
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3019
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3020
|
+
# @param [Google::Apis::RequestOptions] options
|
3021
|
+
# Request-specific options
|
3022
|
+
#
|
3023
|
+
# @yield [result, err] Result & error if block supplied
|
3024
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse] parsed result object
|
3025
|
+
# @yieldparam err [StandardError] error object if request failed
|
3026
|
+
#
|
3027
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse]
|
3028
|
+
#
|
3029
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3030
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3031
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3032
|
+
def list_project_location_agent_generators(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3033
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/generators', options)
|
3034
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse::Representation
|
3035
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse
|
3036
|
+
command.params['parent'] = parent unless parent.nil?
|
3037
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3038
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3039
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3040
|
+
command.query['fields'] = fields unless fields.nil?
|
3041
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3042
|
+
execute_or_queue_command(command, &block)
|
3043
|
+
end
|
3044
|
+
|
3045
|
+
# Update the specified generator.
|
3046
|
+
# @param [String] name
|
3047
|
+
# The unique identifier of the generator. Must be set for the Generators.
|
3048
|
+
# UpdateGenerator method. Generators.CreateGenerate populates the name
|
3049
|
+
# automatically. Format: `projects//locations//agents//generators/`.
|
3050
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator] google_cloud_dialogflow_cx_v3beta1_generator_object
|
3051
|
+
# @param [String] language_code
|
3052
|
+
# The language to list generators for.
|
3053
|
+
# @param [String] update_mask
|
3054
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
3055
|
+
# fields will be updated.
|
3056
|
+
# @param [String] fields
|
3057
|
+
# Selector specifying which fields to include in a partial response.
|
3058
|
+
# @param [String] quota_user
|
3059
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3060
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3061
|
+
# @param [Google::Apis::RequestOptions] options
|
3062
|
+
# Request-specific options
|
3063
|
+
#
|
3064
|
+
# @yield [result, err] Result & error if block supplied
|
3065
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator] parsed result object
|
3066
|
+
# @yieldparam err [StandardError] error object if request failed
|
3067
|
+
#
|
3068
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator]
|
3069
|
+
#
|
3070
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3071
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3072
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3073
|
+
def patch_project_location_agent_generator(name, google_cloud_dialogflow_cx_v3beta1_generator_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3074
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
3075
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator::Representation
|
3076
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_generator_object
|
3077
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator::Representation
|
3078
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Generator
|
3079
|
+
command.params['name'] = name unless name.nil?
|
3080
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3081
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3082
|
+
command.query['fields'] = fields unless fields.nil?
|
3083
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3084
|
+
execute_or_queue_command(command, &block)
|
3085
|
+
end
|
3086
|
+
|
2894
3087
|
# Creates an intent in the specified agent. Note: You should always train a flow
|
2895
3088
|
# prior to sending it queries. See the [training documentation](https://cloud.
|
2896
3089
|
# 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_v3beta1
|
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_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.73.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|