google-api-client 0.51.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +23 -45
  3. data/CHANGELOG.md +100 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  6. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  7. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  8. data/generated/google/apis/admin_directory_v1.rb +2 -2
  9. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  10. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  11. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  14. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  15. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  18. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
  19. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
  20. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  22. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  23. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
  26. data/generated/google/apis/apigee_v1.rb +1 -1
  27. data/generated/google/apis/apigee_v1/classes.rb +71 -0
  28. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  29. data/generated/google/apis/apigee_v1/service.rb +206 -0
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  32. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  33. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  34. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
  35. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  36. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  37. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
  38. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  39. data/generated/google/apis/cloudasset_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  41. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  43. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  45. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  46. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  47. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  48. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  49. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  54. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  55. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  57. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  59. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  60. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  61. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  62. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  64. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  65. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  66. data/generated/google/apis/composer_v1beta1.rb +1 -1
  67. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  68. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  71. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  72. data/generated/google/apis/compute_alpha/service.rb +291 -15
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +926 -283
  75. data/generated/google/apis/compute_beta/representations.rb +221 -18
  76. data/generated/google/apis/compute_beta/service.rb +24 -15
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +419 -158
  79. data/generated/google/apis/compute_v1/representations.rb +55 -0
  80. data/generated/google/apis/compute_v1/service.rb +9 -7
  81. data/generated/google/apis/container_v1.rb +1 -1
  82. data/generated/google/apis/container_v1/classes.rb +48 -9
  83. data/generated/google/apis/container_v1/representations.rb +17 -0
  84. data/generated/google/apis/container_v1/service.rb +4 -2
  85. data/generated/google/apis/container_v1beta1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +24 -13
  87. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  88. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +16 -7
  91. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  92. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  93. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  94. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  95. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  96. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  97. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  98. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  99. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  100. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  101. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
  105. data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
  109. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  110. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  111. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  112. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  113. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  114. data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
  115. data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
  116. data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
  117. data/generated/google/apis/dlp_v2.rb +1 -1
  118. data/generated/google/apis/dlp_v2/service.rb +294 -1
  119. data/generated/google/apis/dns_v1.rb +1 -1
  120. data/generated/google/apis/dns_v1/classes.rb +65 -0
  121. data/generated/google/apis/dns_v1/representations.rb +32 -0
  122. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  123. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  124. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  125. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  126. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  127. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  128. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  129. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  130. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  131. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  132. data/generated/google/apis/file_v1.rb +1 -1
  133. data/generated/google/apis/file_v1/classes.rb +61 -0
  134. data/generated/google/apis/file_v1/representations.rb +19 -0
  135. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  136. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  137. data/generated/google/apis/healthcare_v1.rb +1 -1
  138. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  139. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  140. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  141. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  142. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  143. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  144. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  145. data/generated/google/apis/iap_v1.rb +1 -1
  146. data/generated/google/apis/iap_v1/classes.rb +0 -6
  147. data/generated/google/apis/iap_v1/representations.rb +0 -1
  148. data/generated/google/apis/iap_v1beta1.rb +1 -1
  149. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  150. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/metastore_v1beta.rb +35 -0
  152. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  153. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  154. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  155. data/generated/google/apis/ml_v1.rb +1 -1
  156. data/generated/google/apis/ml_v1/classes.rb +51 -18
  157. data/generated/google/apis/ml_v1/representations.rb +16 -0
  158. data/generated/google/apis/monitoring_v3.rb +1 -1
  159. data/generated/google/apis/monitoring_v3/classes.rb +8 -4
  160. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  161. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  162. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  163. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  164. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  165. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  166. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  167. data/generated/google/apis/redis_v1.rb +1 -1
  168. data/generated/google/apis/redis_v1/classes.rb +2 -2
  169. data/generated/google/apis/redis_v1beta1.rb +1 -1
  170. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  171. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  172. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  173. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  174. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  175. data/generated/google/apis/searchconsole_v1.rb +1 -1
  176. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  177. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  178. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  179. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  180. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  181. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  182. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  183. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  184. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  185. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  186. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  187. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  188. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  189. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  190. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  191. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  192. data/generated/google/apis/serviceusage_v1.rb +1 -1
  193. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  194. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  195. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  196. data/generated/google/apis/slides_v1.rb +1 -1
  197. data/generated/google/apis/slides_v1/classes.rb +9 -3
  198. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  199. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  200. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  201. data/generated/google/apis/testing_v1.rb +1 -1
  202. data/generated/google/apis/testing_v1/classes.rb +1 -1
  203. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  204. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  205. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  206. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  207. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/translate_v3.rb +1 -1
  209. data/generated/google/apis/translate_v3/classes.rb +1 -1
  210. data/generated/google/apis/translate_v3beta1.rb +1 -1
  211. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  212. data/generated/google/apis/workflows_v1beta.rb +1 -1
  213. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +15 -7
  216. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  217. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  218. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1beta3
