google-api-client 0.9.20 → 0.9.21

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 (159) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -4
  3. data/api_names.yaml +33179 -1058
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
  15. data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
  18. data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
  19. data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
  22. data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
  23. data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
  24. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
  26. data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
  27. data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
  28. data/generated/google/apis/appsactivity_v1.rb +1 -1
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +50 -6
  32. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  33. data/generated/google/apis/books_v1.rb +1 -1
  34. data/generated/google/apis/books_v1/classes.rb +7 -2
  35. data/generated/google/apis/books_v1/representations.rb +1 -0
  36. data/generated/google/apis/calendar_v3.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +74 -74
  39. data/generated/google/apis/classroom_v1/representations.rb +29 -29
  40. data/generated/google/apis/classroom_v1/service.rb +132 -28
  41. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
  43. data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
  44. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  45. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  46. data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
  47. data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
  48. data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
  51. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
  52. data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
  53. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
  55. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
  57. data/generated/google/apis/compute_beta.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +352 -80
  59. data/generated/google/apis/compute_beta/representations.rb +132 -19
  60. data/generated/google/apis/compute_beta/service.rb +214 -0
  61. data/generated/google/apis/compute_v1.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +673 -73
  63. data/generated/google/apis/compute_v1/representations.rb +274 -9
  64. data/generated/google/apis/compute_v1/service.rb +1574 -2
  65. data/generated/google/apis/content_v2.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +7 -8
  67. data/generated/google/apis/content_v2/service.rb +125 -54
  68. data/generated/google/apis/dataflow_v1b3.rb +2 -3
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
  71. data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
  72. data/generated/google/apis/datastore_v1.rb +1 -1
  73. data/generated/google/apis/datastore_v1/classes.rb +5 -0
  74. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
  76. data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
  77. data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2/classes.rb +55 -21
  82. data/generated/google/apis/drive_v2/representations.rb +2 -0
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +41 -12
  85. data/generated/google/apis/drive_v3/representations.rb +2 -0
  86. data/generated/google/apis/fitness_v1.rb +31 -1
  87. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  88. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  89. data/generated/google/apis/games_management_v1management.rb +1 -1
  90. data/generated/google/apis/games_v1.rb +1 -1
  91. data/generated/google/apis/gmail_v1.rb +1 -1
  92. data/generated/google/apis/gmail_v1/classes.rb +32 -1
  93. data/generated/google/apis/gmail_v1/representations.rb +15 -0
  94. data/generated/google/apis/gmail_v1/service.rb +41 -2
  95. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  96. data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
  97. data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
  98. data/generated/google/apis/kgsearch_v1.rb +2 -3
  99. data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
  100. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  101. data/generated/google/apis/kgsearch_v1/service.rb +28 -26
  102. data/generated/google/apis/language_v1beta1.rb +1 -1
  103. data/generated/google/apis/language_v1beta1/classes.rb +166 -8
  104. data/generated/google/apis/language_v1beta1/representations.rb +50 -0
  105. data/generated/google/apis/language_v1beta1/service.rb +32 -0
  106. data/generated/google/apis/logging_v2beta1.rb +6 -6
  107. data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
  108. data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
  109. data/generated/google/apis/logging_v2beta1/service.rb +378 -211
  110. data/generated/google/apis/monitoring_v3.rb +1 -1
  111. data/generated/google/apis/monitoring_v3/classes.rb +110 -112
  112. data/generated/google/apis/monitoring_v3/service.rb +68 -73
  113. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  114. data/generated/google/apis/plus_domains_v1.rb +1 -1
  115. data/generated/google/apis/plus_v1.rb +1 -1
  116. data/generated/google/apis/pubsub_v1.rb +1 -1
  117. data/generated/google/apis/pubsub_v1/classes.rb +380 -327
  118. data/generated/google/apis/pubsub_v1/representations.rb +79 -79
  119. data/generated/google/apis/pubsub_v1/service.rb +424 -396
  120. data/generated/google/apis/sheets_v4.rb +1 -1
  121. data/generated/google/apis/sheets_v4/classes.rb +175 -53
  122. data/generated/google/apis/sheets_v4/representations.rb +48 -13
  123. data/generated/google/apis/site_verification_v1.rb +1 -1
  124. data/generated/google/apis/slides_v1.rb +1 -1
  125. data/generated/google/apis/slides_v1/classes.rb +149 -31
  126. data/generated/google/apis/slides_v1/representations.rb +52 -9
  127. data/generated/google/apis/slides_v1/service.rb +5 -5
  128. data/generated/google/apis/speech_v1beta1.rb +1 -1
  129. data/generated/google/apis/speech_v1beta1/service.rb +3 -1
  130. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  131. data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
  132. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
  133. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  134. data/generated/google/apis/storage_v1.rb +1 -1
  135. data/generated/google/apis/storage_v1/classes.rb +7 -0
  136. data/generated/google/apis/storage_v1/representations.rb +2 -0
  137. data/generated/google/apis/tagmanager_v1.rb +5 -5
  138. data/generated/google/apis/vision_v1.rb +1 -1
  139. data/generated/google/apis/vision_v1/classes.rb +63 -59
  140. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  141. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  142. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  143. data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
  146. data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
  147. data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
  148. data/generated/google/apis/youtube_v3.rb +1 -1
  149. data/generated/google/apis/youtube_v3/classes.rb +15 -2
  150. data/generated/google/apis/youtube_v3/representations.rb +3 -0
  151. data/generated/google/apis/youtube_v3/service.rb +4 -4
  152. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  153. data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
  154. data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
  155. data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
  156. data/lib/google/apis/version.rb +1 -1
  157. data/samples/cli/lib/samples/calendar.rb +1 -1
  158. data/samples/cli/lib/samples/gmail.rb +74 -0
  159. metadata +29 -29
