google-apis-dialogflow_v3 0.68.0 → 0.70.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: e3104145e1bcc801ad5484a6d250ebf652a6e1f3cc915425b67628de35d775d3
|
4
|
+
data.tar.gz: 13ec5b666e407637ad2f30ebee9685a5c41d21835e49011480c650fd9ada7633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1890df9f3ca2b527055a2d828dfa0bea51f5df5138b44ab9f94318bf971baa1ec89f88505b2b3a9c9511c6f75b250bfa4b377031e679444b539dbfc2d557ee31
|
7
|
+
data.tar.gz: dd022028c6dbb75016b6ed4d2c043ee29abaa6ac7f84e576ec56e11b249d78f744d7a881c9ad6aa287931108dc4c75c52c3dea26256b81925e435a8283b4cc5b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.70.0 (2023-10-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231019
|
6
|
+
|
7
|
+
### v0.69.0 (2023-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230919
|
10
|
+
|
3
11
|
### v0.68.0 (2023-09-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230906
|
@@ -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
|
@@ -4540,6 +4773,16 @@ module Google
|
|
4540
4773
|
attr_accessor :disable_webhook
|
4541
4774
|
alias_method :disable_webhook?, :disable_webhook
|
4542
4775
|
|
4776
|
+
# Optional. Information about the end-user to improve the relevance and accuracy
|
4777
|
+
# of generative answers. This will be interpreted and used by a language model,
|
4778
|
+
# so, for good results, the data should be self-descriptive, and in a simple
|
4779
|
+
# structure. Example: ```json ` "subscription plan": "Business Premium Plus", "
|
4780
|
+
# devices owned": [ `"model": "Google Pixel 7"`, `"model": "Google Pixel Tablet"`
|
4781
|
+
# ] ` ```
|
4782
|
+
# Corresponds to the JSON property `endUserMetadata`
|
4783
|
+
# @return [Hash<String,Object>]
|
4784
|
+
attr_accessor :end_user_metadata
|
4785
|
+
|
4543
4786
|
# A list of flow versions to override for the request. Format: `projects//
|
4544
4787
|
# locations//agents//flows//versions/`. If version 1 of flow X is included in
|
4545
4788
|
# this list, the traffic of flow X will go through version 1 regardless of the
|
@@ -4625,6 +4868,7 @@ module Google
|
|
4625
4868
|
@channel = args[:channel] if args.key?(:channel)
|
4626
4869
|
@current_page = args[:current_page] if args.key?(:current_page)
|
4627
4870
|
@disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
|
4871
|
+
@end_user_metadata = args[:end_user_metadata] if args.key?(:end_user_metadata)
|
4628
4872
|
@flow_versions = args[:flow_versions] if args.key?(:flow_versions)
|
4629
4873
|
@geo_location = args[:geo_location] if args.key?(:geo_location)
|
4630
4874
|
@parameters = args[:parameters] if args.key?(:parameters)
|
@@ -8183,6 +8427,46 @@ module Google
|
|
8183
8427
|
end
|
8184
8428
|
end
|
8185
8429
|
|
8430
|
+
# Metadata returned for the Intents.ExportIntents long running operation.
|
8431
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata
|
8432
|
+
include Google::Apis::Core::Hashable
|
8433
|
+
|
8434
|
+
def initialize(**args)
|
8435
|
+
update!(**args)
|
8436
|
+
end
|
8437
|
+
|
8438
|
+
# Update properties of this object
|
8439
|
+
def update!(**args)
|
8440
|
+
end
|
8441
|
+
end
|
8442
|
+
|
8443
|
+
# The response message for Intents.ExportIntents.
|
8444
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
|
8445
|
+
include Google::Apis::Core::Hashable
|
8446
|
+
|
8447
|
+
# Inline destination for a Dialogflow operation that writes or exports objects (
|
8448
|
+
# e.g. intents) outside of Dialogflow.
|
8449
|
+
# Corresponds to the JSON property `intentsContent`
|
8450
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination]
|
8451
|
+
attr_accessor :intents_content
|
8452
|
+
|
8453
|
+
# The URI to a file containing the exported intents. This field is populated
|
8454
|
+
# only if `intents_uri` is specified in ExportIntentsRequest.
|
8455
|
+
# Corresponds to the JSON property `intentsUri`
|
8456
|
+
# @return [String]
|
8457
|
+
attr_accessor :intents_uri
|
8458
|
+
|
8459
|
+
def initialize(**args)
|
8460
|
+
update!(**args)
|
8461
|
+
end
|
8462
|
+
|
8463
|
+
# Update properties of this object
|
8464
|
+
def update!(**args)
|
8465
|
+
@intents_content = args[:intents_content] if args.key?(:intents_content)
|
8466
|
+
@intents_uri = args[:intents_uri] if args.key?(:intents_uri)
|
8467
|
+
end
|
8468
|
+
end
|
8469
|
+
|
8186
8470
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
8187
8471
|
# This message currently has no fields.
|
8188
8472
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
@@ -8676,6 +8960,74 @@ module Google
|
|
8676
8960
|
end
|
8677
8961
|
end
|
8678
8962
|
|
8963
|
+
# Metadata returned for the Intents.ImportIntents long running operation.
|
8964
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata
|
8965
|
+
include Google::Apis::Core::Hashable
|
8966
|
+
|
8967
|
+
def initialize(**args)
|
8968
|
+
update!(**args)
|
8969
|
+
end
|
8970
|
+
|
8971
|
+
# Update properties of this object
|
8972
|
+
def update!(**args)
|
8973
|
+
end
|
8974
|
+
end
|
8975
|
+
|
8976
|
+
# The response message for Intents.ImportIntents.
|
8977
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
|
8978
|
+
include Google::Apis::Core::Hashable
|
8979
|
+
|
8980
|
+
# Conflicting resources detected during the import process. Only filled when
|
8981
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
8982
|
+
# names.
|
8983
|
+
# Corresponds to the JSON property `conflictingResources`
|
8984
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources]
|
8985
|
+
attr_accessor :conflicting_resources
|
8986
|
+
|
8987
|
+
# The unique identifier of the imported intents. Format: `projects//locations//
|
8988
|
+
# agents//intents/`.
|
8989
|
+
# Corresponds to the JSON property `intents`
|
8990
|
+
# @return [Array<String>]
|
8991
|
+
attr_accessor :intents
|
8992
|
+
|
8993
|
+
def initialize(**args)
|
8994
|
+
update!(**args)
|
8995
|
+
end
|
8996
|
+
|
8997
|
+
# Update properties of this object
|
8998
|
+
def update!(**args)
|
8999
|
+
@conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
|
9000
|
+
@intents = args[:intents] if args.key?(:intents)
|
9001
|
+
end
|
9002
|
+
end
|
9003
|
+
|
9004
|
+
# Conflicting resources detected during the import process. Only filled when
|
9005
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
9006
|
+
# names.
|
9007
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
|
9008
|
+
include Google::Apis::Core::Hashable
|
9009
|
+
|
9010
|
+
# Display names of conflicting entities.
|
9011
|
+
# Corresponds to the JSON property `entityDisplayNames`
|
9012
|
+
# @return [Array<String>]
|
9013
|
+
attr_accessor :entity_display_names
|
9014
|
+
|
9015
|
+
# Display names of conflicting intents.
|
9016
|
+
# Corresponds to the JSON property `intentDisplayNames`
|
9017
|
+
# @return [Array<String>]
|
9018
|
+
attr_accessor :intent_display_names
|
9019
|
+
|
9020
|
+
def initialize(**args)
|
9021
|
+
update!(**args)
|
9022
|
+
end
|
9023
|
+
|
9024
|
+
# Update properties of this object
|
9025
|
+
def update!(**args)
|
9026
|
+
@entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
|
9027
|
+
@intent_display_names = args[:intent_display_names] if args.key?(:intent_display_names)
|
9028
|
+
end
|
9029
|
+
end
|
9030
|
+
|
8679
9031
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
8680
9032
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
8681
9033
|
include Google::Apis::Core::Hashable
|
@@ -8715,6 +9067,28 @@ module Google
|
|
8715
9067
|
end
|
8716
9068
|
end
|
8717
9069
|
|
9070
|
+
# Inline destination for a Dialogflow operation that writes or exports objects (
|
9071
|
+
# e.g. intents) outside of Dialogflow.
|
9072
|
+
class GoogleCloudDialogflowCxV3beta1InlineDestination
|
9073
|
+
include Google::Apis::Core::Hashable
|
9074
|
+
|
9075
|
+
# Output only. The uncompressed byte content for the objects. Only populated in
|
9076
|
+
# responses.
|
9077
|
+
# Corresponds to the JSON property `content`
|
9078
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
9079
|
+
# @return [String]
|
9080
|
+
attr_accessor :content
|
9081
|
+
|
9082
|
+
def initialize(**args)
|
9083
|
+
update!(**args)
|
9084
|
+
end
|
9085
|
+
|
9086
|
+
# Update properties of this object
|
9087
|
+
def update!(**args)
|
9088
|
+
@content = args[:content] if args.key?(:content)
|
9089
|
+
end
|
9090
|
+
end
|
9091
|
+
|
8718
9092
|
# Instructs the speech recognizer on how to process the audio content.
|
8719
9093
|
class GoogleCloudDialogflowCxV3beta1InputAudioConfig
|
8720
9094
|
include Google::Apis::Core::Hashable
|
@@ -11264,6 +11638,37 @@ module Google
|
|
11264
11638
|
end
|
11265
11639
|
end
|
11266
11640
|
|
11641
|
+
# A customer-managed encryption key specification that can be applied to all
|
11642
|
+
# created resources (e.g. Conversation).
|
11643
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
11644
|
+
include Google::Apis::Core::Hashable
|
11645
|
+
|
11646
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
11647
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
11648
|
+
# default Google encryption key. Only the key in the same location as this
|
11649
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
11650
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
11651
|
+
# Corresponds to the JSON property `kmsKey`
|
11652
|
+
# @return [String]
|
11653
|
+
attr_accessor :kms_key
|
11654
|
+
|
11655
|
+
# Immutable. The resource name of the encryption key specification resource.
|
11656
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
11657
|
+
# Corresponds to the JSON property `name`
|
11658
|
+
# @return [String]
|
11659
|
+
attr_accessor :name
|
11660
|
+
|
11661
|
+
def initialize(**args)
|
11662
|
+
update!(**args)
|
11663
|
+
end
|
11664
|
+
|
11665
|
+
# Update properties of this object
|
11666
|
+
def update!(**args)
|
11667
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
11668
|
+
@name = args[:name] if args.key?(:name)
|
11669
|
+
end
|
11670
|
+
end
|
11671
|
+
|
11267
11672
|
# Each intent parameter has a type, called the entity type, which dictates
|
11268
11673
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
11269
11674
|
# predefined system entities that can match many common types of data. For
|
@@ -11638,6 +12043,45 @@ module Google
|
|
11638
12043
|
end
|
11639
12044
|
end
|
11640
12045
|
|
12046
|
+
# Metadata for initializing a location-level encryption specification.
|
12047
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
12048
|
+
include Google::Apis::Core::Hashable
|
12049
|
+
|
12050
|
+
# The request to initialize a location-level encryption specification.
|
12051
|
+
# Corresponds to the JSON property `request`
|
12052
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
|
12053
|
+
attr_accessor :request
|
12054
|
+
|
12055
|
+
def initialize(**args)
|
12056
|
+
update!(**args)
|
12057
|
+
end
|
12058
|
+
|
12059
|
+
# Update properties of this object
|
12060
|
+
def update!(**args)
|
12061
|
+
@request = args[:request] if args.key?(:request)
|
12062
|
+
end
|
12063
|
+
end
|
12064
|
+
|
12065
|
+
# The request to initialize a location-level encryption specification.
|
12066
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
12067
|
+
include Google::Apis::Core::Hashable
|
12068
|
+
|
12069
|
+
# A customer-managed encryption key specification that can be applied to all
|
12070
|
+
# created resources (e.g. Conversation).
|
12071
|
+
# Corresponds to the JSON property `encryptionSpec`
|
12072
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec]
|
12073
|
+
attr_accessor :encryption_spec
|
12074
|
+
|
12075
|
+
def initialize(**args)
|
12076
|
+
update!(**args)
|
12077
|
+
end
|
12078
|
+
|
12079
|
+
# Update properties of this object
|
12080
|
+
def update!(**args)
|
12081
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
12082
|
+
end
|
12083
|
+
end
|
12084
|
+
|
11641
12085
|
# InputDataset used to create model or do evaluation. NextID:5
|
11642
12086
|
class GoogleCloudDialogflowV2InputDataset
|
11643
12087
|
include Google::Apis::Core::Hashable
|
@@ -14040,6 +14484,37 @@ module Google
|
|
14040
14484
|
end
|
14041
14485
|
end
|
14042
14486
|
|
14487
|
+
# A customer-managed encryption key specification that can be applied to all
|
14488
|
+
# created resources (e.g. Conversation).
|
14489
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
14490
|
+
include Google::Apis::Core::Hashable
|
14491
|
+
|
14492
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
14493
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
14494
|
+
# default Google encryption key. Only the key in the same location as this
|
14495
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
14496
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
14497
|
+
# Corresponds to the JSON property `kmsKey`
|
14498
|
+
# @return [String]
|
14499
|
+
attr_accessor :kms_key
|
14500
|
+
|
14501
|
+
# Immutable. The resource name of the encryption key specification resource.
|
14502
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
14503
|
+
# Corresponds to the JSON property `name`
|
14504
|
+
# @return [String]
|
14505
|
+
attr_accessor :name
|
14506
|
+
|
14507
|
+
def initialize(**args)
|
14508
|
+
update!(**args)
|
14509
|
+
end
|
14510
|
+
|
14511
|
+
# Update properties of this object
|
14512
|
+
def update!(**args)
|
14513
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
14514
|
+
@name = args[:name] if args.key?(:name)
|
14515
|
+
end
|
14516
|
+
end
|
14517
|
+
|
14043
14518
|
# Each intent parameter has a type, called the entity type, which dictates
|
14044
14519
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
14045
14520
|
# predefined system entities that can match many common types of data. For
|
@@ -14358,6 +14833,45 @@ module Google
|
|
14358
14833
|
end
|
14359
14834
|
end
|
14360
14835
|
|
14836
|
+
# Metadata for initializing a location-level encryption specification.
|
14837
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
14838
|
+
include Google::Apis::Core::Hashable
|
14839
|
+
|
14840
|
+
# The request to initialize a location-level encryption specification.
|
14841
|
+
# Corresponds to the JSON property `request`
|
14842
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
|
14843
|
+
attr_accessor :request
|
14844
|
+
|
14845
|
+
def initialize(**args)
|
14846
|
+
update!(**args)
|
14847
|
+
end
|
14848
|
+
|
14849
|
+
# Update properties of this object
|
14850
|
+
def update!(**args)
|
14851
|
+
@request = args[:request] if args.key?(:request)
|
14852
|
+
end
|
14853
|
+
end
|
14854
|
+
|
14855
|
+
# The request to initialize a location-level encryption specification.
|
14856
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
14857
|
+
include Google::Apis::Core::Hashable
|
14858
|
+
|
14859
|
+
# A customer-managed encryption key specification that can be applied to all
|
14860
|
+
# created resources (e.g. Conversation).
|
14861
|
+
# Corresponds to the JSON property `encryptionSpec`
|
14862
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
14863
|
+
attr_accessor :encryption_spec
|
14864
|
+
|
14865
|
+
def initialize(**args)
|
14866
|
+
update!(**args)
|
14867
|
+
end
|
14868
|
+
|
14869
|
+
# Update properties of this object
|
14870
|
+
def update!(**args)
|
14871
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
14872
|
+
end
|
14873
|
+
end
|
14874
|
+
|
14361
14875
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
14362
14876
|
# each agent, you define many intents, where your combined intents can handle a
|
14363
14877
|
# 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.70.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 = "20231019"
|
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
|
|
@@ -1840,6 +1930,12 @@ module Google
|
|
1840
1930
|
include Google::Apis::Core::JsonObjectSupport
|
1841
1931
|
end
|
1842
1932
|
|
1933
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
1934
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1935
|
+
|
1936
|
+
include Google::Apis::Core::JsonObjectSupport
|
1937
|
+
end
|
1938
|
+
|
1843
1939
|
class GoogleCloudDialogflowV2EntityType
|
1844
1940
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1845
1941
|
|
@@ -1906,6 +2002,18 @@ module Google
|
|
1906
2002
|
include Google::Apis::Core::JsonObjectSupport
|
1907
2003
|
end
|
1908
2004
|
|
2005
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
2006
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2007
|
+
|
2008
|
+
include Google::Apis::Core::JsonObjectSupport
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
2012
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2013
|
+
|
2014
|
+
include Google::Apis::Core::JsonObjectSupport
|
2015
|
+
end
|
2016
|
+
|
1909
2017
|
class GoogleCloudDialogflowV2InputDataset
|
1910
2018
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1911
2019
|
|
@@ -2266,6 +2374,12 @@ module Google
|
|
2266
2374
|
include Google::Apis::Core::JsonObjectSupport
|
2267
2375
|
end
|
2268
2376
|
|
2377
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
2378
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2379
|
+
|
2380
|
+
include Google::Apis::Core::JsonObjectSupport
|
2381
|
+
end
|
2382
|
+
|
2269
2383
|
class GoogleCloudDialogflowV2beta1EntityType
|
2270
2384
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2271
2385
|
|
@@ -2320,6 +2434,18 @@ module Google
|
|
2320
2434
|
include Google::Apis::Core::JsonObjectSupport
|
2321
2435
|
end
|
2322
2436
|
|
2437
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
2438
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2439
|
+
|
2440
|
+
include Google::Apis::Core::JsonObjectSupport
|
2441
|
+
end
|
2442
|
+
|
2443
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
2444
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2445
|
+
|
2446
|
+
include Google::Apis::Core::JsonObjectSupport
|
2447
|
+
end
|
2448
|
+
|
2323
2449
|
class GoogleCloudDialogflowV2beta1Intent
|
2324
2450
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2325
2451
|
|
@@ -3371,6 +3497,31 @@ module Google
|
|
3371
3497
|
end
|
3372
3498
|
end
|
3373
3499
|
|
3500
|
+
class GoogleCloudDialogflowCxV3ExportIntentsMetadata
|
3501
|
+
# @private
|
3502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3503
|
+
end
|
3504
|
+
end
|
3505
|
+
|
3506
|
+
class GoogleCloudDialogflowCxV3ExportIntentsRequest
|
3507
|
+
# @private
|
3508
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3509
|
+
property :data_format, as: 'dataFormat'
|
3510
|
+
collection :intents, as: 'intents'
|
3511
|
+
property :intents_content_inline, as: 'intentsContentInline'
|
3512
|
+
property :intents_uri, as: 'intentsUri'
|
3513
|
+
end
|
3514
|
+
end
|
3515
|
+
|
3516
|
+
class GoogleCloudDialogflowCxV3ExportIntentsResponse
|
3517
|
+
# @private
|
3518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3519
|
+
property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination::Representation
|
3520
|
+
|
3521
|
+
property :intents_uri, as: 'intentsUri'
|
3522
|
+
end
|
3523
|
+
end
|
3524
|
+
|
3374
3525
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
3375
3526
|
# @private
|
3376
3527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3633,6 +3784,39 @@ module Google
|
|
3633
3784
|
end
|
3634
3785
|
end
|
3635
3786
|
|
3787
|
+
class GoogleCloudDialogflowCxV3ImportIntentsMetadata
|
3788
|
+
# @private
|
3789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3790
|
+
end
|
3791
|
+
end
|
3792
|
+
|
3793
|
+
class GoogleCloudDialogflowCxV3ImportIntentsRequest
|
3794
|
+
# @private
|
3795
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3796
|
+
property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource::Representation
|
3797
|
+
|
3798
|
+
property :intents_uri, as: 'intentsUri'
|
3799
|
+
property :merge_option, as: 'mergeOption'
|
3800
|
+
end
|
3801
|
+
end
|
3802
|
+
|
3803
|
+
class GoogleCloudDialogflowCxV3ImportIntentsResponse
|
3804
|
+
# @private
|
3805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3806
|
+
property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources::Representation
|
3807
|
+
|
3808
|
+
collection :intents, as: 'intents'
|
3809
|
+
end
|
3810
|
+
end
|
3811
|
+
|
3812
|
+
class GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources
|
3813
|
+
# @private
|
3814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3815
|
+
collection :entity_display_names, as: 'entityDisplayNames'
|
3816
|
+
collection :intent_display_names, as: 'intentDisplayNames'
|
3817
|
+
end
|
3818
|
+
end
|
3819
|
+
|
3636
3820
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
3637
3821
|
# @private
|
3638
3822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3656,6 +3840,20 @@ module Google
|
|
3656
3840
|
end
|
3657
3841
|
end
|
3658
3842
|
|
3843
|
+
class GoogleCloudDialogflowCxV3InlineDestination
|
3844
|
+
# @private
|
3845
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3846
|
+
property :content, :base64 => true, as: 'content'
|
3847
|
+
end
|
3848
|
+
end
|
3849
|
+
|
3850
|
+
class GoogleCloudDialogflowCxV3InlineSource
|
3851
|
+
# @private
|
3852
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3853
|
+
property :content, :base64 => true, as: 'content'
|
3854
|
+
end
|
3855
|
+
end
|
3856
|
+
|
3659
3857
|
class GoogleCloudDialogflowCxV3InputAudioConfig
|
3660
3858
|
# @private
|
3661
3859
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4050,6 +4248,7 @@ module Google
|
|
4050
4248
|
property :channel, as: 'channel'
|
4051
4249
|
property :current_page, as: 'currentPage'
|
4052
4250
|
property :disable_webhook, as: 'disableWebhook'
|
4251
|
+
hash :end_user_metadata, as: 'endUserMetadata'
|
4053
4252
|
collection :flow_versions, as: 'flowVersions'
|
4054
4253
|
property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
|
4055
4254
|
|
@@ -5047,6 +5246,21 @@ module Google
|
|
5047
5246
|
end
|
5048
5247
|
end
|
5049
5248
|
|
5249
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata
|
5250
|
+
# @private
|
5251
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5252
|
+
end
|
5253
|
+
end
|
5254
|
+
|
5255
|
+
class GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
|
5256
|
+
# @private
|
5257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5258
|
+
property :intents_content, as: 'intentsContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination::Representation
|
5259
|
+
|
5260
|
+
property :intents_uri, as: 'intentsUri'
|
5261
|
+
end
|
5262
|
+
end
|
5263
|
+
|
5050
5264
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
5051
5265
|
# @private
|
5052
5266
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5185,6 +5399,29 @@ module Google
|
|
5185
5399
|
end
|
5186
5400
|
end
|
5187
5401
|
|
5402
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata
|
5403
|
+
# @private
|
5404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5405
|
+
end
|
5406
|
+
end
|
5407
|
+
|
5408
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
|
5409
|
+
# @private
|
5410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5411
|
+
property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources::Representation
|
5412
|
+
|
5413
|
+
collection :intents, as: 'intents'
|
5414
|
+
end
|
5415
|
+
end
|
5416
|
+
|
5417
|
+
class GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
|
5418
|
+
# @private
|
5419
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5420
|
+
collection :entity_display_names, as: 'entityDisplayNames'
|
5421
|
+
collection :intent_display_names, as: 'intentDisplayNames'
|
5422
|
+
end
|
5423
|
+
end
|
5424
|
+
|
5188
5425
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
5189
5426
|
# @private
|
5190
5427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5200,6 +5437,13 @@ module Google
|
|
5200
5437
|
end
|
5201
5438
|
end
|
5202
5439
|
|
5440
|
+
class GoogleCloudDialogflowCxV3beta1InlineDestination
|
5441
|
+
# @private
|
5442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5443
|
+
property :content, :base64 => true, as: 'content'
|
5444
|
+
end
|
5445
|
+
end
|
5446
|
+
|
5203
5447
|
class GoogleCloudDialogflowCxV3beta1InputAudioConfig
|
5204
5448
|
# @private
|
5205
5449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5864,6 +6108,14 @@ module Google
|
|
5864
6108
|
end
|
5865
6109
|
end
|
5866
6110
|
|
6111
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
6112
|
+
# @private
|
6113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6114
|
+
property :kms_key, as: 'kmsKey'
|
6115
|
+
property :name, as: 'name'
|
6116
|
+
end
|
6117
|
+
end
|
6118
|
+
|
5867
6119
|
class GoogleCloudDialogflowV2EntityType
|
5868
6120
|
# @private
|
5869
6121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5965,6 +6217,22 @@ module Google
|
|
5965
6217
|
end
|
5966
6218
|
end
|
5967
6219
|
|
6220
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
6221
|
+
# @private
|
6222
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6223
|
+
property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
|
6224
|
+
|
6225
|
+
end
|
6226
|
+
end
|
6227
|
+
|
6228
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
6229
|
+
# @private
|
6230
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6231
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec::Representation
|
6232
|
+
|
6233
|
+
end
|
6234
|
+
end
|
6235
|
+
|
5968
6236
|
class GoogleCloudDialogflowV2InputDataset
|
5969
6237
|
# @private
|
5970
6238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6615,6 +6883,14 @@ module Google
|
|
6615
6883
|
end
|
6616
6884
|
end
|
6617
6885
|
|
6886
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
6887
|
+
# @private
|
6888
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6889
|
+
property :kms_key, as: 'kmsKey'
|
6890
|
+
property :name, as: 'name'
|
6891
|
+
end
|
6892
|
+
end
|
6893
|
+
|
6618
6894
|
class GoogleCloudDialogflowV2beta1EntityType
|
6619
6895
|
# @private
|
6620
6896
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6698,6 +6974,22 @@ module Google
|
|
6698
6974
|
end
|
6699
6975
|
end
|
6700
6976
|
|
6977
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
6978
|
+
# @private
|
6979
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6980
|
+
property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
|
6981
|
+
|
6982
|
+
end
|
6983
|
+
end
|
6984
|
+
|
6985
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
6986
|
+
# @private
|
6987
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6988
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
|
6989
|
+
|
6990
|
+
end
|
6991
|
+
end
|
6992
|
+
|
6701
6993
|
class GoogleCloudDialogflowV2beta1Intent
|
6702
6994
|
# @private
|
6703
6995
|
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.70.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-10-29 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.70.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: []
|