google-api-client 0.46.0 → 0.46.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +59 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  5. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  6. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  10. data/generated/google/apis/admob_v1.rb +3 -2
  11. data/generated/google/apis/admob_v1/service.rb +2 -1
  12. data/generated/google/apis/adsense_v1_4.rb +1 -1
  13. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  14. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  15. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
  16. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  17. data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
  18. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
  20. data/generated/google/apis/apigee_v1.rb +1 -1
  21. data/generated/google/apis/apigee_v1/classes.rb +231 -1
  22. data/generated/google/apis/apigee_v1/representations.rb +87 -0
  23. data/generated/google/apis/apigee_v1/service.rb +201 -1
  24. data/generated/google/apis/appsmarket_v2.rb +1 -1
  25. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  26. data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
  27. data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
  28. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  29. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  30. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  31. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  32. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  33. data/generated/google/apis/cloudshell_v1.rb +1 -1
  34. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  35. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  36. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  37. data/generated/google/apis/composer_v1.rb +1 -1
  38. data/generated/google/apis/composer_v1/classes.rb +2 -3
  39. data/generated/google/apis/composer_v1beta1.rb +1 -1
  40. data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
  41. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  42. data/generated/google/apis/compute_alpha.rb +1 -1
  43. data/generated/google/apis/compute_alpha/classes.rb +126 -21
  44. data/generated/google/apis/compute_alpha/representations.rb +7 -0
  45. data/generated/google/apis/compute_alpha/service.rb +62 -3
  46. data/generated/google/apis/compute_beta.rb +1 -1
  47. data/generated/google/apis/compute_beta/classes.rb +83 -19
  48. data/generated/google/apis/compute_beta/representations.rb +4 -0
  49. data/generated/google/apis/compute_beta/service.rb +3 -3
  50. data/generated/google/apis/compute_v1.rb +1 -1
  51. data/generated/google/apis/compute_v1/classes.rb +28 -8
  52. data/generated/google/apis/compute_v1/representations.rb +3 -0
  53. data/generated/google/apis/compute_v1/service.rb +3 -3
  54. data/generated/google/apis/container_v1beta1.rb +1 -1
  55. data/generated/google/apis/content_v2.rb +1 -1
  56. data/generated/google/apis/content_v2_1.rb +1 -1
  57. data/generated/google/apis/content_v2_1/classes.rb +99 -0
  58. data/generated/google/apis/content_v2_1/representations.rb +47 -0
  59. data/generated/google/apis/content_v2_1/service.rb +37 -0
  60. data/generated/google/apis/dialogflow_v2.rb +1 -1
  61. data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
  62. data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
  63. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  64. data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
  65. data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
  66. data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
  67. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  68. data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
  69. data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
  70. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  71. data/generated/google/apis/displayvideo_v1.rb +1 -1
  72. data/generated/google/apis/displayvideo_v1/service.rb +13 -10
  73. data/generated/google/apis/dns_v1.rb +1 -1
  74. data/generated/google/apis/dns_v1/service.rb +10 -10
  75. data/generated/google/apis/dns_v1beta2.rb +1 -1
  76. data/generated/google/apis/dns_v1beta2/service.rb +10 -10
  77. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  78. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  79. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  80. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  81. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  82. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
  83. data/generated/google/apis/drive_v2.rb +1 -1
  84. data/generated/google/apis/drive_v2/classes.rb +2 -1
  85. data/generated/google/apis/fitness_v1.rb +13 -1
  86. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
  88. data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
  89. data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
  90. data/generated/google/apis/licensing_v1.rb +1 -1
  91. data/generated/google/apis/licensing_v1/service.rb +2 -2
  92. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  93. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  94. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  95. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  96. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  97. data/generated/google/apis/monitoring_v3.rb +1 -1
  98. data/generated/google/apis/monitoring_v3/classes.rb +48 -0
  99. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  100. data/generated/google/apis/oauth2_v2.rb +40 -0
  101. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  102. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  103. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  104. data/generated/google/apis/people_v1.rb +1 -1
  105. data/generated/google/apis/people_v1/classes.rb +3 -2
  106. data/generated/google/apis/people_v1/service.rb +4 -4
  107. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  108. data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
  109. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  110. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  111. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  112. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  113. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  114. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  115. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  116. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  117. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  118. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  119. data/generated/google/apis/run_v1.rb +1 -1
  120. data/generated/google/apis/run_v1/classes.rb +5 -2
  121. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  122. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
  123. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
  124. data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
  125. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  126. data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
  127. data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
  128. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  129. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
  130. data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
  131. data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
  132. data/generated/google/apis/sts_v1.rb +1 -1
  133. data/generated/google/apis/sts_v1/classes.rb +10 -9
  134. data/generated/google/apis/sts_v1beta.rb +1 -1
  135. data/generated/google/apis/sts_v1beta/classes.rb +66 -70
  136. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  137. data/generated/google/apis/testing_v1.rb +1 -1
  138. data/generated/google/apis/testing_v1/classes.rb +47 -0
  139. data/generated/google/apis/testing_v1/representations.rb +20 -0
  140. data/generated/google/apis/videointelligence_v1.rb +1 -1
  141. data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
  142. data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
  143. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  144. data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
  145. data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
  146. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  147. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
  148. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
  149. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  150. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
  151. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
  152. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  153. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
  154. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
  155. data/generated/google/apis/workflows_v1beta.rb +3 -2
  156. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  157. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  158. data/generated/google/apis/youtube_v3.rb +1 -1
  159. data/lib/google/apis/version.rb +1 -1
  160. metadata +15 -3
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20200928'
29
+ REVISION = '20201006'
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'
@@ -1076,6 +1076,25 @@ module Google
1076
1076
  end