24
24
 
25
+ class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -46,6 +52,24 @@ module Google
46
52
  include Google::Apis::Core::JsonObjectSupport
47
53
  end
48
54
 
55
+ class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
49
73
  class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata
50
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
75
 
@@ -70,6 +94,24 @@ module Google
70
94
  include Google::Apis::Core::JsonObjectSupport
71
95
  end
72
96
 
97
+ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
73
115
  class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata
74
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
117
 
@@ -946,7 +988,7 @@ module Google
946
988
  include Google::Apis::Core::JsonObjectSupport
947
989
  end
948
990
 
949
- class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
991
+ class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
950
992
  # @private
951
993
  class Representation < Google::Apis::Core::JsonRepresentation
952
994
  property :create_time, as: 'createTime'
@@ -956,6 +998,14 @@ module Google
956
998
  end
957
999
  end
958
1000
 
1001
+ class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
1002
+ # @private
1003
+ class Representation < Google::Apis::Core::JsonRepresentation
1004
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1005
+
1006
+ end
1007
+ end
1008
+
959
1009
  class GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata
960
1010
  # @private
961
1011
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -968,16 +1018,16 @@ module Google
968
1018
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
969
1019
  # @private
970
1020
  class Representation < Google::Apis::Core::JsonRepresentation
971
- property :create_time, as: 'createTime'
972
- property :state, as: 'state'
973
- property :state_message, as: 'stateMessage'
974
- property :update_time, as: 'updateTime'
1021
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1022
+
975
1023
  end
976
1024
  end
977
1025
 
978
1026
  class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata
979
1027
  # @private
980
1028
  class Representation < Google::Apis::Core::JsonRepresentation
1029
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1030
+
981
1031
  property :create_time, as: 'createTime'
982
1032
  property :state, as: 'state'
983
1033
  property :state_message, as: 'stateMessage'
@@ -985,9 +1035,33 @@ module Google
985
1035
  end
986
1036
  end
987
1037
 
1038
+ class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata
1039
+ # @private
1040
+ class Representation < Google::Apis::Core::JsonRepresentation
1041
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1042
+
1043
+ end
1044
+ end
1045
+
1046
+ class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata
1047
+ # @private
1048
+ class Representation < Google::Apis::Core::JsonRepresentation
1049
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1050
+
1051
+ end
1052
+ end
1053
+
1054
+ class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse
1055
+ # @private
1056
+ class Representation < Google::Apis::Core::JsonRepresentation
1057
+ end
1058
+ end
1059
+
988
1060
  class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata
989
1061
  # @private
990
1062
  class Representation < Google::Apis::Core::JsonRepresentation
1063
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1064
+
991
1065
  property :create_time, as: 'createTime'
992
1066
  property :state, as: 'state'
993
1067
  property :state_message, as: 'stateMessage'
@@ -1004,6 +1078,8 @@ module Google
1004
1078
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
1005
1079
  # @private
1006
1080
  class Representation < Google::Apis::Core::JsonRepresentation
1081
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1082
+
1007
1083
  property :create_time, as: 'createTime'
1008
1084
  property :state, as: 'state'
1009
1085
  property :state_message, as: 'stateMessage'
@@ -1017,13 +1093,33 @@ module Google
1017
1093
  end
1018
1094
  end
1019
1095
 
1096
+ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata
1097
+ # @private
1098
+ class Representation < Google::Apis::Core::JsonRepresentation
1099
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1100
+
1101
+ end
1102
+ end
1103
+
1104
+ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse
1105
+ # @private
1106
+ class Representation < Google::Apis::Core::JsonRepresentation
1107
+ end
1108
+ end
1109
+
1110
+ class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
1111
+ # @private
1112
+ class Representation < Google::Apis::Core::JsonRepresentation
1113
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1114
+
1115
+ end
1116
+ end
1117
+
1020
1118
  class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata
1021
1119
  # @private
1022
1120
  class Representation < Google::Apis::Core::JsonRepresentation
1023
- property :create_time, as: 'createTime'
1024
- property :state, as: 'state'
1025
- property :state_message, as: 'stateMessage'
1026
- property :update_time, as: 'updateTime'
1121
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1122
+
1027
1123
  end
1028
1124
  end
1029
1125
 
@@ -152,7 +152,9 @@ module Google
152
152
  # LRO endpoint to batch process many documents. The output is written to Cloud
153
153
  # Storage as JSON in the [Document] format.
154
154
  # @param [String] name
155
- # Required. The processor resource name.
155
+ # Required. The resource name of Processor or ProcessorVersion. Format: projects/
156
+ # `project`/locations/`location`/processors/`processor`, or projects/`project`/
157
+ # locations/`location`/processors/`processor`/processorVerions/`processorVersion`
156
158
  # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
157
159
  # @param [String] fields
158
160
  # Selector specifying which fields to include in a partial response.
@@ -185,7 +187,11 @@ module Google
185
187
 
186
188
  # Processes a single document.
187
189
  # @param [String] name
188
- # Required. The processor resource name.
190
+ # Required. The resource name of the Processor or ProcessorVersion to use for
191
+ # processing. If a Processor is specified, the server will use its default
192
+ # version. Format: projects/`project`/locations/`location`/processors/`processor`
193
+ # , or projects/`project`/locations/`location`/processors/`processor`/
194
+ # processorVerions/`processorVersion`
189
195
  # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
190
196
  # @param [String] fields
191
197
  # Selector specifying which fields to include in a partial response.
@@ -250,6 +256,79 @@ module Google
250
256
  command.query['quotaUser'] = quota_user unless quota_user.nil?
251
257
  execute_or_queue_command(command, &block)
252
258
  end
