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 DocumentaiV1beta2
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
 
@@ -736,7 +778,7 @@ module Google
736
778
  include Google::Apis::Core::JsonObjectSupport
737
779
  end
738
780
 
739
- class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
781
+ class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
740
782
  # @private
741
783
  class Representation < Google::Apis::Core::JsonRepresentation
742
784
  property :create_time, as: 'createTime'
@@ -746,6 +788,14 @@ module Google
746
788
  end
747
789
  end
748
790
 
791
+ class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
795
+
796
+ end
797
+ end
798
+
749
799
  class GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata
750
800
  # @private
751
801
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -758,16 +808,16 @@ module Google
758
808
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
759
809
  # @private
760
810
  class Representation < Google::Apis::Core::JsonRepresentation
761
- property :create_time, as: 'createTime'
762
- property :state, as: 'state'
763
- property :state_message, as: 'stateMessage'
764
- property :update_time, as: 'updateTime'
811
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
812
+
765
813
  end
766
814
  end
767
815
 
768
816
  class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata
769
817
  # @private
770
818
  class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
820
+
771
821
  property :create_time, as: 'createTime'
772
822
  property :state, as: 'state'
773
823
  property :state_message, as: 'stateMessage'
@@ -775,9 +825,33 @@ module Google
775
825
  end
776
826
  end
777
827
 
828
+ class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
832
+
833
+ end
834
+ end
835
+
836
+ class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
840
+
841
+ end
842
+ end
843
+
844
+ class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ end
848
+ end
849
+
778
850
  class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata
779
851
  # @private
780
852
  class Representation < Google::Apis::Core::JsonRepresentation
853
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
854
+
781
855
  property :create_time, as: 'createTime'
782
856
  property :state, as: 'state'
783
857
  property :state_message, as: 'stateMessage'
@@ -794,6 +868,8 @@ module Google
794
868
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
795
869
  # @private
796
870
  class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
872
+
797
873
  property :create_time, as: 'createTime'
798
874
  property :state, as: 'state'
799
875
  property :state_message, as: 'stateMessage'
@@ -807,13 +883,33 @@ module Google
807
883
  end
808
884
  end
809
885
 
886
+ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata
887
+ # @private
888
+ class Representation < Google::Apis::Core::JsonRepresentation
889
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
890
+
891
+ end
892
+ end
893
+
894
+ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse
895
+ # @private
896
+ class Representation < Google::Apis::Core::JsonRepresentation
897
+ end
898
+ end
899
+
900
+ class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
901
+ # @private
902
+ class Representation < Google::Apis::Core::JsonRepresentation
903
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
904
+
905
+ end
906
+ end
907
+
810
908
  class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata
811
909
  # @private
812
910
  class Representation < Google::Apis::Core::JsonRepresentation
813
- property :create_time, as: 'createTime'
814
- property :state, as: 'state'
815
- property :state_message, as: 'stateMessage'
816
- property :update_time, as: 'updateTime'
911
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
912
+
817
913
  end
818
914
  end
819
915
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/document-ai/docs/
28
28
  module DocumentaiV1beta3
29
29
  VERSION = 'V1beta3'
30
- REVISION = '20200828'
30
+ REVISION = '20201207'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,8 +22,8 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1beta3
24
24
 
25
- # The long running operation metadata for CreateLabelerPool.
26
- class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
25
+ # The common metadata for long running operations.
26
+ class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
29
  # The creation time of the operation.
@@ -31,13 +31,12 @@ module Google
31
31
  # @return [String]
32
32
  attr_accessor :create_time
33
33
 
34
- # Used only when Operation.done is false.
34
+ # The state of the operation.
35
35
  # Corresponds to the JSON property `state`
36
36
  # @return [String]
37
37
  attr_accessor :state
38
38
 
39
- # A message providing more details about the current state of processing. For
40
- # example, the error message if the operation is failed.
39
+ # A message providing more details about the current state of processing.
41
40
  # Corresponds to the JSON property `stateMessage`
42
41
  # @return [String]
43
42
  attr_accessor :state_message
@@ -60,6 +59,25 @@ module Google
60
59
  end
61
60
  end
62
61
 