1077
1077
  end
1078
1078
 
1079
+ # Response message for Documents.ImportDocuments.
1080
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
1081
+ include Google::Apis::Core::Hashable
1082
+
1083
+ # Includes details about skipped documents or any other warnings.
1084
+ # Corresponds to the JSON property `warnings`
1085
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
1086
+ attr_accessor :warnings
1087
+
1088
+ def initialize(**args)
1089
+ update!(**args)
1090
+ end
1091
+
1092
+ # Update properties of this object
1093
+ def update!(**args)
1094
+ @warnings = args[:warnings] if args.key?(:warnings)
1095
+ end
1096
+ end
1097
+
1079
1098
  # An intent categorizes an end-user's intention for one conversation turn. For
1080
1099
  # each agent, you define many intents, where your combined intents can handle a
1081
1100
  # complete conversation. When an end-user writes or says something, referred to
@@ -2529,9 +2548,9 @@ module Google
2529
2548
 
2530
2549
  # The result of sentiment analysis. Sentiment analysis inspects user input and
2531
2550
  # identifies the prevailing subjective opinion, especially to determine a user's
2532
- # attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
2533
- # it needs to be configured in DetectIntentRequest.query_params. For
2534
- # Participants.StreamingAnalyzeContent, it needs to be configured in
2551
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
2552
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
2553
+ # StreamingDetectIntent, it needs to be configured in
2535
2554
  # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
2536
2555
  # and Participants.StreamingAnalyzeContent, it needs to be configured in
2537
2556
  # ConversationProfile.human_agent_assistant_config
@@ -2615,9 +2634,9 @@ module Google
2615
2634
 
2616
2635
  # The result of sentiment analysis. Sentiment analysis inspects user input and
2617
2636
  # identifies the prevailing subjective opinion, especially to determine a user's
2618
- # attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
2619
- # it needs to be configured in DetectIntentRequest.query_params. For
2620
- # Participants.StreamingAnalyzeContent, it needs to be configured in
2637
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
2638
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
2639
+ # StreamingDetectIntent, it needs to be configured in
2621
2640
  # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
2622
2641
  # and Participants.StreamingAnalyzeContent, it needs to be configured in
2623
2642
  # ConversationProfile.human_agent_assistant_config
@@ -4036,6 +4055,25 @@ module Google
4036
4055
  end
4037
4056
  end
4038
4057
 
