google-api-client 0.21.1 → 0.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/admin_reports_v1.rb +1 -1
  4. data/generated/google/apis/analytics_v3.rb +4 -1
  5. data/generated/google/apis/analytics_v3/classes.rb +68 -0
  6. data/generated/google/apis/analytics_v3/representations.rb +33 -0
  7. data/generated/google/apis/analytics_v3/service.rb +33 -0
  8. data/generated/google/apis/analyticsreporting_v4.rb +2 -2
  9. data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
  10. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  12. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -0
  13. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +1 -0
  14. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v2/service.rb +42 -0
  16. data/generated/google/apis/appengine_v1.rb +1 -1
  17. data/generated/google/apis/appengine_v1/classes.rb +11 -4
  18. data/generated/google/apis/appengine_v1/service.rb +28 -19
  19. data/generated/google/apis/appengine_v1beta.rb +1 -1
  20. data/generated/google/apis/appengine_v1beta/classes.rb +11 -7
  21. data/generated/google/apis/appengine_v1beta/service.rb +28 -19
  22. data/generated/google/apis/bigquery_v2.rb +1 -1
  23. data/generated/google/apis/bigquery_v2/classes.rb +9 -6
  24. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  25. data/generated/google/apis/clouddebugger_v2/classes.rb +2 -1
  26. data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
  27. data/generated/google/apis/cloudiot_v1.rb +1 -1
  28. data/generated/google/apis/cloudiot_v1/service.rb +2 -12
  29. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  30. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  31. data/generated/google/apis/composer_v1beta1.rb +1 -1
  32. data/generated/google/apis/composer_v1beta1/classes.rb +49 -52
  33. data/generated/google/apis/composer_v1beta1/service.rb +5 -5
  34. data/generated/google/apis/compute_v1.rb +1 -1
  35. data/generated/google/apis/container_v1.rb +1 -1
  36. data/generated/google/apis/container_v1/service.rb +18 -18
  37. data/generated/google/apis/container_v1beta1.rb +1 -1
  38. data/generated/google/apis/container_v1beta1/classes.rb +7 -0
  39. data/generated/google/apis/container_v1beta1/representations.rb +1 -0
  40. data/generated/google/apis/container_v1beta1/service.rb +18 -18
  41. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  42. data/generated/google/apis/dfareporting_v2_8/classes.rb +5 -5
  43. data/generated/google/apis/dfareporting_v2_8/service.rb +4 -1
  44. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  45. data/generated/google/apis/dfareporting_v3_0/classes.rb +5 -5
  46. data/generated/google/apis/dfareporting_v3_0/service.rb +4 -1
  47. data/generated/google/apis/dfareporting_v3_1.rb +40 -0
  48. data/generated/google/apis/dfareporting_v3_1/classes.rb +12256 -0
  49. data/generated/google/apis/dfareporting_v3_1/representations.rb +4389 -0
  50. data/generated/google/apis/dfareporting_v3_1/service.rb +8790 -0
  51. data/generated/google/apis/dlp_v2.rb +1 -1
  52. data/generated/google/apis/dlp_v2/classes.rb +20 -0
  53. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  54. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  55. data/generated/google/apis/identitytoolkit_v3/classes.rb +56 -0
  56. data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
  57. data/generated/google/apis/jobs_v2.rb +1 -1
  58. data/generated/google/apis/jobs_v2/classes.rb +1 -5
  59. data/generated/google/apis/jobs_v2/service.rb +9 -10
  60. data/generated/google/apis/language_v1.rb +1 -1
  61. data/generated/google/apis/language_v1/classes.rb +1 -0
  62. data/generated/google/apis/language_v1beta1.rb +1 -1
  63. data/generated/google/apis/language_v1beta1/classes.rb +1 -0
  64. data/generated/google/apis/language_v1beta2.rb +1 -1
  65. data/generated/google/apis/language_v1beta2/classes.rb +1 -0
  66. data/generated/google/apis/monitoring_v3.rb +1 -1
  67. data/generated/google/apis/monitoring_v3/classes.rb +7 -7
  68. data/generated/google/apis/partners_v2.rb +1 -1
  69. data/generated/google/apis/partners_v2/classes.rb +7 -0
  70. data/generated/google/apis/partners_v2/representations.rb +1 -0
  71. data/generated/google/apis/people_v1.rb +1 -1
  72. data/generated/google/apis/people_v1/service.rb +4 -0
  73. data/generated/google/apis/redis_v1beta1.rb +1 -1
  74. data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
  75. data/generated/google/apis/redis_v1beta1/service.rb +6 -6
  76. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  77. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  78. data/generated/google/apis/script_v1.rb +1 -1
  79. data/generated/google/apis/spanner_v1.rb +1 -1
  80. data/generated/google/apis/spanner_v1/classes.rb +1 -1
  81. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  82. data/generated/google/apis/sqladmin_v1beta4/classes.rb +76 -0
  83. data/generated/google/apis/sqladmin_v1beta4/representations.rb +44 -0
  84. data/generated/google/apis/sqladmin_v1beta4/service.rb +120 -0
  85. data/generated/google/apis/testing_v1.rb +1 -1
  86. data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
  87. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  88. data/generated/google/apis/vision_v1.rb +1 -1
  89. data/generated/google/apis/vision_v1/classes.rb +517 -0
  90. data/generated/google/apis/vision_v1/representations.rb +272 -0
  91. data/generated/google/apis/vision_v1/service.rb +35 -0
  92. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  93. data/generated/google/apis/vision_v1p1beta1/classes.rb +3411 -1415
  94. data/generated/google/apis/vision_v1p1beta1/representations.rb +868 -0
  95. data/generated/google/apis/vision_v1p1beta1/service.rb +35 -0
  96. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  97. data/generated/google/apis/vision_v1p2beta1/classes.rb +2521 -822
  98. data/generated/google/apis/vision_v1p2beta1/representations.rb +758 -14
  99. data/generated/google/apis/vision_v1p2beta1/service.rb +3 -3
  100. data/generated/google/apis/youtube_analytics_v2.rb +2 -2
  101. data/generated/google/apis/youtube_analytics_v2/service.rb +1 -1
  102. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  103. data/lib/google/apis/version.rb +1 -1
  104. metadata +7 -3
