google-api-client 0.10.0 → 0.10.1

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 (193) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +37747 -36512
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/adsense_v1_4.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  15. data/generated/google/apis/analytics_v3.rb +1 -1
  16. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
  21. data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
  24. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  25. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  26. data/generated/google/apis/appsactivity_v1.rb +3 -3
  27. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  28. data/generated/google/apis/appstate_v1.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +34 -8
  31. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  32. data/generated/google/apis/calendar_v3.rb +1 -1
  33. data/generated/google/apis/calendar_v3/classes.rb +3 -5
  34. data/generated/google/apis/classroom_v1.rb +25 -22
  35. data/generated/google/apis/classroom_v1/classes.rb +910 -1001
  36. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  37. data/generated/google/apis/classroom_v1/service.rb +1064 -1272
  38. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  39. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  40. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  41. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  42. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  43. data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
  44. data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
  45. data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
  46. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  47. data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
  48. data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
  49. data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
  50. data/generated/google/apis/cloudkms_v1.rb +35 -0
  51. data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
  52. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  53. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  54. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
  56. data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
  57. data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
  58. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  59. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
  61. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
  62. data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
  63. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  64. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
  65. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
  66. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
  67. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  68. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
  69. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  70. data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
  71. data/generated/google/apis/compute_beta.rb +1 -1
  72. data/generated/google/apis/compute_beta/classes.rb +813 -82
  73. data/generated/google/apis/compute_beta/representations.rb +305 -0
  74. data/generated/google/apis/compute_beta/service.rb +971 -180
  75. data/generated/google/apis/compute_v1.rb +1 -1
  76. data/generated/google/apis/compute_v1/classes.rb +147 -21
  77. data/generated/google/apis/compute_v1/representations.rb +38 -0
  78. data/generated/google/apis/compute_v1/service.rb +347 -65
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/classes.rb +2 -1
  81. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
  84. data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
  87. data/generated/google/apis/dataproc_v1/representations.rb +220 -204
  88. data/generated/google/apis/dataproc_v1/service.rb +299 -299
  89. data/generated/google/apis/datastore_v1.rb +4 -4
  90. data/generated/google/apis/datastore_v1/classes.rb +688 -688
  91. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  92. data/generated/google/apis/datastore_v1/service.rb +68 -68
  93. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  94. data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
  95. data/generated/google/apis/dns_v1.rb +1 -1
  96. data/generated/google/apis/dns_v2beta1.rb +1 -1
  97. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  98. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  99. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  100. data/generated/google/apis/drive_v2.rb +1 -1
  101. data/generated/google/apis/drive_v2/classes.rb +487 -15
  102. data/generated/google/apis/drive_v2/representations.rb +120 -0
  103. data/generated/google/apis/drive_v2/service.rb +355 -38
  104. data/generated/google/apis/drive_v3.rb +1 -1
  105. data/generated/google/apis/drive_v3/classes.rb +416 -14
  106. data/generated/google/apis/drive_v3/representations.rb +99 -0
  107. data/generated/google/apis/drive_v3/service.rb +315 -28
  108. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  109. data/generated/google/apis/games_management_v1management.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1.rb +7 -7
  112. data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
  113. data/generated/google/apis/genomics_v1/representations.rb +239 -239
  114. data/generated/google/apis/genomics_v1/service.rb +599 -599
  115. data/generated/google/apis/gmail_v1.rb +2 -2
  116. data/generated/google/apis/gmail_v1/service.rb +18 -1
  117. data/generated/google/apis/groupssettings_v1.rb +1 -1
  118. data/generated/google/apis/iam_v1.rb +1 -1
  119. data/generated/google/apis/iam_v1/classes.rb +440 -440
  120. data/generated/google/apis/iam_v1/representations.rb +96 -96
  121. data/generated/google/apis/iam_v1/service.rb +150 -150
  122. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  123. data/generated/google/apis/language_v1beta1.rb +1 -1
  124. data/generated/google/apis/language_v1beta1/classes.rb +235 -235
  125. data/generated/google/apis/language_v1beta1/representations.rb +73 -73
  126. data/generated/google/apis/language_v1beta1/service.rb +49 -49
  127. data/generated/google/apis/licensing_v1.rb +1 -1
  128. data/generated/google/apis/logging_v2beta1.rb +1 -1
  129. data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
  130. data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
  131. data/generated/google/apis/logging_v2beta1/service.rb +315 -316
  132. data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
  133. data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
  134. data/generated/google/apis/manufacturers_v1/service.rb +32 -32
  135. data/generated/google/apis/monitoring_v3.rb +4 -4
  136. data/generated/google/apis/monitoring_v3/classes.rb +229 -229
  137. data/generated/google/apis/monitoring_v3/representations.rb +45 -45
  138. data/generated/google/apis/monitoring_v3/service.rb +141 -141
  139. data/generated/google/apis/partners_v2.rb +3 -3
  140. data/generated/google/apis/partners_v2/classes.rb +1837 -483
  141. data/generated/google/apis/partners_v2/representations.rb +614 -157
  142. data/generated/google/apis/partners_v2/service.rb +881 -150
  143. data/generated/google/apis/people_v1.rb +1 -1
  144. data/generated/google/apis/people_v1/classes.rb +517 -465
  145. data/generated/google/apis/people_v1/representations.rb +138 -107
  146. data/generated/google/apis/people_v1/service.rb +56 -49
  147. data/generated/google/apis/plus_domains_v1.rb +1 -1
  148. data/generated/google/apis/plus_v1.rb +1 -1
  149. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  150. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +529 -458
  151. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
  152. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
  153. data/generated/google/apis/pubsub_v1.rb +4 -4
  154. data/generated/google/apis/pubsub_v1/classes.rb +203 -203
  155. data/generated/google/apis/pubsub_v1/representations.rb +65 -65
  156. data/generated/google/apis/pubsub_v1/service.rb +226 -217
  157. data/generated/google/apis/reseller_v1.rb +1 -1
  158. data/generated/google/apis/reseller_v1/classes.rb +213 -61
  159. data/generated/google/apis/reseller_v1/representations.rb +27 -0
  160. data/generated/google/apis/reseller_v1/service.rb +240 -47
  161. data/generated/google/apis/script_v1.rb +14 -14
  162. data/generated/google/apis/script_v1/classes.rb +95 -95
  163. data/generated/google/apis/script_v1/representations.rb +25 -25
  164. data/generated/google/apis/sheets_v4.rb +1 -1
  165. data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
  166. data/generated/google/apis/sheets_v4/representations.rb +853 -837
  167. data/generated/google/apis/sheets_v4/service.rb +32 -32
  168. data/generated/google/apis/slides_v1.rb +1 -1
  169. data/generated/google/apis/slides_v1/classes.rb +804 -748
  170. data/generated/google/apis/slides_v1/representations.rb +204 -187
  171. data/generated/google/apis/slides_v1/service.rb +16 -16
  172. data/generated/google/apis/speech_v1beta1.rb +1 -1
  173. data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
  174. data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
  175. data/generated/google/apis/speech_v1beta1/service.rb +66 -66
  176. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  177. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
  178. data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
  179. data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
  180. data/generated/google/apis/storage_v1.rb +1 -1
  181. data/generated/google/apis/storage_v1/service.rb +10 -7
  182. data/generated/google/apis/vision_v1.rb +1 -1
  183. data/generated/google/apis/vision_v1/classes.rb +1393 -865
  184. data/generated/google/apis/vision_v1/representations.rb +367 -102
  185. data/generated/google/apis/vision_v1/service.rb +4 -4
  186. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  187. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  188. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  189. data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
  190. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  191. data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
  192. data/lib/google/apis/version.rb +1 -1
  193. metadata +34 -30