4058
+ # Response message for Documents.ImportDocuments.
4059
+ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
4060
+ include Google::Apis::Core::Hashable
4061
+
4062
+ # Includes details about skipped documents or any other warnings.
4063
+ # Corresponds to the JSON property `warnings`
4064
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleRpcStatus>]
4065
+ attr_accessor :warnings
4066
+
4067
+ def initialize(**args)
4068
+ update!(**args)
4069
+ end
4070
+
4071
+ # Update properties of this object
4072
+ def update!(**args)
4073
+ @warnings = args[:warnings] if args.key?(:warnings)
4074
+ end
4075
+ end
4076
+
4039
4077
  # Instructs the speech recognizer on how to process the audio content.
4040
4078
  class GoogleCloudDialogflowV2beta1InputAudioConfig
4041
4079
  include Google::Apis::Core::Hashable
@@ -6525,9 +6563,9 @@ module Google
6525
6563
 
6526
6564
  # The result of sentiment analysis. Sentiment analysis inspects user input and
6527
6565
  # identifies the prevailing subjective opinion, especially to determine a user's
6528
- # attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
6529
- # it needs to be configured in DetectIntentRequest.query_params. For
6530
- # Participants.StreamingAnalyzeContent, it needs to be configured in
6566
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
6567
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
6568
+ # StreamingDetectIntent, it needs to be configured in
6531
6569
  # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
6532
6570
  # and Participants.StreamingAnalyzeContent, it needs to be configured in
6533
6571
  # ConversationProfile.human_agent_assistant_config
@@ -6706,9 +6744,9 @@ module Google
6706
6744
 
6707
6745
  # The result of sentiment analysis. Sentiment analysis inspects user input and
6708
6746
  # identifies the prevailing subjective opinion, especially to determine a user's
6709
- # attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
6710
- # it needs to be configured in DetectIntentRequest.query_params. For
6711
- # Participants.StreamingAnalyzeContent, it needs to be configured in
6747
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
6748
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
6749
+ # StreamingDetectIntent, it needs to be configured in
6712
6750
  # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
6713
6751
  # and Participants.StreamingAnalyzeContent, it needs to be configured in
6714
6752
  # ConversationProfile.human_agent_assistant_config
@@ -7237,26 +7275,6 @@ module Google
7237
7275
  end
7238
7276
  end
7239
7277
 
7240
- # Metadata associated with the long running operation for Versions.CreateVersion.
7241
- class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
7242
- include Google::Apis::Core::Hashable
7243
-
7244
- # Name of the created version. Format: `projects//locations//agents//flows//
7245
- # versions/`.
7246
- # Corresponds to the JSON property `version`
7247
- # @return [String]
7248
- attr_accessor :version
7249
-
7250
- def initialize(**args)
7251
- update!(**args)
7252
- end
7253
-
7254
- # Update properties of this object
7255
- def update!(**args)
7256
- @version = args[:version] if args.key?(:version)
7257
- end
7258
- end
7259
-
7260
7278
  # The response message for Agents.ExportAgent.
7261
7279
  class GoogleCloudDialogflowV3alpha1ExportAgentResponse
7262
7280
  include Google::Apis::Core::Hashable
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class GoogleCloudDialogflowV2Intent
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -640,6 +646,12 @@ module Google
640
646
  include Google::Apis::Core::JsonObjectSupport
641
647
  end
642
648
 
649
+ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
643
655
  class GoogleCloudDialogflowV2beta1InputAudioConfig
644
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
657
 
@@ -1150,12 +1162,6 @@ module Google
1150
1162
  include Google::Apis::Core::JsonObjectSupport
1151
1163
  end
1152
1164
 
1153
- class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
1154
- class Representation < Google::Apis::Core::JsonRepresentation; end
1155
-
1156
- include Google::Apis::Core::JsonObjectSupport
1157
- end
1158
-
1159
1165
  class GoogleCloudDialogflowV3alpha1ExportAgentResponse
1160
1166
  class Representation < Google::Apis::Core::JsonRepresentation; end
1161
1167
 
@@ -1513,6 +1519,14 @@ module Google
1513
1519
  end
1514
1520
  end
1515
1521
 