@@ -30,22 +30,22 @@ module Google
30
30
  # Delete your Google Tag Manager containers
31
31
  AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
32
32
 
33
- # Manage your Google Tag Manager containers
33
+ # Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing
34
34
  AUTH_TAGMANAGER_EDIT_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.edit.containers'
35
35
 
36
36
  # Manage your Google Tag Manager container versions
37
37
  AUTH_TAGMANAGER_EDIT_CONTAINERVERSIONS = 'https://www.googleapis.com/auth/tagmanager.edit.containerversions'
38
38
 
39
- # Manage your Google Tag Manager accounts
39
+ # View and manage your Google Tag Manager accounts
40
40
  AUTH_TAGMANAGER_MANAGE_ACCOUNTS = 'https://www.googleapis.com/auth/tagmanager.manage.accounts'
41
41
 
42
- # Manage user permissions of your Google Tag Manager data
42
+ # Manage user permissions of your Google Tag Manager account and container
43
43
  AUTH_TAGMANAGER_MANAGE_USERS = 'https://www.googleapis.com/auth/tagmanager.manage.users'
44
44
 
45
- # Publish your Google Tag Manager containers
45
+ # Publish your Google Tag Manager container versions
46
46
  AUTH_TAGMANAGER_PUBLISH = 'https://www.googleapis.com/auth/tagmanager.publish'
47
47
 
48
- # View your Google Tag Manager containers
48
+ # View your Google Tag Manager container and its subcomponents
49
49
  AUTH_TAGMANAGER_READONLY = 'https://www.googleapis.com/auth/tagmanager.readonly'
50
50
  end
51
51
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20161031'
30
+ REVISION = '20170112'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,10 +26,11 @@ module Google
26
26
  class ImageSource
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Google Cloud Storage image URI. It must be in the following form:
30
- # `gs://bucket_name/object_name`. For more
31
- # details, please see: https://cloud.google.com/storage/docs/reference-uris.
32
- # NOTE: Cloud Storage object versioning is not supported!
29
+ # Google Cloud Storage image URI, which must be in the following form:
30
+ # `gs://bucket_name/object_name` (for details, see
31
+ # [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/
32
+ # reference-uris)).
33
+ # NOTE: Cloud Storage object versioning is not supported.
33
34
  # Corresponds to the JSON property `gcsImageUri`