@@ -22,12 +22,108 @@ module Google
22
22
  module Apis
23
23
  module VisionV1p1beta1
24
24
 
25
+ class AnnotateFileResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AnnotateImageResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AsyncAnnotateFileResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AsyncBatchAnnotateFilesResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Block
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BoundingPoly
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
25
61
  class Color
26
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
63
 
28
64
  include Google::Apis::Core::JsonObjectSupport
29
65
  end
30
66
 
67
+ class ColorInfo
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CropHint
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CropHintsAnnotation
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DetectedBreak
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DetectedLanguage
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DominantColorsAnnotation
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class EntityAnnotation
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class FaceAnnotation
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GcsDestination
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GcsSource
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
31
127
  class GoogleCloudVisionV1p1beta1AnnotateImageRequest
32
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
129
 
@@ -40,6 +136,18 @@ module Google
40
136
  include Google::Apis::Core::JsonObjectSupport
41
137
  end
42
138
 
139
+ class GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
43
151
  class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest
44
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
153
 
@@ -118,12 +226,30 @@ module Google
118
226
  include Google::Apis::Core::JsonObjectSupport
119
227
  end
120
228
 
229
+ class GoogleCloudVisionV1p1beta1GcsDestination
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudVisionV1p1beta1GcsSource
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
121
241
  class GoogleCloudVisionV1p1beta1Image
122
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
243
 
124
244
  include Google::Apis::Core::JsonObjectSupport
125
245
  end
126
246
 
247
+ class GoogleCloudVisionV1p1beta1ImageAnnotationContext
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
127
253
  class GoogleCloudVisionV1p1beta1ImageContext
128
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
255
 
@@ -142,6 +268,12 @@ module Google
142
268
  include Google::Apis::Core::JsonObjectSupport