1522
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
1523
+ # @private
1524
+ class Representation < Google::Apis::Core::JsonRepresentation
1525
+ collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
1526
+
1527
+ end
1528
+ end
1529
+
1516
1530
  class GoogleCloudDialogflowV2Intent
1517
1531
  # @private
1518
1532
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2287,6 +2301,14 @@ module Google
2287
2301
  end
2288
2302
  end
2289
2303
 
2304
+ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
2305
+ # @private
2306
+ class Representation < Google::Apis::Core::JsonRepresentation
2307
+ collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
2308
+
2309
+ end
2310
+ end
2311
+
2290
2312
  class GoogleCloudDialogflowV2beta1InputAudioConfig
2291
2313
  # @private
2292
2314
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3168,13 +3190,6 @@ module Google
3168
3190
  end
3169
3191
  end
3170
3192
 
3171
- class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
3172
- # @private
3173
- class Representation < Google::Apis::Core::JsonRepresentation
3174
- property :version, as: 'version'
3175
- end
3176
- end
3177
-
3178
3193
  class GoogleCloudDialogflowV3alpha1ExportAgentResponse
3179
3194
  # @private
3180
3195
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1725,6 +1725,19 @@ module Google
1725
1725
  # knowledgeBases`.
1726
1726
  # @param [String] parent
1727
1727
  # Required. The project to list of knowledge bases for. Format: `projects/`.
1728
+ # @param [String] filter
1729
+ # The filter expression used to filter knowledge bases returned by the list
1730
+ # method. The expression has the following syntax: [AND ] ... The following
1731
+ # fields and operators are supported: * display_name with has(:) operator *
1732
+ # language_code with equals(=) operator Examples: * 'language_code=en-us'
1733
+ # matches knowledge bases with en-us language code. * 'display_name:articles'
1734
+ # matches knowledge bases whose display name contains "articles". * '
1735
+ # display_name:"Best Articles"' matches knowledge bases whose display name
1736
+ # contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
1737
+ # matches all knowledge bases whose display name contains "articles" and whose
1738
+ # language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
1739
+ # and will result in no filtering. For more information about filtering, see [
1740
+ # API Filtering](https://aip.dev/160).
1728
1741
  # @param [Fixnum] page_size
1729
1742
  # The maximum number of items to return in a single page. By default 10 and at
1730
1743
  # most 100.
@@ -1747,11 +1760,12 @@ module Google
1747
1760
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1748
1761
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1749
1762
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1750
- def list_project_agent_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1763
+ def list_project_agent_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1751
1764
  command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
1752
1765
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
1753
1766
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
1754
1767
  command.params['parent'] = parent unless parent.nil?
1768
+ command.query['filter'] = filter unless filter.nil?
1755
1769
  command.query['pageSize'] = page_size unless page_size.nil?
1756
1770
  command.query['pageToken'] = page_token unless page_token.nil?
1757
1771
  command.query['fields'] = fields unless fields.nil?
@@ -1906,6 +1920,16 @@ module Google
1906
1920
  # @param [String] parent
1907
1921
  # Required. The knowledge base to list all documents for. Format: `projects//
1908
1922
  # knowledgeBases/`.
1923
+ # @param [String] filter
1924
+ # The filter expression used to filter documents returned by the list method.
1925
+ # The expression has the following syntax: [AND ] ... The following fields and
1926
+ # operators are supported: * knowledge_types with has(:) operator * display_name
1927
+ # with has(:) operator * state with equals(=) operator Examples: * "
1928
+ # knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
1929
+ # display_name:customer" matches documents whose display name contains "customer"
1930
+ # . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
1931
+ # AND state=ACTIVE" matches all active FAQ documents. For more information about
1932
+ # filtering, see [API Filtering](https://aip.dev/160).
1909
1933
  # @param [Fixnum] page_size
1910
1934
  # The maximum number of items to return in a single page. By default 10 and at
1911
1935
  # most 100.
@@ -1928,11 +1952,12 @@ module Google
1928
1952
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1929
1953
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1930
1954
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1931
- def list_project_agent_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1955
+ def list_project_agent_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1932
1956
  command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
1933
1957
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
1934
1958
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
1935
1959
  command.params['parent'] = parent unless parent.nil?