62
+ # The long running operation metadata for CreateLabelerPool.
63
+ class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
64
+ include Google::Apis::Core::Hashable
65
+
66
+ # The common metadata for long running operations.
67
+ # Corresponds to the JSON property `commonMetadata`
68
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
69
+ attr_accessor :common_metadata
70
+
71
+ def initialize(**args)
72
+ update!(**args)
73
+ end
74
+
75
+ # Update properties of this object
76
+ def update!(**args)
77
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
78
+ end
79
+ end
80
+
63
81
  # The metadata that represents a processor version being created.
64
82
  class GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata
65
83
  include Google::Apis::Core::Hashable
@@ -95,26 +113,10 @@ module Google
95
113
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
96
114
  include Google::Apis::Core::Hashable
97
115
 
98
- # The creation time of the operation.
99
- # Corresponds to the JSON property `createTime`
100
- # @return [String]
101
- attr_accessor :create_time
102
-
103
- # Used only when Operation.done is false.
104
- # Corresponds to the JSON property `state`
105
- # @return [String]
106
- attr_accessor :state
107
-
108
- # A message providing more details about the current state of processing. For
109
- # example, the error message if the operation is failed.
110
- # Corresponds to the JSON property `stateMessage`
111
- # @return [String]
112
- attr_accessor :state_message
113
-
114
- # The last update time of the operation.
115
- # Corresponds to the JSON property `updateTime`
116
- # @return [String]
117
- attr_accessor :update_time
116
+ # The common metadata for long running operations.
117
+ # Corresponds to the JSON property `commonMetadata`
118
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
119
+ attr_accessor :common_metadata
118
120
 
119
121
  def initialize(**args)
120
122
  update!(**args)
@@ -122,10 +124,7 @@ module Google
122
124
 
123
125
  # Update properties of this object
124
126
  def update!(**args)
125
- @create_time = args[:create_time] if args.key?(:create_time)
126
- @state = args[:state] if args.key?(:state)
127
- @state_message = args[:state_message] if args.key?(:state_message)
128
- @update_time = args[:update_time] if args.key?(:update_time)
127
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
129
128
  end
130
129
  end
131
130
 
@@ -133,6 +132,11 @@ module Google
133
132
  class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata
134
133
  include Google::Apis::Core::Hashable
135
134
 
135
+ # The common metadata for long running operations.
136
+ # Corresponds to the JSON property `commonMetadata`
137
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
138
+ attr_accessor :common_metadata
139
+
136
140
  # The creation time of the operation.
137
141
  # Corresponds to the JSON property `createTime`
138
142
  # @return [String]
@@ -160,6 +164,7 @@ module Google
160
164
 
161
165
  # Update properties of this object
162
166
  def update!(**args)
167
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
163
168
  @create_time = args[:create_time] if args.key?(:create_time)
164
169
  @state = args[:state] if args.key?(:state)
165
170
  @state_message = args[:state_message] if args.key?(:state_message)
@@ -167,10 +172,66 @@ module Google
167
172
  end
168
173
  end
169
174
 
175
+ # The long running operation metadata for delete processor version method.
176
+ class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata
177
+ include Google::Apis::Core::Hashable
178
+
179
+ # The common metadata for long running operations.
180
+ # Corresponds to the JSON property `commonMetadata`
181
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
182
+ attr_accessor :common_metadata
183
+
184
+ def initialize(**args)
185
+ update!(**args)
186
+ end
187
+
188
+ # Update properties of this object
189
+ def update!(**args)
190
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
191
+ end
192
+ end
193
+
194
+ # The long running operation metadata for deploy processor version method.
195
+ class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata
196
+ include Google::Apis::Core::Hashable
197
+
198
+ # The common metadata for long running operations.
199
+ # Corresponds to the JSON property `commonMetadata`
200
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
201
+ attr_accessor :common_metadata
202
+
203
+ def initialize(**args)
204
+ update!(**args)
205
+ end
206
+
207
+ # Update properties of this object
208
+ def update!(**args)
209
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
210
+ end
211
+ end
212
+
213
+ # Response message for the deploy processor version method.
214
+ class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse
215
+ include Google::Apis::Core::Hashable
216
+
217
+ def initialize(**args)
218
+ update!(**args)
219
+ end
220
+
221
+ # Update properties of this object
222
+ def update!(**args)
223
+ end
224
+ end
225
+
170
226
  # The long running operation metadata for disable processor method.
171
227
  class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata
172
228
  include Google::Apis::Core::Hashable
173
229
 
230
+ # The common metadata for long running operations.
231
+ # Corresponds to the JSON property `commonMetadata`
232
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
233
+ attr_accessor :common_metadata
234
+
174
235
  # The creation time of the operation.
175
236
  # Corresponds to the JSON property `createTime`
176
237
  # @return [String]
@@ -198,6 +259,7 @@ module Google
198
259
 
199
260
  # Update properties of this object
200
261
  def update!(**args)
262
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
201
263
  @create_time = args[:create_time] if args.key?(:create_time)
202
264
  @state = args[:state] if args.key?(:state)
203
265
  @state_message = args[:state_message] if args.key?(:state_message)
@@ -223,6 +285,11 @@ module Google
223
285
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
224
286
  include Google::Apis::Core::Hashable
225
287
 
288
+ # The common metadata for long running operations.
289
+ # Corresponds to the JSON property `commonMetadata`
290
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
291
+ attr_accessor :common_metadata
292
+
226
293
  # The creation time of the operation.
227
294
  # Corresponds to the JSON property `createTime`
228
295
  # @return [String]
@@ -250,6 +317,7 @@ module Google
250
317
 
251
318
  # Update properties of this object
252
319
  def update!(**args)
320
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
253
321
  @create_time = args[:create_time] if args.key?(:create_time)
254
322
  @state = args[:state] if args.key?(:state)
255
323
  @state_message = args[:state_message] if args.key?(:state_message)
@@ -271,30 +339,28 @@ module Google
271
339
  end
272
340
  end
273
341
 
274
- # The long running operation metadata for UpdateLabelerPool.
275
- class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata
342
+ # The long running operation metadata for the undeploy processor version method.
343
+ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata
276
344
  include Google::Apis::Core::Hashable
277
345
 
278
- # The creation time of the operation.
279
- # Corresponds to the JSON property `createTime`
280
- # @return [String]
281
- attr_accessor :create_time
346
+ # The common metadata for long running operations.
347
+ # Corresponds to the JSON property `commonMetadata`
348
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
349
+ attr_accessor :common_metadata
282
350
 
283
- # Used only when Operation.done is false.
284
- # Corresponds to the JSON property `state`
285
- # @return [String]
286
- attr_accessor :state
351
+ def initialize(**args)
352
+ update!(**args)
353
+ end
287
354
 
288
- # A message providing more details about the current state of processing. For
289
- # example, the error message if the operation is failed.
290
- # Corresponds to the JSON property `stateMessage`
291
- # @return [String]
292
- attr_accessor :state_message
355
+ # Update properties of this object
356
+ def update!(**args)
357
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
358
+ end
359
+ end
293
360
 
294
- # The last update time of the operation.
295
- # Corresponds to the JSON property `updateTime`
296
- # @return [String]
297
- attr_accessor :update_time
361
+ # Response message for the undeploy processor version method.
362
+ class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse
363
+ include Google::Apis::Core::Hashable
298
364
 
299
365
  def initialize(**args)
300
366
  update!(**args)
@@ -302,10 +368,45 @@ module Google
302
368
 
303
369
  # Update properties of this object
304
370
  def update!(**args)
305
- @create_time = args[:create_time] if args.key?(:create_time)
306
- @state = args[:state] if args.key?(:state)
307
- @state_message = args[:state_message] if args.key?(:state_message)
308
- @update_time = args[:update_time] if args.key?(:update_time)
371
+ end
372
+ end
373
+
374
+ # The long running operation metadata for updating the human review
375
+ # configuration.
376
+ class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
377
+ include Google::Apis::Core::Hashable
378
+
379
+ # The common metadata for long running operations.
380
+ # Corresponds to the JSON property `commonMetadata`
381
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
382
+ attr_accessor :common_metadata
383
+
384
+ def initialize(**args)
385
+ update!(**args)
386
+ end
387
+
388
+ # Update properties of this object
389
+ def update!(**args)
390
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
391
+ end
392
+ end
393
+
394
+ # The long running operation metadata for UpdateLabelerPool.
395
+ class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata
396
+ include Google::Apis::Core::Hashable
397
+
398
+ # The common metadata for long running operations.
399
+ # Corresponds to the JSON property `commonMetadata`
400
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
401
+ attr_accessor :common_metadata
402
+
403
+ def initialize(**args)
404
+ update!(**args)
405
+ end
406
+
407
+ # Update properties of this object
408
+ def update!(**args)
409
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
309
410
  end
