google-api-client 0.13.5 → 0.13.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +58 -0
  3. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1 -1
  8. data/generated/google/apis/adexchangeseller_v1/service.rb +1 -1
  9. data/generated/google/apis/adexchangeseller_v1_1/service.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -1
  11. data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1/service.rb +1 -1
  13. data/generated/google/apis/admin_reports_v1/service.rb +1 -1
  14. data/generated/google/apis/adsense_v1_4.rb +1 -1
  15. data/generated/google/apis/adsense_v1_4/service.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -1
  18. data/generated/google/apis/analytics_v2_4.rb +1 -1
  19. data/generated/google/apis/analytics_v2_4/service.rb +1 -1
  20. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  21. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +74 -54
  22. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +14 -0
  23. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +54 -17
  24. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  25. data/generated/google/apis/androidenterprise_v1/classes.rb +15 -18
  26. data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +15 -7
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +2 -1
  30. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1/classes.rb +324 -0
  36. data/generated/google/apis/appengine_v1/representations.rb +152 -0
  37. data/generated/google/apis/appengine_v1/service.rb +406 -0
  38. data/generated/google/apis/appengine_v1beta.rb +1 -1
  39. data/generated/google/apis/appengine_v1beta/classes.rb +59 -1
  40. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  41. data/generated/google/apis/appsactivity_v1.rb +1 -1
  42. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  43. data/generated/google/apis/appsmarket_v2/service.rb +1 -1
  44. data/generated/google/apis/appstate_v1.rb +1 -1
  45. data/generated/google/apis/appstate_v1/service.rb +1 -1
  46. data/generated/google/apis/bigquery_v2.rb +1 -1
  47. data/generated/google/apis/bigquery_v2/classes.rb +70 -0
  48. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  49. data/generated/google/apis/bigquery_v2/service.rb +37 -1
  50. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  51. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +42 -37
  52. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +4 -3
  53. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +8 -8
  54. data/generated/google/apis/blogger_v2/service.rb +1 -1
  55. data/generated/google/apis/blogger_v3/service.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +1 -1
  58. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  59. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  60. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  61. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  62. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  63. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  64. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1 -1
  65. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -1
  66. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1 -1
  67. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +1 -1
  68. data/generated/google/apis/consumersurveys_v2/service.rb +1 -1
  69. data/generated/google/apis/container_v1.rb +1 -1
  70. data/generated/google/apis/container_v1/classes.rb +1 -1
  71. data/generated/google/apis/container_v1beta1.rb +1 -1
  72. data/generated/google/apis/container_v1beta1/classes.rb +15 -1
  73. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +1 -1
  76. data/generated/google/apis/content_v2sandbox.rb +1 -1
  77. data/generated/google/apis/content_v2sandbox/service.rb +1 -1
  78. data/generated/google/apis/customsearch_v1/service.rb +1 -1
  79. data/generated/google/apis/datastore_v1.rb +1 -1
  80. data/generated/google/apis/datastore_v1/classes.rb +14 -13
  81. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  82. data/generated/google/apis/datastore_v1beta1/classes.rb +19 -18
  83. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  84. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  85. data/generated/google/apis/datastore_v1beta3/classes.rb +13 -12
  86. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  87. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  88. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -1
  89. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -1
  90. data/generated/google/apis/discovery_v1/service.rb +1 -1
  91. data/generated/google/apis/dns_v1.rb +1 -1
  92. data/generated/google/apis/dns_v2beta1.rb +1 -1
  93. data/generated/google/apis/dns_v2beta1/service.rb +1 -1
  94. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +1 -1
  95. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  96. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  97. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  98. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +224 -0
  99. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +63 -0
  100. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
  101. data/generated/google/apis/fitness_v1.rb +1 -1
  102. data/generated/google/apis/fitness_v1/classes.rb +39 -0
  103. data/generated/google/apis/fitness_v1/representations.rb +18 -0
  104. data/generated/google/apis/fitness_v1/service.rb +49 -1
  105. data/generated/google/apis/fusiontables_v1/service.rb +1 -1
  106. data/generated/google/apis/fusiontables_v2/service.rb +1 -1
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  109. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/games_v1/service.rb +1 -1
  112. data/generated/google/apis/gmail_v1.rb +1 -1
  113. data/generated/google/apis/gmail_v1/classes.rb +36 -0
  114. data/generated/google/apis/gmail_v1/representations.rb +16 -0
  115. data/generated/google/apis/gmail_v1/service.rb +1 -1
  116. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  117. data/generated/google/apis/groupssettings_v1/service.rb +1 -1
  118. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  119. data/generated/google/apis/identitytoolkit_v3/classes.rb +24 -0
  120. data/generated/google/apis/identitytoolkit_v3/representations.rb +4 -0
  121. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -1
  122. data/generated/google/apis/language_v1beta2.rb +1 -1
  123. data/generated/google/apis/language_v1beta2/classes.rb +78 -0
  124. data/generated/google/apis/language_v1beta2/representations.rb +45 -0
  125. data/generated/google/apis/language_v1beta2/service.rb +30 -0
  126. data/generated/google/apis/licensing_v1/service.rb +1 -1
  127. data/generated/google/apis/logging_v2.rb +1 -1
  128. data/generated/google/apis/logging_v2/classes.rb +11 -18
  129. data/generated/google/apis/logging_v2/service.rb +116 -48
  130. data/generated/google/apis/logging_v2beta1.rb +1 -1
  131. data/generated/google/apis/logging_v2beta1/classes.rb +11 -18
  132. data/generated/google/apis/logging_v2beta1/service.rb +16 -8
  133. data/generated/google/apis/mirror_v1/service.rb +1 -1
  134. data/generated/google/apis/oauth2_v1.rb +1 -1
  135. data/generated/google/apis/oauth2_v1/service.rb +1 -1
  136. data/generated/google/apis/oauth2_v2.rb +1 -1
  137. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  138. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  139. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  140. data/generated/google/apis/plus_domains_v1.rb +1 -1
  141. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  142. data/generated/google/apis/plus_v1.rb +1 -1
  143. data/generated/google/apis/plus_v1/service.rb +1 -1
  144. data/generated/google/apis/prediction_v1_2/service.rb +1 -1
  145. data/generated/google/apis/prediction_v1_3/service.rb +1 -1
  146. data/generated/google/apis/prediction_v1_4/service.rb +1 -1
  147. data/generated/google/apis/prediction_v1_5/service.rb +1 -1
  148. data/generated/google/apis/prediction_v1_6/service.rb +1 -1
  149. data/generated/google/apis/qpx_express_v1/service.rb +1 -1
  150. data/generated/google/apis/replicapool_v1beta1/service.rb +1 -1
  151. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -1
  152. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  153. data/generated/google/apis/reseller_v1/service.rb +1 -1
  154. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -1
  155. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  156. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -256
  157. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -99
  158. data/generated/google/apis/serviceuser_v1.rb +1 -1
  159. data/generated/google/apis/serviceuser_v1/classes.rb +3 -3
  160. data/generated/google/apis/site_verification_v1/service.rb +1 -1
  161. data/generated/google/apis/spanner_v1.rb +1 -1
  162. data/generated/google/apis/spanner_v1/classes.rb +0 -458
  163. data/generated/google/apis/spanner_v1/representations.rb +0 -165
  164. data/generated/google/apis/spectrum_v1explorer/service.rb +1 -1
  165. data/generated/google/apis/sqladmin_v1beta3/service.rb +1 -1
  166. data/generated/google/apis/storage_v1.rb +1 -1
  167. data/generated/google/apis/storage_v1/classes.rb +6 -0
  168. data/generated/google/apis/storage_v1/representations.rb +1 -0
  169. data/generated/google/apis/storage_v1/service.rb +10 -3
  170. data/generated/google/apis/storage_v1beta1.rb +1 -1
  171. data/generated/google/apis/storage_v1beta1/service.rb +1 -1
  172. data/generated/google/apis/storage_v1beta2.rb +1 -1
  173. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  174. data/generated/google/apis/surveys_v2/service.rb +1 -1
  175. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  176. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  177. data/generated/google/apis/taskqueue_v1beta1/service.rb +1 -1
  178. data/generated/google/apis/tasks_v1/service.rb +1 -1
  179. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  180. data/generated/google/apis/toolresults_v1beta3/service.rb +5 -5
  181. data/generated/google/apis/toolresults_v1beta3firstparty.rb +1 -1
  182. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +5 -5
  183. data/generated/google/apis/urlshortener_v1/service.rb +1 -1
  184. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  185. data/generated/google/apis/videointelligence_v1beta1/classes.rb +379 -1
  186. data/generated/google/apis/videointelligence_v1beta1/representations.rb +175 -0
  187. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  188. data/generated/google/apis/webmasters_v3.rb +1 -1
  189. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  190. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  191. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  192. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  193. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +1 -1
  194. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  195. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  196. data/lib/google/apis/version.rb +1 -1
  197. metadata +2 -2
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'tasks/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/tasks/v1'
54
54
  end
