google-api-client 0.33.2 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/README.md +1 -1
  4. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  5. data/generated/google/apis/cloudshell_v1.rb +1 -1
  6. data/generated/google/apis/cloudshell_v1/classes.rb +7 -6
  7. data/generated/google/apis/cloudshell_v1/representations.rb +1 -1
  8. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  9. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +7 -6
  10. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -1
  11. data/generated/google/apis/compute_alpha.rb +1 -1
  12. data/generated/google/apis/compute_alpha/classes.rb +38 -26
  13. data/generated/google/apis/compute_alpha/representations.rb +1 -0
  14. data/generated/google/apis/compute_beta.rb +1 -1
  15. data/generated/google/apis/compute_beta/classes.rb +31 -26
  16. data/generated/google/apis/compute_v1.rb +1 -1
  17. data/generated/google/apis/compute_v1/classes.rb +31 -26
  18. data/generated/google/apis/compute_v1/service.rb +10 -1
  19. data/generated/google/apis/container_v1.rb +1 -1
  20. data/generated/google/apis/container_v1/classes.rb +2 -1
  21. data/generated/google/apis/container_v1beta1.rb +1 -1
  22. data/generated/google/apis/container_v1beta1/classes.rb +32 -1
  23. data/generated/google/apis/container_v1beta1/representations.rb +4 -0
  24. data/generated/google/apis/datastore_v1.rb +1 -1
  25. data/generated/google/apis/datastore_v1/service.rb +85 -1
  26. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  27. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  28. data/generated/google/apis/dialogflow_v2.rb +1 -1
  29. data/generated/google/apis/dialogflow_v2/classes.rb +25 -287
  30. data/generated/google/apis/dialogflow_v2/representations.rb +2 -115
  31. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  32. data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -287
  33. data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -115
  34. data/generated/google/apis/dlp_v2.rb +1 -1
  35. data/generated/google/apis/dlp_v2/classes.rb +19 -11
  36. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  37. data/generated/google/apis/dlp_v2/service.rb +43 -0
  38. data/generated/google/apis/drive_v2.rb +1 -1
  39. data/generated/google/apis/drive_v2/service.rb +3 -3
  40. data/generated/google/apis/drive_v3.rb +1 -1
  41. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  42. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
  43. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
  44. data/generated/google/apis/firestore_v1.rb +1 -1
  45. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  46. data/generated/google/apis/games_management_v1management.rb +1 -1
  47. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  48. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  49. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  50. data/generated/google/apis/games_v1.rb +1 -1
  51. data/generated/google/apis/games_v1/classes.rb +6 -292
  52. data/generated/google/apis/games_v1/representations.rb +1 -98
  53. data/generated/google/apis/games_v1/service.rb +0 -123
  54. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  55. data/generated/google/apis/healthcare_v1beta1/classes.rb +2 -1
  56. data/generated/google/apis/healthcare_v1beta1/service.rb +88 -95
  57. data/generated/google/apis/iam_v1.rb +1 -1
  58. data/generated/google/apis/iam_v1/classes.rb +8 -1
  59. data/generated/google/apis/iam_v1/representations.rb +1 -0
  60. data/generated/google/apis/jobs_v2.rb +1 -1
  61. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  62. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  63. data/generated/google/apis/jobs_v3.rb +1 -1
  64. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  65. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  66. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  67. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  68. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  69. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  70. data/generated/google/apis/lifesciences_v2beta/classes.rb +2 -1
  71. data/generated/google/apis/ml_v1.rb +1 -1
  72. data/generated/google/apis/ml_v1/classes.rb +57 -23
  73. data/generated/google/apis/ml_v1/service.rb +6 -2
  74. data/generated/google/apis/monitoring_v3.rb +1 -1
  75. data/generated/google/apis/monitoring_v3/classes.rb +12 -12
  76. data/generated/google/apis/monitoring_v3/service.rb +2 -2
  77. data/generated/google/apis/oslogin_v1.rb +1 -1
  78. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  79. data/generated/google/apis/people_v1.rb +1 -1
  80. data/generated/google/apis/people_v1/classes.rb +67 -63
  81. data/generated/google/apis/people_v1/service.rb +53 -44
  82. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  83. data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
  84. data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
  85. data/generated/google/apis/videointelligence_v1.rb +1 -1
  86. data/generated/google/apis/videointelligence_v1/classes.rb +1 -2
  87. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  88. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -2
  89. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  90. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -2
  91. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  92. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -2
  93. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  94. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -2
  95. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  96. data/google-api-client.gemspec +3 -0
  97. data/lib/google/apis/version.rb +1 -1
  98. metadata +4 -7
  99. data/generated/google/apis/dfareporting_v3_2.rb +0 -40
  100. data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
  101. data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
  102. data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