@@ -22,6 +22,36 @@ module Google
22
22
  module Apis
23
23
  module AnalyticsreportingV4
24
24
 
25
+ class PivotHeaderEntry
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class SegmentFilter
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class SegmentDefinition
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class MetricHeaderEntry
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ReportData
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
25
55
  class DimensionFilter
26
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
57
 
@@ -82,13 +112,13 @@ module Google
82
112
  include Google::Apis::Core::JsonObjectSupport
83
113
  end
84
114
 
85
- class MetricFilter
115
+ class ReportRequest
86
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
117
 
88
118
  include Google::Apis::Core::JsonObjectSupport
89
119
  end
90
120
 
91
- class ReportRequest
121
+ class MetricFilter
92
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
123
 
94
124
  include Google::Apis::Core::JsonObjectSupport
@@ -124,7 +154,7 @@ module Google
124
154
  include Google::Apis::Core::JsonObjectSupport
125
155
  end
126
156
 
127
- class ReportRow
157
+ class MetricFilterClause
128
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
159
 
130
160
  include Google::Apis::Core::JsonObjectSupport
@@ -136,7 +166,7 @@ module Google
136
166
  include Google::Apis::Core::JsonObjectSupport
137
167
  end
138
168
 
139
- class MetricFilterClause
169
+ class ReportRow
140
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
171
 