310
411
  end
311
412
 
@@ -570,27 +671,32 @@ module Google
570
671
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
571
672
  attr_accessor :address_value
572
673
 
573
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
574
- # and time zone are either specified elsewhere or are not significant. The date
575
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
576
- # date, with non-zero year, month and day values * A month and day value, with a
577
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
578
- # values * A year and month value, with a zero day, e.g. a credit card
579
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
580
- # Timestamp`.
674
+ # Represents a whole or partial calendar date, such as a birthday. The time of
675
+ # day and time zone are either specified elsewhere or are insignificant. The
676
+ # date is relative to the Gregorian Calendar. This can represent one of the
677
+ # following: * A full date, with non-zero year, month, and day values * A month
678
+ # and day value, with a zero year, such as an anniversary * A year on its own,
679
+ # with zero month and day values * A year and month value, with a zero day, such
680
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
681
+ # google.protobuf.Timestamp`.
581
682
  # Corresponds to the JSON property `dateValue`
582
683
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
583
684
  attr_accessor :date_value
584
685
 
585
- # Represents civil time in one of a few possible ways: * When utc_offset is set
586
- # and time_zone is unset: a civil time on a calendar day with a particular
587
- # offset from UTC. * When time_zone is set and utc_offset is unset: a civil time
588
- # on a calendar day in a particular time zone. * When neither time_zone nor
686
+ # Represents civil time (or occasionally physical time). This type can represent
687
+ # a civil time in one of a few possible ways: * When utc_offset is set and
688
+ # time_zone is unset: a civil time on a calendar day with a particular offset
689
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
690
+ # calendar day in a particular time zone. * When neither time_zone nor
589
691
  # utc_offset is set: a civil time on a calendar day in local time. The date is
590
692
  # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
591
693
  # considered not to have a specific year. month and day must have valid, non-
592
- # zero values. This type is more flexible than some applications may want. Make
593
- # sure to document and validate your application's limitations.
694
+ # zero values. This type may also be used to represent a physical time if all
695
+ # the date and time fields are set and either case of the `time_offset` oneof is
696
+ # set. Consider using `Timestamp` message for physical time instead. If your use
697
+ # case also would like to store the user's timezone, that can be done in another
698
+ # field. This type is more flexible than some applications may want. Make sure
699
+ # to document and validate your application's limitations.
594
700
  # Corresponds to the JSON property `datetimeValue`
595
701
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime]
596
702
  attr_accessor :datetime_value
@@ -793,7 +899,8 @@ module Google
793
899
  # @return [String]
794
900
  attr_accessor :layout_type
795
901
 
796
- # Required. Index into the Document.pages element
902
+ # Required. Index into the Document.pages element, for example using Document.
903
+ # pages to locate the related page element.
797
904
  # Corresponds to the JSON property `page`
798
905
  # @return [Fixnum]
799
906
  attr_accessor :page
@@ -2260,27 +2367,32 @@ module Google
2260
2367
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
2261
2368
  attr_accessor :address_value
2262
2369
 
2263
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
2264
- # and time zone are either specified elsewhere or are not significant. The date
2265
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
2266
- # date, with non-zero year, month and day values * A month and day value, with a
2267
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
2268
- # values * A year and month value, with a zero day, e.g. a credit card
2269
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
2270
- # Timestamp`.
2370
+ # Represents a whole or partial calendar date, such as a birthday. The time of
2371
+ # day and time zone are either specified elsewhere or are insignificant. The
2372
+ # date is relative to the Gregorian Calendar. This can represent one of the
2373
+ # following: * A full date, with non-zero year, month, and day values * A month
2374
+ # and day value, with a zero year, such as an anniversary * A year on its own,
2375
+ # with zero month and day values * A year and month value, with a zero day, such
2376
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
2377
+ # google.protobuf.Timestamp`.
2271
2378
  # Corresponds to the JSON property `dateValue`
2272
2379
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
2273
2380
  attr_accessor :date_value
2274
2381
 
