google-api-client 0.22.0 → 0.23.0

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 (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  4. data/generated/google/apis/androidmanagement_v1/classes.rb +1 -2
  5. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  6. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -2
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -3
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +59 -1
  11. data/generated/google/apis/appengine_v1/representations.rb +18 -0
  12. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  13. data/generated/google/apis/cloudtasks_v2beta2/service.rb +0 -8
  14. data/generated/google/apis/compute_alpha.rb +1 -1
  15. data/generated/google/apis/compute_alpha/classes.rb +97 -12
  16. data/generated/google/apis/compute_alpha/representations.rb +23 -0
  17. data/generated/google/apis/compute_alpha/service.rb +41 -1
  18. data/generated/google/apis/compute_beta.rb +1 -1
  19. data/generated/google/apis/compute_beta/classes.rb +1616 -43
  20. data/generated/google/apis/compute_beta/representations.rb +685 -20
  21. data/generated/google/apis/compute_beta/service.rb +1286 -0
  22. data/generated/google/apis/compute_v1.rb +1 -1
  23. data/generated/google/apis/compute_v1/classes.rb +184 -3
  24. data/generated/google/apis/compute_v1/representations.rb +43 -0
  25. data/generated/google/apis/compute_v1/service.rb +108 -0
  26. data/generated/google/apis/content_v2.rb +1 -1
  27. data/generated/google/apis/content_v2/classes.rb +805 -102
  28. data/generated/google/apis/content_v2/representations.rb +393 -26
  29. data/generated/google/apis/content_v2/service.rb +242 -0
  30. data/generated/google/apis/content_v2sandbox.rb +1 -1
  31. data/generated/google/apis/content_v2sandbox/classes.rb +703 -0
  32. data/generated/google/apis/content_v2sandbox/representations.rb +367 -0
  33. data/generated/google/apis/content_v2sandbox/service.rb +242 -0
  34. data/generated/google/apis/dlp_v2.rb +1 -1
  35. data/generated/google/apis/dlp_v2/classes.rb +280 -2
  36. data/generated/google/apis/dlp_v2/representations.rb +120 -0
  37. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  38. data/generated/google/apis/genomics_v2alpha1/classes.rb +35 -0
  39. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  40. data/generated/google/apis/logging_v2.rb +1 -1
  41. data/generated/google/apis/logging_v2/classes.rb +2 -2
  42. data/generated/google/apis/monitoring_v3.rb +1 -1
  43. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  44. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  45. data/generated/google/apis/monitoring_v3/service.rb +5 -3
  46. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  47. data/generated/google/apis/pubsub_v1.rb +1 -1
  48. data/generated/google/apis/pubsub_v1/classes.rb +0 -8
  49. data/generated/google/apis/pubsub_v1/service.rb +4 -8
  50. data/generated/google/apis/script_v1.rb +1 -1
  51. data/generated/google/apis/script_v1/classes.rb +7 -8
  52. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  53. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -27
  54. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -15
  55. data/generated/google/apis/serviceuser_v1.rb +1 -1
  56. data/generated/google/apis/serviceuser_v1/classes.rb +0 -27
  57. data/generated/google/apis/serviceuser_v1/representations.rb +0 -15
  58. data/generated/google/apis/sheets_v4.rb +1 -1
  59. data/generated/google/apis/sheets_v4/service.rb +2 -1
  60. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  61. data/generated/google/apis/tpu_v1.rb +34 -0
  62. data/generated/google/apis/tpu_v1/classes.rb +736 -0
  63. data/generated/google/apis/tpu_v1/representations.rb +316 -0
  64. data/generated/google/apis/tpu_v1/service.rb +687 -0
  65. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  66. data/generated/google/apis/tpu_v1alpha1/classes.rb +26 -0
  67. data/generated/google/apis/tpu_v1alpha1/representations.rb +15 -0
  68. data/generated/google/apis/videointelligence_v1.rb +1 -1
  69. data/generated/google/apis/videointelligence_v1/classes.rb +0 -473
  70. data/generated/google/apis/videointelligence_v1/representations.rb +0 -222
  71. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  72. data/generated/google/apis/videointelligence_v1beta2/classes.rb +0 -473
  73. data/generated/google/apis/videointelligence_v1beta2/representations.rb +0 -222
  74. data/lib/google/apis/version.rb +1 -1
  75. metadata +6 -6
  76. data/generated/google/apis/photoslibrary_v1.rb +0 -49
  77. data/generated/google/apis/photoslibrary_v1/classes.rb +0 -1330
  78. data/generated/google/apis/photoslibrary_v1/representations.rb +0 -625
  79. data/generated/google/apis/photoslibrary_v1/service.rb +0 -399
@@ -118,54 +118,6 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class GoogleCloudVideointelligenceV1beta1AnnotateVideoProgress
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class GoogleCloudVideointelligenceV1beta1AnnotateVideoResponse
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
- class GoogleCloudVideointelligenceV1beta1LabelAnnotation
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
- class GoogleCloudVideointelligenceV1beta1LabelLocation
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
- class GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
- class GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
- class GoogleCloudVideointelligenceV1beta1VideoAnnotationResults
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class GoogleCloudVideointelligenceV1beta1VideoSegment
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
121
  class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
170
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
123
 
@@ -244,12 +196,6 @@ module Google
244
196
  include Google::Apis::Core::JsonObjectSupport
245
197
  end
246
198
 
247
- class GoogleCloudVideointelligenceV1p1beta1EmotionAttribute
248
- class Representation < Google::Apis::Core::JsonRepresentation; end
249
-
250
- include Google::Apis::Core::JsonObjectSupport
251
- end
252
-
253
199
  class GoogleCloudVideointelligenceV1p1beta1Entity
254
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
201
 
@@ -268,30 +214,6 @@ module Google
268
214
  include Google::Apis::Core::JsonObjectSupport
269
215
  end
270
216
 
271
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute
278
- class Representation < Google::Apis::Core::JsonRepresentation; end
279
-
280
- include Google::Apis::Core::JsonObjectSupport
281
- end
282
-
283
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
- class GoogleCloudVideointelligenceV1p1beta1FaceSegment
290
- class Representation < Google::Apis::Core::JsonRepresentation; end
291
-
292
- include Google::Apis::Core::JsonObjectSupport
293
- end
294
-
295
217
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
296
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
219
 
@@ -310,12 +232,6 @@ module Google
310
232
  include Google::Apis::Core::JsonObjectSupport
311
233
  end
312
234
 
313
- class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
235
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
320
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
237
 
@@ -541,87 +457,6 @@ module Google
541
457
  end
542
458
  end
543
459
 
544
- class GoogleCloudVideointelligenceV1beta1AnnotateVideoProgress
545
- # @private
546
- class Representation < Google::Apis::Core::JsonRepresentation
547
- collection :annotation_progress, as: 'annotationProgress', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress::Representation
548
-
549
- end
550
- end
551
-
552
- class GoogleCloudVideointelligenceV1beta1AnnotateVideoResponse
553
- # @private
554
- class Representation < Google::Apis::Core::JsonRepresentation
555
- collection :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1VideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1VideoAnnotationResults::Representation
556
-
557
- end
558
- end
559
-
560
- class GoogleCloudVideointelligenceV1beta1LabelAnnotation
561
- # @private
562
- class Representation < Google::Apis::Core::JsonRepresentation
563
- property :description, as: 'description'
564
- property :language_code, as: 'languageCode'
565
- collection :locations, as: 'locations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1LabelLocation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1LabelLocation::Representation
566
-
567
- end
568
- end
569
-
570
- class GoogleCloudVideointelligenceV1beta1LabelLocation
571
- # @private
572
- class Representation < Google::Apis::Core::JsonRepresentation
573
- property :confidence, as: 'confidence'
574
- property :level, as: 'level'
575
- property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1VideoSegment::Representation
576
-
577
- end
578
- end
579
-
580
- class GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation
581
- # @private
582
- class Representation < Google::Apis::Core::JsonRepresentation
583
- property :adult, as: 'adult'
584
- property :medical, as: 'medical'
585
- property :racy, as: 'racy'
586
- property :spoof, as: 'spoof'
587
- property :time_offset, :numeric_string => true, as: 'timeOffset'
588
- property :violent, as: 'violent'
589
- end
590
- end
591
-
592
- class GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress
593
- # @private
594
- class Representation < Google::Apis::Core::JsonRepresentation
595
- property :input_uri, as: 'inputUri'
596
- property :progress_percent, as: 'progressPercent'
597
- property :start_time, as: 'startTime'
598
- property :update_time, as: 'updateTime'
599
- end
600
- end
601
-
602
- class GoogleCloudVideointelligenceV1beta1VideoAnnotationResults
603
- # @private
604
- class Representation < Google::Apis::Core::JsonRepresentation
605
- property :error, as: 'error', class: Google::Apis::VideointelligenceV1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1::GoogleRpcStatus::Representation
606
-
607
- property :input_uri, as: 'inputUri'
608
- collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1LabelAnnotation::Representation
609
-
610
- collection :safe_search_annotations, as: 'safeSearchAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation::Representation
611
-
612
- collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta1VideoSegment::Representation
613
-
614
- end
615
- end
616
-
617
- class GoogleCloudVideointelligenceV1beta1VideoSegment
618
- # @private
619
- class Representation < Google::Apis::Core::JsonRepresentation
620
- property :end_time_offset, :numeric_string => true, as: 'endTimeOffset'
621
- property :start_time_offset, :numeric_string => true, as: 'startTimeOffset'
622
- end
623
- end
624
-
625
460
  class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
626
461
  # @private
627
462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -747,14 +582,6 @@ module Google
747
582
  end
748
583
  end
749
584
 
750
- class GoogleCloudVideointelligenceV1p1beta1EmotionAttribute
751
- # @private
752
- class Representation < Google::Apis::Core::JsonRepresentation
753
- property :emotion, as: 'emotion'
754
- property :score, as: 'score'
755
- end
756
- end
757
-
758
585
  class GoogleCloudVideointelligenceV1p1beta1Entity
759
586
  # @private
760
587
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -780,43 +607,6 @@ module Google
780
607
  end
781
608
  end
782
609
 
783
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
784
- # @private
785
- class Representation < Google::Apis::Core::JsonRepresentation
786
- collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame::Representation
787
-
788
- collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation
789
-
790
- end
791
- end
792
-
793
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute
794
- # @private
795
- class Representation < Google::Apis::Core::JsonRepresentation
796
- collection :emotions, as: 'emotions', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1EmotionAttribute, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1EmotionAttribute::Representation
797
-
798
- property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation
799
-
800
- end
801
- end
802
-
803
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame
804
- # @private
805
- class Representation < Google::Apis::Core::JsonRepresentation
806
- collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute::Representation
807
-
808
- property :time_offset, as: 'timeOffset'
809
- end
810
- end
811
-
812
- class GoogleCloudVideointelligenceV1p1beta1FaceSegment
813
- # @private
814
- class Representation < Google::Apis::Core::JsonRepresentation
815
- property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
816
-
817
- end
818
- end
819
-
820
610
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
821
611
  # @private
822
612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -848,16 +638,6 @@ module Google
848
638
  end
849
639
  end
850
640
 
851
- class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
852
- # @private
853
- class Representation < Google::Apis::Core::JsonRepresentation
854
- property :bottom, as: 'bottom'
855
- property :left, as: 'left'
856
- property :right, as: 'right'
857
- property :top, as: 'top'
858
- end
859
- end
860
-
861
641
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
862
642
  # @private
863
643
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -893,8 +673,6 @@ module Google
893
673
 
894
674
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
895
675
 
896
- collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
897
-
898
676
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
899
677
 
900
678
  property :input_uri, as: 'inputUri'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/video-intelligence/docs/
26
26
  module VideointelligenceV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20180502'
28
+ REVISION = '20180530'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -400,310 +400,6 @@ module Google
400
400
  end
401
401
  end
402
402
 
403
- # Video annotation progress. Included in the `metadata`
404
- # field of the `Operation` returned by the `GetOperation`
405
- # call of the `google::longrunning::Operations` service.
406
- class GoogleCloudVideointelligenceV1beta1AnnotateVideoProgress
407
- include Google::Apis::Core::Hashable
408
-
409
- # Progress metadata for all videos specified in `AnnotateVideoRequest`.
410
- # Corresponds to the JSON property `annotationProgress`
411
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress>]
412
- attr_accessor :annotation_progress
413
-
414
- def initialize(**args)
415
- update!(**args)
416
- end
417
-
418
- # Update properties of this object
419
- def update!(**args)
420
- @annotation_progress = args[:annotation_progress] if args.key?(:annotation_progress)
421
- end
422
- end
423
-
424
- # Video annotation response. Included in the `response`
425
- # field of the `Operation` returned by the `GetOperation`
426
- # call of the `google::longrunning::Operations` service.
427
- class GoogleCloudVideointelligenceV1beta1AnnotateVideoResponse
428
- include Google::Apis::Core::Hashable
429
-
430
- # Annotation results for all videos specified in `AnnotateVideoRequest`.
431
- # Corresponds to the JSON property `annotationResults`
432
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1VideoAnnotationResults>]
433
- attr_accessor :annotation_results
434
-
435
- def initialize(**args)
436
- update!(**args)
437
- end
438
-
439
- # Update properties of this object
440
- def update!(**args)
441
- @annotation_results = args[:annotation_results] if args.key?(:annotation_results)
442
- end
443
- end
444
-
445
- # Label annotation.
446
- class GoogleCloudVideointelligenceV1beta1LabelAnnotation
447
- include Google::Apis::Core::Hashable
448
-
449
- # Textual description, e.g. `Fixed-gear bicycle`.
450
- # Corresponds to the JSON property `description`
451
- # @return [String]
452
- attr_accessor :description
453
-
454
- # Language code for `description` in BCP-47 format.
455
- # Corresponds to the JSON property `languageCode`
456
- # @return [String]
457
- attr_accessor :language_code
458
-
459
- # Where the label was detected and with what confidence.
460
- # Corresponds to the JSON property `locations`
461
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1LabelLocation>]
462
- attr_accessor :locations
463
-
464
- def initialize(**args)
465
- update!(**args)
466
- end
467
-
468
- # Update properties of this object
469
- def update!(**args)
470
- @description = args[:description] if args.key?(:description)
471
- @language_code = args[:language_code] if args.key?(:language_code)
472
- @locations = args[:locations] if args.key?(:locations)
473
- end
474
- end
475
-
476
- # Label location.
477
- class GoogleCloudVideointelligenceV1beta1LabelLocation
478
- include Google::Apis::Core::Hashable
479
-
480
- # Confidence that the label is accurate. Range: [0, 1].
481
- # Corresponds to the JSON property `confidence`
482
- # @return [Float]
483
- attr_accessor :confidence
484
-
485
- # Label level.
486
- # Corresponds to the JSON property `level`
487
- # @return [String]
488
- attr_accessor :level
489
-
490
- # Video segment.
491
- # Corresponds to the JSON property `segment`
492
- # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1VideoSegment]
493
- attr_accessor :segment
494
-
495
- def initialize(**args)
496
- update!(**args)
497
- end
498
-
499
- # Update properties of this object
500
- def update!(**args)
501
- @confidence = args[:confidence] if args.key?(:confidence)
502
- @level = args[:level] if args.key?(:level)
503
- @segment = args[:segment] if args.key?(:segment)
504
- end
505
- end
506
-
507
- # Safe search annotation (based on per-frame visual signals only).
508
- # If no unsafe content has been detected in a frame, no annotations
509
- # are present for that frame. If only some types of unsafe content
510
- # have been detected in a frame, the likelihood is set to `UNKNOWN`
511
- # for all other types of unsafe content.
512
- class GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation
513
- include Google::Apis::Core::Hashable
514
-
515
- # Likelihood of adult content.
516
- # Corresponds to the JSON property `adult`
517
- # @return [String]
518
- attr_accessor :adult
519
-
520
- # Likelihood of medical content.
521
- # Corresponds to the JSON property `medical`
522
- # @return [String]
523
- attr_accessor :medical
524
-
525
- # Likelihood of racy content.
526
- # Corresponds to the JSON property `racy`
527
- # @return [String]
528
- attr_accessor :racy
529
-
530
- # Likelihood that an obvious modification was made to the original
531
- # version to make it appear funny or offensive.
532
- # Corresponds to the JSON property `spoof`
533
- # @return [String]
534
- attr_accessor :spoof
535
-
536
- # Video time offset in microseconds.
537
- # Corresponds to the JSON property `timeOffset`
538
- # @return [Fixnum]
539
- attr_accessor :time_offset
540
-
541
- # Likelihood of violent content.
542
- # Corresponds to the JSON property `violent`
543
- # @return [String]
544
- attr_accessor :violent
545
-
546
- def initialize(**args)
547
- update!(**args)
548
- end
549
-
550
- # Update properties of this object
551
- def update!(**args)
552
- @adult = args[:adult] if args.key?(:adult)
553
- @medical = args[:medical] if args.key?(:medical)
554
- @racy = args[:racy] if args.key?(:racy)
555
- @spoof = args[:spoof] if args.key?(:spoof)
556
- @time_offset = args[:time_offset] if args.key?(:time_offset)
557
- @violent = args[:violent] if args.key?(:violent)
558
- end
559
- end
560
-
561
- # Annotation progress for a single video.
562
- class GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress
563
- include Google::Apis::Core::Hashable
564
-
565
- # Video file location in
566
- # [Google Cloud Storage](https://cloud.google.com/storage/).
567
- # Corresponds to the JSON property `inputUri`
568
- # @return [String]
569
- attr_accessor :input_uri
570
-
571
- # Approximate percentage processed thus far.
572
- # Guaranteed to be 100 when fully processed.
573
- # Corresponds to the JSON property `progressPercent`
574
- # @return [Fixnum]
575
- attr_accessor :progress_percent
576
-
577
- # Time when the request was received.
578
- # Corresponds to the JSON property `startTime`
579
- # @return [String]
580
- attr_accessor :start_time
581
-
582
- # Time of the most recent update.
583
- # Corresponds to the JSON property `updateTime`
584
- # @return [String]
585
- attr_accessor :update_time
586
-
587
- def initialize(**args)
588
- update!(**args)
589
- end
590
-
591
- # Update properties of this object
592
- def update!(**args)
593
- @input_uri = args[:input_uri] if args.key?(:input_uri)
594
- @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
595
- @start_time = args[:start_time] if args.key?(:start_time)
596
- @update_time = args[:update_time] if args.key?(:update_time)
597
- end
598
- end
599
-
600
- # Annotation results for a single video.
601
- class GoogleCloudVideointelligenceV1beta1VideoAnnotationResults
602
- include Google::Apis::Core::Hashable
603
-
604
- # The `Status` type defines a logical error model that is suitable for different
605
- # programming environments, including REST APIs and RPC APIs. It is used by
606
- # [gRPC](https://github.com/grpc). The error model is designed to be:
607
- # - Simple to use and understand for most users
608
- # - Flexible enough to meet unexpected needs
609
- # # Overview
610
- # The `Status` message contains three pieces of data: error code, error message,
611
- # and error details. The error code should be an enum value of
612
- # google.rpc.Code, but it may accept additional error codes if needed. The
613
- # error message should be a developer-facing English message that helps
614
- # developers *understand* and *resolve* the error. If a localized user-facing
615
- # error message is needed, put the localized message in the error details or
616
- # localize it in the client. The optional error details may contain arbitrary
617
- # information about the error. There is a predefined set of error detail types
618
- # in the package `google.rpc` that can be used for common error conditions.
619
- # # Language mapping
620
- # The `Status` message is the logical representation of the error model, but it
621
- # is not necessarily the actual wire format. When the `Status` message is
622
- # exposed in different client libraries and different wire protocols, it can be
623
- # mapped differently. For example, it will likely be mapped to some exceptions
624
- # in Java, but more likely mapped to some error codes in C.
625
- # # Other uses
626
- # The error model and the `Status` message can be used in a variety of
627
- # environments, either with or without APIs, to provide a
628
- # consistent developer experience across different environments.
629
- # Example uses of this error model include:
630
- # - Partial errors. If a service needs to return partial errors to the client,
631
- # it may embed the `Status` in the normal response to indicate the partial
632
- # errors.
633
- # - Workflow errors. A typical workflow has multiple steps. Each step may
634
- # have a `Status` message for error reporting.
635
- # - Batch operations. If a client uses batch request and batch response, the
636
- # `Status` message should be used directly inside batch response, one for
637
- # each error sub-response.
638
- # - Asynchronous operations. If an API call embeds asynchronous operation
639
- # results in its response, the status of those operations should be
640
- # represented directly using the `Status` message.
641
- # - Logging. If some API errors are stored in logs, the message `Status` could
642
- # be used directly after any stripping needed for security/privacy reasons.
643
- # Corresponds to the JSON property `error`
644
- # @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
645
- attr_accessor :error
646
-
647
- # Video file location in
648
- # [Google Cloud Storage](https://cloud.google.com/storage/).
649
- # Corresponds to the JSON property `inputUri`
650
- # @return [String]
651
- attr_accessor :input_uri
652
-
653
- # Label annotations. There is exactly one element for each unique label.
654
- # Corresponds to the JSON property `labelAnnotations`
655
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1LabelAnnotation>]
656
- attr_accessor :label_annotations
657
-
658
- # Safe search annotations.
659
- # Corresponds to the JSON property `safeSearchAnnotations`
660
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation>]
661
- attr_accessor :safe_search_annotations
662
-
663
- # Shot annotations. Each shot is represented as a video segment.
664
- # Corresponds to the JSON property `shotAnnotations`
665
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta1VideoSegment>]
666
- attr_accessor :shot_annotations
667
-
668
- def initialize(**args)
669
- update!(**args)
670
- end
671
-
672
- # Update properties of this object
673
- def update!(**args)
674
- @error = args[:error] if args.key?(:error)
675
- @input_uri = args[:input_uri] if args.key?(:input_uri)
676
- @label_annotations = args[:label_annotations] if args.key?(:label_annotations)
677
- @safe_search_annotations = args[:safe_search_annotations] if args.key?(:safe_search_annotations)
678
- @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
679
- end
680
- end
681
-
682
- # Video segment.
683
- class GoogleCloudVideointelligenceV1beta1VideoSegment
684
- include Google::Apis::Core::Hashable
685
-
686
- # End offset in microseconds (inclusive). Unset means 0.
687
- # Corresponds to the JSON property `endTimeOffset`
688
- # @return [Fixnum]
689
- attr_accessor :end_time_offset
690
-
691
- # Start offset in microseconds (inclusive). Unset means 0.
692
- # Corresponds to the JSON property `startTimeOffset`
693
- # @return [Fixnum]
694
- attr_accessor :start_time_offset
695
-
696
- def initialize(**args)
697
- update!(**args)
698
- end
699
-
700
- # Update properties of this object
701
- def update!(**args)
702
- @end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset)
703
- @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset)
704
- end
705
- end
706
-
707
403
  # Video annotation progress. Included in the `metadata`