143
269
  end
144
270
 
271
+ class GoogleCloudVisionV1p1beta1InputConfig
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
145
277
  class GoogleCloudVisionV1p1beta1LatLongRect
146
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
279
 
@@ -154,6 +286,12 @@ module Google
154
286
  include Google::Apis::Core::JsonObjectSupport
155
287
  end
156
288
 
289
+ class GoogleCloudVisionV1p1beta1OutputConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
157
295
  class GoogleCloudVisionV1p1beta1Page
158
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
297
 
@@ -496,18 +634,278 @@ module Google
496
634
  include Google::Apis::Core::JsonObjectSupport
497
635
  end
498
636
 
637
+ class GoogleCloudVisionV1p3beta1BatchOperationMetadata
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class GoogleCloudVisionV1p3beta1BoundingPoly
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class GoogleCloudVisionV1p3beta1ImportProductSetsResponse
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class GoogleCloudVisionV1p3beta1NormalizedVertex
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class GoogleCloudVisionV1p3beta1ReferenceImage
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class GoogleCloudVisionV1p3beta1Vertex
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class ImageAnnotationContext
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class ImageProperties
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class InputConfig
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class Landmark
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
499
697
  class LatLng
500
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
699
 
502
700
  include Google::Apis::Core::JsonObjectSupport
503
701
  end
504
702
 
703
+ class LocationInfo
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class NormalizedVertex
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
715
+ class Operation
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
721
+ class OperationMetadata
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class OutputConfig
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class Page
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
739
+ class Paragraph
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
745
+ class Position
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
751
+ class Property
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class SafeSearchAnnotation
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
505
763
  class Status
506
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
765
 
508
766
  include Google::Apis::Core::JsonObjectSupport
509
767
  end
510
768
 
769
+ class Symbol
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class TextAnnotation
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class TextProperty
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class Vertex
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
793
+ class WebDetection
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class WebEntity
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class WebImage
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class WebLabel
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class WebPage
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
823
+ class Word
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class AnnotateFileResponse
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::InputConfig, decorator: Google::Apis::VisionV1p1beta1::InputConfig::Representation
833
+
834
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::AnnotateImageResponse::Representation
835
+
836
+ end
837
+ end
838
+
839
+ class AnnotateImageResponse
840
+ # @private
841
+ class Representation < Google::Apis::Core::JsonRepresentation
842
+ property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::ImageAnnotationContext::Representation
843
+
844
+ property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::CropHintsAnnotation::Representation
845
+
846
+ property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
847
+
848
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p1beta1::FaceAnnotation, decorator: Google::Apis::VisionV1p1beta1::FaceAnnotation::Representation
849
+
850
+ property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p1beta1::TextAnnotation, decorator: Google::Apis::VisionV1p1beta1::TextAnnotation::Representation
851
+
852
+ property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::ImageProperties, decorator: Google::Apis::VisionV1p1beta1::ImageProperties::Representation
853
+
854
+ collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
855
+
856
+ collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
857
+
858
+ collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
859
+
860
+ property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::SafeSearchAnnotation::Representation
861
+
862
+ collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::EntityAnnotation::Representation
863
+
864
+ property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p1beta1::WebDetection, decorator: Google::Apis::VisionV1p1beta1::WebDetection::Representation
865
+
866
+ end
867
+ end
868
+
869
+ class AsyncAnnotateFileResponse
870
+ # @private
871
+ class Representation < Google::Apis::Core::JsonRepresentation
872
+ property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::OutputConfig, decorator: Google::Apis::VisionV1p1beta1::OutputConfig::Representation
873
+
874
+ end
875
+ end
876
+
877
+ class AsyncBatchAnnotateFilesResponse
878
+ # @private
879
+ class Representation < Google::Apis::Core::JsonRepresentation
880
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p1beta1::AsyncAnnotateFileResponse::Representation
881
+
882
+ end
883
+ end
884
+
885
+ class Block
886
+ # @private
887
+ class Representation < Google::Apis::Core::JsonRepresentation
888
+ property :block_type, as: 'blockType'
889
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
890
+
891
+ property :confidence, as: 'confidence'
892
+ collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p1beta1::Paragraph, decorator: Google::Apis::VisionV1p1beta1::Paragraph::Representation
893
+
894
+ property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
895
+
896
+ end
897
+ end
898
+
899
+ class BoundingPoly
900
+ # @private
901
+ class Representation < Google::Apis::Core::JsonRepresentation
902
+ collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::NormalizedVertex::Representation
903
+
904
+ collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::Vertex, decorator: Google::Apis::VisionV1p1beta1::Vertex::Representation
905
+
906
+ end
907
+ end
908
+
511
909
  class Color