1960
+ command.query['filter'] = filter unless filter.nil?
1936
1961
  command.query['pageSize'] = page_size unless page_size.nil?
1937
1962
  command.query['pageToken'] = page_token unless page_token.nil?
1938
1963
  command.query['fields'] = fields unless fields.nil?
@@ -2614,6 +2639,19 @@ module Google
2614
2639
  # knowledgeBases`.
2615
2640
  # @param [String] parent
2616
2641
  # Required. The project to list of knowledge bases for. Format: `projects/`.
2642
+ # @param [String] filter
2643
+ # The filter expression used to filter knowledge bases returned by the list
2644
+ # method. The expression has the following syntax: [AND ] ... The following
2645
+ # fields and operators are supported: * display_name with has(:) operator *
2646
+ # language_code with equals(=) operator Examples: * 'language_code=en-us'
2647
+ # matches knowledge bases with en-us language code. * 'display_name:articles'
2648
+ # matches knowledge bases whose display name contains "articles". * '
2649
+ # display_name:"Best Articles"' matches knowledge bases whose display name
2650
+ # contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
2651
+ # matches all knowledge bases whose display name contains "articles" and whose
2652
+ # language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
2653
+ # and will result in no filtering. For more information about filtering, see [
2654
+ # API Filtering](https://aip.dev/160).
2617
2655
  # @param [Fixnum] page_size
2618
2656
  # The maximum number of items to return in a single page. By default 10 and at
2619
2657
  # most 100.
@@ -2636,11 +2674,12 @@ module Google
2636
2674
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2637
2675
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2638
2676
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2639
- def list_project_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2677
+ def list_project_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2640
2678
  command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
2641
2679
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
2642
2680
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
2643
2681
  command.params['parent'] = parent unless parent.nil?
2682
+ command.query['filter'] = filter unless filter.nil?
2644
2683
  command.query['pageSize'] = page_size unless page_size.nil?
2645
2684
  command.query['pageToken'] = page_token unless page_token.nil?
2646
2685
  command.query['fields'] = fields unless fields.nil?
@@ -2795,6 +2834,16 @@ module Google
2795
2834
  # @param [String] parent
2796
2835
  # Required. The knowledge base to list all documents for. Format: `projects//
2797
2836
  # knowledgeBases/`.
2837
+ # @param [String] filter
2838
+ # The filter expression used to filter documents returned by the list method.
2839
+ # The expression has the following syntax: [AND ] ... The following fields and
2840
+ # operators are supported: * knowledge_types with has(:) operator * display_name
2841
+ # with has(:) operator * state with equals(=) operator Examples: * "
2842
+ # knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
2843
+ # display_name:customer" matches documents whose display name contains "customer"
2844
+ # . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
2845
+ # AND state=ACTIVE" matches all active FAQ documents. For more information about
2846
+ # filtering, see [API Filtering](https://aip.dev/160).
2798
2847
  # @param [Fixnum] page_size
2799
2848
  # The maximum number of items to return in a single page. By default 10 and at
2800
2849
  # most 100.
@@ -2817,11 +2866,12 @@ module Google
2817
2866
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2818
2867
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2819
2868
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2820
- def list_project_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2869
+ def list_project_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2821
2870
  command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
2822
2871
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
2823
2872
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
2824
2873
  command.params['parent'] = parent unless parent.nil?
2874
+ command.query['filter'] = filter unless filter.nil?
2825
2875
  command.query['pageSize'] = page_size unless page_size.nil?
2826
2876
  command.query['pageToken'] = page_token unless page_token.nil?
2827
2877
  command.query['fields'] = fields unless fields.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV3beta1
28
28
  VERSION = 'V3beta1'
29
- REVISION = '20200928'
29
+ REVISION = '20201005'
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'
@@ -172,8 +172,10 @@ module Google
172
172
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig]
173
173
  attr_accessor :output_audio_config
174
174
 
175
- # Represents the query input. It can contain either: 1. A conversational query
175
+ # Represents the query input. It can contain one of: 1. A conversational query
176
176
  # in the form of text. 2. An intent query that specifies which intent to trigger.