34
35
  # @return [String]
35
36
  attr_accessor :gcs_image_uri
@@ -80,39 +81,37 @@ module Google
80
81
  class AnnotateImageResponse
81
82
  include Google::Apis::Core::Hashable
82
83
 
83
- # If present, label detection completed successfully.
84
+ # If present, label detection has completed successfully.
84
85
  # Corresponds to the JSON property `labelAnnotations`
85
86
  # @return [Array<Google::Apis::VisionV1::EntityAnnotation>]
86
87
  attr_accessor :label_annotations
87
88
 
88
- # If present, landmark detection completed successfully.
89
+ # If present, landmark detection has completed successfully.
89
90
  # Corresponds to the JSON property `landmarkAnnotations`
90
91
  # @return [Array<Google::Apis::VisionV1::EntityAnnotation>]
91
92
  attr_accessor :landmark_annotations
92
93
 
93
- # Set of features pertaining to the image, computed by various computer vision
94
- # methods over safe-search verticals (for example, adult, spoof, medical,
95
- # violence).
94
+ # If present, safe-search annotation has completed successfully.
96
95
  # Corresponds to the JSON property `safeSearchAnnotation`
97
96
  # @return [Google::Apis::VisionV1::SafeSearchAnnotation]
98
97
  attr_accessor :safe_search_annotation
99
98
 
100
- # Stores image properties (e.g. dominant colors).
99
+ # Stores image properties, such as dominant colors.
101
100
  # Corresponds to the JSON property `imagePropertiesAnnotation`
102
101
  # @return [Google::Apis::VisionV1::ImageProperties]
103
102
  attr_accessor :image_properties_annotation
104
103
 
105
- # If present, text (OCR) detection completed successfully.
104
+ # If present, text (OCR) detection has completed successfully.
106
105
  # Corresponds to the JSON property `textAnnotations`
107
106
  # @return [Array<Google::Apis::VisionV1::EntityAnnotation>]
108
107
  attr_accessor :text_annotations
109
108
 
110
- # If present, logo detection completed successfully.
109
+ # If present, logo detection has completed successfully.
111
110
  # Corresponds to the JSON property `logoAnnotations`
112
111
  # @return [Array<Google::Apis::VisionV1::EntityAnnotation>]
113
112
  attr_accessor :logo_annotations
114
113
 
115
- # If present, face detection completed successfully.
114
+ # If present, face detection has completed successfully.
116
115
  # Corresponds to the JSON property `faceAnnotations`
117
116
  # @return [Array<Google::Apis::VisionV1::FaceAnnotation>]
118
117
  attr_accessor :face_annotations
@@ -177,7 +176,7 @@ module Google
177
176
  end
178
177
  end
179
178
 
180
- # Rectangle determined by min and max LatLng pairs.
179
+ # Rectangle determined by min and max `LatLng` pairs.
181
180
  class LatLongRect
182
181
  include Google::Apis::Core::Hashable
183
182
 
@@ -216,6 +215,8 @@ module Google
216
215
  # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
217
216
  # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
218
217
  # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
218
+ # The code in logs/storage/validator/logs_validator_traits.cc treats this type
219
+ # as if it were annotated as ST_LOCATION.
219
220
  # Corresponds to the JSON property `maxLatLng`
220
221
  # @return [Google::Apis::VisionV1::LatLng]
221
222
  attr_accessor :max_lat_lng
@@ -255,6 +256,8 @@ module Google
255
256
  # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
256
257
  # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
257
258
  # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
259
+ # The code in logs/storage/validator/logs_validator_traits.cc treats this type
260
+ # as if it were annotated as ST_LOCATION.
258
261
  # Corresponds to the JSON property `minLatLng`
