google-api-client 0.21.1 → 0.21.2

Sign up to get free protection for your applications and to get access to all the features.
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 VisionV1p2beta1
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 GoogleCloudVisionV1p2beta1AnnotateFileResponse
32
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
129
 
@@ -334,31 +430,393 @@ module Google
334
430
  include Google::Apis::Core::JsonObjectSupport
335
431
  end
336
432
 
433
+ class GoogleCloudVisionV1p3beta1BatchOperationMetadata
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleCloudVisionV1p3beta1BoundingPoly
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleCloudVisionV1p3beta1ImportProductSetsResponse
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class GoogleCloudVisionV1p3beta1NormalizedVertex
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class GoogleCloudVisionV1p3beta1ReferenceImage
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class GoogleCloudVisionV1p3beta1Vertex
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class ImageAnnotationContext
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class ImageProperties
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class InputConfig
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class Landmark
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
337
493
  class LatLng
338
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
495
 
340
- include Google::Apis::Core::JsonObjectSupport
341
- end
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class LocationInfo
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class NormalizedVertex
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class Operation
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class OperationMetadata
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class OutputConfig
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class Page
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class Paragraph
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class Position
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class Property
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class SafeSearchAnnotation
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class Status
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class Symbol
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class TextAnnotation
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class TextProperty
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class Vertex
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class WebDetection
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class WebEntity
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class WebImage
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class WebLabel
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class WebPage
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class Word
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class AnnotateFileResponse
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p2beta1::InputConfig, decorator: Google::Apis::VisionV1p2beta1::InputConfig::Representation
629
+
630
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1p2beta1::AnnotateImageResponse, decorator: Google::Apis::VisionV1p2beta1::AnnotateImageResponse::Representation
631
+
632
+ end
633
+ end
634
+
635
+ class AnnotateImageResponse
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :context, as: 'context', class: Google::Apis::VisionV1p2beta1::ImageAnnotationContext, decorator: Google::Apis::VisionV1p2beta1::ImageAnnotationContext::Representation
639
+
640
+ property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1p2beta1::CropHintsAnnotation, decorator: Google::Apis::VisionV1p2beta1::CropHintsAnnotation::Representation
641
+
642
+ property :error, as: 'error', class: Google::Apis::VisionV1p2beta1::Status, decorator: Google::Apis::VisionV1p2beta1::Status::Representation
643
+
644
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1p2beta1::FaceAnnotation, decorator: Google::Apis::VisionV1p2beta1::FaceAnnotation::Representation
645
+
646
+ property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1p2beta1::TextAnnotation, decorator: Google::Apis::VisionV1p2beta1::TextAnnotation::Representation
647
+
648
+ property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p2beta1::ImageProperties, decorator: Google::Apis::VisionV1p2beta1::ImageProperties::Representation
649
+
650
+ collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p2beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::EntityAnnotation::Representation
651
+
652
+ collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::EntityAnnotation::Representation
653
+
654
+ collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1p2beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::EntityAnnotation::Representation
655
+
656
+ property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::SafeSearchAnnotation::Representation
657
+
658
+ collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p2beta1::EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::EntityAnnotation::Representation
659
+
660
+ property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1p2beta1::WebDetection, decorator: Google::Apis::VisionV1p2beta1::WebDetection::Representation
661
+
662
+ end
663
+ end
664
+
665
+ class AsyncAnnotateFileResponse
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p2beta1::OutputConfig, decorator: Google::Apis::VisionV1p2beta1::OutputConfig::Representation
669
+
670
+ end
671
+ end
672
+
673
+ class AsyncBatchAnnotateFilesResponse
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1p2beta1::AsyncAnnotateFileResponse, decorator: Google::Apis::VisionV1p2beta1::AsyncAnnotateFileResponse::Representation
677
+
678
+ end
679
+ end
680
+
681
+ class Block
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :block_type, as: 'blockType'
685
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
686
+
687
+ property :confidence, as: 'confidence'
688
+ collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1p2beta1::Paragraph, decorator: Google::Apis::VisionV1p2beta1::Paragraph::Representation
689
+
690
+ property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::TextProperty, decorator: Google::Apis::VisionV1p2beta1::TextProperty::Representation
691
+
692
+ end
693
+ end
694
+
695
+ class BoundingPoly
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p2beta1::NormalizedVertex, decorator: Google::Apis::VisionV1p2beta1::NormalizedVertex::Representation
699
+
700
+ collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p2beta1::Vertex, decorator: Google::Apis::VisionV1p2beta1::Vertex::Representation
701
+
702
+ end
703
+ end
704
+
705
+ class Color
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :alpha, as: 'alpha'
709
+ property :blue, as: 'blue'
710
+ property :green, as: 'green'
711
+ property :red, as: 'red'
712
+ end
713
+ end
714
+
715
+ class ColorInfo
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :color, as: 'color', class: Google::Apis::VisionV1p2beta1::Color, decorator: Google::Apis::VisionV1p2beta1::Color::Representation
719
+
720
+ property :pixel_fraction, as: 'pixelFraction'
721
+ property :score, as: 'score'
722
+ end
723
+ end
724
+
725
+ class CropHint
726
+ # @private
727
+ class Representation < Google::Apis::Core::JsonRepresentation
728
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
729
+
730
+ property :confidence, as: 'confidence'
731
+ property :importance_fraction, as: 'importanceFraction'
732
+ end
733
+ end
734
+
735
+ class CropHintsAnnotation
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1p2beta1::CropHint, decorator: Google::Apis::VisionV1p2beta1::CropHint::Representation
739
+
740
+ end
741
+ end
742
+
743
+ class DetectedBreak
744
+ # @private
745
+ class Representation < Google::Apis::Core::JsonRepresentation
746
+ property :is_prefix, as: 'isPrefix'
747
+ property :type, as: 'type'
748
+ end
749
+ end
750
+
751
+ class DetectedLanguage
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :confidence, as: 'confidence'
755
+ property :language_code, as: 'languageCode'
756
+ end
757
+ end
758
+
759
+ class DominantColorsAnnotation
760
+ # @private
761
+ class Representation < Google::Apis::Core::JsonRepresentation
762
+ collection :colors, as: 'colors', class: Google::Apis::VisionV1p2beta1::ColorInfo, decorator: Google::Apis::VisionV1p2beta1::ColorInfo::Representation
763
+
764
+ end
765
+ end
766
+
767
+ class EntityAnnotation
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
771
+
772
+ property :confidence, as: 'confidence'
773
+ property :description, as: 'description'
774
+ property :locale, as: 'locale'
775
+ collection :locations, as: 'locations', class: Google::Apis::VisionV1p2beta1::LocationInfo, decorator: Google::Apis::VisionV1p2beta1::LocationInfo::Representation
776
+
777
+ property :mid, as: 'mid'
778
+ collection :properties, as: 'properties', class: Google::Apis::VisionV1p2beta1::Property, decorator: Google::Apis::VisionV1p2beta1::Property::Representation
779
+
780
+ property :score, as: 'score'
781
+ property :topicality, as: 'topicality'
782
+ end
783
+ end
784
+
785
+ class FaceAnnotation
786
+ # @private
787
+ class Representation < Google::Apis::Core::JsonRepresentation
788
+ property :anger_likelihood, as: 'angerLikelihood'
789
+ property :blurred_likelihood, as: 'blurredLikelihood'
790
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
791
+
792
+ property :detection_confidence, as: 'detectionConfidence'
793
+ property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
342
794
 