142
172
  include Google::Apis::Core::JsonObjectSupport
@@ -203,43 +233,69 @@ module Google
203
233
  end
204
234
 
205
235
  class PivotHeaderEntry
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
236
+ # @private
237
+ class Representation < Google::Apis::Core::JsonRepresentation
238
+ collection :dimension_names, as: 'dimensionNames'
239
+ property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation
207
240
 
208
- include Google::Apis::Core::JsonObjectSupport
241
+ collection :dimension_values, as: 'dimensionValues'
242
+ end
209
243
  end
210
244
 
211
245
  class SegmentFilter
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
246
+ # @private
247
+ class Representation < Google::Apis::Core::JsonRepresentation
248
+ property :not, as: 'not'
249
+ property :simple_segment, as: 'simpleSegment', class: Google::Apis::AnalyticsreportingV4::SimpleSegment, decorator: Google::Apis::AnalyticsreportingV4::SimpleSegment::Representation
213
250
 
214
- include Google::Apis::Core::JsonObjectSupport
251
+ property :sequence_segment, as: 'sequenceSegment', class: Google::Apis::AnalyticsreportingV4::SequenceSegment, decorator: Google::Apis::AnalyticsreportingV4::SequenceSegment::Representation
252
+
253
+ end
215
254
  end
216
255
 
217
256
  class SegmentDefinition
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation
219
260
 
220
- include Google::Apis::Core::JsonObjectSupport
261
+ end
221
262
  end
222
263
 
223
264
  class MetricHeaderEntry
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
265
+ # @private
266
+ class Representation < Google::Apis::Core::JsonRepresentation
267
+ property :name, as: 'name'
268
+ property :type, as: 'type'
269
+ end
227
270
  end
228
271
 
229
272
  class ReportData
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
+ # @private
274
+ class Representation < Google::Apis::Core::JsonRepresentation
275
+ collection :sampling_space_sizes, as: 'samplingSpaceSizes'
276
+ collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
231
277
 
232
- include Google::Apis::Core::JsonObjectSupport
278
+ collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
279
+
280
+ collection :samples_read_counts, as: 'samplesReadCounts'
281
+ property :row_count, as: 'rowCount'
282
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation
283
+
284
+ property :is_data_golden, as: 'isDataGolden'
285
+ property :data_last_refreshed, as: 'dataLastRefreshed'
286
+ collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
287
+
288
+ end
233
289
  end
234
290
 
235
291
  class DimensionFilter
236
292
  # @private
237
293
  class Representation < Google::Apis::Core::JsonRepresentation
238
- property :case_sensitive, as: 'caseSensitive'
239
294
  property :dimension_name, as: 'dimensionName'
240
295
  property :operator, as: 'operator'
241
296
  property :not, as: 'not'
242
297
  collection :expressions, as: 'expressions'