512
910
  # @private
513
911
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -518,6 +916,114 @@ module Google
518
916
  end
519
917
  end
520
918
 
919
+ class ColorInfo
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :color, as: 'color', class: Google::Apis::VisionV1p1beta1::Color, decorator: Google::Apis::VisionV1p1beta1::Color::Representation
923
+
924
+ property :pixel_fraction, as: 'pixelFraction'
925
+ property :score, as: 'score'
926
+ end
927
+ end
928
+
929
+ class CropHint
930
+ # @private
931
+ class Representation < Google::Apis::Core::JsonRepresentation
932
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
933
+
934
+ property :confidence, as: 'confidence'
935
+ property :importance_fraction, as: 'importanceFraction'
936
+ end
937
+ end
938
+
939
+ class CropHintsAnnotation
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p1beta1::CropHint, decorator: Google::Apis::VisionV1p1beta1::CropHint::Representation
943
+
944
+ end
945
+ end
946
+
947
+ class DetectedBreak
948
+ # @private
949
+ class Representation < Google::Apis::Core::JsonRepresentation
950
+ property :is_prefix, as: 'isPrefix'
951
+ property :type, as: 'type'
952
+ end
953
+ end
954
+
955
+ class DetectedLanguage
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :confidence, as: 'confidence'
959
+ property :language_code, as: 'languageCode'
960
+ end
961
+ end
962
+
963
+ class DominantColorsAnnotation
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ collection :colors, as: 'colors', class: Google::Apis::VisionV1p1beta1::ColorInfo, decorator: Google::Apis::VisionV1p1beta1::ColorInfo::Representation
967
+
968
+ end
969
+ end
970
+
971
+ class EntityAnnotation
972
+ # @private
973
+ class Representation < Google::Apis::Core::JsonRepresentation
974
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
975
+
976
+ property :confidence, as: 'confidence'
977
+ property :description, as: 'description'
978
+ property :locale, as: 'locale'
979
+ collection :locations, as: 'locations', class: Google::Apis::VisionV1p1beta1::LocationInfo, decorator: Google::Apis::VisionV1p1beta1::LocationInfo::Representation
980
+
981
+ property :mid, as: 'mid'
982
+ collection :properties, as: 'properties', class: Google::Apis::VisionV1p1beta1::Property, decorator: Google::Apis::VisionV1p1beta1::Property::Representation
983
+
984
+ property :score, as: 'score'
985
+ property :topicality, as: 'topicality'
986
+ end
987
+ end
988
+
989
+ class FaceAnnotation
990
+ # @private
991
+ class Representation < Google::Apis::Core::JsonRepresentation
992
+ property :anger_likelihood, as: 'angerLikelihood'
993
+ property :blurred_likelihood, as: 'blurredLikelihood'
994
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
995
+
996
+ property :detection_confidence, as: 'detectionConfidence'
997
+ property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
998
+
999
+ property :headwear_likelihood, as: 'headwearLikelihood'
1000
+ property :joy_likelihood, as: 'joyLikelihood'
1001
+ property :landmarking_confidence, as: 'landmarkingConfidence'
1002
+ collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p1beta1::Landmark, decorator: Google::Apis::VisionV1p1beta1::Landmark::Representation
1003
+
1004
+ property :pan_angle, as: 'panAngle'
1005
+ property :roll_angle, as: 'rollAngle'
1006
+ property :sorrow_likelihood, as: 'sorrowLikelihood'
1007
+ property :surprise_likelihood, as: 'surpriseLikelihood'
1008
+ property :tilt_angle, as: 'tiltAngle'
1009
+ property :under_exposed_likelihood, as: 'underExposedLikelihood'
1010
+ end
1011
+ end
1012
+
1013
+ class GcsDestination
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ property :uri, as: 'uri'
1017
+ end
1018
+ end
1019
+
1020
+ class GcsSource
1021
+ # @private
1022
+ class Representation < Google::Apis::Core::JsonRepresentation
1023
+ property :uri, as: 'uri'
1024
+ end
1025
+ end
1026
+
521
1027
  class GoogleCloudVisionV1p1beta1AnnotateImageRequest