@@ -28,12 +28,6 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class GoogleCloudDialogflowV2ArticleAnswer
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
31
  class GoogleCloudDialogflowV2BatchCreateEntitiesRequest
38
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
33
 
@@ -142,18 +136,6 @@ module Google
142
136
  include Google::Apis::Core::JsonObjectSupport
143
137
  end
144
138
 
145
- class GoogleCloudDialogflowV2FaqAnswer
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
- class GoogleCloudDialogflowV2HumanAgentAssistantEvent
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
139
  class GoogleCloudDialogflowV2ImportAgentRequest
158
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
141
 
@@ -316,12 +298,6 @@ module Google
316
298
  include Google::Apis::Core::JsonObjectSupport
317
299
  end
318
300
 
319
- class GoogleCloudDialogflowV2KnowledgeOperationMetadata
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
301
  class GoogleCloudDialogflowV2ListContextsResponse
326
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
303
 
@@ -412,24 +388,6 @@ module Google
412
388
  include Google::Apis::Core::JsonObjectSupport
413
389
  end
414
390
 
415
- class GoogleCloudDialogflowV2SuggestArticlesResponse
416
- class Representation < Google::Apis::Core::JsonRepresentation; end
417
-
418
- include Google::Apis::Core::JsonObjectSupport
419
- end
420
-
421
- class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
422
- class Representation < Google::Apis::Core::JsonRepresentation; end
423
-
424
- include Google::Apis::Core::JsonObjectSupport
425
- end
426
-
427
- class GoogleCloudDialogflowV2SuggestionResult
428
- class Representation < Google::Apis::Core::JsonRepresentation; end
429
-
430
- include Google::Apis::Core::JsonObjectSupport
431
- end
432
-
433
391
  class GoogleCloudDialogflowV2SynthesizeSpeechConfig
434
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
393
 
@@ -910,18 +868,6 @@ module Google
910
868
  end
911
869
  end
912
870
 
913
- class GoogleCloudDialogflowV2ArticleAnswer
914
- # @private
915
- class Representation < Google::Apis::Core::JsonRepresentation
916
- property :answer_record, as: 'answerRecord'
917
- property :confidence, as: 'confidence'
918
- hash :metadata, as: 'metadata'
919
- collection :snippets, as: 'snippets'
920
- property :title, as: 'title'
921
- property :uri, as: 'uri'
922
- end
923
- end
924
-
925
871
  class GoogleCloudDialogflowV2BatchCreateEntitiesRequest
926
872
  # @private
927
873
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1092,28 +1038,6 @@ module Google
1092
1038
  end
1093
1039
  end
1094
1040
 
1095
- class GoogleCloudDialogflowV2FaqAnswer
1096
- # @private
1097
- class Representation < Google::Apis::Core::JsonRepresentation
1098
- property :answer, as: 'answer'
1099
- property :answer_record, as: 'answerRecord'
1100
- property :confidence, as: 'confidence'
1101
- hash :metadata, as: 'metadata'
1102
- property :question, as: 'question'
1103
- property :source, as: 'source'
1104
- end
1105
- end
1106
-
1107
- class GoogleCloudDialogflowV2HumanAgentAssistantEvent
1108
- # @private
1109
- class Representation < Google::Apis::Core::JsonRepresentation
1110
- property :conversation, as: 'conversation'
1111
- property :participant, as: 'participant'
1112
- collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult::Representation
1113
-
1114
- end
1115
- end
1116
-
1117
1041
  class GoogleCloudDialogflowV2ImportAgentRequest