177
+ # 3. Natural language speech audio to be processed. 4. An event to be triggered.
178
+ #
177
179
  # Corresponds to the JSON property `queryInput`
178
180
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
179
181
  attr_accessor :query_input
@@ -1698,8 +1700,10 @@ module Google
1698
1700
  class GoogleCloudDialogflowCxV3beta1MatchIntentRequest
1699
1701
  include Google::Apis::Core::Hashable
1700
1702
 
1701
- # Represents the query input. It can contain either: 1. A conversational query
1703
+ # Represents the query input. It can contain one of: 1. A conversational query
1702
1704
  # in the form of text. 2. An intent query that specifies which intent to trigger.
1705
+ # 3. Natural language speech audio to be processed. 4. An event to be triggered.
1706
+ #
1703
1707
  # Corresponds to the JSON property `queryInput`
1704
1708
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
1705
1709
  attr_accessor :query_input
@@ -1758,6 +1762,12 @@ module Google
1758
1762
  # @return [String]
1759
1763
  attr_accessor :transcript
1760
1764
 
1765
+ # If an event was provided as input, this field will contain a copy of the event
1766
+ # name.
1767
+ # Corresponds to the JSON property `triggerEvent`
1768
+ # @return [String]
1769
+ attr_accessor :trigger_event
1770
+
1761
1771
  # If an intent was provided as input, this field will contain a copy of the
1762
1772
  # intent identifier.
1763
1773
  # Corresponds to the JSON property `triggerIntent`
@@ -1774,6 +1784,7 @@ module Google
1774
1784
  @matches = args[:matches] if args.key?(:matches)
1775
1785
  @text = args[:text] if args.key?(:text)
1776
1786
  @transcript = args[:transcript] if args.key?(:transcript)
1787
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
1777
1788
  @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
1778
1789
  end
1779
1790
  end
@@ -2041,8 +2052,10 @@ module Google
2041
2052
  end
2042
2053
  end
2043
2054
 
2044
- # Represents the query input. It can contain either: 1. A conversational query
2055
+ # Represents the query input. It can contain one of: 1. A conversational query
2045
2056
  # in the form of text. 2. An intent query that specifies which intent to trigger.
2057
+ # 3. Natural language speech audio to be processed. 4. An event to be triggered.
2058
+ #
2046
2059
  class GoogleCloudDialogflowCxV3beta1QueryInput
2047
2060
  include Google::Apis::Core::Hashable
2048
2061
 
@@ -3673,6 +3686,25 @@ module Google
3673
3686
  end
3674
3687
  end
3675
3688
 
3689
+ # Response message for Documents.ImportDocuments.
3690
+ class GoogleCloudDialogflowV2ImportDocumentsResponse
3691
+ include Google::Apis::Core::Hashable
3692
+
3693
+ # Includes details about skipped documents or any other warnings.
3694
+ # Corresponds to the JSON property `warnings`
3695
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
3696
+ attr_accessor :warnings
3697
+
3698
+ def initialize(**args)
3699
+ update!(**args)
3700
+ end
3701
+
3702
+ # Update properties of this object
3703
+ def update!(**args)
3704
+ @warnings = args[:warnings] if args.key?(:warnings)
3705
+ end
3706
+ end
3707
+
3676
3708
  # An intent categorizes an end-user's intention for one conversation turn. For
3677
3709
  # each agent, you define many intents, where your combined intents can handle a
3678
3710
  # complete conversation. When an end-user writes or says something, referred to
@@ -5126,9 +5158,9 @@ module Google
5126
5158
 
5127
5159
  # The result of sentiment analysis. Sentiment analysis inspects user input and
5128
5160
  # identifies the prevailing subjective opinion, especially to determine a user's
5129
- # attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
5130
- # it needs to be configured in DetectIntentRequest.query_params. For
5131
- # Participants.StreamingAnalyzeContent, it needs to be configured in
5161
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
5162
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
5163
+ # StreamingDetectIntent, it needs to be configured in
5132
5164
  # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
5133
5165
  # and Participants.StreamingAnalyzeContent, it needs to be configured in
5134
5166
  # ConversationProfile.human_agent_assistant_config