259
262
  # @return [Google::Apis::VisionV1::LatLng]
260
263
  attr_accessor :min_lat_lng
@@ -346,9 +349,8 @@ module Google
346
349
  class FaceAnnotation
347
350
  include Google::Apis::Core::Hashable
348
351
 
349
- # Pitch angle. Indicates the upwards/downwards angle that the face is
350
- # pointing
351
- # relative to the image's horizontal plane. Range [-180,180].
352
+ # Pitch angle, which indicates the upwards/downwards angle that the face is
353
+ # pointing relative to the image's horizontal plane. Range [-180,180].
352
354
  # Corresponds to the JSON property `tiltAngle`
353
355
  # @return [Float]
354
356
  attr_accessor :tilt_angle
@@ -393,8 +395,8 @@ module Google
393
395
  # @return [String]
394
396
  attr_accessor :headwear_likelihood
395
397
 
396
- # Yaw angle. Indicates the leftward/rightward angle that the face is
397
- # pointing, relative to the vertical plane perpendicular to the image. Range
398
+ # Yaw angle, which indicates the leftward/rightward angle that the face is
399
+ # pointing relative to the vertical plane perpendicular to the image. Range
398
400
  # [-180,180].
399
401
  # Corresponds to the JSON property `panAngle`
400
402
  # @return [Float]
@@ -415,10 +417,9 @@ module Google
415
417
  # @return [String]
416
418
  attr_accessor :blurred_likelihood
417
419
 
418
- # Roll angle. Indicates the amount of clockwise/anti-clockwise rotation of
419
- # the
420
- # face relative to the image vertical, about the axis perpendicular to the
421
- # face. Range [-180,180].
420
+ # Roll angle, which indicates the amount of clockwise/anti-clockwise rotation
421
+ # of the face relative to the image vertical about the axis perpendicular to
422
+ # the face. Range [-180,180].
422
423
  # Corresponds to the JSON property `rollAngle`
423
424
  # @return [Float]
424
425
  attr_accessor :roll_angle
@@ -478,12 +479,12 @@ module Google
478
479
  end
479
480
  end
480
481
 
481
- # Color information consists of RGB channels, score and fraction of
482
- # image the color occupies in the image.
482
+ # Color information consists of RGB channels, score, and the fraction of
483
+ # the image that the color occupies in the image.
483
484
  class ColorInfo
484
485
  include Google::Apis::Core::Hashable
485
486
 
486
- # Stores the fraction of pixels the color occupies in the image.
487
+ # The fraction of pixels the color occupies in the image.
487
488
  # Value in range [0, 1].
488
489
  # Corresponds to the JSON property `pixelFraction`
489
490
  # @return [Float]
@@ -630,8 +631,9 @@ module Google
630
631
 
631
632
  # A face-specific landmark (for example, a face feature).
632
633
  # Landmark positions may fall outside the bounds of the image
633
- # when the face is near one or more edges of the image.
634
- # Therefore it is NOT guaranteed that 0 <= x < width or 0 <= y < height.
634
+ # if the face is near one or more edges of the image.
635
+ # Therefore it is NOT guaranteed that `0 <= x < width` or
636
+ # `0 <= y < height`.
635
637
  class Landmark
636
638
  include Google::Apis::Core::Hashable
637
639
 
@@ -662,7 +664,7 @@ module Google
662
664
  class ImageContext
663
665
  include Google::Apis::Core::Hashable
664
666
 
665
- # Rectangle determined by min and max LatLng pairs.
667
+ # Rectangle determined by min and max `LatLng` pairs.
666
668
  # Corresponds to the JSON property `latLongRect`
667
669
  # @return [Google::Apis::VisionV1::LatLongRect]
668
670
  attr_accessor :lat_long_rect
@@ -674,8 +676,7 @@ module Google
674
676
  # setting a hint will help get better results (although it will be a
675
677
  # significant hindrance if the hint is wrong). Text detection returns an
