google-apis-dialogflow_v3 0.68.0 → 0.69.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87ae2e92e78fb807fc6d8b7340e6d85f93870c59b9d88c0d765f97a75149d6a3
|
4
|
+
data.tar.gz: 0d1ba2b029decedb77b347e99193962b18e54b232f5b87aedec627ecef2b30ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d226bff06b23bbb846b42192f2b6ca53af48660c1745ce4847ad2e195c7a6240aebcd7aa39e58baec1577d1d996994b42c6565ca55449d1b9a580b45db6818db
|
7
|
+
data.tar.gz: 1b7d68646069e69a44d2f279e8e3787d3fc4d05e494fb82dfab45ca319978e1f93576d7373d38a2ae208ffa4b0256ff378e97e7d66ed237e216dfdfd5f10d427
|
data/CHANGELOG.md
CHANGED
@@ -2027,6 +2027,91 @@ module Google
|
|
2027
2027
|
end
|
2028
2028
|
end
|
2029
2029
|
|
2030
|
+
# Metadata returned for the Intents.ExportIntents long running operation.
|
2031
|
+
class GoogleCloudDialogflowCxV3ExportIntentsMetadata
|
2032
|
+
include Google::Apis::Core::Hashable
|
2033
|
+
|
2034
|
+
def initialize(**args)
|
2035
|
+
update!(**args)
|
2036
|
+
end
|
2037
|
+
|
2038
|
+
# Update properties of this object
|
2039
|
+
def update!(**args)
|
2040
|
+
end
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
# The request message for Intents.ExportIntents.
|
2044
|
+
class GoogleCloudDialogflowCxV3ExportIntentsRequest
|
2045
|
+
include Google::Apis::Core::Hashable
|
2046
|
+
|
2047
|
+
# Optional. The data format of the exported intents. If not specified, `BLOB` is
|
2048
|
+
# assumed.
|
2049
|
+
# Corresponds to the JSON property `dataFormat`
|
2050
|
+
# @return [String]
|
2051
|
+
attr_accessor :data_format
|
2052
|
+
|
2053
|
+
# Required. The name of the intents to export. Format: `projects//locations//
|
2054
|
+
# agents//intents/`.
|
2055
|
+
# Corresponds to the JSON property `intents`
|
2056
|
+
# @return [Array<String>]
|
2057
|
+
attr_accessor :intents
|
2058
|
+
|
2059
|
+
# Optional. The option to return the serialized intents inline.
|
2060
|
+
# Corresponds to the JSON property `intentsContentInline`
|
2061
|
+
# @return [Boolean]
|
2062
|
+
attr_accessor :intents_content_inline
|
2063
|
+
alias_method :intents_content_inline?, :intents_content_inline
|
2064
|
+
|
2065
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
2066
|
+
# URI to export the intents to. The format of this URI must be `gs:///`.
|
2067
|
+
# Dialogflow performs a write operation for the Cloud Storage object on the
|
2068
|
+
# caller's behalf, so your request authentication must have write permissions
|
2069
|
+
# for the object. For more information, see [Dialogflow access control](https://
|
2070
|
+
# cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
2071
|
+
# Corresponds to the JSON property `intentsUri`
|
2072
|
+
# @return [String]
|
2073
|
+
attr_accessor :intents_uri
|
2074
|
+
|
2075
|
+
def initialize(**args)
|
2076
|
+
update!(**args)
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
# Update properties of this object
|
2080
|
+
def update!(**args)
|
2081
|
+
@data_format = args[:data_format] if args.key?(:data_format)
|
2082
|
+
@intents = args[:intents] if args.key?(:intents)
|
2083
|
+
@intents_content_inline = args[:intents_content_inline] if args.key?(:intents_content_inline)
|
2084
|
+
@intents_uri = args[:intents_uri] if args.key?(:intents_uri)
|
2085
|
+
end
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
# The response message for Intents.ExportIntents.
|
2089
|
+
class GoogleCloudDialogflowCxV3ExportIntentsResponse
|
2090
|
+
include Google::Apis::Core::Hashable
|
2091
|
+
|
2092
|
+
# Inline destination for a Dialogflow operation that writes or exports objects (
|
2093
|
+
# e.g. intents) outside of Dialogflow.
|
2094
|
+
# Corresponds to the JSON property `intentsContent`
|
2095
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination]
|
2096
|
+
attr_accessor :intents_content
|
2097
|
+
|
2098
|
+
# The URI to a file containing the exported intents. This field is populated
|
2099
|
+
# only if `intents_uri` is specified in ExportIntentsRequest.
|
2100
|
+
# Corresponds to the JSON property `intentsUri`
|
2101
|
+
# @return [String]
|
2102
|
+
attr_accessor :intents_uri
|
2103
|
+
|
2104
|
+
def initialize(**args)
|
2105
|
+
update!(**args)
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
# Update properties of this object
|
2109
|
+
def update!(**args)
|
2110
|
+
@intents_content = args[:intents_content] if args.key?(:intents_content)
|
2111
|
+
@intents_uri = args[:intents_uri] if args.key?(:intents_uri)
|
2112
|
+
end
|
2113
|
+
end
|
2114
|
+
|
2030
2115
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
2031
2116
|
# This message currently has no fields.
|
2032
2117
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
@@ -2996,6 +3081,111 @@ module Google
|
|
2996
3081
|
end
|
2997
3082
|
end
|
2998
3083
|
|
3084
|
+
# Metadata returned for the Intents.ImportIntents long running operation.
|
3085
|
+
class GoogleCloudDialogflowCxV3ImportIntentsMetadata
|
3086
|
+
include Google::Apis::Core::Hashable
|
3087
|
+
|
3088
|
+
def initialize(**args)
|
3089
|
+
update!(**args)
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
# Update properties of this object
|
3093
|
+
def update!(**args)
|
3094
|
+
end
|
3095
|
+
end
|
3096
|
+
|
3097
|
+
# The request message for Intents.ImportIntents.
|
3098
|
+
class GoogleCloudDialogflowCxV3ImportIntentsRequest
|
3099
|
+
include Google::Apis::Core::Hashable
|
3100
|
+
|
3101
|
+
# Inline source for a Dialogflow operation that reads or imports objects (e.g.
|
3102
|
+
# intents) into Dialogflow.
|
3103
|
+
# Corresponds to the JSON property `intentsContent`
|
3104
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource]
|
3105
|
+
attr_accessor :intents_content
|
3106
|
+
|
3107
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
3108
|
+
# import intents from. The format of this URI must be `gs:///`. Dialogflow
|
3109
|
+
# performs a read operation for the Cloud Storage object on the caller's behalf,
|
3110
|
+
# so your request authentication must have read permissions for the object. For
|
3111
|
+
# more information, see [Dialogflow access control](https://cloud.google.com/
|
3112
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
3113
|
+
# Corresponds to the JSON property `intentsUri`
|
3114
|
+
# @return [String]
|
3115
|
+
attr_accessor :intents_uri
|
3116
|
+
|
3117
|
+
# Merge option for importing intents. If not specified, `REJECT` is assumed.
|
3118
|
+
# Corresponds to the JSON property `mergeOption`
|
3119
|
+
# @return [String]
|
3120
|
+
attr_accessor :merge_option
|
3121
|
+
|
3122
|
+
def initialize(**args)
|
3123
|
+
update!(**args)
|
3124
|
+
end
|
3125
|
+
|
3126
|
+
# Update properties of this object
|
3127
|
+
def update!(**args)
|
3128
|
+
@intents_content = args[:intents_content] if args.key?(:intents_content)
|
3129
|
+
@intents_uri = args[:intents_uri] if args.key?(:intents_uri)
|
3130
|
+
@merge_option = args[:merge_option] if args.key?(:merge_option)
|
3131
|
+
end
|
3132
|
+
end
|
3133
|
+
|
3134
|
+
# The response message for Intents.ImportIntents.
|
3135
|
+
class GoogleCloudDialogflowCxV3ImportIntentsResponse
|
3136
|
+
include Google::Apis::Core::Hashable
|
3137
|
+
|
3138
|
+
# Conflicting resources detected during the import process. Only filled when
|
3139
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
3140
|
+
# names.
|
3141
|
+
# Corresponds to the JSON property `conflictingResources`
|
3142
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources]
|
3143
|
+
attr_accessor :conflicting_resources
|
3144
|
+
|
3145
|
+
# The unique identifier of the imported intents. Format: `projects//locations//
|
3146
|
+
# agents//intents/`.
|
3147
|
+
# Corresponds to the JSON property `intents`
|
3148
|
+
# @return [Array<String>]
|
3149
|
+
attr_accessor :intents
|
3150
|
+
|
3151
|
+
def initialize(**args)
|
3152
|
+
update!(**args)
|
3153
|
+
end
|
3154
|
+
|
3155
|
+
# Update properties of this object
|
3156
|
+
def update!(**args)
|
3157
|
+
@conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
|
3158
|
+
@intents = args[:intents] if args.key?(:intents)
|
3159
|
+
end
|
3160
|
+
end
|
3161
|
+
|
3162
|
+
# Conflicting resources detected during the import process. Only filled when
|
3163
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
3164
|
+
# names.
|
3165
|
+
class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources
|
3166
|
+
include Google::Apis::Core::Hashable
|
3167
|
+
|
3168
|
+
# Display names of conflicting entities.
|
3169
|
+
# Corresponds to the JSON property `entityDisplayNames`
|
3170
|
+
# @return [Array<String>]
|
3171
|
+
attr_accessor :entity_display_names
|
3172
|
+
|
3173
|
+
# Display names of conflicting intents.
|
3174
|
+
# Corresponds to the JSON property `intentDisplayNames`
|
3175
|
+
# @return [Array<String>]
|
3176
|
+
attr_accessor :intent_display_names
|
3177
|
+
|
3178
|
+
def initialize(**args)
|
3179
|
+
update!(**args)
|
3180
|
+
end
|
3181
|
+
|
3182
|
+
# Update properties of this object
|
3183
|
+
def update!(**args)
|
3184
|
+
@entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
|
3185
|
+
@intent_display_names = args[:intent_display_names] if args.key?(:intent_display_names)
|
3186
|
+
end
|
3187
|
+
end
|
3188
|
+
|
2999
3189
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
3000
3190
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
3001
3191
|
include Google::Apis::Core::Hashable
|
@@ -3066,6 +3256,49 @@ module Google
|
|
3066
3256
|
end
|
3067
3257
|
end
|
3068
3258
|
|
3259
|
+
# Inline destination for a Dialogflow operation that writes or exports objects (
|
3260
|
+
# e.g. intents) outside of Dialogflow.
|
3261
|
+
class GoogleCloudDialogflowCxV3InlineDestination
|
3262
|
+
include Google::Apis::Core::Hashable
|
3263
|
+
|
3264
|
+
# Output only. The uncompressed byte content for the objects. Only populated in
|
3265
|
+
# responses.
|
3266
|
+
# Corresponds to the JSON property `content`
|
3267
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3268
|
+
# @return [String]
|
3269
|
+
attr_accessor :content
|
3270
|
+
|
3271
|
+
def initialize(**args)
|
3272
|
+
update!(**args)
|
3273
|
+
end
|
3274
|
+
|
3275
|
+
# Update properties of this object
|
3276
|
+
def update!(**args)
|
3277
|
+
@content = args[:content] if args.key?(:content)
|
3278
|
+
end
|
3279
|
+
end
|
3280
|
+
|
3281
|
+
# Inline source for a Dialogflow operation that reads or imports objects (e.g.
|
3282
|
+
# intents) into Dialogflow.
|
3283
|
+
class GoogleCloudDialogflowCxV3InlineSource
|
3284
|
+
include Google::Apis::Core::Hashable
|
3285
|
+
|
3286
|
+
# The uncompressed byte content for the objects.
|
3287
|
+
# Corresponds to the JSON property `content`
|
3288
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3289
|
+
# @return [String]
|
3290
|
+
attr_accessor :content
|
3291
|
+
|
3292
|
+
def initialize(**args)
|
3293
|
+
update!(**args)
|
3294
|
+
end
|
3295
|
+
|
3296
|
+
# Update properties of this object
|
3297
|
+
def update!(**args)
|
3298
|
+
@content = args[:content] if args.key?(:content)
|
3299
|
+
end
|
3300
|
+
end
|
3301
|
+
|
3069
3302
|
# Instructs the speech recognizer on how to process the audio content.
|
3070
3303
|
class GoogleCloudDialogflowCxV3InputAudioConfig
|
3071
3304
|
include Google::Apis::Core::Hashable
|
@@ -8183,6 +8416,46 @@ module Google
|
|
8183
8416
|
end
|
8184
8417
|
end
|
8185
8418
|
|
8419
|
+
# Metadata returned for the Intents.ExportIntents long running operation.
|
8420
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata
|
8421
|
+
include Google::Apis::Core::Hashable
|
8422
|
+
|
8423
|
+
def initialize(**args)
|
8424
|
+
update!(**args)
|
8425
|
+
end
|
8426
|
+
|
8427
|
+
# Update properties of this object
|
8428
|
+
def update!(**args)
|
8429
|
+
end
|
8430
|
+
end
|
8431
|
+
|
8432
|
+
# The response message for Intents.ExportIntents.
|
8433
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
|
8434
|
+
include Google::Apis::Core::Hashable
|
8435
|
+
|
8436
|
+
# Inline destination for a Dialogflow operation that writes or exports objects (
|
8437
|
+
# e.g. intents) outside of Dialogflow.
|
8438
|
+
# Corresponds to the JSON property `intentsContent`
|
8439
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination]
|
8440
|
+
attr_accessor :intents_content
|
8441
|
+
|
8442
|
+
# The URI to a file containing the exported intents. This field is populated
|
8443
|
+
# only if `intents_uri` is specified in ExportIntentsRequest.
|
8444
|
+
# Corresponds to the JSON property `intentsUri`
|
8445
|
+
# @return [String]
|
8446
|
+
attr_accessor :intents_uri
|
8447
|
+
|
8448
|
+
def initialize(**args)
|
8449
|
+
update!(**args)
|
8450
|
+
end
|
8451
|
+
|
8452
|
+
# Update properties of this object
|
8453
|
+
def update!(**args)
|
8454
|
+
@intents_content = args[:intents_content] if args.key?(:intents_content)
|
8455
|
+
@intents_uri = args[:intents_uri] if args.key?(:intents_uri)
|
8456
|
+
end
|
8457
|
+
end
|
8458
|
+
|
8186
8459
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
8187
8460
|
# This message currently has no fields.
|
8188
8461
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
@@ -8676,6 +8949,74 @@ module Google
|
|
8676
8949
|
end
|
8677
8950
|
end
|
8678
8951
|
|
8952
|
+
# Metadata returned for the Intents.ImportIntents long running operation.
|
8953
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata
|
8954
|
+
include Google::Apis::Core::Hashable
|
8955
|
+
|
8956
|
+
def initialize(**args)
|
8957
|
+
update!(**args)
|
8958
|
+
end
|
8959
|
+
|
8960
|
+
# Update properties of this object
|
8961
|
+
def update!(**args)
|
8962
|
+
end
|
8963
|
+
end
|
8964
|
+
|
8965
|
+
# The response message for Intents.ImportIntents.
|
8966
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
|
8967
|
+
include Google::Apis::Core::Hashable
|
8968
|
+
|
8969
|
+
# Conflicting resources detected during the import process. Only filled when
|
8970
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
8971
|
+
# names.
|
8972
|
+
# Corresponds to the JSON property `conflictingResources`
|
8973
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources]
|
8974
|
+
attr_accessor :conflicting_resources
|
8975
|
+
|
8976
|
+
# The unique identifier of the imported intents. Format: `projects//locations//
|
8977
|
+
# agents//intents/`.
|
8978
|
+
# Corresponds to the JSON property `intents`
|
8979
|
+
# @return [Array<String>]
|
8980
|
+
attr_accessor :intents
|
8981
|
+
|
8982
|
+
def initialize(**args)
|
8983
|
+
update!(**args)
|
8984
|
+
end
|
8985
|
+
|
8986
|
+
# Update properties of this object
|
8987
|
+
def update!(**args)
|
8988
|
+
@conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
|
8989
|
+
@intents = args[:intents] if args.key?(:intents)
|
8990
|
+
end
|
8991
|
+
end
|
8992
|
+
|
8993
|
+
# Conflicting resources detected during the import process. Only filled when
|
8994
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
8995
|
+
# names.
|
8996
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
|
8997
|
+
include Google::Apis::Core::Hashable
|
8998
|
+
|
8999
|
+
# Display names of conflicting entities.
|
9000
|
+
# Corresponds to the JSON property `entityDisplayNames`
|
9001
|
+
# @return [Array<String>]
|
9002
|
+
attr_accessor :entity_display_names
|
9003
|
+
|
9004
|
+
# Display names of conflicting intents.
|
9005
|
+
# Corresponds to the JSON property `intentDisplayNames`
|
9006
|
+
# @return [Array<String>]
|
9007
|
+
attr_accessor :intent_display_names
|
9008
|
+
|
9009
|
+
def initialize(**args)
|
9010
|
+
update!(**args)
|
9011
|
+
end
|
9012
|
+
|
9013
|
+
# Update properties of this object
|
9014
|
+
def update!(**args)
|
9015
|
+
@entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
|
9016
|
+
@intent_display_names = args[:intent_display_names] if args.key?(:intent_display_names)
|
9017
|
+
end
|
9018
|
+
end
|
9019
|
+
|
8679
9020
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
8680
9021
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
8681
9022
|
include Google::Apis::Core::Hashable
|
@@ -8715,6 +9056,28 @@ module Google
|
|
8715
9056
|
end
|
8716
9057
|
end
|
8717
9058
|
|
9059
|
+
# Inline destination for a Dialogflow operation that writes or exports objects (
|
9060
|
+
# e.g. intents) outside of Dialogflow.
|
9061
|
+
class GoogleCloudDialogflowCxV3beta1InlineDestination
|
9062
|
+
include Google::Apis::Core::Hashable
|
9063
|
+
|
9064
|
+
# Output only. The uncompressed byte content for the objects. Only populated in
|
9065
|
+
# responses.
|
9066
|
+
# Corresponds to the JSON property `content`
|
9067
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
9068
|
+
# @return [String]
|
9069
|
+
attr_accessor :content
|
9070
|
+
|
9071
|
+
def initialize(**args)
|
9072
|
+
update!(**args)
|
9073
|
+
end
|
9074
|
+
|
9075
|
+
# Update properties of this object
|
9076
|
+
def update!(**args)
|
9077
|
+
@content = args[:content] if args.key?(:content)
|
9078
|
+
end
|
9079
|
+
end
|
9080
|
+
|
8718
9081
|
# Instructs the speech recognizer on how to process the audio content.
|
8719
9082
|
class GoogleCloudDialogflowCxV3beta1InputAudioConfig
|
8720
9083
|
include Google::Apis::Core::Hashable
|
@@ -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.69.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 = "20230919"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -346,6 +346,24 @@ module Google
|
|
346
346
|
include Google::Apis::Core::JsonObjectSupport
|
347
347
|
end
|
348
348
|
|
349
|
+
class GoogleCloudDialogflowCxV3ExportIntentsMetadata
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class GoogleCloudDialogflowCxV3ExportIntentsRequest
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class GoogleCloudDialogflowCxV3ExportIntentsResponse
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
349
367
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
350
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
369
|
|
@@ -502,6 +520,30 @@ module Google
|
|
502
520
|
include Google::Apis::Core::JsonObjectSupport
|
503
521
|
end
|
504
522
|
|
523
|
+
class GoogleCloudDialogflowCxV3ImportIntentsMetadata
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
529
|
+
class GoogleCloudDialogflowCxV3ImportIntentsRequest
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
535
|
+
class GoogleCloudDialogflowCxV3ImportIntentsResponse
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
541
|
+
class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
505
547
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
506
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
549
|
|
@@ -520,6 +562,18 @@ module Google
|
|
520
562
|
include Google::Apis::Core::JsonObjectSupport
|
521
563
|
end
|
522
564
|
|
565
|
+
class GoogleCloudDialogflowCxV3InlineDestination
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
571
|
+
class GoogleCloudDialogflowCxV3InlineSource
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
523
577
|
class GoogleCloudDialogflowCxV3InputAudioConfig
|
524
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
579
|
|
@@ -1354,6 +1408,18 @@ module Google
|
|
1354
1408
|
include Google::Apis::Core::JsonObjectSupport
|
1355
1409
|
end
|
1356
1410
|
|
1411
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata
|
1412
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1413
|
+
|
1414
|
+
include Google::Apis::Core::JsonObjectSupport
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
|
+
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
1421
|
+
end
|
1422
|
+
|
1357
1423
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
1358
1424
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1359
1425
|
|
@@ -1444,6 +1510,24 @@ module Google
|
|
1444
1510
|
include Google::Apis::Core::JsonObjectSupport
|
1445
1511
|
end
|
1446
1512
|
|
1513
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata
|
1514
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1515
|
+
|
1516
|
+
include Google::Apis::Core::JsonObjectSupport
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
|
1520
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1521
|
+
|
1522
|
+
include Google::Apis::Core::JsonObjectSupport
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
|
1526
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1527
|
+
|
1528
|
+
include Google::Apis::Core::JsonObjectSupport
|
1529
|
+
end
|
1530
|
+
|
1447
1531
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
1448
1532
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1449
1533
|
|
@@ -1456,6 +1540,12 @@ module Google
|
|
1456
1540
|
include Google::Apis::Core::JsonObjectSupport
|
1457
1541
|
end
|
1458
1542
|
|
1543
|
+
class GoogleCloudDialogflowCxV3beta1InlineDestination
|
1544
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1545
|
+
|
1546
|
+
include Google::Apis::Core::JsonObjectSupport
|
1547
|
+
end
|
1548
|
+
|
1459
1549
|
class GoogleCloudDialogflowCxV3beta1InputAudioConfig
|
1460
1550
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1461
1551
|
|
@@ -3371,6 +3461,31 @@ module Google
|
|
3371
3461
|
end
|
3372
3462
|
end
|
3373
3463
|
|
3464
|
+
class GoogleCloudDialogflowCxV3ExportIntentsMetadata
|
3465
|
+
# @private
|
3466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3467
|
+
end
|
3468
|
+
end
|
3469
|
+
|
3470
|
+
class GoogleCloudDialogflowCxV3ExportIntentsRequest
|
3471
|
+
# @private
|
3472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3473
|
+
property :data_format, as: 'dataFormat'
|
3474
|
+
collection :intents, as: 'intents'
|
3475
|
+
property :intents_content_inline, as: 'intentsContentInline'
|
3476
|
+
property :intents_uri, as: 'intentsUri'
|
3477
|
+
end
|
3478
|
+
end
|
3479
|
+
|
3480
|
+
class GoogleCloudDialogflowCxV3ExportIntentsResponse
|
3481
|
+
# @private
|
3482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3483
|
+
property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination::Representation
|
3484
|
+
|
3485
|
+
property :intents_uri, as: 'intentsUri'
|
3486
|
+
end
|
3487
|
+
end
|
3488
|
+
|
3374
3489
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
3375
3490
|
# @private
|
3376
3491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3633,6 +3748,39 @@ module Google
|
|
3633
3748
|
end
|
3634
3749
|
end
|
3635
3750
|
|
3751
|
+
class GoogleCloudDialogflowCxV3ImportIntentsMetadata
|
3752
|
+
# @private
|
3753
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3754
|
+
end
|
3755
|
+
end
|
3756
|
+
|
3757
|
+
class GoogleCloudDialogflowCxV3ImportIntentsRequest
|
3758
|
+
# @private
|
3759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3760
|
+
property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource::Representation
|
3761
|
+
|
3762
|
+
property :intents_uri, as: 'intentsUri'
|
3763
|
+
property :merge_option, as: 'mergeOption'
|
3764
|
+
end
|
3765
|
+
end
|
3766
|
+
|
3767
|
+
class GoogleCloudDialogflowCxV3ImportIntentsResponse
|
3768
|
+
# @private
|
3769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3770
|
+
property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources::Representation
|
3771
|
+
|
3772
|
+
collection :intents, as: 'intents'
|
3773
|
+
end
|
3774
|
+
end
|
3775
|
+
|
3776
|
+
class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources
|
3777
|
+
# @private
|
3778
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3779
|
+
collection :entity_display_names, as: 'entityDisplayNames'
|
3780
|
+
collection :intent_display_names, as: 'intentDisplayNames'
|
3781
|
+
end
|
3782
|
+
end
|
3783
|
+
|
3636
3784
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
3637
3785
|
# @private
|
3638
3786
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3656,6 +3804,20 @@ module Google
|
|
3656
3804
|
end
|
3657
3805
|
end
|
3658
3806
|
|
3807
|
+
class GoogleCloudDialogflowCxV3InlineDestination
|
3808
|
+
# @private
|
3809
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3810
|
+
property :content, :base64 => true, as: 'content'
|
3811
|
+
end
|
3812
|
+
end
|
3813
|
+
|
3814
|
+
class GoogleCloudDialogflowCxV3InlineSource
|
3815
|
+
# @private
|
3816
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3817
|
+
property :content, :base64 => true, as: 'content'
|
3818
|
+
end
|
3819
|
+
end
|
3820
|
+
|
3659
3821
|
class GoogleCloudDialogflowCxV3InputAudioConfig
|
3660
3822
|
# @private
|
3661
3823
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5047,6 +5209,21 @@ module Google
|
|
5047
5209
|
end
|
5048
5210
|
end
|
5049
5211
|
|
5212
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata
|
5213
|
+
# @private
|
5214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5215
|
+
end
|
5216
|
+
end
|
5217
|
+
|
5218
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
|
5219
|
+
# @private
|
5220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5221
|
+
property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination::Representation
|
5222
|
+
|
5223
|
+
property :intents_uri, as: 'intentsUri'
|
5224
|
+
end
|
5225
|
+
end
|
5226
|
+
|
5050
5227
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
5051
5228
|
# @private
|
5052
5229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5185,6 +5362,29 @@ module Google
|
|
5185
5362
|
end
|
5186
5363
|
end
|
5187
5364
|
|
5365
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata
|
5366
|
+
# @private
|
5367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5368
|
+
end
|
5369
|
+
end
|
5370
|
+
|
5371
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
|
5372
|
+
# @private
|
5373
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5374
|
+
property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources::Representation
|
5375
|
+
|
5376
|
+
collection :intents, as: 'intents'
|
5377
|
+
end
|
5378
|
+
end
|
5379
|
+
|
5380
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
|
5381
|
+
# @private
|
5382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5383
|
+
collection :entity_display_names, as: 'entityDisplayNames'
|
5384
|
+
collection :intent_display_names, as: 'intentDisplayNames'
|
5385
|
+
end
|
5386
|
+
end
|
5387
|
+
|
5188
5388
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
5189
5389
|
# @private
|
5190
5390
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5200,6 +5400,13 @@ module Google
|
|
5200
5400
|
end
|
5201
5401
|
end
|
5202
5402
|
|
5403
|
+
class GoogleCloudDialogflowCxV3beta1InlineDestination
|
5404
|
+
# @private
|
5405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5406
|
+
property :content, :base64 => true, as: 'content'
|
5407
|
+
end
|
5408
|
+
end
|
5409
|
+
|
5203
5410
|
class GoogleCloudDialogflowCxV3beta1InputAudioConfig
|
5204
5411
|
# @private
|
5205
5412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2974,6 +2974,43 @@ module Google
|
|
2974
2974
|
execute_or_queue_command(command, &block)
|
2975
2975
|
end
|
2976
2976
|
|
2977
|
+
# Exports the selected intents. This method is a [long-running operation](https:/
|
2978
|
+
# /cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned
|
2979
|
+
# `Operation` type has the following method-specific fields: - `metadata`:
|
2980
|
+
# ExportIntentsMetadata - `response`: ExportIntentsResponse
|
2981
|
+
# @param [String] parent
|
2982
|
+
# Required. The name of the parent agent to export intents. Format: `projects//
|
2983
|
+
# locations//agents/`.
|
2984
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportIntentsRequest] google_cloud_dialogflow_cx_v3_export_intents_request_object
|
2985
|
+
# @param [String] fields
|
2986
|
+
# Selector specifying which fields to include in a partial response.
|
2987
|
+
# @param [String] quota_user
|
2988
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2989
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2990
|
+
# @param [Google::Apis::RequestOptions] options
|
2991
|
+
# Request-specific options
|
2992
|
+
#
|
2993
|
+
# @yield [result, err] Result & error if block supplied
|
2994
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
|
2995
|
+
# @yieldparam err [StandardError] error object if request failed
|
2996
|
+
#
|
2997
|
+
# @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
|
2998
|
+
#
|
2999
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3000
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3001
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3002
|
+
def export_project_location_agent_intent(parent, google_cloud_dialogflow_cx_v3_export_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3003
|
+
command = make_simple_command(:post, 'v3/{+parent}/intents:export', options)
|
3004
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportIntentsRequest::Representation
|
3005
|
+
command.request_object = google_cloud_dialogflow_cx_v3_export_intents_request_object
|
3006
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
3007
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
3008
|
+
command.params['parent'] = parent unless parent.nil?
|
3009
|
+
command.query['fields'] = fields unless fields.nil?
|
3010
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3011
|
+
execute_or_queue_command(command, &block)
|
3012
|
+
end
|
3013
|
+
|
2977
3014
|
# Retrieves the specified intent.
|
2978
3015
|
# @param [String] name
|
2979
3016
|
# Required. The name of the intent. Format: `projects//locations//agents//
|
@@ -3012,6 +3049,44 @@ module Google
|
|
3012
3049
|
execute_or_queue_command(command, &block)
|
3013
3050
|
end
|
3014
3051
|
|
3052
|
+
# Imports the specified intents into the agent. This method is a [long-running
|
3053
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
|
3054
|
+
# operation). The returned `Operation` type has the following method-specific
|
3055
|
+
# fields: - `metadata`: ImportIntentsMetadata - `response`:
|
3056
|
+
# ImportIntentsResponse
|
3057
|
+
# @param [String] parent
|
3058
|
+
# Required. The agent to import the intents into. Format: `projects//locations//
|
3059
|
+
# agents/`.
|
3060
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsRequest] google_cloud_dialogflow_cx_v3_import_intents_request_object
|
3061
|
+
# @param [String] fields
|
3062
|
+
# Selector specifying which fields to include in a partial response.
|
3063
|
+
# @param [String] quota_user
|
3064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3066
|
+
# @param [Google::Apis::RequestOptions] options
|
3067
|
+
# Request-specific options
|
3068
|
+
#
|
3069
|
+
# @yield [result, err] Result & error if block supplied
|
3070
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
|
3071
|
+
# @yieldparam err [StandardError] error object if request failed
|
3072
|
+
#
|
3073
|
+
# @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
|
3074
|
+
#
|
3075
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3076
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3077
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3078
|
+
def import_project_location_agent_intent(parent, google_cloud_dialogflow_cx_v3_import_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3079
|
+
command = make_simple_command(:post, 'v3/{+parent}/intents:import', options)
|
3080
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsRequest::Representation
|
3081
|
+
command.request_object = google_cloud_dialogflow_cx_v3_import_intents_request_object
|
3082
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
3083
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
3084
|
+
command.params['parent'] = parent unless parent.nil?
|
3085
|
+
command.query['fields'] = fields unless fields.nil?
|
3086
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3087
|
+
execute_or_queue_command(command, &block)
|
3088
|
+
end
|
3089
|
+
|
3015
3090
|
# Returns the list of all intents in the specified agent.
|
3016
3091
|
# @param [String] parent
|
3017
3092
|
# Required. The agent to list all intents for. Format: `projects//locations//
|
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.69.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-09-
|
11
|
+
date: 2023-09-24 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.69.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: []
|