343
- class Operation
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
795
+ property :headwear_likelihood, as: 'headwearLikelihood'
796
+ property :joy_likelihood, as: 'joyLikelihood'
797
+ property :landmarking_confidence, as: 'landmarkingConfidence'
798
+ collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p2beta1::Landmark, decorator: Google::Apis::VisionV1p2beta1::Landmark::Representation
345
799
 
346
- include Google::Apis::Core::JsonObjectSupport
800
+ property :pan_angle, as: 'panAngle'
801
+ property :roll_angle, as: 'rollAngle'
802
+ property :sorrow_likelihood, as: 'sorrowLikelihood'
803
+ property :surprise_likelihood, as: 'surpriseLikelihood'
804
+ property :tilt_angle, as: 'tiltAngle'
805
+ property :under_exposed_likelihood, as: 'underExposedLikelihood'
806
+ end
347
807
  end
348
808
 
349
- class Status
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
809
+ class GcsDestination
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :uri, as: 'uri'
813
+ end
353
814
  end
354
815
 
355
- class Color
816
+ class GcsSource
356
817
  # @private
357
818
  class Representation < Google::Apis::Core::JsonRepresentation
358
- property :alpha, as: 'alpha'
359
- property :blue, as: 'blue'
360
- property :green, as: 'green'
361
- property :red, as: 'red'
819
+ property :uri, as: 'uri'
362
820
  end