55
55
 
56
56
  # Deletes the authenticated user's specified task list.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/test-lab/
26
26
  module ToolresultsV1beta3
27
27
  VERSION = 'V1beta3'
28
- REVISION = '20170829'
28
+ REVISION = '20170906'
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'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/toolresults/v1beta3'
54
54
  end
55
55
 
56
56
  # Gets the Tool Results settings for a project.
@@ -941,10 +941,10 @@ module Google
941
941
  execute_or_queue_command(command, &block)
942
942
  end
943
943
 
944
- # Creates a PerfMetricsSummary resource.
945
- # May return any of the following error code(s): - ALREADY_EXISTS - A
946
- # PerfMetricSummary already exists for the given Step - NOT_FOUND - The
947
- # containing Step does not exist
944
+ # Creates a PerfMetricsSummary resource. Returns the existing one if it has
945
+ # already been created.
946
+ # May return any of the following error code(s): - NOT_FOUND - The containing
947
+ # Step does not exist
948
948
  # @param [String] project_id
949
949
  # The cloud project
950
950
  # @param [String] history_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/test-lab/
26
26
  module ToolresultsV1beta3firstparty
27
27
  VERSION = 'V1beta3firstparty'
28
- REVISION = '20170829'
28
+ REVISION = '20170906'
29
29
  end