2275
- # Represents civil time in one of a few possible ways: * When utc_offset is set
2276
- # and time_zone is unset: a civil time on a calendar day with a particular
2277
- # offset from UTC. * When time_zone is set and utc_offset is unset: a civil time
2278
- # on a calendar day in a particular time zone. * When neither time_zone nor
2382
+ # Represents civil time (or occasionally physical time). This type can represent
2383
+ # a civil time in one of a few possible ways: * When utc_offset is set and
2384
+ # time_zone is unset: a civil time on a calendar day with a particular offset
2385
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
2386
+ # calendar day in a particular time zone. * When neither time_zone nor
2279
2387
  # utc_offset is set: a civil time on a calendar day in local time. The date is
2280
2388
  # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
2281
2389
  # considered not to have a specific year. month and day must have valid, non-
2282
- # zero values. This type is more flexible than some applications may want. Make
2283
- # sure to document and validate your application's limitations.
2390
+ # zero values. This type may also be used to represent a physical time if all
2391
+ # the date and time fields are set and either case of the `time_offset` oneof is
2392
+ # set. Consider using `Timestamp` message for physical time instead. If your use
2393
+ # case also would like to store the user's timezone, that can be done in another
2394
+ # field. This type is more flexible than some applications may want. Make sure
2395
+ # to document and validate your application's limitations.
2284
2396
  # Corresponds to the JSON property `datetimeValue`
2285
2397
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime]
2286
2398
  attr_accessor :datetime_value
@@ -2520,7 +2632,8 @@ module Google
2520
2632
  # @return [String]
2521
2633
  attr_accessor :layout_type
2522
2634
 
2523
- # Required. Index into the Document.pages element
2635
+ # Required. Index into the Document.pages element, for example using Document.
2636
+ # pages to locate the related page element.
2524
2637
  # Corresponds to the JSON property `page`
2525
2638
  # @return [Fixnum]
2526
2639
  attr_accessor :page
@@ -4148,27 +4261,32 @@ module Google
4148
4261
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
4149
4262
  attr_accessor :address_value
4150
4263
 
4151
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
4152
- # and time zone are either specified elsewhere or are not significant. The date
4153
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
4154
- # date, with non-zero year, month and day values * A month and day value, with a
4155
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
4156
- # values * A year and month value, with a zero day, e.g. a credit card
4157
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
4158
- # Timestamp`.
4264
+ # Represents a whole or partial calendar date, such as a birthday. The time of
4265
+ # day and time zone are either specified elsewhere or are insignificant. The
4266
+ # date is relative to the Gregorian Calendar. This can represent one of the
4267
+ # following: * A full date, with non-zero year, month, and day values * A month
4268
+ # and day value, with a zero year, such as an anniversary * A year on its own,
4269
+ # with zero month and day values * A year and month value, with a zero day, such
4270
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
4271
+ # google.protobuf.Timestamp`.
4159
4272
  # Corresponds to the JSON property `dateValue`
4160
4273
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
4161
4274
  attr_accessor :date_value
4162
4275
 
4163
- # Represents civil time in one of a few possible ways: * When utc_offset is set
4164
- # and time_zone is unset: a civil time on a calendar day with a particular
4165
- # offset from UTC. * When time_zone is set and utc_offset is unset: a civil time
4166
- # on a calendar day in a particular time zone. * When neither time_zone nor
4276
+ # Represents civil time (or occasionally physical time). This type can represent
4277
+ # a civil time in one of a few possible ways: * When utc_offset is set and
4278
+ # time_zone is unset: a civil time on a calendar day with a particular offset
4279
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
4280
+ # calendar day in a particular time zone. * When neither time_zone nor
4167
4281
  # utc_offset is set: a civil time on a calendar day in local time. The date is
4168
4282
  # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
4169
4283
  # considered not to have a specific year. month and day must have valid, non-
4170
- # zero values. This type is more flexible than some applications may want. Make
4171
- # sure to document and validate your application's limitations.
4284
+ # zero values. This type may also be used to represent a physical time if all
4285
+ # the date and time fields are set and either case of the `time_offset` oneof is
4286
+ # set. Consider using `Timestamp` message for physical time instead. If your use
4287
+ # case also would like to store the user's timezone, that can be done in another
4288
+ # field. This type is more flexible than some applications may want. Make sure
4289
+ # to document and validate your application's limitations.
4172
4290
  # Corresponds to the JSON property `datetimeValue`
4173
4291
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime]
4174
4292
  attr_accessor :datetime_value