522
1028
  # @private
523
1029
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -533,6 +1039,8 @@ module Google
533
1039
  class GoogleCloudVisionV1p1beta1AnnotateImageResponse
534
1040
  # @private
535
1041
  class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :context, as: 'context', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageAnnotationContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageAnnotationContext::Representation
1043
+
536
1044
  property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHintsAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1CropHintsAnnotation::Representation
537
1045
 
538
1046
  property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
@@ -558,6 +1066,28 @@ module Google
558
1066
  end
559
1067
  end
560
1068
 
1069
+ class GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest
1070
+ # @private
1071
+ class Representation < Google::Apis::Core::JsonRepresentation
1072
+ collection :features, as: 'features', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature::Representation
1073
+
1074
+ property :image_context, as: 'imageContext', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext::Representation
1075
+
1076
+ property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig::Representation
1077
+
1078
+ property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig::Representation
1079
+
1080
+ end
1081
+ end
1082
+
1083
+ class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest
1084
+ # @private
1085
+ class Representation < Google::Apis::Core::JsonRepresentation
1086
+ collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest::Representation
1087
+
1088
+ end
1089
+ end
1090
+
561
1091
  class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest
562
1092
  # @private
563
1093
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -699,6 +1229,20 @@ module Google
699
1229
  end
700
1230
  end
701
1231
 
1232
+ class GoogleCloudVisionV1p1beta1GcsDestination
1233
+ # @private
1234
+ class Representation < Google::Apis::Core::JsonRepresentation
1235
+ property :uri, as: 'uri'
1236
+ end
1237
+ end
1238
+
1239
+ class GoogleCloudVisionV1p1beta1GcsSource
1240
+ # @private
1241
+ class Representation < Google::Apis::Core::JsonRepresentation
1242
+ property :uri, as: 'uri'
1243
+ end
1244
+ end
1245
+
702
1246
  class GoogleCloudVisionV1p1beta1Image
703
1247
  # @private
704
1248
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -708,6 +1252,14 @@ module Google
708
1252
  end
709
1253
  end
710
1254
 
1255
+ class GoogleCloudVisionV1p1beta1ImageAnnotationContext
1256
+ # @private
1257
+ class Representation < Google::Apis::Core::JsonRepresentation
1258
+ property :page_number, as: 'pageNumber'
1259
+ property :uri, as: 'uri'
1260
+ end
1261
+ end
1262
+
711
1263
  class GoogleCloudVisionV1p1beta1ImageContext
712
1264
  # @private
713
1265
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -737,6 +1289,15 @@ module Google
737
1289
  end
738
1290
  end
739
1291
 
1292
+ class GoogleCloudVisionV1p1beta1InputConfig
1293
+ # @private
1294
+ class Representation < Google::Apis::Core::JsonRepresentation
1295
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsSource, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsSource::Representation
1296
+
1297
+ property :mime_type, as: 'mimeType'
1298
+ end
1299
+ end
1300
+
740
1301
  class GoogleCloudVisionV1p1beta1LatLongRect
741
1302
  # @private
742
1303
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -755,6 +1316,15 @@ module Google
755
1316
  end