259
+
260
+ # LRO endpoint to batch process many documents. The output is written to Cloud
261
+ # Storage as JSON in the [Document] format.
262
+ # @param [String] name
263
+ # Required. The resource name of Processor or ProcessorVersion. Format: projects/
264
+ # `project`/locations/`location`/processors/`processor`, or projects/`project`/
265
+ # locations/`location`/processors/`processor`/processorVerions/`processorVersion`
266
+ # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
267
+ # @param [String] fields
268
+ # Selector specifying which fields to include in a partial response.
269
+ # @param [String] quota_user
270
+ # Available to use for quota purposes for server-side applications. Can be any
271
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
272
+ # @param [Google::Apis::RequestOptions] options
273
+ # Request-specific options
274
+ #
275
+ # @yield [result, err] Result & error if block supplied
276
+ # @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation] parsed result object
277
+ # @yieldparam err [StandardError] error object if request failed
278
+ #
279
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation]
280
+ #
281
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
282
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
283
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
284
+ def batch_project_location_processor_processor_version_process(name, google_cloud_documentai_v1beta3_batch_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
285
+ command = make_simple_command(:post, 'v1beta3/{+name}:batchProcess', options)
286
+ command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest::Representation
287
+ command.request_object = google_cloud_documentai_v1beta3_batch_process_request_object
288
+ command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
289
+ command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation
290
+ command.params['name'] = name unless name.nil?
291
+ command.query['fields'] = fields unless fields.nil?
292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
293
+ execute_or_queue_command(command, &block)
294
+ end
295
+
296
+ # Processes a single document.
297
+ # @param [String] name
298
+ # Required. The resource name of the Processor or ProcessorVersion to use for
299
+ # processing. If a Processor is specified, the server will use its default
300
+ # version. Format: projects/`project`/locations/`location`/processors/`processor`
301
+ # , or projects/`project`/locations/`location`/processors/`processor`/
302
+ # processorVerions/`processorVersion`
303
+ # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
304
+ # @param [String] fields
305
+ # Selector specifying which fields to include in a partial response.
306
+ # @param [String] quota_user
307
+ # Available to use for quota purposes for server-side applications. Can be any
308
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
309
+ # @param [Google::Apis::RequestOptions] options
310
+ # Request-specific options
311
+ #
312
+ # @yield [result, err] Result & error if block supplied
313
+ # @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse] parsed result object
314
+ # @yieldparam err [StandardError] error object if request failed
315
+ #
316
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse]
317
+ #
318
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
319
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
320
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
321
+ def process_project_location_processor_processor_version(name, google_cloud_documentai_v1beta3_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
322
+ command = make_simple_command(:post, 'v1beta3/{+name}:process', options)
323
+ command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest::Representation
324
+ command.request_object = google_cloud_documentai_v1beta3_process_request_object
325
+ command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse::Representation
326
+ command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse
327
+ command.params['name'] = name unless name.nil?
328
+ command.query['fields'] = fields unless fields.nil?
329
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
330
+ execute_or_queue_command(command, &block)
331
+ end
253
332
 
254
333
  protected
255
334
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/eventarc
26
26
  module EventarcV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20201113'
28
+ REVISION = '20201203'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -435,15 +435,14 @@ module Google
435
435
  class MatchingCriteria
436
436
  include Google::Apis::Core::Hashable
437
437
 
438
- # Required. The name of a CloudEvents atrribute. Currently, only a subset of
438
+ # Required. The name of a CloudEvents attribute. Currently, only a subset of
439
439
  # attributes can be specified. All triggers MUST provide a matching criteria for
440
- # attribute 'type'. Event types specify what event type has attributes are
441
- # allowed based on
440
+ # the 'type' attribute.
442
441
  # Corresponds to the JSON property `attribute`
443
442
  # @return [String]
444
443
  attr_accessor :attribute
445
444
 
446
- # Required. The value for the attribute
445
+ # Required. The value for the attribute.
447
446
  # Corresponds to the JSON property `value`
448
447
  # @return [String]
449
448
  attr_accessor :value
@@ -676,14 +675,14 @@ module Google
676
675
 
677
676
  # The name of the Pub/Sub subscription created and managed by Eventarc system as
678
677
  # a transport for the event delivery. The value must be in the form of `projects/
679
- # `PROJECT_ID`/subscriptions/`SUBSCRIPTION_NAME`
678
+ # `PROJECT_ID`/subscriptions/`SUBSCRIPTION_NAME``.
680
679
  # Corresponds to the JSON property `subscription`
681
680
  # @return [String]
682
681
  attr_accessor :subscription
683
682
 
684
683
  # The name of the Pub/Sub topic created and managed by Eventarc system as a
685
684
  # transport for the event delivery. The value must be in the form of `projects/`
686
- # PROJECT_ID`/topics/`TOPIC_NAME`
685
+ # PROJECT_ID`/topics/`TOPIC_NAME``.
687
686
  # Corresponds to the JSON property `topic`
688
687
  # @return [String]
689
688
  attr_accessor :topic
@@ -873,14 +872,14 @@ module Google
873
872
  attr_accessor :etag
874
873
 
875
874
  # Required. The criteria by which events are filtered. Only events that match
876
- # with this critera will be sent to the destinations.
875
+ # with this criteria will be sent to the destination.
877
876
  # Corresponds to the JSON property `matchingCriteria`
878
877
  # @return [Array<Google::Apis::EventarcV1beta1::MatchingCriteria>]
879
878
  attr_accessor :matching_criteria
880
879
 
881
880
  # Required. The resource name of the trigger. Must be unique within the location
882
- # on the project. Format: projects/`project`/locations/`location`/triggers/`
883
- # trigger`
881
+ # on the project and must in `projects/`project`/locations/`location`/triggers/`
882
+ # trigger`` format.
884
883
  # Corresponds to the JSON property `name`
885
884
  # @return [String]
886
885
  attr_accessor :name
@@ -272,6 +272,9 @@ module Google
272
272
  # @param [Google::Apis::EventarcV1beta1::Trigger] trigger_object
273
273
  # @param [String] trigger_id
274
274
  # Required. The user-provided ID to be assigned to the trigger.
275
+ # @param [Boolean] validate_only
276
+ # Required. If set, validate the request and preview the review, but do not
277
+ # actually post it.
275
278
  # @param [String] fields
276
279
  # Selector specifying which fields to include in a partial response.
277
280
  # @param [String] quota_user
@@ -289,7 +292,7 @@ module Google
289
292
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
290
293
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
291
294
  # @raise [Google::Apis::AuthorizationError] Authorization is required
292
- def create_project_location_trigger(parent, trigger_object = nil, trigger_id: nil, fields: nil, quota_user: nil, options: nil, &block)
295
+ def create_project_location_trigger(parent, trigger_object = nil, trigger_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
293
296
  command = make_simple_command(:post, 'v1beta1/{+parent}/triggers', options)
294
297
  command.request_representation = Google::Apis::EventarcV1beta1::Trigger::Representation
295
298
  command.request_object = trigger_object
@@ -297,6 +300,7 @@ module Google
297
300
  command.response_class = Google::Apis::EventarcV1beta1::Operation
298
301
  command.params['parent'] = parent unless parent.nil?
299
302
  command.query['triggerId'] = trigger_id unless trigger_id.nil?
303
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
300
304
  command.query['fields'] = fields unless fields.nil?
301
305
  command.query['quotaUser'] = quota_user unless quota_user.nil?
302
306
  execute_or_queue_command(command, &block)
@@ -305,9 +309,15 @@ module Google
305
309
  # Delete a single trigger.
306
310
  # @param [String] name
307
311
  # Required. The name of the trigger to be deleted.
312
+ # @param [Boolean] allow_missing
313
+ # If set to true, and the trigger is not found, the request will succeed but no
314
+ # action will be taken on the server.
308
315
  # @param [String] etag
309
316
  # If provided, the trigger will only be deleted if the etag matches the current
310
317
  # etag on the resource.
318
+ # @param [Boolean] validate_only
319
+ # Required. If set, validate the request and preview the review, but do not
320
+ # actually post it.
311
321
  # @param [String] fields
312
322
  # Selector specifying which fields to include in a partial response.
313
323
  # @param [String] quota_user
@@ -325,12 +335,14 @@ module Google
325
335
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
326
336
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
327
337
  # @raise [Google::Apis::AuthorizationError] Authorization is required
328
- def delete_project_location_trigger(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
338
+ def delete_project_location_trigger(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
329
339
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
330
340
  command.response_representation = Google::Apis::EventarcV1beta1::Operation::Representation
331
341
  command.response_class = Google::Apis::EventarcV1beta1::Operation
332
342
  command.params['name'] = name unless name.nil?
343
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
333
344
  command.query['etag'] = etag unless etag.nil?
345
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
334
346
  command.query['fields'] = fields unless fields.nil?
335
347
  command.query['quotaUser'] = quota_user unless quota_user.nil?
336
348
  execute_or_queue_command(command, &block)
@@ -456,13 +468,19 @@ module Google
456
468
  # Update a single trigger.
457
469
  # @param [String] name
458
470
  # Required. The resource name of the trigger. Must be unique within the location
459
- # on the project. Format: projects/`project`/locations/`location`/triggers/`
460
- # trigger`
471
+ # on the project and must in `projects/`project`/locations/`location`/triggers/`
472
+ # trigger`` format.
461
473
  # @param [Google::Apis::EventarcV1beta1::Trigger] trigger_object
474
+ # @param [Boolean] allow_missing
475
+ # If set to true, and the trigger is not found, a new trigger will be created.
476
+ # In this situation, `update_mask` is ignored.
462
477
  # @param [String] update_mask
463
478
  # The fields to be updated; only fields explicitly provided will be updated. If
464
479
  # no field mask is provided, all provided fields in the request will be updated.
465
480
  # To update all fields, provide a field mask of "*".
481
+ # @param [Boolean] validate_only
482
+ # Required. If set, validate the request and preview the review, but do not
483
+ # actually post it.
466
484
  # @param [String] fields
467
485
  # Selector specifying which fields to include in a partial response.
468
486
  # @param [String] quota_user
@@ -480,14 +498,16 @@ module Google
480
498
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
481
499
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
482
500
  # @raise [Google::Apis::AuthorizationError] Authorization is required
483
- def patch_project_location_trigger(name, trigger_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
501
+ def patch_project_location_trigger(name, trigger_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
484
502
  command = make_simple_command(:patch, 'v1beta1/{+name}', options)
485
503
  command.request_representation = Google::Apis::EventarcV1beta1::Trigger::Representation
486
504
  command.request_object = trigger_object
487
505
  command.response_representation = Google::Apis::EventarcV1beta1::Operation::Representation
488
506
  command.response_class = Google::Apis::EventarcV1beta1::Operation
489
507
  command.params['name'] = name unless name.nil?
508
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
490
509
  command.query['updateMask'] = update_mask unless update_mask.nil?
510
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
491
511
  command.query['fields'] = fields unless fields.nil?
492
512
  command.query['quotaUser'] = quota_user unless quota_user.nil?
493
513
  execute_or_queue_command(command, &block)
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201029'
28
+ REVISION = '20201208'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'