708
404
  # field of the `Operation` returned by the `GetOperation`
709
405
  # call of the `google::longrunning::Operations` service.
@@ -1311,31 +1007,6 @@ module Google
1311
1007
  end
1312
1008
  end
1313
1009
 
1314
- # Emotion attribute.
1315
- class GoogleCloudVideointelligenceV1p1beta1EmotionAttribute
1316
- include Google::Apis::Core::Hashable
1317
-
1318
- # Emotion entry.
1319
- # Corresponds to the JSON property `emotion`
1320
- # @return [String]
1321
- attr_accessor :emotion
1322
-
1323
- # Confidence score.
1324
- # Corresponds to the JSON property `score`
1325
- # @return [Float]
1326
- attr_accessor :score
1327
-
1328
- def initialize(**args)
1329
- update!(**args)
1330
- end
1331
-
1332
- # Update properties of this object
1333
- def update!(**args)
1334
- @emotion = args[:emotion] if args.key?(:emotion)
1335
- @score = args[:score] if args.key?(:score)
1336
- end
1337
- end
1338
-
1339
1010
  # Detected entity from video analysis.
1340
1011
  class GoogleCloudVideointelligenceV1p1beta1Entity
1341
1012
  include Google::Apis::Core::Hashable
@@ -1416,105 +1087,6 @@ module Google
1416
1087
  end
