google-api-client 0.45.0 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +56 -0
  3. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  6. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  7. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  8. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  9. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  10. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  11. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  12. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  13. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  14. data/generated/google/apis/apigee_v1.rb +1 -1
  15. data/generated/google/apis/apigee_v1/classes.rb +0 -6
  16. data/generated/google/apis/apigee_v1/representations.rb +0 -1
  17. data/generated/google/apis/apigee_v1/service.rb +1 -5
  18. data/generated/google/apis/appsmarket_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +22 -0
  21. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  22. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  23. data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
  24. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  25. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  26. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  27. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
  28. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  29. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  32. data/generated/google/apis/chat_v1.rb +1 -1
  33. data/generated/google/apis/chat_v1/classes.rb +76 -2
  34. data/generated/google/apis/chat_v1/representations.rb +35 -0
  35. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  36. data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
  37. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  38. data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
  39. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  40. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  41. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  42. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  43. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -34
  44. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  45. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +185 -0
  47. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  48. data/generated/google/apis/cloudidentity_v1beta1/service.rb +164 -0
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  51. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  53. data/generated/google/apis/content_v2_1.rb +1 -1
  54. data/generated/google/apis/content_v2_1/service.rb +1 -1
  55. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  56. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
  57. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  58. data/generated/google/apis/dataflow_v1b3/classes.rb +20 -8
  59. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  60. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  61. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  62. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  63. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  64. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  65. data/generated/google/apis/dialogflow_v2.rb +1 -1
  66. data/generated/google/apis/dialogflow_v2/classes.rb +73 -0
  67. data/generated/google/apis/dialogflow_v2/representations.rb +51 -0
  68. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2beta1/classes.rb +73 -0
  70. data/generated/google/apis/dialogflow_v2beta1/representations.rb +51 -0
  71. data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
  72. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  73. data/generated/google/apis/dialogflow_v3beta1/classes.rb +142 -0
  74. data/generated/google/apis/dialogflow_v3beta1/representations.rb +83 -0
  75. data/generated/google/apis/displayvideo_v1.rb +1 -1
  76. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  77. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  78. data/generated/google/apis/dlp_v2.rb +1 -1
  79. data/generated/google/apis/dlp_v2/classes.rb +26 -0
  80. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  81. data/generated/google/apis/dlp_v2/service.rb +328 -328
  82. data/generated/google/apis/firestore_v1.rb +1 -1
  83. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  84. data/generated/google/apis/gmail_v1.rb +1 -1
  85. data/generated/google/apis/gmail_v1/service.rb +1 -1
  86. data/generated/google/apis/healthcare_v1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1/classes.rb +3 -1
  88. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  89. data/generated/google/apis/healthcare_v1beta1/classes.rb +1014 -16
  90. data/generated/google/apis/healthcare_v1beta1/representations.rb +453 -0
  91. data/generated/google/apis/healthcare_v1beta1/service.rb +1226 -0
  92. data/generated/google/apis/logging_v2.rb +1 -1
  93. data/generated/google/apis/logging_v2/classes.rb +98 -55
  94. data/generated/google/apis/logging_v2/representations.rb +32 -0
  95. data/generated/google/apis/logging_v2/service.rb +1214 -264
  96. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  97. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  98. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  99. data/generated/google/apis/people_v1.rb +1 -1
  100. data/generated/google/apis/people_v1/service.rb +8 -6
  101. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  102. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  103. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  104. data/generated/google/apis/run_v1.rb +1 -1
  105. data/generated/google/apis/run_v1/classes.rb +0 -124
  106. data/generated/google/apis/run_v1/representations.rb +0 -61
  107. data/generated/google/apis/run_v1/service.rb +0 -342
  108. data/generated/google/apis/searchconsole_v1.rb +7 -1
  109. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  110. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  111. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  112. data/generated/google/apis/securitycenter_v1.rb +1 -1
  113. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  114. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  115. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  116. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  117. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  118. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  119. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  120. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  121. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  122. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -2
  123. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  124. data/generated/google/apis/servicecontrol_v2/classes.rb +1 -2
  125. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  126. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  127. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  128. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  129. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  130. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  131. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  132. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  133. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  134. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  135. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  136. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  137. data/generated/google/apis/sqladmin_v1beta4/classes.rb +83 -52
  138. data/generated/google/apis/sqladmin_v1beta4/representations.rb +33 -17
  139. data/generated/google/apis/storage_v1.rb +1 -1
  140. data/generated/google/apis/sts_v1beta.rb +1 -1
  141. data/generated/google/apis/sts_v1beta/classes.rb +4 -1
  142. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  143. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  144. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  145. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  146. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  147. data/generated/google/apis/youtube_v3.rb +1 -1
  148. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  149. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  150. data/generated/google/apis/youtube_v3/service.rb +2 -2
  151. data/lib/google/apis/version.rb +1 -1
  152. metadata +15 -3