676
678
  # error if one or more of the specified languages is not one of the
677
- # [supported
678
- # languages](/translate/v2/translate-reference#supported_languages).
679
+ # [supported languages](/vision/docs/languages).
679
680
  # Corresponds to the JSON property `languageHints`
680
681
  # @return [Array<String>]
681
682
  attr_accessor :language_hints
@@ -714,35 +715,35 @@ module Google
714
715
  class EntityAnnotation
715
716
  include Google::Apis::Core::Hashable
716
717
 
717
- # Opaque entity ID. Some IDs might be available in Knowledge Graph(KG).
718
- # For more details on KG please see:
719
- # https://developers.google.com/knowledge-graph/
718
+ # Opaque entity ID. Some IDs may be available in
719
+ # [Google Knowledge Graph Search API](https://developers.google.com/knowledge-
720
+ # graph/).
720
721
  # Corresponds to the JSON property `mid`
721
722
  # @return [String]
722
723
  attr_accessor :mid
723
724
 
724
- # Entity textual description, expressed in its <code>locale</code> language.
725
+ # Entity textual description, expressed in its `locale` language.
725
726
  # Corresponds to the JSON property `description`
726
727
  # @return [String]
727
728
  attr_accessor :description
728
729
 
729
730
  # The relevancy of the ICA (Image Content Annotation) label to the
730
- # image. For example, the relevancy of 'tower' to an image containing
731
- # 'Eiffel Tower' is likely higher than an image containing a distant towering
732
- # building, though the confidence that there is a tower may be the same.
733
- # Range [0, 1].
731
+ # image. For example, the relevancy of "tower" is likely higher to an image
732
+ # containing the detected "Eiffel Tower" than to an image containing a
733
+ # detected distant towering building, even though the confidence that
734
+ # there is a tower in each image may be the same. Range [0, 1].
734
735
  # Corresponds to the JSON property `topicality`
735
736
  # @return [Float]
736
737
  attr_accessor :topicality
737
738
 
738
739
  # The language code for the locale in which the entity textual
739
- # <code>description</code> (next field) is expressed.
740
+ # `description` is expressed.
740
741
  # Corresponds to the JSON property `locale`
741
742
  # @return [String]
742
743
  attr_accessor :locale
743
744
 
744
- # Some entities can have additional optional <code>Property</code> fields.
745
- # For example a different kind of score or string that qualifies the entity.
745
+ # Some entities may have optional user-supplied `Property` (name/value)
746
+ # fields, such a score or string that qualifies the entity.
746
747
  # Corresponds to the JSON property `properties`
747
748
  # @return [Array<Google::Apis::VisionV1::Property>]
748
749
  attr_accessor :properties
@@ -758,17 +759,18 @@ module Google
758
759
  attr_accessor :bounding_poly
759
760
 
760
761
  # The location information for the detected entity. Multiple
761
- # <code>LocationInfo</code> elements can be present since one location may
762
- # indicate the location of the scene in the query image, and another the
763
- # location of the place where the query image was taken. Location information
764
- # is usually present for landmarks.
762
+ # `LocationInfo` elements can be present because one location may
763
+ # indicate the location of the scene in the image, and another location
764
+ # may indicate the location of the place where the image was taken.
765
+ # Location information is usually present for landmarks.
765
766
  # Corresponds to the JSON property `locations`
766
767
  # @return [Array<Google::Apis::VisionV1::LocationInfo>]
767
768
  attr_accessor :locations
768
769
 
769
770
  # The accuracy of the entity detection in an image.
770
- # For example, for an image containing 'Eiffel Tower,' this field represents
771
- # the confidence that there is a tower in the query image. Range [0, 1].
771
+ # For example, for an image in which the "Eiffel Tower" entity is detected,
772
+ # this field represents the confidence that there is a tower in the query
773
+ # image. Range [0, 1].
772
774
  # Corresponds to the JSON property `confidence`
773
775
  # @return [Float]
774
776
  attr_accessor :confidence