756
1317
  end
757
1318
 
1319
+ class GoogleCloudVisionV1p1beta1OutputConfig
1320
+ # @private
1321
+ class Representation < Google::Apis::Core::JsonRepresentation
1322
+ property :batch_size, as: 'batchSize'
1323
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsDestination::Representation
1324
+
1325
+ end
1326
+ end
1327
+
758
1328
  class GoogleCloudVisionV1p1beta1Page
759
1329
  # @private
760
1330
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1360,6 +1930,95 @@ module Google
1360
1930
  end
1361
1931
  end
1362
1932
 
1933
+ class GoogleCloudVisionV1p3beta1BatchOperationMetadata
1934
+ # @private
1935
+ class Representation < Google::Apis::Core::JsonRepresentation
1936
+ property :end_time, as: 'endTime'
1937
+ property :state, as: 'state'
1938
+ property :submit_time, as: 'submitTime'
1939
+ end
1940
+ end
1941
+
1942
+ class GoogleCloudVisionV1p3beta1BoundingPoly
1943
+ # @private
1944
+ class Representation < Google::Apis::Core::JsonRepresentation
1945
+ collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1NormalizedVertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1NormalizedVertex::Representation
1946
+
1947
+ collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Vertex, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Vertex::Representation
1948
+
1949
+ end
1950
+ end
1951
+
1952
+ class GoogleCloudVisionV1p3beta1ImportProductSetsResponse
1953
+ # @private
1954
+ class Representation < Google::Apis::Core::JsonRepresentation
1955
+ collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ReferenceImage, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ReferenceImage::Representation
1956
+
1957
+ collection :statuses, as: 'statuses', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
1958
+
1959
+ end
1960
+ end
1961
+
1962
+ class GoogleCloudVisionV1p3beta1NormalizedVertex
1963
+ # @private
1964
+ class Representation < Google::Apis::Core::JsonRepresentation
1965
+ property :x, as: 'x'
1966
+ property :y, as: 'y'
1967
+ end
1968
+ end
1969
+
1970
+ class GoogleCloudVisionV1p3beta1ReferenceImage
1971
+ # @private
1972
+ class Representation < Google::Apis::Core::JsonRepresentation
1973
+ collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
1974
+
1975
+ property :name, as: 'name'
1976
+ property :uri, as: 'uri'
1977
+ end
1978
+ end
1979
+
1980
+ class GoogleCloudVisionV1p3beta1Vertex
1981
+ # @private
1982
+ class Representation < Google::Apis::Core::JsonRepresentation
1983
+ property :x, as: 'x'
1984
+ property :y, as: 'y'
1985
+ end
1986
+ end
1987
+
1988
+ class ImageAnnotationContext
1989
+ # @private
1990
+ class Representation < Google::Apis::Core::JsonRepresentation
1991
+ property :page_number, as: 'pageNumber'
1992
+ property :uri, as: 'uri'
1993
+ end
1994
+ end
1995
+
1996
+ class ImageProperties
1997
+ # @private
1998
+ class Representation < Google::Apis::Core::JsonRepresentation
1999
+ property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p1beta1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1p1beta1::DominantColorsAnnotation::Representation
2000
+
2001
+ end
2002
+ end
2003
+
2004
+ class InputConfig
2005
+ # @private
2006
+ class Representation < Google::Apis::Core::JsonRepresentation
2007
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p1beta1::GcsSource, decorator: Google::Apis::VisionV1p1beta1::GcsSource::Representation
2008
+
2009
+ property :mime_type, as: 'mimeType'
2010
+ end
2011
+ end
2012
+
2013
+ class Landmark
2014
+ # @private
2015
+ class Representation < Google::Apis::Core::JsonRepresentation
2016
+ property :position, as: 'position', class: Google::Apis::VisionV1p1beta1::Position, decorator: Google::Apis::VisionV1p1beta1::Position::Representation
2017
+
2018
+ property :type, as: 'type'
2019
+ end
2020
+ end
2021
+
1363
2022
  class LatLng