@@ -856,18 +856,6 @@ module Google
856
856
  include Google::Apis::Core::JsonObjectSupport
857
857
  end
858
858
 
859
- class MediaRequestInfo
860
- class Representation < Google::Apis::Core::JsonRepresentation; end
861
-
862
- include Google::Apis::Core::JsonObjectSupport
863
- end
864
-
865
- class MediaResponseInfo
866
- class Representation < Google::Apis::Core::JsonRepresentation; end
867
-
868
- include Google::Apis::Core::JsonObjectSupport
869
- end
870
-
871
859
  class Metric
872
860
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
861
 
@@ -3011,10 +2999,6 @@ module Google
3011
2999
  property :id, :numeric_string => true, as: 'id'
3012
3000
  property :kind, as: 'kind'
3013
3001
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
3014
- property :media_request_info, as: 'mediaRequestInfo', class: Google::Apis::DfareportingV3_4::MediaRequestInfo, decorator: Google::Apis::DfareportingV3_4::MediaRequestInfo::Representation
3015
-
3016
- property :media_response_info, as: 'mediaResponseInfo', class: Google::Apis::DfareportingV3_4::MediaResponseInfo, decorator: Google::Apis::DfareportingV3_4::MediaResponseInfo::Representation
3017
-
3018
3002
  property :report_id, :numeric_string => true, as: 'reportId'
3019
3003
  property :status, as: 'status'
3020
3004
  property :urls, as: 'urls', class: Google::Apis::DfareportingV3_4::File::Urls, decorator: Google::Apis::DfareportingV3_4::File::Urls::Representation
@@ -3397,32 +3381,6 @@ module Google
3397
3381
  end
3398
3382
  end
3399
3383
 
3400
- class MediaRequestInfo
3401
- # @private
3402
- class Representation < Google::Apis::Core::JsonRepresentation
3403
- property :current_bytes, :numeric_string => true, as: 'currentBytes'
3404
- property :custom_data, as: 'customData'
3405
- property :diff_object_version, as: 'diffObjectVersion'
3406
- property :notification_type, as: 'notificationType'
3407
- property :request_id, as: 'requestId'
3408
- property :total_bytes, :numeric_string => true, as: 'totalBytes'
3409
- property :total_bytes_is_estimated, as: 'totalBytesIsEstimated'
3410
- end
3411
- end
3412
-
3413
- class MediaResponseInfo
3414
- # @private
3415
- class Representation < Google::Apis::Core::JsonRepresentation
3416
- property :custom_data, as: 'customData'
3417
- property :data_storage_transform, :base64 => true, as: 'dataStorageTransform'
3418
- property :dynamic_drop_target, :base64 => true, as: 'dynamicDropTarget'
3419
- property :dynamic_dropzone, as: 'dynamicDropzone'
3420
- property :request_class, as: 'requestClass'
3421
- property :traffic_class_field, as: 'trafficClassField'
3422
- property :verify_hash_from_header, as: 'verifyHashFromHeader'
3423
- end
3424
- end
3425
-
3426
3384
  class Metric
3427
3385
  # @private
3428
3386
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200903'
29
+ REVISION = '20200920'
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'
@@ -6871,6 +6871,46 @@ module Google
6871
6871
  end