1417
1088
  end
1418
1089
 
1419
- # Face detection annotation.
1420
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
1421
- include Google::Apis::Core::Hashable
1422
-
1423
- # All video frames where a face was detected.
1424
- # Corresponds to the JSON property `frames`
1425
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame>]
1426
- attr_accessor :frames
1427
-
1428
- # All video segments where a face was detected.
1429
- # Corresponds to the JSON property `segments`
1430
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceSegment>]
1431
- attr_accessor :segments
1432
-
1433
- def initialize(**args)
1434
- update!(**args)
1435
- end
1436
-
1437
- # Update properties of this object
1438
- def update!(**args)
1439
- @frames = args[:frames] if args.key?(:frames)
1440
- @segments = args[:segments] if args.key?(:segments)
1441
- end
1442
- end
1443
-
1444
- # Face detection attribute.
1445
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute
1446
- include Google::Apis::Core::Hashable
1447
-
1448
- # Emotion attributes.
1449
- # Corresponds to the JSON property `emotions`
1450
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1EmotionAttribute>]
1451
- attr_accessor :emotions
1452
-
1453
- # Normalized bounding box.
1454
- # The normalized vertex coordinates are relative to the original image.
1455
- # Range: [0, 1].
1456
- # Corresponds to the JSON property `normalizedBoundingBox`
1457
- # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
1458
- attr_accessor :normalized_bounding_box
1459
-
1460
- def initialize(**args)
1461
- update!(**args)
1462
- end
1463
-
1464
- # Update properties of this object
1465
- def update!(**args)
1466
- @emotions = args[:emotions] if args.key?(:emotions)
1467
- @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
1468
- end
1469
- end
1470
-
1471
- # Video frame level annotation results for face detection.
1472
- class GoogleCloudVideointelligenceV1p1beta1FaceDetectionFrame
1473
- include Google::Apis::Core::Hashable
1474
-
1475
- # Face attributes in a frame.
1476
- # There can be more than one attributes if the same face is detected in
1477
- # multiple locations within the current frame.
1478
- # Corresponds to the JSON property `attributes`
1479
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAttribute>]
1480
- attr_accessor :attributes
1481
-
1482
- # Time-offset, relative to the beginning of the video,
1483
- # corresponding to the video frame for this location.
1484
- # Corresponds to the JSON property `timeOffset`
1485
- # @return [String]
1486
- attr_accessor :time_offset
1487
-
1488
- def initialize(**args)
1489
- update!(**args)
1490
- end
1491
-
1492
- # Update properties of this object
1493
- def update!(**args)
1494
- @attributes = args[:attributes] if args.key?(:attributes)
1495
- @time_offset = args[:time_offset] if args.key?(:time_offset)
1496
- end
1497
- end
1498
-
1499
- # Video segment level annotation results for face detection.
1500
- class GoogleCloudVideointelligenceV1p1beta1FaceSegment
1501
- include Google::Apis::Core::Hashable
1502
-
1503
- # Video segment.
1504
- # Corresponds to the JSON property `segment`
1505
- # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
1506
- attr_accessor :segment
1507
-
1508
- def initialize(**args)
1509
- update!(**args)
1510
- end
1511
-
1512
- # Update properties of this object
1513
- def update!(**args)
1514
- @segment = args[:segment] if args.key?(:segment)
1515
- end
1516
- end
1517
-
1518
1090
  # Label annotation.