1118
1042
  # @private
1119
1043
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1296,6 +1220,7 @@ module Google
1296
1220
  class Representation < Google::Apis::Core::JsonRepresentation
1297
1221
  collection :items, as: 'items', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelectItem, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelectItem::Representation
1298
1222
 
1223
+ property :subtitle, as: 'subtitle'
1299
1224
  property :title, as: 'title'
1300
1225
  end
1301
1226
  end
@@ -1402,13 +1327,6 @@ module Google
1402
1327
  end
1403
1328
  end
1404
1329
 
1405
- class GoogleCloudDialogflowV2KnowledgeOperationMetadata
1406
- # @private
1407
- class Representation < Google::Apis::Core::JsonRepresentation
1408
- property :state, as: 'state'
1409
- end
1410
- end
1411
-
1412
1330
  class GoogleCloudDialogflowV2ListContextsResponse
1413
1331
  # @private
1414
1332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1568,38 +1486,6 @@ module Google
1568
1486
  end
1569
1487
  end
1570
1488
 
1571
- class GoogleCloudDialogflowV2SuggestArticlesResponse
1572
- # @private
1573
- class Representation < Google::Apis::Core::JsonRepresentation
1574
- collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer::Representation
1575
-
1576
- property :context_size, as: 'contextSize'
1577
- property :latest_message, as: 'latestMessage'
1578
- end
1579
- end
1580
-
1581
- class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
1582
- # @private
1583
- class Representation < Google::Apis::Core::JsonRepresentation
1584
- property :context_size, as: 'contextSize'
1585
- collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer::Representation
1586
-
1587
- property :latest_message, as: 'latestMessage'
1588
- end
1589
- end
1590
-
1591
- class GoogleCloudDialogflowV2SuggestionResult
1592
- # @private
1593
- class Representation < Google::Apis::Core::JsonRepresentation
1594
- property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
1595
-
1596
- property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestArticlesResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestArticlesResponse::Representation
1597
-
1598
- property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
1599
-
1600
- end
1601
- end
1602
-
1603
1489
  class GoogleCloudDialogflowV2SynthesizeSpeechConfig
1604
1490
  # @private
1605
1491
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1951,6 +1837,7 @@ module Google
1951
1837
  class Representation < Google::Apis::Core::JsonRepresentation
1952
1838
  collection :items, as: 'items', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem::Representation
1953
1839
 
1840
+ property :subtitle, as: 'subtitle'
1954
1841
  property :title, as: 'title'
1955
1842
  end
1956
1843
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20191005'
29
+ REVISION = '20191027'
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,60 +22,6 @@ 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
-
79
25
  # The response message for EntityTypes.BatchUpdateEntityTypes.
80
26
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
81
27
  include Google::Apis::Core::Hashable
@@ -311,101 +257,6 @@ module Google
311
257
  end
312
258
  end
313
259
 
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
-
409
260
  # Represents an intent.
410
261
  # Intents convert a number of user expressions or patterns into an action. An
411
262
  # action is an extraction of a user command or sentence semantics.
@@ -503,9 +354,12 @@ module Google
503
354
  attr_accessor :parent_followup_intent_name
504
355
 
505
356
  # Optional. The priority of this intent. Higher numbers represent higher
506
- # priorities. If this is zero or unspecified, we use the default
507
- # priority 500000.
508
- # Negative numbers mean that the intent is disabled.
357
+ # priorities.
358
+ # - If the supplied value is unspecified or 0, the service
359
+ # translates the value to 500,000, which corresponds to the
360
+ # `Normal` priority in the console.
361
+ # - If the supplied value is negative, the intent is ignored
362
+ # in runtime detect intent requests.
509
363
  # Corresponds to the JSON property `priority`
510
364
  # @return [Fixnum]
511
365
  attr_accessor :priority