6872
6872
  end
6873
6873
 
6874
+ # Metadata returned for the TestCases.ExportTestCases long running operation.
6875
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
6876
+ include Google::Apis::Core::Hashable
6877
+
6878
+ def initialize(**args)
6879
+ update!(**args)
6880
+ end
6881
+
6882
+ # Update properties of this object
6883
+ def update!(**args)
6884
+ end
6885
+ end
6886
+
6887
+ # The response message for TestCases.ExportTestCases.
6888
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
6889
+ include Google::Apis::Core::Hashable
6890
+
6891
+ # Uncompressed raw byte content for test cases.
6892
+ # Corresponds to the JSON property `content`
6893
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
6894
+ # @return [String]
6895
+ attr_accessor :content
6896
+
6897
+ # The URI to a file containing the exported test cases. This field is populated
6898
+ # only if `gcs_uri` is specified in ExportTestCasesRequest.
6899
+ # Corresponds to the JSON property `gcsUri`
6900
+ # @return [String]
6901
+ attr_accessor :gcs_uri
6902
+
6903
+ def initialize(**args)
6904
+ update!(**args)
6905
+ end
6906
+
6907
+ # Update properties of this object
6908
+ def update!(**args)
6909
+ @content = args[:content] if args.key?(:content)
6910
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
6911
+ end
6912
+ end
6913
+
6874
6914
  # The response message for Agents.ImportAgent.
6875
6915
  class GoogleCloudDialogflowV3alpha1ImportAgentResponse
6876
6916
  include Google::Apis::Core::Hashable
@@ -6890,6 +6930,39 @@ module Google
6890
6930
  end
6891
6931
  end
6892
6932
 
6933
+ # Metadata returned for the TestCases.ImportTestCases long running operation.
6934
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
6935
+ include Google::Apis::Core::Hashable
6936
+
6937
+ def initialize(**args)
6938
+ update!(**args)
6939
+ end
6940
+
6941
+ # Update properties of this object
6942
+ def update!(**args)
6943
+ end
6944
+ end
6945
+
6946
+ # The response message for TestCases.ImportTestCases.
6947
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
6948
+ include Google::Apis::Core::Hashable
6949
+
6950
+ # The unique identifiers of the new test cases. Format: `projects//locations//
6951
+ # agents//testCases/`.
6952
+ # Corresponds to the JSON property `names`
6953
+ # @return [Array<String>]
6954
+ attr_accessor :names
6955
+
6956
+ def initialize(**args)
6957
+ update!(**args)
6958
+ end
6959
+
6960
+ # Update properties of this object
6961
+ def update!(**args)
6962
+ @names = args[:names] if args.key?(:names)
6963
+ end
6964
+ end
6965
+
6893
6966
  # The response message for Operations.ListOperations.
6894
6967
  class GoogleLongrunningListOperationsResponse
6895
6968
  include Google::Apis::Core::Hashable
@@ -1096,12 +1096,36 @@ module Google
1096
1096
  include Google::Apis::Core::JsonObjectSupport
1097
1097
  end
1098
1098
 
1099
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
1100
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1101
+
1102
+ include Google::Apis::Core::JsonObjectSupport
1103
+ end
1104
+
1105
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1099
1111
  class GoogleCloudDialogflowV3alpha1ImportAgentResponse
1100
1112
  class Representation < Google::Apis::Core::JsonRepresentation; end
1101
1113
 
1102
1114
  include Google::Apis::Core::JsonObjectSupport
1103
1115
  end
1104
1116
 
1117
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1123
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
1124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1125
+
1126
+ include Google::Apis::Core::JsonObjectSupport
1127
+ end
1128
+
1105
1129
  class GoogleLongrunningListOperationsResponse
1106
1130
  class Representation < Google::Apis::Core::JsonRepresentation; end
1107
1131
 
@@ -2985,6 +3009,20 @@ module Google
2985
3009
  end
2986
3010
  end
2987
3011
 