30
30
  end
31
31
  end
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'toolresults/v1beta3firstparty/projects/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/toolresults/v1beta3firstparty'
54
54
  end
55
55
 
56
56
  # Gets the Tool Results settings for a project.
@@ -941,10 +941,10 @@ module Google
941
941
  execute_or_queue_command(command, &block)
942
942
  end
943
943
 
944
- # Creates a PerfMetricsSummary resource.
945
- # May return any of the following error code(s): - ALREADY_EXISTS - A
946
- # PerfMetricSummary already exists for the given Step - NOT_FOUND - The
947
- # containing Step does not exist
944
+ # Creates a PerfMetricsSummary resource. Returns the existing one if it has
945
+ # already been created.
946
+ # May return any of the following error code(s): - NOT_FOUND - The containing
947
+ # Step does not exist
948
948
  # @param [String] project_id
949
949
  # The cloud project
950
950
  # @param [String] history_id
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'urlshortener/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/urlshortener/v1'
54
54
  end
55
55
 
56
56
  # Expands a short URL or gets creation time and analytics.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/video-intelligence/docs/
26
26
  module VideointelligenceV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20170807'
28
+ REVISION = '20170908'
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'
@@ -730,13 +730,391 @@ module Google
730
730
  end
731
731
  end
732
732
 