363
821
  end
364
822
 
@@ -894,6 +1352,95 @@ module Google
894
1352
  end
895
1353
  end
896
1354
 
1355
+ class GoogleCloudVisionV1p3beta1BatchOperationMetadata
1356
+ # @private
1357
+ class Representation < Google::Apis::Core::JsonRepresentation
1358
+ property :end_time, as: 'endTime'
1359
+ property :state, as: 'state'
1360
+ property :submit_time, as: 'submitTime'
1361
+ end
1362
+ end
1363
+
1364
+ class GoogleCloudVisionV1p3beta1BoundingPoly
1365
+ # @private
1366
+ class Representation < Google::Apis::Core::JsonRepresentation
1367
+ collection :normalized_vertices, as: 'normalizedVertices', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1NormalizedVertex, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1NormalizedVertex::Representation
1368
+
1369
+ collection :vertices, as: 'vertices', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1Vertex, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1Vertex::Representation
1370
+
1371
+ end
1372
+ end
1373
+
1374
+ class GoogleCloudVisionV1p3beta1ImportProductSetsResponse
1375
+ # @private
1376
+ class Representation < Google::Apis::Core::JsonRepresentation
1377
+ collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1ReferenceImage, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1ReferenceImage::Representation
1378
+
1379
+ collection :statuses, as: 'statuses', class: Google::Apis::VisionV1p2beta1::Status, decorator: Google::Apis::VisionV1p2beta1::Status::Representation
1380
+
1381
+ end
1382
+ end
1383
+
1384
+ class GoogleCloudVisionV1p3beta1NormalizedVertex
1385
+ # @private
1386
+ class Representation < Google::Apis::Core::JsonRepresentation
1387
+ property :x, as: 'x'
1388
+ property :y, as: 'y'
1389
+ end
1390
+ end
1391
+
1392
+ class GoogleCloudVisionV1p3beta1ReferenceImage
1393
+ # @private
1394
+ class Representation < Google::Apis::Core::JsonRepresentation
1395
+ collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
1396
+
1397
+ property :name, as: 'name'
1398
+ property :uri, as: 'uri'
1399
+ end
1400
+ end
1401
+
1402
+ class GoogleCloudVisionV1p3beta1Vertex
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :x, as: 'x'
1406
+ property :y, as: 'y'
1407
+ end
1408
+ end
1409
+
1410
+ class ImageAnnotationContext
1411
+ # @private
1412
+ class Representation < Google::Apis::Core::JsonRepresentation
1413
+ property :page_number, as: 'pageNumber'
1414
+ property :uri, as: 'uri'
1415
+ end
1416
+ end
1417
+
1418
+ class ImageProperties
1419
+ # @private
1420
+ class Representation < Google::Apis::Core::JsonRepresentation
1421
+ property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1p2beta1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1p2beta1::DominantColorsAnnotation::Representation
1422
+
1423
+ end
1424
+ end
1425
+
1426
+ class InputConfig
1427
+ # @private
1428
+ class Representation < Google::Apis::Core::JsonRepresentation
1429
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1p2beta1::GcsSource, decorator: Google::Apis::VisionV1p2beta1::GcsSource::Representation
1430
+
1431
+ property :mime_type, as: 'mimeType'
1432
+ end
1433
+ end
1434
+
1435
+ class Landmark
1436
+ # @private
1437
+ class Representation < Google::Apis::Core::JsonRepresentation
1438
+ property :position, as: 'position', class: Google::Apis::VisionV1p2beta1::Position, decorator: Google::Apis::VisionV1p2beta1::Position::Representation
1439
+
1440
+ property :type, as: 'type'
1441
+ end
1442
+ end
1443
+
897
1444
  class LatLng
898
1445
  # @private
899
1446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -902,6 +1449,22 @@ module Google
902
1449
  end
903
1450
  end
904
1451
 