@@ -950,6 +804,11 @@ module Google
950
804
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem>]
951
805
  attr_accessor :items
952
806
 
807
+ # Optional. Subtitle of the list.
808
+ # Corresponds to the JSON property `subtitle`
809
+ # @return [String]
810
+ attr_accessor :subtitle
811
+
953
812
  # Optional. The overall title of the list.
954
813
  # Corresponds to the JSON property `title`
955
814
  # @return [String]
@@ -962,6 +821,7 @@ module Google
962
821
  # Update properties of this object
963
822
  def update!(**args)
964
823
  @items = args[:items] if args.key?(:items)
824
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
965
825
  @title = args[:title] if args.key?(:title)
966
826
  end
967
827
  end
@@ -1343,25 +1203,6 @@ module Google
1343
1203
  end
1344
1204
  end
1345
1205
 
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
-
1365
1206
  # Represents the contents of the original request that was passed to
1366
1207
  # the `[Streaming]DetectIntent` call.
1367
1208
  class GoogleCloudDialogflowV2OriginalDetectIntentRequest
@@ -1640,118 +1481,6 @@ module Google
1640
1481
  end
1641
1482
  end
1642
1483
 
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
-
1755
1484
  # The request message for a webhook call.
1756
1485
  class GoogleCloudDialogflowV2WebhookRequest
1757
1486
  include Google::Apis::Core::Hashable
@@ -3033,10 +2762,13 @@ module Google
3033
2762
  # @return [String]
3034
2763
  attr_accessor :parent_followup_intent_name
3035
2764
 
3036
- # Optional. The priority of this intent. Higher numbers represent higher
3037
- # priorities. If this is zero or unspecified, we use the default
3038
- # priority 500000.
3039
- # Negative numbers mean that the intent is disabled.
2765
+ # The priority of this intent. Higher numbers represent higher
2766
+ # priorities.
2767
+ # - If the supplied value is unspecified or 0, the service
2768
+ # translates the value to 500,000, which corresponds to the
2769
+ # `Normal` priority in the console.
2770
+ # - If the supplied value is negative, the intent is ignored
2771
+ # in runtime detect intent requests.
3040
2772
  # Corresponds to the JSON property `priority`
3041
2773
  # @return [Fixnum]
3042
2774
  attr_accessor :priority
@@ -3699,6 +3431,11 @@ module Google
3699
3431
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem>]
3700
3432
  attr_accessor :items
3701
3433
 
3434
+ # Optional. Subtitle of the list.
3435
+ # Corresponds to the JSON property `subtitle`
3436
+ # @return [String]
3437
+ attr_accessor :subtitle
3438
+
3702
3439
  # Optional. The overall title of the list.
3703
3440
  # Corresponds to the JSON property `title`
3704
3441
  # @return [String]
@@ -3711,6 +3448,7 @@ module Google
3711
3448
  # Update properties of this object
3712
3449
  def update!(**args)
3713
3450
  @items = args[:items] if args.key?(:items)
3451
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
3714
3452
  @title = args[:title] if args.key?(:title)
3715
3453
  end
3716
3454
  end
@@ -4794,6 +4532,13 @@ module Google
4794
4532
  # @return [String]
4795
4533
  attr_accessor :display_name
4796
4534
 
4535
+ # Language which represents the KnowledgeBase. When the KnowledgeBase is
4536
+ # created/updated, this is populated for all non en-us languages. If not
4537
+ # populated, the default language en-us applies.
4538
+ # Corresponds to the JSON property `languageCode`
4539
+ # @return [String]
4540
+ attr_accessor :language_code
4541
+
4797
4542
  # The knowledge base resource name.
4798
4543
  # The name must be empty when creating a knowledge base.
4799
4544
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -4808,6 +4553,7 @@ module Google
4808
4553
  # Update properties of this object
4809
4554
  def update!(**args)
4810
4555
  @display_name = args[:display_name] if args.key?(:display_name)
4556
+ @language_code = args[:language_code] if args.key?(:language_code)
4811
4557
  @name = args[:name] if args.key?(:name)
4812
4558
  end
4813
4559
  end