1364
2023
  # @private
1365
2024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1368,6 +2027,107 @@ module Google
1368
2027
  end
1369
2028
  end
1370
2029
 
2030
+ class LocationInfo
2031
+ # @private
2032
+ class Representation < Google::Apis::Core::JsonRepresentation
2033
+ property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p1beta1::LatLng, decorator: Google::Apis::VisionV1p1beta1::LatLng::Representation
2034
+
2035
+ end
2036
+ end
2037
+
2038
+ class NormalizedVertex
2039
+ # @private
2040
+ class Representation < Google::Apis::Core::JsonRepresentation
2041
+ property :x, as: 'x'
2042
+ property :y, as: 'y'
2043
+ end
2044
+ end
2045
+
2046
+ class Operation
2047
+ # @private
2048
+ class Representation < Google::Apis::Core::JsonRepresentation
2049
+ property :done, as: 'done'
2050
+ property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
2051
+
2052
+ hash :metadata, as: 'metadata'
2053
+ property :name, as: 'name'
2054
+ hash :response, as: 'response'
2055
+ end
2056
+ end
2057
+
2058
+ class OperationMetadata
2059
+ # @private
2060
+ class Representation < Google::Apis::Core::JsonRepresentation
2061
+ property :create_time, as: 'createTime'
2062
+ property :state, as: 'state'
2063
+ property :update_time, as: 'updateTime'
2064
+ end
2065
+ end
2066
+
2067
+ class OutputConfig
2068
+ # @private
2069
+ class Representation < Google::Apis::Core::JsonRepresentation
2070
+ property :batch_size, as: 'batchSize'
2071
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p1beta1::GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GcsDestination::Representation
2072
+
2073
+ end
2074
+ end
2075
+
2076
+ class Page
2077
+ # @private
2078
+ class Representation < Google::Apis::Core::JsonRepresentation
2079
+ collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p1beta1::Block, decorator: Google::Apis::VisionV1p1beta1::Block::Representation
2080
+
2081
+ property :confidence, as: 'confidence'
2082
+ property :height, as: 'height'
2083
+ property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
2084
+
2085
+ property :width, as: 'width'
2086
+ end
2087
+ end
2088
+
2089
+ class Paragraph
2090
+ # @private
2091
+ class Representation < Google::Apis::Core::JsonRepresentation
2092
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
2093
+
2094
+ property :confidence, as: 'confidence'
2095
+ property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
2096
+
2097
+ collection :words, as: 'words', class: Google::Apis::VisionV1p1beta1::Word, decorator: Google::Apis::VisionV1p1beta1::Word::Representation
2098
+
2099
+ end
2100
+ end
2101
+
2102
+ class Position
2103
+ # @private
2104
+ class Representation < Google::Apis::Core::JsonRepresentation
2105
+ property :x, as: 'x'
2106
+ property :y, as: 'y'
2107
+ property :z, as: 'z'
2108
+ end
2109
+ end
2110
+
2111
+ class Property
2112
+ # @private
2113
+ class Representation < Google::Apis::Core::JsonRepresentation
2114
+ property :name, as: 'name'
2115
+ property :uint64_value, :numeric_string => true, as: 'uint64Value'
2116
+ property :value, as: 'value'
2117
+ end
2118
+ end
2119
+
2120
+ class SafeSearchAnnotation
2121
+ # @private
2122
+ class Representation < Google::Apis::Core::JsonRepresentation
2123
+ property :adult, as: 'adult'
2124
+ property :medical, as: 'medical'
2125
+ property :racy, as: 'racy'
2126
+ property :spoof, as: 'spoof'
2127
+ property :violence, as: 'violence'
2128
+ end
2129
+ end
2130
+
1371
2131
  class Status
1372
2132
  # @private
1373
2133
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1376,6 +2136,114 @@ module Google
1376
2136
  property :message, as: 'message'
1377
2137
  end
1378
2138
  end
