google-api-client 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/api_names.yaml +37747 -36512
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
- data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +34 -8
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -5
- data/generated/google/apis/classroom_v1.rb +25 -22
- data/generated/google/apis/classroom_v1/classes.rb +910 -1001
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1064 -1272
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
- data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
- data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
- data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
- data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +813 -82
- data/generated/google/apis/compute_beta/representations.rb +305 -0
- data/generated/google/apis/compute_beta/service.rb +971 -180
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +147 -21
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +347 -65
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
- data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
- data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
- data/generated/google/apis/dataproc_v1/representations.rb +220 -204
- data/generated/google/apis/dataproc_v1/service.rb +299 -299
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +688 -688
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +487 -15
- data/generated/google/apis/drive_v2/representations.rb +120 -0
- data/generated/google/apis/drive_v2/service.rb +355 -38
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +416 -14
- data/generated/google/apis/drive_v3/representations.rb +99 -0
- data/generated/google/apis/drive_v3/service.rb +315 -28
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
- data/generated/google/apis/genomics_v1/representations.rb +239 -239
- data/generated/google/apis/genomics_v1/service.rb +599 -599
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +18 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +96 -96
- data/generated/google/apis/iam_v1/service.rb +150 -150
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +235 -235
- data/generated/google/apis/language_v1beta1/representations.rb +73 -73
- data/generated/google/apis/language_v1beta1/service.rb +49 -49
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
- data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
- data/generated/google/apis/logging_v2beta1/service.rb +315 -316
- data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
- data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
- data/generated/google/apis/manufacturers_v1/service.rb +32 -32
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +229 -229
- data/generated/google/apis/monitoring_v3/representations.rb +45 -45
- data/generated/google/apis/monitoring_v3/service.rb +141 -141
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1837 -483
- data/generated/google/apis/partners_v2/representations.rb +614 -157
- data/generated/google/apis/partners_v2/service.rb +881 -150
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +517 -465
- data/generated/google/apis/people_v1/representations.rb +138 -107
- data/generated/google/apis/people_v1/service.rb +56 -49
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +529 -458
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +203 -203
- data/generated/google/apis/pubsub_v1/representations.rb +65 -65
- data/generated/google/apis/pubsub_v1/service.rb +226 -217
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +213 -61
- data/generated/google/apis/reseller_v1/representations.rb +27 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +95 -95
- data/generated/google/apis/script_v1/representations.rb +25 -25
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
- data/generated/google/apis/sheets_v4/representations.rb +853 -837
- data/generated/google/apis/sheets_v4/service.rb +32 -32
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +804 -748
- data/generated/google/apis/slides_v1/representations.rb +204 -187
- data/generated/google/apis/slides_v1/service.rb +16 -16
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
- data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
- data/generated/google/apis/speech_v1beta1/service.rb +66 -66
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +10 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1393 -865
- data/generated/google/apis/vision_v1/representations.rb +367 -102
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
- data/lib/google/apis/version.rb +1 -1
- 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
|
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
|
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
|
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
|
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
|
-
|
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
|
-
|
241
|
+
collection :dimension_values, as: 'dimensionValues'
|
242
|
+
end
|
209
243
|
end
|
210
244
|
|
211
245
|
class SegmentFilter
|
212
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
261
|
+
end
|
221
262
|
end
|
222
263
|
|
223
264
|
class MetricHeaderEntry
|
224
|
-
|
225
|
-
|
226
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
474
|
+
class MetricFilterClause
|
419
475
|
# @private
|
420
476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
421
|
-
|
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
|
493
|
+
class ReportRow
|
438
494
|
# @private
|
439
495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
440
|
-
|
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 = '
|
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
|
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
|
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,
|
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
|
617
|
-
# use a particular app
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
623
|
-
#
|
624
|
-
# the app
|
625
|
-
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
634
|
-
#
|
635
|
-
#
|
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,
|
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,
|
656
|
-
# it will be replaced by the acquisition kind field of
|
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
|
721
|
-
#
|
722
|
-
# product;
|
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
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
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 (
|
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,
|
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
|
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 (
|
835
|
-
# license) then the creation of the install fails.
|
836
|
-
# The API can also be used to update an installed app. If the
|
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
|
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,
|
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
|
1165
|
-
#
|
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
|
1168
|
-
#
|
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
|
1370
|
-
# which requires explicit consent. An enterprise admin must consent
|
1371
|
-
# permissions on behalf of their users before an entitlement for the
|
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
|
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
|
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 (
|
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
|