3012
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
3013
+ # @private
3014
+ class Representation < Google::Apis::Core::JsonRepresentation
3015
+ end
3016
+ end
3017
+
3018
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
3019
+ # @private
3020
+ class Representation < Google::Apis::Core::JsonRepresentation
3021
+ property :content, :base64 => true, as: 'content'
3022
+ property :gcs_uri, as: 'gcsUri'
3023
+ end
3024
+ end
3025
+
2988
3026
  class GoogleCloudDialogflowV3alpha1ImportAgentResponse
2989
3027
  # @private
2990
3028
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2992,6 +3030,19 @@ module Google
2992
3030
  end
2993
3031
  end
2994
3032
 
3033
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
3034
+ # @private
3035
+ class Representation < Google::Apis::Core::JsonRepresentation
3036
+ end
3037
+ end
3038
+
3039
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
3040
+ # @private
3041
+ class Representation < Google::Apis::Core::JsonRepresentation
3042
+ collection :names, as: 'names'
3043
+ end
3044
+ end
3045
+
2995
3046
  class GoogleLongrunningListOperationsResponse
2996
3047
  # @private
2997
3048
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20200903'
29
+ REVISION = '20200920'
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'
@@ -7198,6 +7198,46 @@ module Google
7198
7198
  end
7199
7199
  end
7200
7200
 
7201
+ # Metadata returned for the TestCases.ExportTestCases long running operation.
7202
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
7203
+ include Google::Apis::Core::Hashable
7204
+
7205
+ def initialize(**args)
7206
+ update!(**args)
7207
+ end
7208
+
7209
+ # Update properties of this object
7210
+ def update!(**args)
7211
+ end
7212
+ end
7213
+
7214
+ # The response message for TestCases.ExportTestCases.
7215
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
7216
+ include Google::Apis::Core::Hashable
7217
+
7218
+ # Uncompressed raw byte content for test cases.
7219
+ # Corresponds to the JSON property `content`
7220
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
7221
+ # @return [String]
7222
+ attr_accessor :content
7223
+
7224
+ # The URI to a file containing the exported test cases. This field is populated
7225
+ # only if `gcs_uri` is specified in ExportTestCasesRequest.
7226
+ # Corresponds to the JSON property `gcsUri`
7227
+ # @return [String]
7228
+ attr_accessor :gcs_uri
7229
+
7230
+ def initialize(**args)
7231
+ update!(**args)
7232
+ end
7233
+
7234
+ # Update properties of this object
7235
+ def update!(**args)
7236
+ @content = args[:content] if args.key?(:content)
7237
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
7238
+ end
7239
+ end
7240
+
7201
7241
  # The response message for Agents.ImportAgent.
7202
7242
  class GoogleCloudDialogflowV3alpha1ImportAgentResponse
7203
7243
  include Google::Apis::Core::Hashable
@@ -7217,6 +7257,39 @@ module Google
7217
7257
  end
7218
7258
  end
7219
7259
 
7260
+ # Metadata returned for the TestCases.ImportTestCases long running operation.
7261
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
7262
+ include Google::Apis::Core::Hashable
7263
+
7264
+ def initialize(**args)
7265
+ update!(**args)
7266
+ end
7267
+
7268
+ # Update properties of this object
7269
+ def update!(**args)
7270
+ end
7271
+ end
7272
+
7273
+ # The response message for TestCases.ImportTestCases.
7274
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
7275
+ include Google::Apis::Core::Hashable
7276
+
7277
+ # The unique identifiers of the new test cases. Format: `projects//locations//
7278
+ # agents//testCases/`.
7279
+ # Corresponds to the JSON property `names`
7280
+ # @return [Array<String>]
7281
+ attr_accessor :names
7282
+
7283
+ def initialize(**args)
7284
+ update!(**args)
7285
+ end
7286
+
7287
+ # Update properties of this object
7288
+ def update!(**args)
7289
+ @names = args[:names] if args.key?(:names)
7290
+ end
7291
+ end
7292
+
7220
7293
  # The response message for Operations.ListOperations.
7221
7294
  class GoogleLongrunningListOperationsResponse
7222
7295
  include Google::Apis::Core::Hashable