298
+ property :case_sensitive, as: 'caseSensitive'
243
299
  end
244
300
  end
245
301
 
@@ -264,12 +320,12 @@ module Google
264
320
  class SegmentDimensionFilter
265
321
  # @private
266
322
  class Representation < Google::Apis::Core::JsonRepresentation
323
+ property :case_sensitive, as: 'caseSensitive'
324
+ property :min_comparison_value, as: 'minComparisonValue'
267
325
  property :max_comparison_value, as: 'maxComparisonValue'
268
326
  property :dimension_name, as: 'dimensionName'
269
327
  property :operator, as: 'operator'
270
328
  collection :expressions, as: 'expressions'
271
- property :case_sensitive, as: 'caseSensitive'
272
- property :min_comparison_value, as: 'minComparisonValue'
273
329
  end
274
330
  end
275
331
 
@@ -285,9 +341,9 @@ module Google
285
341
  class Metric
286
342
  # @private
287
343
  class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :expression, as: 'expression'
288
345
  property :formatting_type, as: 'formattingType'
289
346
  property :alias, as: 'alias'
290
- property :expression, as: 'expression'
291
347
  end
292
348
  end
293
349
 
@@ -301,11 +357,11 @@ module Google
301
357
  class Report
302
358
  # @private
303
359
  class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation
361
+
304
362
  property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation
305
363
 
306
364
  property :next_page_token, as: 'nextPageToken'
307
- property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation
308
-
309
365
  end
310
366
  end
311
367
 
@@ -321,37 +377,19 @@ module Google
321
377
  class DateRange
322
378
  # @private
323
379
  class Representation < Google::Apis::Core::JsonRepresentation
324
- property :end_date, as: 'endDate'
325
380
  property :start_date, as: 'startDate'
326
- end
327
- end
328
-
329
- class MetricFilter
330
- # @private
331
- class Representation < Google::Apis::Core::JsonRepresentation
332
- property :metric_name, as: 'metricName'
333
- property :comparison_value, as: 'comparisonValue'
334
- property :operator, as: 'operator'
335
- property :not, as: 'not'
381
+ property :end_date, as: 'endDate'
336
382
  end
337
383
  end
338
384
 
339
385
  class ReportRequest
340
386
  # @private
341
387
  class Representation < Google::Apis::Core::JsonRepresentation
342
- collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation
343
-
344
- collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
345
-
346
- property :page_token, as: 'pageToken'
347
- collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation
348
-
349
- property :include_empty_rows, as: 'includeEmptyRows'
350
388
  collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation
351
389
 
352
390
  property :page_size, as: 'pageSize'
353
- property :hide_totals, as: 'hideTotals'
354
391
  property :hide_value_ranges, as: 'hideValueRanges'
392
+ property :hide_totals, as: 'hideTotals'
355
393
  property :filters_expression, as: 'filtersExpression'
356
394
  property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation
357
395
 
@@ -365,6 +403,24 @@ module Google
365
403
  collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation
366
404
 
367
405
  property :sampling_level, as: 'samplingLevel'
406
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation
407
+
408
+ property :page_token, as: 'pageToken'
409
+ collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
410
+
411
+ collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation
412
+
413
+ property :include_empty_rows, as: 'includeEmptyRows'
414
+ end
415
+ end
416
+
417
+ class MetricFilter
418
+ # @private
419
+ class Representation < Google::Apis::Core::JsonRepresentation
420
+ property :metric_name, as: 'metricName'
421
+ property :comparison_value, as: 'comparisonValue'
422
+ property :operator, as: 'operator'
423
+ property :not, as: 'not'
368
424
  end
369
425
  end
370
426
 
@@ -407,20 +463,20 @@ module Google
407
463
  class SegmentFilterClause
408
464
  # @private
409
465
  class Representation < Google::Apis::Core::JsonRepresentation
410
- property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation
411
-
412
466
  property :not, as: 'not'
413
467
  property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation
414
468
 
469
+ property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation
470
+
415
471
  end