2139
+
2140
+ class Symbol
2141
+ # @private
2142
+ class Representation < Google::Apis::Core::JsonRepresentation
2143
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
2144
+
2145
+ property :confidence, as: 'confidence'
2146
+ property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
2147
+
2148
+ property :text, as: 'text'
2149
+ end
2150
+ end
2151
+
2152
+ class TextAnnotation
2153
+ # @private
2154
+ class Representation < Google::Apis::Core::JsonRepresentation
2155
+ collection :pages, as: 'pages', class: Google::Apis::VisionV1p1beta1::Page, decorator: Google::Apis::VisionV1p1beta1::Page::Representation
2156
+
2157
+ property :text, as: 'text'
2158
+ end
2159
+ end
2160
+
2161
+ class TextProperty
2162
+ # @private
2163
+ class Representation < Google::Apis::Core::JsonRepresentation
2164
+ property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p1beta1::DetectedBreak, decorator: Google::Apis::VisionV1p1beta1::DetectedBreak::Representation
2165
+
2166
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p1beta1::DetectedLanguage, decorator: Google::Apis::VisionV1p1beta1::DetectedLanguage::Representation
2167
+
2168
+ end
2169
+ end
2170
+
2171
+ class Vertex
2172
+ # @private
2173
+ class Representation < Google::Apis::Core::JsonRepresentation
2174
+ property :x, as: 'x'
2175
+ property :y, as: 'y'
2176
+ end
2177
+ end
2178
+
2179
+ class WebDetection
2180
+ # @private
2181
+ class Representation < Google::Apis::Core::JsonRepresentation
2182
+ collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p1beta1::WebLabel, decorator: Google::Apis::VisionV1p1beta1::WebLabel::Representation
2183
+
2184
+ collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
2185
+
2186
+ collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p1beta1::WebPage, decorator: Google::Apis::VisionV1p1beta1::WebPage::Representation
2187
+
2188
+ collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
2189
+
2190
+ collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
2191
+
2192
+ collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p1beta1::WebEntity, decorator: Google::Apis::VisionV1p1beta1::WebEntity::Representation
2193
+
2194
+ end
2195
+ end
2196
+
2197
+ class WebEntity
2198
+ # @private
2199
+ class Representation < Google::Apis::Core::JsonRepresentation
2200
+ property :description, as: 'description'
2201
+ property :entity_id, as: 'entityId'
2202
+ property :score, as: 'score'
2203
+ end
2204
+ end
2205
+
2206
+ class WebImage
2207
+ # @private
2208
+ class Representation < Google::Apis::Core::JsonRepresentation
2209
+ property :score, as: 'score'
2210
+ property :url, as: 'url'
2211
+ end
2212
+ end
2213
+
2214
+ class WebLabel
2215
+ # @private
2216
+ class Representation < Google::Apis::Core::JsonRepresentation
2217
+ property :label, as: 'label'
2218
+ property :language_code, as: 'languageCode'
2219
+ end
2220
+ end
2221
+
2222
+ class WebPage
2223
+ # @private
2224
+ class Representation < Google::Apis::Core::JsonRepresentation
2225
+ collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
2226
+
2227
+ property :page_title, as: 'pageTitle'
2228
+ collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p1beta1::WebImage, decorator: Google::Apis::VisionV1p1beta1::WebImage::Representation
2229
+
2230
+ property :score, as: 'score'
2231
+ property :url, as: 'url'
2232
+ end
2233
+ end
2234
+
2235
+ class Word
2236
+ # @private
2237
+ class Representation < Google::Apis::Core::JsonRepresentation
2238
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
2239
+
2240
+ property :confidence, as: 'confidence'
2241
+ property :property, as: 'property', class: Google::Apis::VisionV1p1beta1::TextProperty, decorator: Google::Apis::VisionV1p1beta1::TextProperty::Representation
2242
+
2243
+ collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p1beta1::Symbol, decorator: Google::Apis::VisionV1p1beta1::Symbol::Representation
2244
+
2245
+ end
2246
+ end
1379
2247
  end
1380
2248
  end
1381
2249
  end