@@ -1144,12 +1144,36 @@ module Google
1144
1144
  include Google::Apis::Core::JsonObjectSupport
1145
1145
  end
1146
1146
 
1147
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1153
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1147
1159
  class GoogleCloudDialogflowV3alpha1ImportAgentResponse
1148
1160
  class Representation < Google::Apis::Core::JsonRepresentation; end
1149
1161
 
1150
1162
  include Google::Apis::Core::JsonObjectSupport
1151
1163
  end
1152
1164
 
1165
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
1166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1167
+
1168
+ include Google::Apis::Core::JsonObjectSupport
1169
+ end
1170
+
1171
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1153
1177
  class GoogleLongrunningListOperationsResponse
1154
1178
  class Representation < Google::Apis::Core::JsonRepresentation; end
1155
1179
 
@@ -3114,6 +3138,20 @@ module Google
3114
3138
  end
3115
3139
  end
3116
3140
 
3141
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
3142
+ # @private
3143
+ class Representation < Google::Apis::Core::JsonRepresentation
3144
+ end
3145
+ end
3146
+
3147
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
3148
+ # @private
3149
+ class Representation < Google::Apis::Core::JsonRepresentation
3150
+ property :content, :base64 => true, as: 'content'
3151
+ property :gcs_uri, as: 'gcsUri'
3152
+ end
3153
+ end
3154
+
3117
3155
  class GoogleCloudDialogflowV3alpha1ImportAgentResponse
3118
3156
  # @private
3119
3157
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3121,6 +3159,19 @@ module Google
3121
3159
  end
3122
3160
  end
3123
3161
 
3162
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
3163
+ # @private
3164
+ class Representation < Google::Apis::Core::JsonRepresentation
3165
+ end
3166
+ end
3167
+
3168
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
3169
+ # @private
3170
+ class Representation < Google::Apis::Core::JsonRepresentation
3171
+ collection :names, as: 'names'
3172
+ end
3173
+ end
3174
+
3124
3175
  class GoogleLongrunningListOperationsResponse
3125
3176
  # @private
3126
3177
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1726,10 +1726,10 @@ module Google
1726
1726
  # @param [String] parent
1727
1727
  # Required. The project to list of knowledge bases for. Format: `projects/`.
1728
1728
  # @param [Fixnum] page_size
1729
- # Optional. The maximum number of items to return in a single page. By default
1730
- # 10 and at most 100.
1729
+ # The maximum number of items to return in a single page. By default 10 and at
1730
+ # most 100.
1731
1731
  # @param [String] page_token
1732
- # Optional. The next_page_token value returned from a previous list request.
1732
+ # The next_page_token value returned from a previous list request.
1733
1733
  # @param [String] fields
1734
1734
  # Selector specifying which fields to include in a partial response.
1735
1735
  # @param [String] quota_user
@@ -2615,10 +2615,10 @@ module Google
2615
2615
  # @param [String] parent
2616
2616
  # Required. The project to list of knowledge bases for. Format: `projects/`.
2617
2617
  # @param [Fixnum] page_size
2618
- # Optional. The maximum number of items to return in a single page. By default
2619
- # 10 and at most 100.
2618
+ # The maximum number of items to return in a single page. By default 10 and at
2619
+ # most 100.
2620
2620
  # @param [String] page_token
2621
- # Optional. The next_page_token value returned from a previous list request.
2621
+ # The next_page_token value returned from a previous list request.
2622
2622
  # @param [String] fields
2623
2623
  # Selector specifying which fields to include in a partial response.
2624
2624
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV3beta1
28
28
  VERSION = 'V3beta1'
29
- REVISION = '20200914'
29
+ REVISION = '20200920'
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'
@@ -499,6 +499,25 @@ module Google
499
499
  end
500
500
  end
501
501
 
502
+ # Represents the event to trigger.
503
+ class GoogleCloudDialogflowCxV3beta1EventInput
504
+ include Google::Apis::Core::Hashable
505
+
506
+ # Name of the event.
507
+ # Corresponds to the JSON property `event`
508
+ # @return [String]
509
+ attr_accessor :event
510
+
511
+ def initialize(**args)
512
+ update!(**args)
513
+ end
514
+
515
+ # Update properties of this object
516
+ def update!(**args)
517
+ @event = args[:event] if args.key?(:event)
518
+ end
519
+ end
520
+
502
521
  # The request message for Agents.ExportAgent.