@@ -791,7 +793,7 @@ module Google
791
793
  end
792
794
  end
793
795
 
794
- # Arbitrary name/value pair.
796
+ # A `Property` consists of a user-supplied name/value pair.
795
797
  class Property
796
798
  include Google::Apis::Core::Hashable
797
799
 
@@ -998,6 +1000,8 @@ module Google
998
1000
  # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
999
1001
  # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
1000
1002
  # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
1003
+ # The code in logs/storage/validator/logs_validator_traits.cc treats this type
1004
+ # as if it were annotated as ST_LOCATION.
1001
1005
  # Corresponds to the JSON property `latLng`
1002
1006
  # @return [Google::Apis::VisionV1::LatLng]
1003
1007
  attr_accessor :lat_lng
@@ -1012,18 +1016,16 @@ module Google
1012
1016
  end
1013
1017
  end
1014
1018
 
1015
- # Set of features pertaining to the image, computed by various computer vision
1016
- # methods over safe-search verticals (for example, adult, spoof, medical,
1017
- # violence).
1019
+ #
1018
1020
  class SafeSearchAnnotation
1019
1021
  include Google::Apis::Core::Hashable
1020
1022
 
1021
- # Likelihood this is a medical image.
1023
+ # Likelihood that this is a medical image.
1022
1024
  # Corresponds to the JSON property `medical`
1023
1025
  # @return [String]
1024
1026
  attr_accessor :medical
1025
1027
 
1026
- # Spoof likelihood. The likelihood that an obvious modification
1028
+ # Spoof likelihood. The likelihood that an modification
1027
1029
  # was made to the image's canonical version to make it appear
1028
1030
  # funny or offensive.
1029
1031
  # Corresponds to the JSON property `spoof`
@@ -1035,7 +1037,7 @@ module Google
1035
1037
  # @return [String]
1036
1038
  attr_accessor :violence
1037
1039
 
1038
- # Represents the adult contents likelihood for the image.
1040
+ # Represents the adult content likelihood for the image.
1039
1041
  # Corresponds to the JSON property `adult`
1040
1042
  # @return [String]
1041
1043
  attr_accessor :adult
@@ -1084,7 +1086,7 @@ module Google
1084
1086
  class DominantColorsAnnotation
1085
1087
  include Google::Apis::Core::Hashable
1086
1088
 
1087
- # RGB color values, with their score and pixel fraction.
1089
+ # RGB color values with their score and pixel fraction.
1088
1090
  # Corresponds to the JSON property `colors`
1089
1091
  # @return [Array<Google::Apis::VisionV1::ColorInfo>]
1090
1092
  attr_accessor :colors
@@ -1099,9 +1101,9 @@ module Google
1099
1101
  end
1100
1102
  end
1101
1103
 
1102
- # The <em>Feature</em> indicates what type of image detection task to perform.
1103
1104
  # Users describe the type of Google Cloud Vision API tasks to perform over
1104
- # images by using <em>Feature</em>s. Features encode the Cloud Vision API
1105
+ # images by using *Feature*s. Each Feature indicates a type of image
1106
+ # detection task to perform. Features encode the Cloud Vision API
1105
1107
  # vertical to operate on and the number of top-scoring results to return.
1106
1108
  class Feature
1107
1109
  include Google::Apis::Core::Hashable
@@ -1146,7 +1148,7 @@ module Google
1146
1148
  end
1147
1149
  end
1148
1150
 
1149
- # Stores image properties (e.g. dominant colors).
1151
+ # Stores image properties, such as dominant colors.
1150
1152
  class ImageProperties
1151
1153
  include Google::Apis::Core::Hashable
1152
1154
 
@@ -1200,6 +1202,8 @@ module Google
1200
1202
  # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
1201
1203
  # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
1202
1204
  # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
1205
+ # The code in logs/storage/validator/logs_validator_traits.cc treats this type
1206
+ # as if it were annotated as ST_LOCATION.
1203
1207
  class LatLng