416
472
  end
417
473
 
418
- class ReportRow
474
+ class MetricFilterClause
419
475
  # @private
420
476
  class Representation < Google::Apis::Core::JsonRepresentation
421
- collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
477
+ property :operator, as: 'operator'
478
+ collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::MetricFilter, decorator: Google::Apis::AnalyticsreportingV4::MetricFilter::Representation
422
479
 
423
- collection :dimensions, as: 'dimensions'
424
480
  end
425
481
  end
426
482
 
@@ -434,12 +490,12 @@ module Google
434
490
  end
435
491
  end
436
492
 
437
- class MetricFilterClause
493
+ class ReportRow
438
494
  # @private
439
495
  class Representation < Google::Apis::Core::JsonRepresentation
440
- property :operator, as: 'operator'
441
- collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::MetricFilter, decorator: Google::Apis::AnalyticsreportingV4::MetricFilter::Representation
496
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
442
497
 
498
+ collection :dimensions, as: 'dimensions'
443
499
  end
444
500
  end
445
501
 
@@ -481,20 +537,20 @@ module Google
481
537
  class SequenceSegment
482
538
  # @private
483
539
  class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :first_step_should_match_first_hit, as: 'firstStepShouldMatchFirstHit'
484
541
  collection :segment_sequence_steps, as: 'segmentSequenceSteps', class: Google::Apis::AnalyticsreportingV4::SegmentSequenceStep, decorator: Google::Apis::AnalyticsreportingV4::SegmentSequenceStep::Representation
485
542
 
486
- property :first_step_should_match_first_hit, as: 'firstStepShouldMatchFirstHit'
487
543
  end
488
544
  end
489
545
 
490
546
  class SegmentMetricFilter
491
547
  # @private
492
548
  class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :metric_name, as: 'metricName'
550
+ property :scope, as: 'scope'
493
551
  property :max_comparison_value, as: 'maxComparisonValue'
494
552
  property :comparison_value, as: 'comparisonValue'
495
553
  property :operator, as: 'operator'
496
- property :metric_name, as: 'metricName'
497
- property :scope, as: 'scope'
498
554
  end
499
555
  end
500
556
 
@@ -537,62 +593,6 @@ module Google
537
593
 
538
594
  end
539
595
  end
540
-
541
- class PivotHeaderEntry
542
- # @private
543
- class Representation < Google::Apis::Core::JsonRepresentation
544
- collection :dimension_names, as: 'dimensionNames'
545
- property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation
546
-
547
- collection :dimension_values, as: 'dimensionValues'
548
- end
549
- end
550
-
551
- class SegmentFilter
552
- # @private
553
- class Representation < Google::Apis::Core::JsonRepresentation
554
- property :sequence_segment, as: 'sequenceSegment', class: Google::Apis::AnalyticsreportingV4::SequenceSegment, decorator: Google::Apis::AnalyticsreportingV4::SequenceSegment::Representation
555
-
556
- property :not, as: 'not'
557
- property :simple_segment, as: 'simpleSegment', class: Google::Apis::AnalyticsreportingV4::SimpleSegment, decorator: Google::Apis::AnalyticsreportingV4::SimpleSegment::Representation
558
-
559
- end
560
- end
561
-
562
- class SegmentDefinition
563
- # @private
564
- class Representation < Google::Apis::Core::JsonRepresentation
565
- collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation
566
-
567
- end
568
- end
569
-
570
- class MetricHeaderEntry
571
- # @private
572
- class Representation < Google::Apis::Core::JsonRepresentation
573
- property :name, as: 'name'
574
- property :type, as: 'type'
575
- end
576
- end
577
-
578
- class ReportData
579
- # @private
580
- class Representation < Google::Apis::Core::JsonRepresentation
581
- collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
582
-
583
- collection :samples_read_counts, as: 'samplesReadCounts'
584
- property :row_count, as: 'rowCount'
585
- collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation
586
-
587
- property :is_data_golden, as: 'isDataGolden'
588
- property :data_last_refreshed, as: 'dataLastRefreshed'
589
- collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
590
-
591
- collection :sampling_space_sizes, as: 'samplingSpaceSizes'
592
- collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
593
-
594
- end
595
- end
596
596
  end