503
522
  class GoogleCloudDialogflowCxV3beta1ExportAgentRequest
504
523
  include Google::Apis::Core::Hashable
@@ -2032,6 +2051,11 @@ module Google
2032
2051
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AudioInput]
2033
2052
  attr_accessor :audio
2034
2053
 
2054
+ # Represents the event to trigger.
2055
+ # Corresponds to the JSON property `event`
2056
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventInput]
2057
+ attr_accessor :event
2058
+
2035
2059
  # Represents the intent to trigger programmatically rather than as a result of
2036
2060
  # natural language processing.
2037
2061
  # Corresponds to the JSON property `intent`
@@ -2058,6 +2082,7 @@ module Google
2058
2082
  # Update properties of this object
2059
2083
  def update!(**args)
2060
2084
  @audio = args[:audio] if args.key?(:audio)
2085
+ @event = args[:event] if args.key?(:event)
2061
2086
  @intent = args[:intent] if args.key?(:intent)
2062
2087
  @language_code = args[:language_code] if args.key?(:language_code)
2063
2088
  @text = args[:text] if args.key?(:text)
@@ -2068,6 +2093,13 @@ module Google
2068
2093
  class GoogleCloudDialogflowCxV3beta1QueryParameters
2069
2094
  include Google::Apis::Core::Hashable
2070
2095
 
2096
+ # Configures whether sentiment analysis should be performed. If not provided,
2097
+ # sentiment analysis is not performed.
2098
+ # Corresponds to the JSON property `analyzeQueryTextSentiment`
2099
+ # @return [Boolean]
2100
+ attr_accessor :analyze_query_text_sentiment
2101
+ alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
2102
+
2071
2103
  # An object representing a latitude/longitude pair. This is expressed as a pair
2072
2104
  # of doubles representing degrees latitude and degrees longitude. Unless
2073
2105
  # specified otherwise, this must conform to the WGS84 standard. Values must be
@@ -2115,6 +2147,7 @@ module Google
2115
2147
 
2116
2148
  # Update properties of this object
2117
2149
  def update!(**args)
2150
+ @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
2118
2151
  @geo_location = args[:geo_location] if args.key?(:geo_location)
2119
2152
  @parameters = args[:parameters] if args.key?(:parameters)
2120
2153
  @payload = args[:payload] if args.key?(:payload)
@@ -2199,6 +2232,13 @@ module Google
2199
2232
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
2200
2233
  attr_accessor :response_messages
2201
2234
 
2235
+ # The result of sentiment analysis. Sentiment analysis inspects user input and
2236
+ # identifies the prevailing subjective opinion, especially to determine a user's
2237
+ # attitude as positive, negative, or neutral.
2238
+ # Corresponds to the JSON property `sentimentAnalysisResult`
2239
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult]
2240
+ attr_accessor :sentiment_analysis_result
2241
+
2202
2242
  # If natural language text was provided as input, this field will contain a copy
2203
2243
  # of the text.
2204
2244
  # Corresponds to the JSON property `text`
@@ -2249,6 +2289,7 @@ module Google
2249
2289
  @match = args[:match] if args.key?(:match)
2250
2290
  @parameters = args[:parameters] if args.key?(:parameters)
2251
2291
  @response_messages = args[:response_messages] if args.key?(:response_messages)
2292
+ @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
2252
2293
  @text = args[:text] if args.key?(:text)
2253
2294
  @transcript = args[:transcript] if args.key?(:transcript)
2254
2295
  @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
@@ -2591,6 +2632,34 @@ module Google
2591
2632
  end
2592
2633
  end
2593
2634
 