733
+ # Video annotation progress. Included in the `metadata`
734
+ # field of the `Operation` returned by the `GetOperation`
735
+ # call of the `google::longrunning::Operations` service.
736
+ class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
737
+ include Google::Apis::Core::Hashable
738
+
739
+ # Progress metadata for all videos specified in `AnnotateVideoRequest`.
740
+ # Corresponds to the JSON property `annotationProgress`
741
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress>]
742
+ attr_accessor :annotation_progress
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @annotation_progress = args[:annotation_progress] if args.key?(:annotation_progress)
751
+ end
752
+ end
753
+
754
+ # Video annotation response. Included in the `response`
755
+ # field of the `Operation` returned by the `GetOperation`
756
+ # call of the `google::longrunning::Operations` service.
757
+ class GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse
758
+ include Google::Apis::Core::Hashable
759
+
760
+ # Annotation results for all videos specified in `AnnotateVideoRequest`.
761
+ # Corresponds to the JSON property `annotationResults`
762
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoAnnotationResults>]
763
+ attr_accessor :annotation_results
764
+
765
+ def initialize(**args)
766
+ update!(**args)
767
+ end
768
+
769
+ # Update properties of this object
770
+ def update!(**args)
771
+ @annotation_results = args[:annotation_results] if args.key?(:annotation_results)
772
+ end
773
+ end
774
+
775
+ # Detected entity from video analysis.
776
+ class GoogleCloudVideointelligenceV1beta2Entity
777
+ include Google::Apis::Core::Hashable
778
+
779
+ # Textual description, e.g. `Fixed-gear bicycle`.
780
+ # Corresponds to the JSON property `description`
781
+ # @return [String]
782
+ attr_accessor :description
783
+
784
+ # Opaque entity ID. Some IDs may be available in
785
+ # [Google Knowledge Graph Search
786
+ # API](https://developers.google.com/knowledge-graph/).
787
+ # Corresponds to the JSON property `entityId`
788
+ # @return [String]
789
+ attr_accessor :entity_id
790
+
791
+ # Language code for `description` in BCP-47 format.
792
+ # Corresponds to the JSON property `languageCode`
793
+ # @return [String]
794
+ attr_accessor :language_code
795
+
796
+ def initialize(**args)
797
+ update!(**args)
798
+ end
799
+
800
+ # Update properties of this object
801
+ def update!(**args)
802
+ @description = args[:description] if args.key?(:description)
803
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
804
+ @language_code = args[:language_code] if args.key?(:language_code)
805
+ end
806
+ end
807
+
808
+ # Explicit content annotation (based on per-frame visual signals only).
809
+ # If no explicit content has been detected in a frame, no annotations are
810
+ # present for that frame.
811
+ class GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
812
+ include Google::Apis::Core::Hashable
813
+
814
+ # All video frames where explicit content was detected.
815
+ # Corresponds to the JSON property `frames`
816
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame>]
817
+ attr_accessor :frames
818
+
819
+ def initialize(**args)
820
+ update!(**args)
821
+ end
822
+
823
+ # Update properties of this object
824
+ def update!(**args)
825
+ @frames = args[:frames] if args.key?(:frames)
826
+ end
827
+ end
828
+
829
+ # Video frame level annotation results for explicit content.
830
+ class GoogleCloudVideointelligenceV1beta2ExplicitContentFrame
831
+ include Google::Apis::Core::Hashable
832
+
833
+ # Likelihood of the pornography content..
834
+ # Corresponds to the JSON property `pornographyLikelihood`
835
+ # @return [String]
836
+ attr_accessor :pornography_likelihood
837
+
838
+ # Time-offset, relative to the beginning of the video, corresponding to the
839
+ # video frame for this location.
840
+ # Corresponds to the JSON property `timeOffset`
841
+ # @return [String]
842
+ attr_accessor :time_offset
843
+
844
+ def initialize(**args)
845
+ update!(**args)
846
+ end
847
+
848
+ # Update properties of this object
849
+ def update!(**args)
850
+ @pornography_likelihood = args[:pornography_likelihood] if args.key?(:pornography_likelihood)
851
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
852
+ end
853
+ end
854
+
855
+ # Label annotation.
856
+ class GoogleCloudVideointelligenceV1beta2LabelAnnotation
857
+ include Google::Apis::Core::Hashable
858
+
859
+ # Common categories for the detected entity.
860
+ # E.g. when the label is `Terrier` the category is likely `dog`. And in some
861
+ # cases there might be more than one categories e.g. `Terrier` could also be
862
+ # a `pet`.
863
+ # Corresponds to the JSON property `categoryEntities`
864
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2Entity>]
865
+ attr_accessor :category_entities
866
+
867
+ # Detected entity from video analysis.
868
+ # Corresponds to the JSON property `entity`
869
+ # @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2Entity]
870
+ attr_accessor :entity
871
+
872
+ # All video frames where a label was detected.
873
+ # Corresponds to the JSON property `frames`
874
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelFrame>]
875
+ attr_accessor :frames
876
+
877
+ # All video segments where a label was detected.
878
+ # Corresponds to the JSON property `segments`
879
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelSegment>]
880
+ attr_accessor :segments
881
+
882
+ def initialize(**args)
883
+ update!(**args)
884
+ end
885
+
886
+ # Update properties of this object
887
+ def update!(**args)
888
+ @category_entities = args[:category_entities] if args.key?(:category_entities)
889
+ @entity = args[:entity] if args.key?(:entity)
890
+ @frames = args[:frames] if args.key?(:frames)
891
+ @segments = args[:segments] if args.key?(:segments)
892
+ end
893
+ end
894
+
895
+ # Video frame level annotation results for label detection.
896
+ class GoogleCloudVideointelligenceV1beta2LabelFrame
897
+ include Google::Apis::Core::Hashable
898
+
899
+ # Confidence that the label is accurate. Range: [0, 1].
900
+ # Corresponds to the JSON property `confidence`
901
+ # @return [Float]
902
+ attr_accessor :confidence
903
+
904
+ # Time-offset, relative to the beginning of the video, corresponding to the
905
+ # video frame for this location.
906
+ # Corresponds to the JSON property `timeOffset`
907
+ # @return [String]
908
+ attr_accessor :time_offset
909
+
910
+ def initialize(**args)
911
+ update!(**args)
912
+ end
913
+
914
+ # Update properties of this object
915
+ def update!(**args)
916
+ @confidence = args[:confidence] if args.key?(:confidence)
917
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
918
+ end
919
+ end
920
+
921
+ # Video segment level annotation results for label detection.
922
+ class GoogleCloudVideointelligenceV1beta2LabelSegment
923
+ include Google::Apis::Core::Hashable
924
+
925
+ # Confidence that the label is accurate. Range: [0, 1].
926
+ # Corresponds to the JSON property `confidence`
927
+ # @return [Float]
928
+ attr_accessor :confidence
929
+
930
+ # Video segment.
931
+ # Corresponds to the JSON property `segment`
932
+ # @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
933
+ attr_accessor :segment
934
+
935
+ def initialize(**args)
936
+ update!(**args)
937
+ end
938
+
939
+ # Update properties of this object
940
+ def update!(**args)
941
+ @confidence = args[:confidence] if args.key?(:confidence)
942
+ @segment = args[:segment] if args.key?(:segment)
943
+ end
944
+ end
945
+
946
+ # Annotation progress for a single video.
947
+ class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
948
+ include Google::Apis::Core::Hashable
949
+
950
+ # Video file location in
951
+ # [Google Cloud Storage](https://cloud.google.com/storage/).
952
+ # Corresponds to the JSON property `inputUri`
953
+ # @return [String]
954
+ attr_accessor :input_uri
955
+
956
+ # Approximate percentage processed thus far.
957
+ # Guaranteed to be 100 when fully processed.
958
+ # Corresponds to the JSON property `progressPercent`
959
+ # @return [Fixnum]
960
+ attr_accessor :progress_percent
961
+
962
+ # Time when the request was received.
963
+ # Corresponds to the JSON property `startTime`
964
+ # @return [String]
965
+ attr_accessor :start_time
966
+
967
+ # Time of the most recent update.
968
+ # Corresponds to the JSON property `updateTime`
969
+ # @return [String]
970
+ attr_accessor :update_time
971
+
972
+ def initialize(**args)
973
+ update!(**args)
974
+ end
975
+
976
+ # Update properties of this object
977
+ def update!(**args)
978
+ @input_uri = args[:input_uri] if args.key?(:input_uri)
979
+ @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
980
+ @start_time = args[:start_time] if args.key?(:start_time)
981
+ @update_time = args[:update_time] if args.key?(:update_time)
982
+ end
983
+ end
984
+
985
+ # Annotation results for a single video.
986
+ class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults
987
+ include Google::Apis::Core::Hashable
988
+
989
+ # The `Status` type defines a logical error model that is suitable for different
990
+ # programming environments, including REST APIs and RPC APIs. It is used by
991
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
992
+ # - Simple to use and understand for most users
993
+ # - Flexible enough to meet unexpected needs
994
+ # # Overview
995
+ # The `Status` message contains three pieces of data: error code, error message,
996
+ # and error details. The error code should be an enum value of
997
+ # google.rpc.Code, but it may accept additional error codes if needed. The
998
+ # error message should be a developer-facing English message that helps
999
+ # developers *understand* and *resolve* the error. If a localized user-facing
1000
+ # error message is needed, put the localized message in the error details or
1001
+ # localize it in the client. The optional error details may contain arbitrary
1002
+ # information about the error. There is a predefined set of error detail types
1003
+ # in the package `google.rpc` that can be used for common error conditions.
1004
+ # # Language mapping
1005
+ # The `Status` message is the logical representation of the error model, but it
1006
+ # is not necessarily the actual wire format. When the `Status` message is
1007
+ # exposed in different client libraries and different wire protocols, it can be
1008
+ # mapped differently. For example, it will likely be mapped to some exceptions
1009
+ # in Java, but more likely mapped to some error codes in C.
1010
+ # # Other uses
1011
+ # The error model and the `Status` message can be used in a variety of
1012
+ # environments, either with or without APIs, to provide a
1013
+ # consistent developer experience across different environments.
1014
+ # Example uses of this error model include:
1015
+ # - Partial errors. If a service needs to return partial errors to the client,
1016
+ # it may embed the `Status` in the normal response to indicate the partial
1017
+ # errors.
1018
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
1019
+ # have a `Status` message for error reporting.
1020
+ # - Batch operations. If a client uses batch request and batch response, the
1021
+ # `Status` message should be used directly inside batch response, one for
1022
+ # each error sub-response.
1023
+ # - Asynchronous operations. If an API call embeds asynchronous operation
1024
+ # results in its response, the status of those operations should be
1025
+ # represented directly using the `Status` message.
1026
+ # - Logging. If some API errors are stored in logs, the message `Status` could
1027
+ # be used directly after any stripping needed for security/privacy reasons.
1028
+ # Corresponds to the JSON property `error`
1029
+ # @return [Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus]
1030
+ attr_accessor :error
1031
+
1032
+ # Explicit content annotation (based on per-frame visual signals only).
1033
+ # If no explicit content has been detected in a frame, no annotations are
1034
+ # present for that frame.
1035
+ # Corresponds to the JSON property `explicitAnnotation`
1036
+ # @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
1037
+ attr_accessor :explicit_annotation
1038
+
1039
+ # Label annotations on frame level.
1040
+ # There is exactly one element for each unique label.
1041
+ # Corresponds to the JSON property `frameLabelAnnotations`
1042
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1043
+ attr_accessor :frame_label_annotations
1044
+
1045
+ # Video file location in
1046
+ # [Google Cloud Storage](https://cloud.google.com/storage/).
1047
+ # Corresponds to the JSON property `inputUri`
1048
+ # @return [String]
1049
+ attr_accessor :input_uri
1050
+
1051
+ # Label annotations on video level or user specified segment level.
1052
+ # There is exactly one element for each unique label.
1053
+ # Corresponds to the JSON property `segmentLabelAnnotations`
1054
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1055
+ attr_accessor :segment_label_annotations
1056
+
1057
+ # Shot annotations. Each shot is represented as a video segment.
1058
+ # Corresponds to the JSON property `shotAnnotations`
1059
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1060
+ attr_accessor :shot_annotations
1061
+
1062
+ # Label annotations on shot level.
1063
+ # There is exactly one element for each unique label.
1064
+ # Corresponds to the JSON property `shotLabelAnnotations`
1065
+ # @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1066
+ attr_accessor :shot_label_annotations
1067
+
1068
+ def initialize(**args)
1069
+ update!(**args)
1070
+ end
1071
+
1072
+ # Update properties of this object
1073
+ def update!(**args)
1074
+ @error = args[:error] if args.key?(:error)
1075
+ @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
1076
+ @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
1077
+ @input_uri = args[:input_uri] if args.key?(:input_uri)
1078
+ @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
1079
+ @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
1080
+ @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
1081
+ end
1082
+ end
1083
+
1084
+ # Video segment.
1085
+ class GoogleCloudVideointelligenceV1beta2VideoSegment
1086
+ include Google::Apis::Core::Hashable
1087
+
1088
+ # Time-offset, relative to the beginning of the video,
1089
+ # corresponding to the end of the segment (inclusive).
1090
+ # Corresponds to the JSON property `endTimeOffset`
1091
+ # @return [String]
1092
+ attr_accessor :end_time_offset
1093
+
1094
+ # Time-offset, relative to the beginning of the video,
1095
+ # corresponding to the start of the segment (inclusive).
1096
+ # Corresponds to the JSON property `startTimeOffset`
1097
+ # @return [String]
1098
+ attr_accessor :start_time_offset
1099
+
1100
+ def initialize(**args)
1101
+ update!(**args)
1102
+ end
1103
+
1104
+ # Update properties of this object
1105
+ def update!(**args)
1106
+ @end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset)
1107
+ @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset)
1108
+ end
1109
+ end
1110
+
733
1111
  # This resource represents a long-running operation that is the result of a
734
1112
  # network API call.
735
1113
  class GoogleLongrunningOperation
736
1114
  include Google::Apis::Core::Hashable
737
1115
 
738
1116
  # If the value is `false`, it means the operation is still in progress.
739
- # If true, the operation is completed, and either `error` or `response` is
1117
+ # If `true`, the operation is completed, and either `error` or `response` is
740
1118
  # available.
741
1119
  # Corresponds to the JSON property `done`
742
1120
  # @return [Boolean]