1519
1091
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
1520
1092
  include Google::Apis::Core::Hashable
@@ -1606,45 +1178,6 @@ module Google
1606
1178
  end
1607
1179
  end
1608
1180
 
1609
- # Normalized bounding box.
1610
- # The normalized vertex coordinates are relative to the original image.
1611
- # Range: [0, 1].
1612
- class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
1613
- include Google::Apis::Core::Hashable
1614
-
1615
- # Bottom Y coordinate.
1616
- # Corresponds to the JSON property `bottom`
1617
- # @return [Float]
1618
- attr_accessor :bottom
1619
-
1620
- # Left X coordinate.
1621
- # Corresponds to the JSON property `left`
1622
- # @return [Float]
1623
- attr_accessor :left
1624
-
1625
- # Right X coordinate.
1626
- # Corresponds to the JSON property `right`
1627
- # @return [Float]
1628
- attr_accessor :right
1629
-
1630
- # Top Y coordinate.
1631
- # Corresponds to the JSON property `top`
1632
- # @return [Float]
1633
- attr_accessor :top
1634
-
1635
- def initialize(**args)
1636
- update!(**args)
1637
- end
1638
-
1639
- # Update properties of this object
1640
- def update!(**args)
1641
- @bottom = args[:bottom] if args.key?(:bottom)
1642
- @left = args[:left] if args.key?(:left)
1643
- @right = args[:right] if args.key?(:right)
1644
- @top = args[:top] if args.key?(:top)
1645
- end
1646
- end
1647
-
1648
1181
  # Alternative hypotheses (a.k.a. n-best list).
1649
1182
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
1650
1183
  include Google::Apis::Core::Hashable
@@ -1796,11 +1329,6 @@ module Google
1796
1329
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
1797
1330
  attr_accessor :explicit_annotation
1798
1331
 
1799
- # Face detection annotations.
1800
- # Corresponds to the JSON property `faceDetectionAnnotations`
1801
- # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
1802
- attr_accessor :face_detection_annotations
1803
-
1804
1332
  # Label annotations on frame level.
1805
1333
  # There is exactly one element for each unique label.
1806
1334
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -1843,7 +1371,6 @@ module Google
1843
1371
  def update!(**args)
1844
1372
  @error = args[:error] if args.key?(:error)
1845
1373
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
1846
- @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
1847
1374
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
1848
1375
  @input_uri = args[:input_uri] if args.key?(:input_uri)
1849
1376
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)