597
597
  end
598
598
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170131'
28
+ REVISION = '20170301'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -374,15 +374,15 @@ module Google
374
374
  end
375
375
  end
376
376
 
377
- # A device resource represents a mobile device managed by the EMM and belonging
377
+ # A Devices resource represents a mobile device managed by the EMM and belonging
378
378
  # to a specific enterprise user.
379
- # This collection cannot be modified via the API; it is automatically populated
379
+ # This collection cannot be modified via the API. It is automatically populated
380
380
  # as devices are set up to be managed.
381
381
  class Device
382
382
  include Google::Apis::Core::Hashable
383
383
 
384
384
  # The Google Play Services Android ID for the device encoded as a lowercase hex
385
- # string, e.g. "123456789abcdef0".
385
+ # string. For example, "123456789abcdef0".
386
386
  # Corresponds to the JSON property `androidId`
387
387
  # @return [String]
388
388
  attr_accessor :android_id
@@ -613,30 +613,26 @@ module Google
613
613
  end
614
614
  end
615
615
 
616
- # The existence of an entitlement resource means that a user has the right to
617
- # use a particular app on any of their devices. This might be because the app is
618
- # free or because they have been allocated a license to the app from a group
619
- # license purchased by the enterprise.
620
- # It should always be true that a user has an app installed on one of their
621
- # devices only if they have an entitlement to it. So if an entitlement is
622
- # deleted, the app will be uninstalled from all devices. Similarly if the user
623
- # installs an app (and is permitted to do so), or the EMM triggers an install of
624
- # the app, an entitlement to that app is automatically created. If this is
625
- # impossible - e.g. the enterprise has not purchased sufficient licenses - then
626
- # installation fails.
627
- # Note that entitlements are always user specific, not device specific; a user
628
- # may have an entitlement even though they have not installed the app anywhere.
629
- # Once they have an entitlement they can install the app on multiple devices.
630
- # The API can be used to create an entitlement. If the app is a free app, a
631
- # group license for that app is created. If it's a paid app, creating the
632
- # entitlement consumes one license; it remains consumed until the entitlement is
633
- # removed. Optionally an installation of the app on all the user's managed
634
- # devices can be triggered at the time the entitlement is created. An
635
- # entitlement cannot be created for an app if the app requires permissions that
636
- # the enterprise has not yet accepted.
637
- # Entitlements for paid apps that are due to purchases by the user on a non-
638
- # managed profile will have "userPurchase" as entitlement reason; those
639
- # entitlements cannot be removed via the API.
616
+ # The presence of an Entitlements resource indicates that a user has the right
617
+ # to use a particular app. Entitlements are user specific, not device specific.
618
+ # This allows a user with an entitlement to an app to install the app on all
619
+ # their devices. It's also possible for a user to hold an entitlement to an app
620
+ # without installing the app on any device.
621
+ # The API can be used to create an entitlement. As an option, you can also use
622
+ # the API to trigger the installation of an app on all a user's managed devices
623
+ # at the same time the entitlement is created.
624
+ # If the app is free, creating the entitlement also creates a group license for
625
+ # that app. For paid apps, creating the entitlement consumes one license, and
626
+ # that license remains consumed until the entitlement is removed. If the
627
+ # enterprise hasn't purchased enough licenses, then no entitlement is created
628
+ # and the installation fails. An entitlement is also not created for an app if
629
+ # the app requires permissions that the enterprise hasn't accepted.
630
+ # If an entitlement is deleted, the app may be uninstalled from a user's device.
631
+ # As a best practice, uninstall the app by calling Installs.delete() before
632
+ # deleting the entitlement.
633
+ # Entitlements for apps that a user pays for on an unmanaged profile have "
634
+ # userPurchase" as the entitlement reason. These entitlements cannot be removed
635
+ # via the API.
640
636
  class Entitlement