2635
+ # The result of sentiment analysis. Sentiment analysis inspects user input and
2636
+ # identifies the prevailing subjective opinion, especially to determine a user's
2637
+ # attitude as positive, negative, or neutral.
2638
+ class GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult
2639
+ include Google::Apis::Core::Hashable
2640
+
2641
+ # A non-negative number in the [0, +inf) range, which represents the absolute
2642
+ # magnitude of sentiment, regardless of score (positive or negative).
2643
+ # Corresponds to the JSON property `magnitude`
2644
+ # @return [Float]
2645
+ attr_accessor :magnitude
2646
+
2647
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
2648
+ # Corresponds to the JSON property `score`
2649
+ # @return [Float]
2650
+ attr_accessor :score
2651
+
2652
+ def initialize(**args)
2653
+ update!(**args)
2654
+ end
2655
+
2656
+ # Update properties of this object
2657
+ def update!(**args)
2658
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
2659
+ @score = args[:score] if args.key?(:score)
2660
+ end
2661
+ end
2662
+
2594
2663
  # Session entity types are referred to as **User** entity types and are entities
2595
2664
  # that are built for an individual user such as favorites, preferences,
2596
2665
  # playlists, and so on. You can redefine a session entity type at the session
@@ -8016,6 +8085,46 @@ module Google
8016
8085
  end
8017
8086
  end
8018
8087
 
8088
+ # Metadata returned for the TestCases.ExportTestCases long running operation.
8089
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
8090
+ include Google::Apis::Core::Hashable
8091
+
8092
+ def initialize(**args)
8093
+ update!(**args)
8094
+ end
8095
+
8096
+ # Update properties of this object
8097
+ def update!(**args)
8098
+ end
8099
+ end
8100
+
8101
+ # The response message for TestCases.ExportTestCases.
8102
+ class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
8103
+ include Google::Apis::Core::Hashable
8104
+
8105
+ # Uncompressed raw byte content for test cases.
8106
+ # Corresponds to the JSON property `content`
8107
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
8108
+ # @return [String]
8109
+ attr_accessor :content
8110
+
8111
+ # The URI to a file containing the exported test cases. This field is populated
8112
+ # only if `gcs_uri` is specified in ExportTestCasesRequest.
8113
+ # Corresponds to the JSON property `gcsUri`
8114
+ # @return [String]
8115
+ attr_accessor :gcs_uri
8116
+
8117
+ def initialize(**args)
8118
+ update!(**args)
8119
+ end
8120
+
8121
+ # Update properties of this object
8122
+ def update!(**args)
8123
+ @content = args[:content] if args.key?(:content)
8124
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
8125
+ end
8126
+ end
8127
+
8019
8128
  # The response message for Agents.ImportAgent.
8020
8129
  class GoogleCloudDialogflowV3alpha1ImportAgentResponse
8021
8130
  include Google::Apis::Core::Hashable
@@ -8035,6 +8144,39 @@ module Google
8035
8144
  end
8036
8145
  end
8037
8146
 
8147
+ # Metadata returned for the TestCases.ImportTestCases long running operation.
8148
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
8149
+ include Google::Apis::Core::Hashable
8150
+
8151
+ def initialize(**args)
8152
+ update!(**args)
8153
+ end
8154
+
8155
+ # Update properties of this object
8156
+ def update!(**args)
8157
+ end
8158
+ end
8159
+
8160
+ # The response message for TestCases.ImportTestCases.
8161
+ class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
8162
+ include Google::Apis::Core::Hashable
8163
+
8164
+ # The unique identifiers of the new test cases. Format: `projects//locations//
8165
+ # agents//testCases/`.
8166
+ # Corresponds to the JSON property `names`
8167
+ # @return [Array<String>]
8168
+ attr_accessor :names
8169
+
8170
+ def initialize(**args)
8171
+ update!(**args)
8172
+ end
8173
+
8174
+ # Update properties of this object
8175
+ def update!(**args)
8176
+ @names = args[:names] if args.key?(:names)
8177
+ end
8178
+ end
8179
+
8038
8180
  # The response message for Operations.ListOperations.
8039
8181
  class GoogleLongrunningListOperationsResponse
8040
8182
  include Google::Apis::Core::Hashable