1452
+ class LocationInfo
1453
+ # @private
1454
+ class Representation < Google::Apis::Core::JsonRepresentation
1455
+ property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1p2beta1::LatLng, decorator: Google::Apis::VisionV1p2beta1::LatLng::Representation
1456
+
1457
+ end
1458
+ end
1459
+
1460
+ class NormalizedVertex
1461
+ # @private
1462
+ class Representation < Google::Apis::Core::JsonRepresentation
1463
+ property :x, as: 'x'
1464
+ property :y, as: 'y'
1465
+ end
1466
+ end
1467
+
905
1468
  class Operation
906
1469
  # @private
907
1470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -914,6 +1477,79 @@ module Google
914
1477
  end
915
1478
  end
916
1479
 
1480
+ class OperationMetadata
1481
+ # @private
1482
+ class Representation < Google::Apis::Core::JsonRepresentation
1483
+ property :create_time, as: 'createTime'
1484
+ property :state, as: 'state'
1485
+ property :update_time, as: 'updateTime'
1486
+ end
1487
+ end
1488
+
1489
+ class OutputConfig
1490
+ # @private
1491
+ class Representation < Google::Apis::Core::JsonRepresentation
1492
+ property :batch_size, as: 'batchSize'
1493
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::VisionV1p2beta1::GcsDestination, decorator: Google::Apis::VisionV1p2beta1::GcsDestination::Representation
1494
+
1495
+ end
1496
+ end
1497
+
1498
+ class Page
1499
+ # @private
1500
+ class Representation < Google::Apis::Core::JsonRepresentation
1501
+ collection :blocks, as: 'blocks', class: Google::Apis::VisionV1p2beta1::Block, decorator: Google::Apis::VisionV1p2beta1::Block::Representation
1502
+
1503
+ property :confidence, as: 'confidence'
1504
+ property :height, as: 'height'
1505
+ property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::TextProperty, decorator: Google::Apis::VisionV1p2beta1::TextProperty::Representation
1506
+
1507
+ property :width, as: 'width'
1508
+ end
1509
+ end
1510
+
1511
+ class Paragraph
1512
+ # @private
1513
+ class Representation < Google::Apis::Core::JsonRepresentation
1514
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
1515
+
1516
+ property :confidence, as: 'confidence'
1517
+ property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::TextProperty, decorator: Google::Apis::VisionV1p2beta1::TextProperty::Representation
1518
+
1519
+ collection :words, as: 'words', class: Google::Apis::VisionV1p2beta1::Word, decorator: Google::Apis::VisionV1p2beta1::Word::Representation
1520
+
1521
+ end
1522
+ end
1523
+
1524
+ class Position
1525
+ # @private
1526
+ class Representation < Google::Apis::Core::JsonRepresentation
1527
+ property :x, as: 'x'
1528
+ property :y, as: 'y'
1529
+ property :z, as: 'z'
1530
+ end
1531
+ end
1532
+
1533
+ class Property
1534
+ # @private
1535
+ class Representation < Google::Apis::Core::JsonRepresentation
1536
+ property :name, as: 'name'
1537
+ property :uint64_value, :numeric_string => true, as: 'uint64Value'
1538
+ property :value, as: 'value'
1539
+ end
1540
+ end
1541
+
1542
+ class SafeSearchAnnotation
1543
+ # @private
1544
+ class Representation < Google::Apis::Core::JsonRepresentation
1545
+ property :adult, as: 'adult'
1546
+ property :medical, as: 'medical'
1547
+ property :racy, as: 'racy'
1548
+ property :spoof, as: 'spoof'
1549
+ property :violence, as: 'violence'
1550
+ end
1551
+ end
1552
+
917
1553
  class Status
918
1554
  # @private
919
1555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -922,6 +1558,114 @@ module Google
922
1558
  property :message, as: 'message'
923
1559
  end
924
1560
  end