641
637
  include Google::Apis::Core::Hashable
642
638
 
@@ -646,14 +642,15 @@ module Google
646
642
  # @return [String]
647
643
  attr_accessor :kind
648
644
 
649
- # The ID of the product that the entitlement is for, e.g. "app:com.google.
650
- # android.gm".
645
+ # The ID of the product that the entitlement is for. For example, "app:com.
646
+ # google.android.gm".
651
647
  # Corresponds to the JSON property `productId`
652
648
  # @return [String]
653
649
  attr_accessor :product_id
654
650
 
655
- # The reason for the entitlement, e.g. "free" for free apps. This is temporary,
656
- # it will be replaced by the acquisition kind field of group licenses.
651
+ # The reason for the entitlement. For example, "free" for free apps. This
652
+ # property is temporary: it will be replaced by the acquisition kind field of
653
+ # group licenses.
657
654
  # Corresponds to the JSON property `reason`
658
655
  # @return [String]
659
656
  attr_accessor :reason
@@ -717,19 +714,18 @@ module Google
717
714
  class GroupLicense
718
715
  include Google::Apis::Core::Hashable
719
716
 
720
- # How this group license was acquired. "bulkPurchase" means that this group
721
- # license object was created because the enterprise purchased licenses for this
722
- # product; this is "free" otherwise (for free products).
717
+ # How this group license was acquired. "bulkPurchase" means that this
718
+ # Grouplicenses resource was created because the enterprise purchased licenses
719
+ # for this product; otherwise, the value is "free" (for free products).
723
720
  # Corresponds to the JSON property `acquisitionKind`
724
721
  # @return [String]
725
722
  attr_accessor :acquisition_kind
726
723
 
727
724
  # Whether the product to which this group license relates is currently approved
728
- # by the enterprise, as either "approved" or "unapproved". Products are approved
729
- # when a group license is first created, but this approval may be revoked by an
730
- # enterprise admin via Google Play. Unapproved products will not be visible to
731
- # end users in collections and new entitlements to them should not normally be
732
- # created.
725
+ # by the enterprise. Products are approved when a group license is first created,
726
+ # but this approval may be revoked by an enterprise admin via Google Play.
727
+ # Unapproved products will not be visible to end users in collections, and new
728
+ # entitlements to them should not normally be created.
733
729
  # Corresponds to the JSON property `approval`
734
730
  # @return [String]
735
731
  attr_accessor :approval
@@ -747,14 +743,14 @@ module Google
747
743
  attr_accessor :num_provisioned
748
744
 
749
745
  # The number of purchased licenses (possibly in multiple purchases). If this
750
- # field is omitted then there is no limit on the number of licenses that can be
751
- # provisioned (e.g. if the acquisition kind is "free").
746
+ # field is omitted, then there is no limit on the number of licenses that can be
747
+ # provisioned (for example, if the acquisition kind is "free").
752
748
  # Corresponds to the JSON property `numPurchased`
753
749
  # @return [Fixnum]
754
750
  attr_accessor :num_purchased
755
751
 
756
- # The ID of the product that the license is for, e.g. "app:com.google.android.gm"
757
- # .
752
+ # The ID of the product that the license is for. For example, "app:com.google.
753
+ # android.gm".
758
754
  # Corresponds to the JSON property `productId`
759
755
  # @return [String]
760
756
  attr_accessor :product_id
@@ -826,18 +822,18 @@ module Google
826
822
  end
827
823
  end
828
824
 
829
- # The existence of an install resource indicates that an app is installed on a
825
+ # The existence of an Installs resource indicates that an app is installed on a
830
826
  # particular device (or that an install is pending).
831
827
  # The API can be used to create an install resource using the update method.
832
828
  # This triggers the actual install of the app on the device. If the user does