1204
1208
  include Google::Apis::Core::Hashable
1205
1209
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see http://developers.google.com/youtube/analytics/
26
26
  module YoutubeAnalyticsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20161105'
28
+ REVISION = '20170118'
29
29
 
30
30
  # Manage your YouTube account
31
31
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -22,215 +22,6 @@ module Google
22
22
  module Apis
23
23
  module YoutubeAnalyticsV1
24
24
 
25
- # Contains single batchReport resource.
26
- class BatchReport
27
- include Google::Apis::Core::Hashable
28
-
29
- # The ID that YouTube assigns and uses to uniquely identify the report.
30
- # Corresponds to the JSON property `id`
31
- # @return [String]
32
- attr_accessor :id
33
-
34
- # This value specifies the type of data of this item. For batch report the kind
35
- # property value is youtubeAnalytics#batchReport.
36
- # Corresponds to the JSON property `kind`
37
- # @return [String]
38
- attr_accessor :kind
39
-
40
- # Report outputs.
41
- # Corresponds to the JSON property `outputs`
42
- # @return [Array<Google::Apis::YoutubeAnalyticsV1::BatchReport::Output>]
43
- attr_accessor :outputs
44
-
45
- # The ID of the the report definition.
46
- # Corresponds to the JSON property `reportId`
47
- # @return [String]
48
- attr_accessor :report_id
49
-
50
- # Period included in the report. For reports containing all entities endTime is
51
- # not set. Both startTime and endTime are inclusive.
52
- # Corresponds to the JSON property `timeSpan`
53
- # @return [Google::Apis::YoutubeAnalyticsV1::BatchReport::TimeSpan]
54
- attr_accessor :time_span
55
-
56
- # The time when the report was updated.
57
- # Corresponds to the JSON property `timeUpdated`
58
- # @return [DateTime]
59
- attr_accessor :time_updated
60
-
61
- def initialize(**args)
62
- update!(**args)
63
- end
64
-
65
- # Update properties of this object
66
- def update!(**args)
67
- @id = args[:id] if args.key?(:id)
68
- @kind = args[:kind] if args.key?(:kind)
69
- @outputs = args[:outputs] if args.key?(:outputs)
70
- @report_id = args[:report_id] if args.key?(:report_id)
71
- @time_span = args[:time_span] if args.key?(:time_span)
72
- @time_updated = args[:time_updated] if args.key?(:time_updated)
73
- end
74
-
75
- #
76
- class Output
77
- include Google::Apis::Core::Hashable
78
-
79
- # Cloud storage URL to download this report. This URL is valid for 30 minutes.
80
- # Corresponds to the JSON property `downloadUrl`
81
- # @return [String]
82
- attr_accessor :download_url
83
-
84
- # Format of the output.
85
- # Corresponds to the JSON property `format`
86
- # @return [String]
87
- attr_accessor :format
88
-
89
- # Type of the output.
90
- # Corresponds to the JSON property `type`
91
- # @return [String]
92
- attr_accessor :type
93
-
94
- def initialize(**args)
95
- update!(**args)
96
- end
97
-
98
- # Update properties of this object
99
- def update!(**args)
100
- @download_url = args[:download_url] if args.key?(:download_url)
101
- @format = args[:format] if args.key?(:format)
102
- @type = args[:type] if args.key?(:type)
103
- end
104
- end
105
-
106
- # Period included in the report. For reports containing all entities endTime is
107
- # not set. Both startTime and endTime are inclusive.
108
- class TimeSpan
109
- include Google::Apis::Core::Hashable
110
-
111
- # End of the period included in the report. Inclusive. For reports containing
112
- # all entities endTime is not set.
113
- # Corresponds to the JSON property `endTime`
114
- # @return [DateTime]
115
- attr_accessor :end_time
116
-
117
- # Start of the period included in the report. Inclusive.
118
- # Corresponds to the JSON property `startTime`
119
- # @return [DateTime]
120
- attr_accessor :start_time
121
-
122
- def initialize(**args)
123
- update!(**args)
124
- end
125
-
126
- # Update properties of this object
127
- def update!(**args)
128
- @end_time = args[:end_time] if args.key?(:end_time)
129
- @start_time = args[:start_time] if args.key?(:start_time)
130
- end
131
- end
132
- end
133
-
134
- # Contains single batchReportDefinition resource.
135
- class BatchReportDefinition
136
- include Google::Apis::Core::Hashable
137
-
138
- # The ID that YouTube assigns and uses to uniquely identify the report
139
- # definition.
140
- # Corresponds to the JSON property `id`
141
- # @return [String]
142
- attr_accessor :id
143
-
144
- # This value specifies the type of data of this item. For batch report
145
- # definition the kind property value is youtubeAnalytics#batchReportDefinition.
146
- # Corresponds to the JSON property `kind`
147
- # @return [String]
148
- attr_accessor :kind
149
-
150
- # Name of the report definition.
151
- # Corresponds to the JSON property `name`
152
- # @return [String]
153
- attr_accessor :name
154
-
155
- # Status of the report definition.
156
- # Corresponds to the JSON property `status`
157
- # @return [String]
158
- attr_accessor :status
159
-
160
- # Type of the report definition.
161
- # Corresponds to the JSON property `type`
162
- # @return [String]
163
- attr_accessor :type
164
-
165
- def initialize(**args)
166
- update!(**args)
167
- end
168
-
169
- # Update properties of this object
170
- def update!(**args)
171
- @id = args[:id] if args.key?(:id)
172
- @kind = args[:kind] if args.key?(:kind)
173
- @name = args[:name] if args.key?(:name)
174
- @status = args[:status] if args.key?(:status)
175
- @type = args[:type] if args.key?(:type)
176
- end
177
- end
178
-
179
- # A paginated list of batchReportDefinition resources returned in response to a
180
- # youtubeAnalytics.batchReportDefinitions.list request.
181
- class BatchReportDefinitionList
182
- include Google::Apis::Core::Hashable
183
-
184
- # A list of batchReportDefinition resources that match the request criteria.
185
- # Corresponds to the JSON property `items`
186
- # @return [Array<Google::Apis::YoutubeAnalyticsV1::BatchReportDefinition>]
187
- attr_accessor :items
188
-
189
- # This value specifies the type of data included in the API response. For the
190
- # list method, the kind property value is youtubeAnalytics#
191
- # batchReportDefinitionList.
192
- # Corresponds to the JSON property `kind`
193
- # @return [String]
194
- attr_accessor :kind
195
-
196
- def initialize(**args)
197
- update!(**args)
198
- end
199
-
200
- # Update properties of this object
201
- def update!(**args)
202
- @items = args[:items] if args.key?(:items)
203
- @kind = args[:kind] if args.key?(:kind)
204
- end
205
- end
206
-
207
- # A paginated list of batchReport resources returned in response to a
208
- # youtubeAnalytics.batchReport.list request.
209
- class BatchReportList
210
- include Google::Apis::Core::Hashable
211
-
212
- # A list of batchReport resources that match the request criteria.
213
- # Corresponds to the JSON property `items`
214
- # @return [Array<Google::Apis::YoutubeAnalyticsV1::BatchReport>]
215
- attr_accessor :items
216
-
217
- # This value specifies the type of data included in the API response. For the
218
- # list method, the kind property value is youtubeAnalytics#batchReportList.
219
- # Corresponds to the JSON property `kind`
220
- # @return [String]
221
- attr_accessor :kind
222
-
223
- def initialize(**args)
224
- update!(**args)
225
- end
226
-
227
- # Update properties of this object
228
- def update!(**args)
229
- @items = args[:items] if args.key?(:items)
230
- @kind = args[:kind] if args.key?(:kind)
231
- end
232
- end
233
-
234
25
  #
235
26
  class Group
236
27
  include Google::Apis::Core::Hashable