google-api-client 0.32.1 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +40 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +5 -2
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -6
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +306 -63
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +10 -18
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -220
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +57 -18
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +280 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +115 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +280 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +115 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +15 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +3 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +389 -0
- data/generated/google/apis/sheets_v4/representations.rb +79 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -21
- data/generated/google/apis/urlshortener_v1.rb +0 -34
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191005'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,6 +22,60 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DialogflowV2beta1
|
24
24
|
|
25
|
+
# Represents article answer.
|
26
|
+
class GoogleCloudDialogflowV2ArticleAnswer
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# The name of answer record, in the format of
|
30
|
+
# "projects/<Project ID>/answerRecords/<Answer Record ID>"
|
31
|
+
# Corresponds to the JSON property `answerRecord`
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :answer_record
|
34
|
+
|
35
|
+
# Article match confidence.
|
36
|
+
# The system's confidence score that this article is a good match for this
|
37
|
+
# converstation, as a value from 0.0 (completely uncertain) to 1.0
|
38
|
+
# (completely certain).
|
39
|
+
# Corresponds to the JSON property `confidence`
|
40
|
+
# @return [Float]
|
41
|
+
attr_accessor :confidence
|
42
|
+
|
43
|
+
# A map that contains metadata about the answer and the
|
44
|
+
# document from which it originates.
|
45
|
+
# Corresponds to the JSON property `metadata`
|
46
|
+
# @return [Hash<String,String>]
|
47
|
+
attr_accessor :metadata
|
48
|
+
|
49
|
+
# Article snippets.
|
50
|
+
# Corresponds to the JSON property `snippets`
|
51
|
+
# @return [Array<String>]
|
52
|
+
attr_accessor :snippets
|
53
|
+
|
54
|
+
# The article title.
|
55
|
+
# Corresponds to the JSON property `title`
|
56
|
+
# @return [String]
|
57
|
+
attr_accessor :title
|
58
|
+
|
59
|
+
# The article URI.
|
60
|
+
# Corresponds to the JSON property `uri`
|
61
|
+
# @return [String]
|
62
|
+
attr_accessor :uri
|
63
|
+
|
64
|
+
def initialize(**args)
|
65
|
+
update!(**args)
|
66
|
+
end
|
67
|
+
|
68
|
+
# Update properties of this object
|
69
|
+
def update!(**args)
|
70
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
71
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
72
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
73
|
+
@snippets = args[:snippets] if args.key?(:snippets)
|
74
|
+
@title = args[:title] if args.key?(:title)
|
75
|
+
@uri = args[:uri] if args.key?(:uri)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
25
79
|
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
26
80
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
27
81
|
include Google::Apis::Core::Hashable
|
@@ -257,6 +311,101 @@ module Google
|
|
257
311
|
end
|
258
312
|
end
|
259
313
|
|
314
|
+
# Represents answer from "frequently asked questions".
|
315
|
+
class GoogleCloudDialogflowV2FaqAnswer
|
316
|
+
include Google::Apis::Core::Hashable
|
317
|
+
|
318
|
+
# The piece of text from the `source` knowledge base document.
|
319
|
+
# Corresponds to the JSON property `answer`
|
320
|
+
# @return [String]
|
321
|
+
attr_accessor :answer
|
322
|
+
|
323
|
+
# The name of answer record, in the format of
|
324
|
+
# "projects/<Project ID>/answerRecords/<Answer Record ID>"
|
325
|
+
# Corresponds to the JSON property `answerRecord`
|
326
|
+
# @return [String]
|
327
|
+
attr_accessor :answer_record
|
328
|
+
|
329
|
+
# The system's confidence score that this Knowledge answer is a good match
|
330
|
+
# for this conversational query, range from 0.0 (completely uncertain)
|
331
|
+
# to 1.0 (completely certain).
|
332
|
+
# Corresponds to the JSON property `confidence`
|
333
|
+
# @return [Float]
|
334
|
+
attr_accessor :confidence
|
335
|
+
|
336
|
+
# A map that contains metadata about the answer and the
|
337
|
+
# document from which it originates.
|
338
|
+
# Corresponds to the JSON property `metadata`
|
339
|
+
# @return [Hash<String,String>]
|
340
|
+
attr_accessor :metadata
|
341
|
+
|
342
|
+
# The corresponding FAQ question.
|
343
|
+
# Corresponds to the JSON property `question`
|
344
|
+
# @return [String]
|
345
|
+
attr_accessor :question
|
346
|
+
|
347
|
+
# Indicates which Knowledge Document this answer was extracted
|
348
|
+
# from.
|
349
|
+
# Format: `projects/<Project ID>/agent/knowledgeBases/<Knowledge Base
|
350
|
+
# ID>/documents/<Document ID>`.
|
351
|
+
# Corresponds to the JSON property `source`
|
352
|
+
# @return [String]
|
353
|
+
attr_accessor :source
|
354
|
+
|
355
|
+
def initialize(**args)
|
356
|
+
update!(**args)
|
357
|
+
end
|
358
|
+
|
359
|
+
# Update properties of this object
|
360
|
+
def update!(**args)
|
361
|
+
@answer = args[:answer] if args.key?(:answer)
|
362
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
363
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
364
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
365
|
+
@question = args[:question] if args.key?(:question)
|
366
|
+
@source = args[:source] if args.key?(:source)
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
# Represents a notification sent to Cloud Pub/Sub subscribers for
|
371
|
+
# human agent assistant events in a specific conversation.
|
372
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
373
|
+
include Google::Apis::Core::Hashable
|
374
|
+
|
375
|
+
# The conversation this notification refers to.
|
376
|
+
# Format: `projects/<Project ID>/conversations/<Conversation ID>`.
|
377
|
+
# Corresponds to the JSON property `conversation`
|
378
|
+
# @return [String]
|
379
|
+
attr_accessor :conversation
|
380
|
+
|
381
|
+
# The participant that the suggestion is compiled for. And This field is used
|
382
|
+
# to call Participants.ListSuggestions API. Format:
|
383
|
+
# `projects/<Project ID>/conversations/<Conversation
|
384
|
+
# ID>/participants/<Participant ID>`.
|
385
|
+
# It will not be set in legacy workflow.
|
386
|
+
# HumanAgentAssistantConfig.name for more
|
387
|
+
# information.
|
388
|
+
# Corresponds to the JSON property `participant`
|
389
|
+
# @return [String]
|
390
|
+
attr_accessor :participant
|
391
|
+
|
392
|
+
# The suggestion results payload that this notification refers to.
|
393
|
+
# Corresponds to the JSON property `suggestionResults`
|
394
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestionResult>]
|
395
|
+
attr_accessor :suggestion_results
|
396
|
+
|
397
|
+
def initialize(**args)
|
398
|
+
update!(**args)
|
399
|
+
end
|
400
|
+
|
401
|
+
# Update properties of this object
|
402
|
+
def update!(**args)
|
403
|
+
@conversation = args[:conversation] if args.key?(:conversation)
|
404
|
+
@participant = args[:participant] if args.key?(:participant)
|
405
|
+
@suggestion_results = args[:suggestion_results] if args.key?(:suggestion_results)
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
260
409
|
# Represents an intent.
|
261
410
|
# Intents convert a number of user expressions or patterns into an action. An
|
262
411
|
# action is an extraction of a user command or sentence semantics.
|
@@ -1194,6 +1343,25 @@ module Google
|
|
1194
1343
|
end
|
1195
1344
|
end
|
1196
1345
|
|
1346
|
+
# Metadata in google::longrunning::Operation for Knowledge operations.
|
1347
|
+
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
1348
|
+
include Google::Apis::Core::Hashable
|
1349
|
+
|
1350
|
+
# Output only. The current state of this operation.
|
1351
|
+
# Corresponds to the JSON property `state`
|
1352
|
+
# @return [String]
|
1353
|
+
attr_accessor :state
|
1354
|
+
|
1355
|
+
def initialize(**args)
|
1356
|
+
update!(**args)
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
# Update properties of this object
|
1360
|
+
def update!(**args)
|
1361
|
+
@state = args[:state] if args.key?(:state)
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
|
1197
1365
|
# Represents the contents of the original request that was passed to
|
1198
1366
|
# the `[Streaming]DetectIntent` call.
|
1199
1367
|
class GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
@@ -1472,6 +1640,118 @@ module Google
|
|
1472
1640
|
end
|
1473
1641
|
end
|
1474
1642
|
|
1643
|
+
# The response message for [Participants.SuggestArticles]
|
1644
|
+
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
1645
|
+
include Google::Apis::Core::Hashable
|
1646
|
+
|
1647
|
+
# Articles ordered by score in descending order.
|
1648
|
+
# Corresponds to the JSON property `articleAnswers`
|
1649
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ArticleAnswer>]
|
1650
|
+
attr_accessor :article_answers
|
1651
|
+
|
1652
|
+
# Number of messages prior to and including
|
1653
|
+
# last_conversation_message to compile the suggestion. It may be smaller
|
1654
|
+
# than the CompileSuggestionRequest.context_messages_count field in the
|
1655
|
+
# request if there aren't that many messages in the conversation.
|
1656
|
+
# Corresponds to the JSON property `contextSize`
|
1657
|
+
# @return [Fixnum]
|
1658
|
+
attr_accessor :context_size
|
1659
|
+
|
1660
|
+
# The name of the latest conversation message used to compile
|
1661
|
+
# suggestion for.
|
1662
|
+
# Format: `projects/<Project ID>/conversations/<Conversation
|
1663
|
+
# ID>/messages/<Message ID>`.
|
1664
|
+
# Corresponds to the JSON property `latestMessage`
|
1665
|
+
# @return [String]
|
1666
|
+
attr_accessor :latest_message
|
1667
|
+
|
1668
|
+
def initialize(**args)
|
1669
|
+
update!(**args)
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
# Update properties of this object
|
1673
|
+
def update!(**args)
|
1674
|
+
@article_answers = args[:article_answers] if args.key?(:article_answers)
|
1675
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
1676
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
1677
|
+
end
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
# The request message for [Participants.SuggestFaqAnswers]
|
1681
|
+
class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
|
1682
|
+
include Google::Apis::Core::Hashable
|
1683
|
+
|
1684
|
+
# Number of messages prior to and including
|
1685
|
+
# last_conversation_message to compile the suggestion. It may be smaller
|
1686
|
+
# than the CompileSuggestionRequest.context_messages_count field in the
|
1687
|
+
# request if there aren't that many messages in the conversation.
|
1688
|
+
# Corresponds to the JSON property `contextSize`
|
1689
|
+
# @return [Fixnum]
|
1690
|
+
attr_accessor :context_size
|
1691
|
+
|
1692
|
+
# Answers extracted from FAQ documents.
|
1693
|
+
# Corresponds to the JSON property `faqAnswers`
|
1694
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2FaqAnswer>]
|
1695
|
+
attr_accessor :faq_answers
|
1696
|
+
|
1697
|
+
# The name of the latest conversation message used to compile
|
1698
|
+
# suggestion for.
|
1699
|
+
# Format: `projects/<Project ID>/conversations/<Conversation
|
1700
|
+
# ID>/messages/<Message ID>`.
|
1701
|
+
# Corresponds to the JSON property `latestMessage`
|
1702
|
+
# @return [String]
|
1703
|
+
attr_accessor :latest_message
|
1704
|
+
|
1705
|
+
def initialize(**args)
|
1706
|
+
update!(**args)
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
# Update properties of this object
|
1710
|
+
def update!(**args)
|
1711
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
1712
|
+
@faq_answers = args[:faq_answers] if args.key?(:faq_answers)
|
1713
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
1714
|
+
end
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
# One response of different type of suggestion response which is used in
|
1718
|
+
# the response of Participants.AnalyzeContent and
|
1719
|
+
# Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.
|
1720
|
+
class GoogleCloudDialogflowV2SuggestionResult
|
1721
|
+
include Google::Apis::Core::Hashable
|
1722
|
+
|
1723
|
+
# The `Status` type defines a logical error model that is suitable for
|
1724
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
1725
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
1726
|
+
# three pieces of data: error code, error message, and error details.
|
1727
|
+
# You can find out more about this error model and how to work with it in the
|
1728
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
1729
|
+
# Corresponds to the JSON property `error`
|
1730
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
|
1731
|
+
attr_accessor :error
|
1732
|
+
|
1733
|
+
# The response message for [Participants.SuggestArticles]
|
1734
|
+
# Corresponds to the JSON property `suggestArticlesResponse`
|
1735
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestArticlesResponse]
|
1736
|
+
attr_accessor :suggest_articles_response
|
1737
|
+
|
1738
|
+
# The request message for [Participants.SuggestFaqAnswers]
|
1739
|
+
# Corresponds to the JSON property `suggestFaqAnswersResponse`
|
1740
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
|
1741
|
+
attr_accessor :suggest_faq_answers_response
|
1742
|
+
|
1743
|
+
def initialize(**args)
|
1744
|
+
update!(**args)
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
# Update properties of this object
|
1748
|
+
def update!(**args)
|
1749
|
+
@error = args[:error] if args.key?(:error)
|
1750
|
+
@suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
|
1751
|
+
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
|
1475
1755
|
# The request message for a webhook call.
|
1476
1756
|
class GoogleCloudDialogflowV2WebhookRequest
|
1477
1757
|
include Google::Apis::Core::Hashable
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DialogflowV2beta1
|
24
24
|
|
25
|
+
class GoogleCloudDialogflowV2ArticleAnswer
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -64,6 +70,18 @@ module Google
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class GoogleCloudDialogflowV2FaqAnswer
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
67
85
|
class GoogleCloudDialogflowV2Intent
|
68
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
87
|
|
@@ -208,6 +226,12 @@ module Google
|
|
208
226
|
include Google::Apis::Core::JsonObjectSupport
|
209
227
|
end
|
210
228
|
|
229
|
+
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
211
235
|
class GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
212
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
237
|
|
@@ -238,6 +262,24 @@ module Google
|
|
238
262
|
include Google::Apis::Core::JsonObjectSupport
|
239
263
|
end
|
240
264
|
|
265
|
+
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class GoogleCloudDialogflowV2SuggestionResult
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
241
283
|
class GoogleCloudDialogflowV2WebhookRequest
|
242
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
285
|
|
@@ -904,6 +946,18 @@ module Google
|
|
904
946
|
include Google::Apis::Core::JsonObjectSupport
|
905
947
|
end
|
906
948
|
|
949
|
+
class GoogleCloudDialogflowV2ArticleAnswer
|
950
|
+
# @private
|
951
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
952
|
+
property :answer_record, as: 'answerRecord'
|
953
|
+
property :confidence, as: 'confidence'
|
954
|
+
hash :metadata, as: 'metadata'
|
955
|
+
collection :snippets, as: 'snippets'
|
956
|
+
property :title, as: 'title'
|
957
|
+
property :uri, as: 'uri'
|
958
|
+
end
|
959
|
+
end
|
960
|
+
|
907
961
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
908
962
|
# @private
|
909
963
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -967,6 +1021,28 @@ module Google
|
|
967
1021
|
end
|
968
1022
|
end
|
969
1023
|
|
1024
|
+
class GoogleCloudDialogflowV2FaqAnswer
|
1025
|
+
# @private
|
1026
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1027
|
+
property :answer, as: 'answer'
|
1028
|
+
property :answer_record, as: 'answerRecord'
|
1029
|
+
property :confidence, as: 'confidence'
|
1030
|
+
hash :metadata, as: 'metadata'
|
1031
|
+
property :question, as: 'question'
|
1032
|
+
property :source, as: 'source'
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
1037
|
+
# @private
|
1038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1039
|
+
property :conversation, as: 'conversation'
|
1040
|
+
property :participant, as: 'participant'
|
1041
|
+
collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestionResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestionResult::Representation
|
1042
|
+
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
970
1046
|
class GoogleCloudDialogflowV2Intent
|
971
1047
|
# @private
|
972
1048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1227,6 +1303,13 @@ module Google
|
|
1227
1303
|
end
|
1228
1304
|
end
|
1229
1305
|
|
1306
|
+
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
1307
|
+
# @private
|
1308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1309
|
+
property :state, as: 'state'
|
1310
|
+
end
|
1311
|
+
end
|
1312
|
+
|
1230
1313
|
class GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
1231
1314
|
# @private
|
1232
1315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1287,6 +1370,38 @@ module Google
|
|
1287
1370
|
end
|
1288
1371
|
end
|
1289
1372
|
|
1373
|
+
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
1374
|
+
# @private
|
1375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1376
|
+
collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ArticleAnswer::Representation
|
1377
|
+
|
1378
|
+
property :context_size, as: 'contextSize'
|
1379
|
+
property :latest_message, as: 'latestMessage'
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
|
1384
|
+
# @private
|
1385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1386
|
+
property :context_size, as: 'contextSize'
|
1387
|
+
collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2FaqAnswer::Representation
|
1388
|
+
|
1389
|
+
property :latest_message, as: 'latestMessage'
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
class GoogleCloudDialogflowV2SuggestionResult
|
1394
|
+
# @private
|
1395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1396
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
|
1397
|
+
|
1398
|
+
property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestArticlesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestArticlesResponse::Representation
|
1399
|
+
|
1400
|
+
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
1401
|
+
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
1290
1405
|
class GoogleCloudDialogflowV2WebhookRequest
|
1291
1406
|
# @private
|
1292
1407
|
class Representation < Google::Apis::Core::JsonRepresentation
|