833
- # not already have an entitlement for the app then an attempt is made to create
834
- # one. If this fails (e.g. because the app is not free and there is no available
835
- # license) then the creation of the install fails.
836
- # The API can also be used to update an installed app. If the update method is
837
- # used on an existing install then the app will be updated to the latest
829
+ # not already have an entitlement for the app, then an attempt is made to create
830
+ # one. If this fails (for example, because the app is not free and there is no
831
+ # available license), then the creation of the install fails.
832
+ # The API can also be used to update an installed app. If the update method is
833
+ # used on an existing install, then the app will be updated to the latest
838
834
  # available version.
839
835
  # Note that it is not possible to force the installation of a specific version
840
- # of an app; the version code is read-only.
836
+ # of an app: the version code is read-only.
841
837
  # If a user installs an app themselves (as permitted by the enterprise), then
842
838
  # again an install resource and possibly an entitlement resource are
843
839
  # automatically created.
@@ -862,8 +858,8 @@ module Google
862
858
  # @return [String]
863
859
  attr_accessor :kind
864
860
 
865
- # The ID of the product that the install is for, e.g. "app:com.google.android.gm"
866
- # .
861
+ # The ID of the product that the install is for. For example, "app:com.google.
862
+ # android.gm".
867
863
  # Corresponds to the JSON property `productId`
868
864
  # @return [String]
869
865
  attr_accessor :product_id
@@ -1161,14 +1157,11 @@ module Google
1161
1157
  # @return [String]
1162
1158
  attr_accessor :device_id
1163
1159
 
1164
- # Identifies the extent to which the device is controlled by an Android for Work
1165
- # EMM in various deployment configurations.
1160
+ # Identifies the extent to which the device is controlled by an Android EMM in
1161
+ # various deployment configurations.
1166
1162
  # Possible values include:
1167
- # - "managedDevice", a device that has the EMM's device policy controller (DPC)
1168
- # as the device owner,
1169
- # - "managedProfile", a device that has a work profile managed by the DPC (DPC
1170
- # is profile owner) in addition to a separate, personal profile that is
1171
- # unavailable to the DPC,
1163
+ # - "managedDevice", a device where the DPC is set as device owner,
1164
+ # - "managedProfile", a device where the DPC is set as profile owner.
1172
1165
  # Corresponds to the JSON property `managementType`
1173
1166
  # @return [String]
1174
1167
  attr_accessor :management_type
@@ -1366,17 +1359,18 @@ module Google
1366
1359
  end
1367
1360
  end
1368
1361
 
1369
- # A permission represents some extra capability, to be granted to an Android app,
1370
- # which requires explicit consent. An enterprise admin must consent to these
1371
- # permissions on behalf of their users before an entitlement for the app can be
1372
- # created.
1362
+ # A Permissions resource represents some extra capability, to be granted to an
1363
+ # Android app, which requires explicit consent. An enterprise admin must consent
1364
+ # to these permissions on behalf of their users before an entitlement for the
1365
+ # app can be created.
1373
1366
  # The permissions collection is read-only. The information provided for each
1374
- # permission (localized name and description) is intended to be used in the EMM
1367
+ # permission (localized name and description) is intended to be used in the MDM
1375
1368
  # user interface when obtaining consent from the enterprise.
1376
1369
  class Permission
1377
1370
  include Google::Apis::Core::Hashable
1378
1371
 
1379
- # A longer description of the permissions giving more details of what it affects.
1372
+ # A longer description of the Permissions resource, giving more details of what
1373
+ # it affects.
1380
1374
  # Corresponds to the JSON property `description`
1381
1375
  # @return [String]
1382
1376
  attr_accessor :description
@@ -1426,7 +1420,7 @@ module Google
1426
1420
  # @return [Array<Google::Apis::AndroidenterpriseV1::AppVersion>]
1427
1421
  attr_accessor :app_version
1428
1422
 
1429
- # The name of the author of the product (e.g. the app developer).
1423
+ # The name of the author of the product (for example, the app developer).
1430
1424
  # Corresponds to the JSON property `authorName`
1431
1425
  # @return [String]
1432
1426
  attr_accessor :author_name