@@ -4371,7 +4489,8 @@ module Google
4371
4489
  # @return [String]
4372
4490
  attr_accessor :layout_type
4373
4491
 
4374
- # Required. Index into the Document.pages element
4492
+ # Required. Index into the Document.pages element, for example using Document.
4493
+ # pages to locate the related page element.
4375
4494
  # Corresponds to the JSON property `page`
4376
4495
  # @return [Fixnum]
4377
4496
  attr_accessor :page
@@ -5829,31 +5948,31 @@ module Google
5829
5948
  end
5830
5949
  end
5831
5950
 
5832
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
5833
- # and time zone are either specified elsewhere or are not significant. The date
5834
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
5835
- # date, with non-zero year, month and day values * A month and day value, with a
5836
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
5837
- # values * A year and month value, with a zero day, e.g. a credit card
5838
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
5839
- # Timestamp`.
5951
+ # Represents a whole or partial calendar date, such as a birthday. The time of
5952
+ # day and time zone are either specified elsewhere or are insignificant. The
5953
+ # date is relative to the Gregorian Calendar. This can represent one of the
5954
+ # following: * A full date, with non-zero year, month, and day values * A month
5955
+ # and day value, with a zero year, such as an anniversary * A year on its own,
5956
+ # with zero month and day values * A year and month value, with a zero day, such
5957
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
5958
+ # google.protobuf.Timestamp`.
5840
5959
  class GoogleTypeDate
5841
5960
  include Google::Apis::Core::Hashable
5842
5961
 
5843
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
5844
- # specifying a year by itself or a year and month where the day is not
5845
- # significant.
5962
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
5963
+ # specify a year by itself or a year and month where the day isn't significant.
5846
5964
  # Corresponds to the JSON property `day`
5847
5965
  # @return [Fixnum]
5848
5966
  attr_accessor :day
5849
5967
 
5850
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
5968
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
5851
5969
  # and day.
5852
5970
  # Corresponds to the JSON property `month`
5853
5971
  # @return [Fixnum]
5854
5972
  attr_accessor :month
5855
5973
 
5856
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
5974
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
5975
+ # year.
5857
5976
  # Corresponds to the JSON property `year`
5858
5977
  # @return [Fixnum]
5859
5978
  attr_accessor :year
@@ -5870,15 +5989,20 @@ module Google
5870
5989
  end
5871
5990
  end
5872
5991
 
5873
- # Represents civil time in one of a few possible ways: * When utc_offset is set
5874
- # and time_zone is unset: a civil time on a calendar day with a particular
5875
- # offset from UTC. * When time_zone is set and utc_offset is unset: a civil time
5876
- # on a calendar day in a particular time zone. * When neither time_zone nor
5992
+ # Represents civil time (or occasionally physical time). This type can represent
5993
+ # a civil time in one of a few possible ways: * When utc_offset is set and
5994
+ # time_zone is unset: a civil time on a calendar day with a particular offset
5995
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5996
+ # calendar day in a particular time zone. * When neither time_zone nor
5877
5997
  # utc_offset is set: a civil time on a calendar day in local time. The date is
5878
5998
  # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5879
5999
  # considered not to have a specific year. month and day must have valid, non-
5880
- # zero values. This type is more flexible than some applications may want. Make
5881
- # sure to document and validate your application's limitations.
6000
+ # zero values. This type may also be used to represent a physical time if all
6001
+ # the date and time fields are set and either case of the `time_offset` oneof is
6002
+ # set. Consider using `Timestamp` message for physical time instead. If your use
6003
+ # case also would like to store the user's timezone, that can be done in another
6004
+ # field. This type is more flexible than some applications may want. Make sure
6005
+ # to document and validate your application's limitations.
5882
6006
  class GoogleTypeDateTime
5883
6007
  include Google::Apis::Core::Hashable
5884
6008
 
@@ -5954,7 +6078,7 @@ module Google
5954
6078
  class GoogleTypeMoney
5955
6079
  include Google::Apis::Core::Hashable
5956
6080
 
5957
- # The 3-letter currency code defined in ISO 4217.
6081
+ # The three-letter currency code defined in ISO 4217.
5958
6082
  # Corresponds to the JSON property `currencyCode`
5959
6083
  # @return [String]
5960
6084
  attr_accessor :currency_code