google-api-client 0.9.8 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/CHANGELOG.md +84 -0
- data/Gemfile +10 -2
- data/README.md +10 -2
- data/api_names.yaml +37172 -135
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +5 -5
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +256 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
- data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
- data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
- data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
- data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- 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 +360 -38
- data/generated/google/apis/bigquery_v2/representations.rb +106 -0
- data/generated/google/apis/bigquery_v2/service.rb +18 -4
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +83 -0
- data/generated/google/apis/books_v1/representations.rb +35 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +208 -5
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -761
- data/generated/google/apis/classroom_v1/representations.rb +263 -198
- data/generated/google/apis/classroom_v1/service.rb +1349 -672
- 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 +661 -264
- data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
- data/generated/google/apis/clouddebugger_v2.rb +5 -8
- data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
- data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
- data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1022 -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 +35 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
- data/generated/google/apis/cloudtrace_v1.rb +9 -9
- data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
- data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +7007 -3648
- data/generated/google/apis/compute_beta/representations.rb +1459 -120
- data/generated/google/apis/compute_beta/service.rb +7943 -3726
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2567 -370
- data/generated/google/apis/compute_v1/representations.rb +855 -0
- data/generated/google/apis/compute_v1/service.rb +6388 -2908
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +778 -10
- data/generated/google/apis/content_v2/representations.rb +339 -0
- data/generated/google/apis/content_v2/service.rb +364 -49
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
- data/generated/google/apis/dataproc_v1/representations.rb +299 -225
- data/generated/google/apis/dataproc_v1/service.rb +277 -192
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +595 -37
- data/generated/google/apis/drive_v2/representations.rb +140 -0
- data/generated/google/apis/drive_v2/service.rb +406 -40
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +507 -40
- data/generated/google/apis/drive_v3/representations.rb +105 -0
- data/generated/google/apis/drive_v3/service.rb +326 -29
- data/generated/google/apis/fitness_v1.rb +38 -2
- data/generated/google/apis/fitness_v1/classes.rb +65 -7
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- 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 +10 -12
- data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
- data/generated/google/apis/genomics_v1/representations.rb +468 -496
- data/generated/google/apis/genomics_v1/service.rb +978 -882
- data/generated/google/apis/gmail_v1.rb +11 -2
- data/generated/google/apis/gmail_v1/classes.rb +655 -5
- data/generated/google/apis/gmail_v1/representations.rb +261 -0
- data/generated/google/apis/gmail_v1/service.rb +1211 -48
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +446 -368
- data/generated/google/apis/iam_v1/representations.rb +109 -91
- data/generated/google/apis/iam_v1/service.rb +249 -162
- data/generated/google/apis/identitytoolkit_v3.rb +7 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
- data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +26 -24
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +185 -0
- data/generated/google/apis/licensing_v1.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
- data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
- data/generated/google/apis/logging_v2beta1/service.rb +427 -155
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1831 -477
- data/generated/google/apis/partners_v2/representations.rb +571 -114
- data/generated/google/apis/partners_v2/service.rb +898 -167
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +1047 -859
- data/generated/google/apis/people_v1/representations.rb +252 -213
- data/generated/google/apis/people_v1/service.rb +75 -62
- 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 +527 -456
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +363 -310
- data/generated/google/apis/pubsub_v1/representations.rb +76 -76
- data/generated/google/apis/pubsub_v1/service.rb +464 -335
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +222 -61
- data/generated/google/apis/reseller_v1/representations.rb +28 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +151 -137
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
- data/generated/google/apis/sheets_v4/representations.rb +988 -737
- data/generated/google/apis/sheets_v4/service.rb +266 -99
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4480 -0
- data/generated/google/apis/slides_v1/representations.rb +1926 -0
- data/generated/google/apis/slides_v1/service.rb +245 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
- data/generated/google/apis/speech_v1beta1/service.rb +270 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +205 -21
- data/generated/google/apis/storage_v1/representations.rb +51 -1
- data/generated/google/apis/storage_v1/service.rb +263 -9
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1275 -731
- data/generated/google/apis/vision_v1/representations.rb +378 -111
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +430 -22
- data/generated/google/apis/youtube_v3/representations.rb +171 -4
- data/generated/google/apis/youtube_v3/service.rb +100 -9
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
- data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
- data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
- data/google-api-client.gemspec +4 -3
- data/lib/google/apis/core/api_command.rb +16 -6
- data/lib/google/apis/core/base_service.rb +17 -9
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +6 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- data/sync.rb +71 -0
- metadata +86 -18
@@ -26,13 +26,13 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/youtube/reporting/v1/reports/
|
27
27
|
module YoutubereportingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
30
|
-
|
31
|
-
# View monetary and non-monetary YouTube Analytics reports for your YouTube content
|
32
|
-
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
|
29
|
+
REVISION = '20170326'
|
33
30
|
|
34
31
|
# View YouTube Analytics reports for your YouTube content
|
35
32
|
AUTH_YT_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/yt-analytics.readonly'
|
33
|
+
|
34
|
+
# View monetary and non-monetary YouTube Analytics reports for your YouTube content
|
35
|
+
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
@@ -41,55 +41,28 @@ module Google
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
# Response message for ReportingService.ListReportTypes.
|
45
|
-
class ListReportTypesResponse
|
46
|
-
include Google::Apis::Core::Hashable
|
47
|
-
|
48
|
-
# The list of report types.
|
49
|
-
# Corresponds to the JSON property `reportTypes`
|
50
|
-
# @return [Array<Google::Apis::YoutubereportingV1::ReportType>]
|
51
|
-
attr_accessor :report_types
|
52
|
-
|
53
|
-
# A token to retrieve next page of results. Pass this value in the
|
54
|
-
# ListReportTypesRequest.page_token field in the subsequent call to `
|
55
|
-
# ListReportTypes` method to retrieve the next page of results.
|
56
|
-
# Corresponds to the JSON property `nextPageToken`
|
57
|
-
# @return [String]
|
58
|
-
attr_accessor :next_page_token
|
59
|
-
|
60
|
-
def initialize(**args)
|
61
|
-
update!(**args)
|
62
|
-
end
|
63
|
-
|
64
|
-
# Update properties of this object
|
65
|
-
def update!(**args)
|
66
|
-
@report_types = args[:report_types] if args.key?(:report_types)
|
67
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
44
|
# A report type.
|
72
45
|
class ReportType
|
73
46
|
include Google::Apis::Core::Hashable
|
74
47
|
|
75
|
-
# The
|
76
|
-
# Corresponds to the JSON property `
|
48
|
+
# The date/time when this report type was/will be deprecated.
|
49
|
+
# Corresponds to the JSON property `deprecateTime`
|
77
50
|
# @return [String]
|
78
|
-
attr_accessor :
|
51
|
+
attr_accessor :deprecate_time
|
79
52
|
|
80
53
|
# The name of the report type (max. 100 characters).
|
81
54
|
# Corresponds to the JSON property `name`
|
82
55
|
# @return [String]
|
83
56
|
attr_accessor :name
|
84
57
|
|
85
|
-
# The
|
86
|
-
# Corresponds to the JSON property `
|
58
|
+
# The ID of the report type (max. 100 characters).
|
59
|
+
# Corresponds to the JSON property `id`
|
87
60
|
# @return [String]
|
88
|
-
attr_accessor :
|
61
|
+
attr_accessor :id
|
89
62
|
|
90
|
-
# True if this a system-managed report type; otherwise false. Reporting jobs
|
91
|
-
# system-managed report types are created automatically and can thus not
|
92
|
-
# in the `CreateJob` method.
|
63
|
+
# True if this a system-managed report type; otherwise false. Reporting jobs
|
64
|
+
# for system-managed report types are created automatically and can thus not
|
65
|
+
# be used in the `CreateJob` method.
|
93
66
|
# Corresponds to the JSON property `systemManaged`
|
94
67
|
# @return [Boolean]
|
95
68
|
attr_accessor :system_managed
|
@@ -101,49 +74,54 @@ module Google
|
|
101
74
|
|
102
75
|
# Update properties of this object
|
103
76
|
def update!(**args)
|
104
|
-
@id = args[:id] if args.key?(:id)
|
105
|
-
@name = args[:name] if args.key?(:name)
|
106
77
|
@deprecate_time = args[:deprecate_time] if args.key?(:deprecate_time)
|
78
|
+
@name = args[:name] if args.key?(:name)
|
79
|
+
@id = args[:id] if args.key?(:id)
|
107
80
|
@system_managed = args[:system_managed] if args.key?(:system_managed)
|
108
81
|
end
|
109
82
|
end
|
110
83
|
|
111
|
-
# A
|
112
|
-
|
84
|
+
# A report's metadata including the URL from which the report itself can be
|
85
|
+
# downloaded.
|
86
|
+
class Report
|
113
87
|
include Google::Apis::Core::Hashable
|
114
88
|
|
115
|
-
# The
|
89
|
+
# The ID of the job that created this report.
|
90
|
+
# Corresponds to the JSON property `jobId`
|
91
|
+
# @return [String]
|
92
|
+
attr_accessor :job_id
|
93
|
+
|
94
|
+
# The server-generated ID of the report.
|
116
95
|
# Corresponds to the JSON property `id`
|
117
96
|
# @return [String]
|
118
97
|
attr_accessor :id
|
119
98
|
|
120
|
-
# The
|
121
|
-
#
|
99
|
+
# The end of the time period that the report instance covers. The value is
|
100
|
+
# exclusive.
|
101
|
+
# Corresponds to the JSON property `endTime`
|
122
102
|
# @return [String]
|
123
|
-
attr_accessor :
|
103
|
+
attr_accessor :end_time
|
124
104
|
|
125
|
-
# The
|
126
|
-
# Corresponds to the JSON property `
|
105
|
+
# The date/time when the job this report belongs to will expire/expired.
|
106
|
+
# Corresponds to the JSON property `jobExpireTime`
|
127
107
|
# @return [String]
|
128
|
-
attr_accessor :
|
108
|
+
attr_accessor :job_expire_time
|
129
109
|
|
130
|
-
# The
|
131
|
-
# Corresponds to the JSON property `
|
110
|
+
# The URL from which the report can be downloaded (max. 1000 characters).
|
111
|
+
# Corresponds to the JSON property `downloadUrl`
|
132
112
|
# @return [String]
|
133
|
-
attr_accessor :
|
113
|
+
attr_accessor :download_url
|
134
114
|
|
135
|
-
# The
|
136
|
-
#
|
137
|
-
# Corresponds to the JSON property `
|
115
|
+
# The start of the time period that the report instance covers. The value is
|
116
|
+
# inclusive.
|
117
|
+
# Corresponds to the JSON property `startTime`
|
138
118
|
# @return [String]
|
139
|
-
attr_accessor :
|
119
|
+
attr_accessor :start_time
|
140
120
|
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
|
145
|
-
attr_accessor :system_managed
|
146
|
-
alias_method :system_managed?, :system_managed
|
121
|
+
# The date/time when this report was created.
|
122
|
+
# Corresponds to the JSON property `createTime`
|
123
|
+
# @return [String]
|
124
|
+
attr_accessor :create_time
|
147
125
|
|
148
126
|
def initialize(**args)
|
149
127
|
update!(**args)
|
@@ -151,127 +129,163 @@ module Google
|
|
151
129
|
|
152
130
|
# Update properties of this object
|
153
131
|
def update!(**args)
|
132
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
154
133
|
@id = args[:id] if args.key?(:id)
|
155
|
-
@
|
156
|
-
@
|
134
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
135
|
+
@job_expire_time = args[:job_expire_time] if args.key?(:job_expire_time)
|
136
|
+
@download_url = args[:download_url] if args.key?(:download_url)
|
137
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
157
138
|
@create_time = args[:create_time] if args.key?(:create_time)
|
158
|
-
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
159
|
-
@system_managed = args[:system_managed] if args.key?(:system_managed)
|
160
139
|
end
|
161
140
|
end
|
162
141
|
|
163
|
-
#
|
164
|
-
|
142
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
143
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
144
|
+
# or the response type of an API method. For instance:
|
145
|
+
# service Foo `
|
146
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
147
|
+
# `
|
148
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
149
|
+
class Empty
|
165
150
|
include Google::Apis::Core::Hashable
|
166
151
|
|
167
|
-
# The list of jobs.
|
168
|
-
# Corresponds to the JSON property `jobs`
|
169
|
-
# @return [Array<Google::Apis::YoutubereportingV1::Job>]
|
170
|
-
attr_accessor :jobs
|
171
|
-
|
172
|
-
# A token to retrieve next page of results. Pass this value in the
|
173
|
-
# ListJobsRequest.page_token field in the subsequent call to `ListJobs` method
|
174
|
-
# to retrieve the next page of results.
|
175
|
-
# Corresponds to the JSON property `nextPageToken`
|
176
|
-
# @return [String]
|
177
|
-
attr_accessor :next_page_token
|
178
|
-
|
179
152
|
def initialize(**args)
|
180
153
|
update!(**args)
|
181
154
|
end
|
182
155
|
|
183
156
|
# Update properties of this object
|
184
157
|
def update!(**args)
|
185
|
-
@jobs = args[:jobs] if args.key?(:jobs)
|
186
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
187
158
|
end
|
188
159
|
end
|
189
160
|
|
190
|
-
#
|
191
|
-
|
192
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
193
|
-
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
194
|
-
# `Empty` is empty JSON object ````.
|
195
|
-
class Empty
|
161
|
+
# Response message for ReportingService.ListReportTypes.
|
162
|
+
class ListReportTypesResponse
|
196
163
|
include Google::Apis::Core::Hashable
|
197
164
|
|
165
|
+
# The list of report types.
|
166
|
+
# Corresponds to the JSON property `reportTypes`
|
167
|
+
# @return [Array<Google::Apis::YoutubereportingV1::ReportType>]
|
168
|
+
attr_accessor :report_types
|
169
|
+
|
170
|
+
# A token to retrieve next page of results.
|
171
|
+
# Pass this value in the
|
172
|
+
# ListReportTypesRequest.page_token
|
173
|
+
# field in the subsequent call to `ListReportTypes` method to retrieve the next
|
174
|
+
# page of results.
|
175
|
+
# Corresponds to the JSON property `nextPageToken`
|
176
|
+
# @return [String]
|
177
|
+
attr_accessor :next_page_token
|
178
|
+
|
198
179
|
def initialize(**args)
|
199
180
|
update!(**args)
|
200
181
|
end
|
201
182
|
|
202
183
|
# Update properties of this object
|
203
184
|
def update!(**args)
|
185
|
+
@report_types = args[:report_types] if args.key?(:report_types)
|
186
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
204
187
|
end
|
205
188
|
end
|
206
189
|
|
207
|
-
# Response message for ReportingService.
|
208
|
-
class
|
190
|
+
# Response message for ReportingService.ListJobs.
|
191
|
+
class ListJobsResponse
|
209
192
|
include Google::Apis::Core::Hashable
|
210
193
|
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
214
|
-
|
215
|
-
|
216
|
-
# A token to retrieve next page of results. Pass this value in the
|
217
|
-
# ListReportsRequest.page_token field in the subsequent call to `ListReports`
|
218
|
-
# method to retrieve the next page of results.
|
194
|
+
# A token to retrieve next page of results.
|
195
|
+
# Pass this value in the
|
196
|
+
# ListJobsRequest.page_token
|
197
|
+
# field in the subsequent call to `ListJobs` method to retrieve the next
|
198
|
+
# page of results.
|
219
199
|
# Corresponds to the JSON property `nextPageToken`
|
220
200
|
# @return [String]
|
221
201
|
attr_accessor :next_page_token
|
222
202
|
|
203
|
+
# The list of jobs.
|
204
|
+
# Corresponds to the JSON property `jobs`
|
205
|
+
# @return [Array<Google::Apis::YoutubereportingV1::Job>]
|
206
|
+
attr_accessor :jobs
|
207
|
+
|
223
208
|
def initialize(**args)
|
224
209
|
update!(**args)
|
225
210
|
end
|
226
211
|
|
227
212
|
# Update properties of this object
|
228
213
|
def update!(**args)
|
229
|
-
@reports = args[:reports] if args.key?(:reports)
|
230
214
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
215
|
+
@jobs = args[:jobs] if args.key?(:jobs)
|
231
216
|
end
|
232
217
|
end
|
233
218
|
|
234
|
-
# A
|
235
|
-
|
236
|
-
class Report
|
219
|
+
# A job creating reports of a specific type.
|
220
|
+
class Job
|
237
221
|
include Google::Apis::Core::Hashable
|
238
222
|
|
239
|
-
# The
|
240
|
-
# Corresponds to the JSON property `
|
223
|
+
# The creation date/time of the job.
|
224
|
+
# Corresponds to the JSON property `createTime`
|
241
225
|
# @return [String]
|
242
|
-
attr_accessor :
|
226
|
+
attr_accessor :create_time
|
243
227
|
|
244
|
-
# The
|
245
|
-
#
|
228
|
+
# The type of reports this job creates. Corresponds to the ID of a
|
229
|
+
# ReportType.
|
230
|
+
# Corresponds to the JSON property `reportTypeId`
|
246
231
|
# @return [String]
|
247
|
-
attr_accessor :
|
232
|
+
attr_accessor :report_type_id
|
248
233
|
|
249
|
-
# The date/time when
|
250
|
-
#
|
234
|
+
# The date/time when this job will expire/expired. After a job expired, no
|
235
|
+
# new reports are generated.
|
236
|
+
# Corresponds to the JSON property `expireTime`
|
251
237
|
# @return [String]
|
252
|
-
attr_accessor :
|
238
|
+
attr_accessor :expire_time
|
253
239
|
|
254
|
-
# The
|
255
|
-
#
|
256
|
-
# Corresponds to the JSON property `startTime`
|
240
|
+
# The name of the job (max. 100 characters).
|
241
|
+
# Corresponds to the JSON property `name`
|
257
242
|
# @return [String]
|
258
|
-
attr_accessor :
|
243
|
+
attr_accessor :name
|
259
244
|
|
260
|
-
#
|
261
|
-
#
|
262
|
-
# Corresponds to the JSON property `
|
263
|
-
# @return [
|
264
|
-
attr_accessor :
|
245
|
+
# True if this a system-managed job that cannot be modified by the user;
|
246
|
+
# otherwise false.
|
247
|
+
# Corresponds to the JSON property `systemManaged`
|
248
|
+
# @return [Boolean]
|
249
|
+
attr_accessor :system_managed
|
250
|
+
alias_method :system_managed?, :system_managed
|
265
251
|
|
266
|
-
# The
|
267
|
-
# Corresponds to the JSON property `
|
252
|
+
# The server-generated ID of the job (max. 40 characters).
|
253
|
+
# Corresponds to the JSON property `id`
|
268
254
|
# @return [String]
|
269
|
-
attr_accessor :
|
255
|
+
attr_accessor :id
|
270
256
|
|
271
|
-
|
272
|
-
|
257
|
+
def initialize(**args)
|
258
|
+
update!(**args)
|
259
|
+
end
|
260
|
+
|
261
|
+
# Update properties of this object
|
262
|
+
def update!(**args)
|
263
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
264
|
+
@report_type_id = args[:report_type_id] if args.key?(:report_type_id)
|
265
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
266
|
+
@name = args[:name] if args.key?(:name)
|
267
|
+
@system_managed = args[:system_managed] if args.key?(:system_managed)
|
268
|
+
@id = args[:id] if args.key?(:id)
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# Response message for ReportingService.ListReports.
|
273
|
+
class ListReportsResponse
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# A token to retrieve next page of results.
|
277
|
+
# Pass this value in the
|
278
|
+
# ListReportsRequest.page_token
|
279
|
+
# field in the subsequent call to `ListReports` method to retrieve the next
|
280
|
+
# page of results.
|
281
|
+
# Corresponds to the JSON property `nextPageToken`
|
273
282
|
# @return [String]
|
274
|
-
attr_accessor :
|
283
|
+
attr_accessor :next_page_token
|
284
|
+
|
285
|
+
# The list of report types.
|
286
|
+
# Corresponds to the JSON property `reports`
|
287
|
+
# @return [Array<Google::Apis::YoutubereportingV1::Report>]
|
288
|
+
attr_accessor :reports
|
275
289
|
|
276
290
|
def initialize(**args)
|
277
291
|
update!(**args)
|
@@ -279,13 +293,8 @@ module Google
|
|
279
293
|
|
280
294
|
# Update properties of this object
|
281
295
|
def update!(**args)
|
282
|
-
@
|
283
|
-
@
|
284
|
-
@job_expire_time = args[:job_expire_time] if args.key?(:job_expire_time)
|
285
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
286
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
287
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
288
|
-
@download_url = args[:download_url] if args.key?(:download_url)
|
296
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
297
|
+
@reports = args[:reports] if args.key?(:reports)
|
289
298
|
end
|
290
299
|
end
|
291
300
|
end
|
@@ -28,43 +28,43 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class ReportType
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class Report
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class Empty
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class ListReportTypesResponse
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class ListJobsResponse
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class Job
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class ListReportsResponse
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -77,71 +77,71 @@ module Google
|
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
|
-
class
|
80
|
+
class ReportType
|
81
81
|
# @private
|
82
82
|
class Representation < Google::Apis::Core::JsonRepresentation
|
83
|
-
|
84
|
-
|
85
|
-
property :
|
83
|
+
property :deprecate_time, as: 'deprecateTime'
|
84
|
+
property :name, as: 'name'
|
85
|
+
property :id, as: 'id'
|
86
|
+
property :system_managed, as: 'systemManaged'
|
86
87
|
end
|
87
88
|
end
|
88
89
|
|
89
|
-
class
|
90
|
+
class Report
|
90
91
|
# @private
|
91
92
|
class Representation < Google::Apis::Core::JsonRepresentation
|
93
|
+
property :job_id, as: 'jobId'
|
92
94
|
property :id, as: 'id'
|
93
|
-
property :
|
94
|
-
property :
|
95
|
-
property :
|
95
|
+
property :end_time, as: 'endTime'
|
96
|
+
property :job_expire_time, as: 'jobExpireTime'
|
97
|
+
property :download_url, as: 'downloadUrl'
|
98
|
+
property :start_time, as: 'startTime'
|
99
|
+
property :create_time, as: 'createTime'
|
96
100
|
end
|
97
101
|
end
|
98
102
|
|
99
|
-
class
|
103
|
+
class Empty
|
100
104
|
# @private
|
101
105
|
class Representation < Google::Apis::Core::JsonRepresentation
|
102
|
-
property :id, as: 'id'
|
103
|
-
property :report_type_id, as: 'reportTypeId'
|
104
|
-
property :name, as: 'name'
|
105
|
-
property :create_time, as: 'createTime'
|
106
|
-
property :expire_time, as: 'expireTime'
|
107
|
-
property :system_managed, as: 'systemManaged'
|
108
106
|
end
|
109
107
|
end
|
110
108
|
|
111
|
-
class
|
109
|
+
class ListReportTypesResponse
|
112
110
|
# @private
|
113
111
|
class Representation < Google::Apis::Core::JsonRepresentation
|
114
|
-
collection :
|
112
|
+
collection :report_types, as: 'reportTypes', class: Google::Apis::YoutubereportingV1::ReportType, decorator: Google::Apis::YoutubereportingV1::ReportType::Representation
|
115
113
|
|
116
114
|
property :next_page_token, as: 'nextPageToken'
|
117
115
|
end
|
118
116
|
end
|
119
117
|
|
120
|
-
class
|
118
|
+
class ListJobsResponse
|
121
119
|
# @private
|
122
120
|
class Representation < Google::Apis::Core::JsonRepresentation
|
121
|
+
property :next_page_token, as: 'nextPageToken'
|
122
|
+
collection :jobs, as: 'jobs', class: Google::Apis::YoutubereportingV1::Job, decorator: Google::Apis::YoutubereportingV1::Job::Representation
|
123
|
+
|
123
124
|
end
|
124
125
|
end
|
125
126
|
|
126
|
-
class
|
127
|
+
class Job
|
127
128
|
# @private
|
128
129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
129
|
-
|
130
|
-
|
131
|
-
property :
|
130
|
+
property :create_time, as: 'createTime'
|
131
|
+
property :report_type_id, as: 'reportTypeId'
|
132
|
+
property :expire_time, as: 'expireTime'
|
133
|
+
property :name, as: 'name'
|
134
|
+
property :system_managed, as: 'systemManaged'
|
135
|
+
property :id, as: 'id'
|
132
136
|
end
|
133
137
|
end
|
134
138
|
|
135
|
-
class
|
139
|
+
class ListReportsResponse
|
136
140
|
# @private
|
137
141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
138
|
-
property :
|
139
|
-
|
140
|
-
|
141
|
-
property :start_time, as: 'startTime'
|
142
|
-
property :end_time, as: 'endTime'
|
143
|
-
property :create_time, as: 'createTime'
|
144
|
-
property :download_url, as: 'downloadUrl'
|
142
|
+
property :next_page_token, as: 'nextPageToken'
|
143
|
+
collection :reports, as: 'reports', class: Google::Apis::YoutubereportingV1::Report, decorator: Google::Apis::YoutubereportingV1::Report::Representation
|
144
|
+
|
145
145
|
end
|
146
146
|
end
|
147
147
|
end
|