@@ -5212,9 +5244,9 @@ module Google
5212
5244
 
5213
5245
  # The result of sentiment analysis. Sentiment analysis inspects user input and
5214
5246
  # identifies the prevailing subjective opinion, especially to determine a user's
5215
- # attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
5216
- # it needs to be configured in DetectIntentRequest.query_params. For
5217
- # Participants.StreamingAnalyzeContent, it needs to be configured in
5247
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
5248
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
5249
+ # StreamingDetectIntent, it needs to be configured in
5218
5250
  # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
5219
5251
  # and Participants.StreamingAnalyzeContent, it needs to be configured in
5220
5252
  # ConversationProfile.human_agent_assistant_config
@@ -5784,6 +5816,25 @@ module Google
5784
5816
  end
5785
5817
  end
5786
5818
 
5819
+ # Response message for Documents.ImportDocuments.
5820
+ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
5821
+ include Google::Apis::Core::Hashable
5822
+
5823
+ # Includes details about skipped documents or any other warnings.
5824
+ # Corresponds to the JSON property `warnings`
5825
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
5826
+ attr_accessor :warnings
5827
+
5828
+ def initialize(**args)
5829
+ update!(**args)
5830
+ end
5831
+
5832
+ # Update properties of this object
5833
+ def update!(**args)
5834
+ @warnings = args[:warnings] if args.key?(:warnings)
5835
+ end
5836
+ end
5837
+
5787
5838
  # An intent categorizes an end-user's intention for one conversation turn. For
5788
5839
  # each agent, you define many intents, where your combined intents can handle a
5789
5840
  # complete conversation. When an end-user writes or says something, referred to
@@ -7756,9 +7807,9 @@ module Google
7756
7807
 
7757
7808
  # The result of sentiment analysis. Sentiment analysis inspects user input and
7758
7809
  # identifies the prevailing subjective opinion, especially to determine a user's
7759
- # attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
7760
- # it needs to be configured in DetectIntentRequest.query_params. For
7761
- # Participants.StreamingAnalyzeContent, it needs to be configured in
7810
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
7811
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
7812
+ # StreamingDetectIntent, it needs to be configured in
7762
7813
  # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
7763
7814
  # and Participants.StreamingAnalyzeContent, it needs to be configured in
7764
7815
  # ConversationProfile.human_agent_assistant_config
@@ -7843,9 +7894,9 @@ module Google
7843
7894
 
7844
7895
  # The result of sentiment analysis. Sentiment analysis inspects user input and
7845
7896
  # identifies the prevailing subjective opinion, especially to determine a user's
7846
- # attitude as positive, negative, or neutral. For Participants.AnalyzeContent,
7847
- # it needs to be configured in DetectIntentRequest.query_params. For
7848
- # Participants.StreamingAnalyzeContent, it needs to be configured in
7897
+ # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
7898
+ # needs to be configured in DetectIntentRequest.query_params. For Participants.
7899
+ # StreamingDetectIntent, it needs to be configured in
7849
7900
  # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
7850
7901
  # and Participants.StreamingAnalyzeContent, it needs to be configured in
7851
7902
  # ConversationProfile.human_agent_assistant_config
@@ -8125,26 +8176,6 @@ module Google
8125
8176
  end
8126
8177
  end
8127
8178
 
8128
- # Metadata associated with the long running operation for Versions.CreateVersion.
8129
- class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
8130
- include Google::Apis::Core::Hashable
8131
-
8132
- # Name of the created version. Format: `projects//locations//agents//flows//
8133
- # versions/`.
8134
- # Corresponds to the JSON property `version`
8135
- # @return [String]
8136
- attr_accessor :version
8137
-
8138
- def initialize(**args)
8139
- update!(**args)
8140
- end
8141
-
8142
- # Update properties of this object
8143
- def update!(**args)
8144
- @version = args[:version] if args.key?(:version)
8145
- end
8146
- end
8147
-
8148
8179
  # The response message for Agents.ExportAgent.
8149
8180
  class GoogleCloudDialogflowV3alpha1ExportAgentResponse
8150
8181
  include Google::Apis::Core::Hashable