1561
+
1562
+ class Symbol
1563
+ # @private
1564
+ class Representation < Google::Apis::Core::JsonRepresentation
1565
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
1566
+
1567
+ property :confidence, as: 'confidence'
1568
+ property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::TextProperty, decorator: Google::Apis::VisionV1p2beta1::TextProperty::Representation
1569
+
1570
+ property :text, as: 'text'
1571
+ end
1572
+ end
1573
+
1574
+ class TextAnnotation
1575
+ # @private
1576
+ class Representation < Google::Apis::Core::JsonRepresentation
1577
+ collection :pages, as: 'pages', class: Google::Apis::VisionV1p2beta1::Page, decorator: Google::Apis::VisionV1p2beta1::Page::Representation
1578
+
1579
+ property :text, as: 'text'
1580
+ end
1581
+ end
1582
+
1583
+ class TextProperty
1584
+ # @private
1585
+ class Representation < Google::Apis::Core::JsonRepresentation
1586
+ property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1p2beta1::DetectedBreak, decorator: Google::Apis::VisionV1p2beta1::DetectedBreak::Representation
1587
+
1588
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1p2beta1::DetectedLanguage, decorator: Google::Apis::VisionV1p2beta1::DetectedLanguage::Representation
1589
+
1590
+ end
1591
+ end
1592
+
1593
+ class Vertex
1594
+ # @private
1595
+ class Representation < Google::Apis::Core::JsonRepresentation
1596
+ property :x, as: 'x'
1597
+ property :y, as: 'y'
1598
+ end
1599
+ end
1600
+
1601
+ class WebDetection
1602
+ # @private
1603
+ class Representation < Google::Apis::Core::JsonRepresentation
1604
+ collection :best_guess_labels, as: 'bestGuessLabels', class: Google::Apis::VisionV1p2beta1::WebLabel, decorator: Google::Apis::VisionV1p2beta1::WebLabel::Representation
1605
+
1606
+ collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p2beta1::WebImage, decorator: Google::Apis::VisionV1p2beta1::WebImage::Representation
1607
+
1608
+ collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1p2beta1::WebPage, decorator: Google::Apis::VisionV1p2beta1::WebPage::Representation
1609
+
1610
+ collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p2beta1::WebImage, decorator: Google::Apis::VisionV1p2beta1::WebImage::Representation
1611
+
1612
+ collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1p2beta1::WebImage, decorator: Google::Apis::VisionV1p2beta1::WebImage::Representation
1613
+
1614
+ collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1p2beta1::WebEntity, decorator: Google::Apis::VisionV1p2beta1::WebEntity::Representation
1615
+
1616
+ end
1617
+ end
1618
+
1619
+ class WebEntity
1620
+ # @private
1621
+ class Representation < Google::Apis::Core::JsonRepresentation
1622
+ property :description, as: 'description'
1623
+ property :entity_id, as: 'entityId'
1624
+ property :score, as: 'score'
1625
+ end
1626
+ end
1627
+
1628
+ class WebImage
1629
+ # @private
1630
+ class Representation < Google::Apis::Core::JsonRepresentation
1631
+ property :score, as: 'score'
1632
+ property :url, as: 'url'
1633
+ end
1634
+ end
1635
+
1636
+ class WebLabel
1637
+ # @private
1638
+ class Representation < Google::Apis::Core::JsonRepresentation
1639
+ property :label, as: 'label'
1640
+ property :language_code, as: 'languageCode'
1641
+ end
1642
+ end
1643
+
1644
+ class WebPage
1645
+ # @private
1646
+ class Representation < Google::Apis::Core::JsonRepresentation
1647
+ collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1p2beta1::WebImage, decorator: Google::Apis::VisionV1p2beta1::WebImage::Representation
1648
+
1649
+ property :page_title, as: 'pageTitle'
1650
+ collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1p2beta1::WebImage, decorator: Google::Apis::VisionV1p2beta1::WebImage::Representation
1651
+
1652
+ property :score, as: 'score'
1653
+ property :url, as: 'url'
1654
+ end
1655
+ end
1656
+
1657
+ class Word
1658
+ # @private
1659
+ class Representation < Google::Apis::Core::JsonRepresentation
1660
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1p2beta1::BoundingPoly, decorator: Google::Apis::VisionV1p2beta1::BoundingPoly::Representation
1661
+
1662
+ property :confidence, as: 'confidence'
1663
+ property :property, as: 'property', class: Google::Apis::VisionV1p2beta1::TextProperty, decorator: Google::Apis::VisionV1p2beta1::TextProperty::Representation
1664
+
1665
+ collection :symbols, as: 'symbols', class: Google::Apis::VisionV1p2beta1::Symbol, decorator: Google::Apis::VisionV1p2beta1::Symbol::Representation
1666
+
1667
+ end
1668
+ end
925
1669
  end
926
1670
  end
927
1671
  end