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
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class ChromeOsDeviceAction
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class ChromeOsDevices
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -340,12 +346,24 @@ module Google
|
|
340
346
|
include Google::Apis::Core::JsonObjectSupport
|
341
347
|
end
|
342
348
|
|
349
|
+
class UserPosixAccount
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
343
355
|
class UserRelation
|
344
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
357
|
|
346
358
|
include Google::Apis::Core::JsonObjectSupport
|
347
359
|
end
|
348
360
|
|
361
|
+
class UserSshPublicKey
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
349
367
|
class UserUndelete
|
350
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
369
|
|
@@ -512,6 +530,14 @@ module Google
|
|
512
530
|
end
|
513
531
|
end
|
514
532
|
|
533
|
+
class ChromeOsDeviceAction
|
534
|
+
# @private
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
+
property :action, as: 'action'
|
537
|
+
property :deprovision_reason, as: 'deprovisionReason'
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
515
541
|
class ChromeOsDevices
|
516
542
|
# @private
|
517
543
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -636,6 +662,7 @@ module Google
|
|
636
662
|
property :id, as: 'id'
|
637
663
|
property :kind, as: 'kind'
|
638
664
|
property :role, as: 'role'
|
665
|
+
property :status, as: 'status'
|
639
666
|
property :type, as: 'type'
|
640
667
|
end
|
641
668
|
end
|
@@ -658,15 +685,20 @@ module Google
|
|
658
685
|
collection :applications, as: 'applications', class: Google::Apis::AdminDirectoryV1::MobileDevice::Application, decorator: Google::Apis::AdminDirectoryV1::MobileDevice::Application::Representation
|
659
686
|
|
660
687
|
property :baseband_version, as: 'basebandVersion'
|
688
|
+
property :bootloader_version, as: 'bootloaderVersion'
|
689
|
+
property :brand, as: 'brand'
|
661
690
|
property :build_number, as: 'buildNumber'
|
662
691
|
property :default_language, as: 'defaultLanguage'
|
663
692
|
property :developer_options_status, as: 'developerOptionsStatus'
|
664
693
|
property :device_compromised_status, as: 'deviceCompromisedStatus'
|
665
694
|
property :device_id, as: 'deviceId'
|
695
|
+
property :device_password_status, as: 'devicePasswordStatus'
|
666
696
|
collection :email, as: 'email'
|
697
|
+
property :encryption_status, as: 'encryptionStatus'
|
667
698
|
property :etag, as: 'etag'
|
668
699
|
property :first_sync, as: 'firstSync', type: DateTime
|
669
700
|
|
701
|
+
property :hardware, as: 'hardware'
|
670
702
|
property :hardware_id, as: 'hardwareId'
|
671
703
|
property :imei, as: 'imei'
|
672
704
|
property :kernel_version, as: 'kernelVersion'
|
@@ -674,13 +706,17 @@ module Google
|
|
674
706
|
property :last_sync, as: 'lastSync', type: DateTime
|
675
707
|
|
676
708
|
property :managed_account_is_on_owner_profile, as: 'managedAccountIsOnOwnerProfile'
|
709
|
+
property :manufacturer, as: 'manufacturer'
|
677
710
|
property :meid, as: 'meid'
|
678
711
|
property :model, as: 'model'
|
679
712
|
collection :name, as: 'name'
|
680
713
|
property :network_operator, as: 'networkOperator'
|
681
714
|
property :os, as: 'os'
|
682
715
|
collection :other_accounts_info, as: 'otherAccountsInfo'
|
716
|
+
property :privilege, as: 'privilege'
|
717
|
+
property :release_version, as: 'releaseVersion'
|
683
718
|
property :resource_id, as: 'resourceId'
|
719
|
+
property :security_patch_level, as: 'securityPatchLevel'
|
684
720
|
property :serial_number, as: 'serialNumber'
|
685
721
|
property :status, as: 'status'
|
686
722
|
property :supports_work_profile, as: 'supportsWorkProfile'
|
@@ -947,6 +983,8 @@ module Google
|
|
947
983
|
property :ip_whitelisted, as: 'ipWhitelisted'
|
948
984
|
property :is_admin, as: 'isAdmin'
|
949
985
|
property :is_delegated_admin, as: 'isDelegatedAdmin'
|
986
|
+
property :is_enforced_in2_sv, as: 'isEnforcedIn2Sv'
|
987
|
+
property :is_enrolled_in2_sv, as: 'isEnrolledIn2Sv'
|
950
988
|
property :is_mailbox_setup, as: 'isMailboxSetup'
|
951
989
|
property :kind, as: 'kind'
|
952
990
|
property :last_login_time, as: 'lastLoginTime', type: DateTime
|
@@ -959,8 +997,10 @@ module Google
|
|
959
997
|
property :organizations, as: 'organizations'
|
960
998
|
property :password, as: 'password'
|
961
999
|
property :phones, as: 'phones'
|
1000
|
+
property :posix_accounts, as: 'posixAccounts'
|
962
1001
|
property :primary_email, as: 'primaryEmail'
|
963
1002
|
property :relations, as: 'relations'
|
1003
|
+
property :ssh_public_keys, as: 'sshPublicKeys'
|
964
1004
|
property :suspended, as: 'suspended'
|
965
1005
|
property :suspension_reason, as: 'suspensionReason'
|
966
1006
|
property :thumbnail_photo_etag, as: 'thumbnailPhotoEtag'
|
@@ -1084,6 +1124,20 @@ module Google
|
|
1084
1124
|
end
|
1085
1125
|
end
|
1086
1126
|
|
1127
|
+
class UserPosixAccount
|
1128
|
+
# @private
|
1129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1130
|
+
property :gecos, as: 'gecos'
|
1131
|
+
property :gid, as: 'gid'
|
1132
|
+
property :home_directory, as: 'homeDirectory'
|
1133
|
+
property :primary, as: 'primary'
|
1134
|
+
property :shell, as: 'shell'
|
1135
|
+
property :system_id, as: 'systemId'
|
1136
|
+
property :uid, as: 'uid'
|
1137
|
+
property :username, as: 'username'
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
1087
1141
|
class UserRelation
|
1088
1142
|
# @private
|
1089
1143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1093,6 +1147,15 @@ module Google
|
|
1093
1147
|
end
|
1094
1148
|
end
|
1095
1149
|
|
1150
|
+
class UserSshPublicKey
|
1151
|
+
# @private
|
1152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1153
|
+
property :expiration_time_usec, as: 'expirationTimeUsec'
|
1154
|
+
property :fingerprint, as: 'fingerprint'
|
1155
|
+
property :key, as: 'key'
|
1156
|
+
end
|
1157
|
+
end
|
1158
|
+
|
1096
1159
|
class UserUndelete
|
1097
1160
|
# @private
|
1098
1161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -198,6 +198,45 @@ module Google
|
|
198
198
|
execute_or_queue_command(command, &block)
|
199
199
|
end
|
200
200
|
|
201
|
+
# Take action on Chrome OS Device
|
202
|
+
# @param [String] customer_id
|
203
|
+
# Immutable id of the Google Apps account
|
204
|
+
# @param [String] resource_id
|
205
|
+
# Immutable id of Chrome OS Device
|
206
|
+
# @param [Google::Apis::AdminDirectoryV1::ChromeOsDeviceAction] chrome_os_device_action_object
|
207
|
+
# @param [String] fields
|
208
|
+
# Selector specifying which fields to include in a partial response.
|
209
|
+
# @param [String] quota_user
|
210
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
211
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
212
|
+
# Overrides userIp if both are provided.
|
213
|
+
# @param [String] user_ip
|
214
|
+
# IP address of the site where the request originates. Use this if you want to
|
215
|
+
# enforce per-user limits.
|
216
|
+
# @param [Google::Apis::RequestOptions] options
|
217
|
+
# Request-specific options
|
218
|
+
#
|
219
|
+
# @yield [result, err] Result & error if block supplied
|
220
|
+
# @yieldparam result [NilClass] No result returned for this method
|
221
|
+
# @yieldparam err [StandardError] error object if request failed
|
222
|
+
#
|
223
|
+
# @return [void]
|
224
|
+
#
|
225
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
226
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
227
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
228
|
+
def action_chromeosdevice(customer_id, resource_id, chrome_os_device_action_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
229
|
+
command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/{resourceId}/action', options)
|
230
|
+
command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDeviceAction::Representation
|
231
|
+
command.request_object = chrome_os_device_action_object
|
232
|
+
command.params['customerId'] = customer_id unless customer_id.nil?
|
233
|
+
command.params['resourceId'] = resource_id unless resource_id.nil?
|
234
|
+
command.query['fields'] = fields unless fields.nil?
|
235
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
236
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
237
|
+
execute_or_queue_command(command, &block)
|
238
|
+
end
|
239
|
+
|
201
240
|
# Retrieve Chrome OS Device
|
202
241
|
# @param [String] customer_id
|
203
242
|
# Immutable id of the Google Apps account
|
@@ -382,7 +421,7 @@ module Google
|
|
382
421
|
execute_or_queue_command(command, &block)
|
383
422
|
end
|
384
423
|
|
385
|
-
#
|
424
|
+
# Retrieves a customer.
|
386
425
|
# @param [String] customer_key
|
387
426
|
# Id of the customer to be retrieved
|
388
427
|
# @param [String] fields
|
@@ -679,7 +718,7 @@ module Google
|
|
679
718
|
execute_or_queue_command(command, &block)
|
680
719
|
end
|
681
720
|
|
682
|
-
#
|
721
|
+
# Retrieves a domain of the customer.
|
683
722
|
# @param [String] customer
|
684
723
|
# Immutable id of the Google Apps account.
|
685
724
|
# @param [String] domain_name
|
@@ -20,18 +20,18 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Admin Reports API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# Fetches reports for the administrators of G Suite customers about the usage,
|
24
|
+
# collaboration, security, and risk for their users.
|
25
25
|
#
|
26
26
|
# @see https://developers.google.com/admin-sdk/reports/
|
27
27
|
module AdminReportsV1
|
28
28
|
VERSION = 'ReportsV1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20170315'
|
30
30
|
|
31
|
-
# View audit reports
|
31
|
+
# View audit reports for your G Suite domain
|
32
32
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
33
33
|
|
34
|
-
# View usage reports
|
34
|
+
# View usage reports for your G Suite domain
|
35
35
|
AUTH_ADMIN_REPORTS_USAGE_READONLY = 'https://www.googleapis.com/auth/admin.reports.usage.readonly'
|
36
36
|
end
|
37
37
|
end
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module AdminReportsV1
|
23
23
|
# Admin Reports API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
#
|
25
|
+
# Fetches reports for the administrators of G Suite customers about the usage,
|
26
|
+
# collaboration, security, and risk for their users.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/admin_reports_v1'
|
@@ -66,7 +66,7 @@ module Google
|
|
66
66
|
# @param [String] customer_id
|
67
67
|
# Represents the customer for which the data is to be fetched.
|
68
68
|
# @param [String] end_time
|
69
|
-
# Return events which
|
69
|
+
# Return events which occurred at or before this time.
|
70
70
|
# @param [String] event_name
|
71
71
|
# Name of the event being queried.
|
72
72
|
# @param [String] filters
|
@@ -77,7 +77,7 @@ module Google
|
|
77
77
|
# @param [String] page_token
|
78
78
|
# Token to specify next page.
|
79
79
|
# @param [String] start_time
|
80
|
-
# Return events which
|
80
|
+
# Return events which occurred at or after this time.
|
81
81
|
# @param [String] fields
|
82
82
|
# Selector specifying which fields to include in a partial response.
|
83
83
|
# @param [String] quota_user
|
@@ -133,7 +133,7 @@ module Google
|
|
133
133
|
# @param [String] customer_id
|
134
134
|
# Represents the customer for which the data is to be fetched.
|
135
135
|
# @param [String] end_time
|
136
|
-
# Return events which
|
136
|
+
# Return events which occurred at or before this time.
|
137
137
|
# @param [String] event_name
|
138
138
|
# Name of the event being queried.
|
139
139
|
# @param [String] filters
|
@@ -144,7 +144,7 @@ module Google
|
|
144
144
|
# @param [String] page_token
|
145
145
|
# Token to specify next page.
|
146
146
|
# @param [String] start_time
|
147
|
-
# Return events which
|
147
|
+
# Return events which occurred at or after this time.
|
148
148
|
# @param [String] fields
|
149
149
|
# Selector specifying which fields to include in a partial response.
|
150
150
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/adsense/management/
|
26
26
|
module AdsenseV1_4
|
27
27
|
VERSION = 'V1_4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170325'
|
29
29
|
|
30
30
|
# View and manage your AdSense data
|
31
31
|
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
@@ -236,7 +236,7 @@ module Google
|
|
236
236
|
# @return [Google::Apis::AdsenseV1_4::AdStyle::Colors]
|
237
237
|
attr_accessor :colors
|
238
238
|
|
239
|
-
# The style of the corners in the ad.
|
239
|
+
# The style of the corners in the ad (deprecated: never populated, ignored).
|
240
240
|
# Corresponds to the JSON property `corners`
|
241
241
|
# @return [String]
|
242
242
|
attr_accessor :corners
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/adsense/host/
|
27
27
|
module AdsensehostV4_1
|
28
28
|
VERSION = 'V4_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20170325'
|
30
30
|
|
31
31
|
# View and manage your AdSense host data and associated accounts
|
32
32
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
@@ -209,8 +209,7 @@ module Google
|
|
209
209
|
# @return [Google::Apis::AdsensehostV4_1::AdStyle::Colors]
|
210
210
|
attr_accessor :colors
|
211
211
|
|
212
|
-
# The style of the corners in the ad
|
213
|
-
# SLIGHTLY_ROUNDED and VERY_ROUNDED.
|
212
|
+
# The style of the corners in the ad (deprecated: never populated, ignored).
|
214
213
|
# Corresponds to the JSON property `corners`
|
215
214
|
# @return [String]
|
216
215
|
attr_accessor :corners
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/analytics/
|
26
26
|
module AnalyticsV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170321'
|
29
29
|
|
30
30
|
# View and manage your Google Analytics data
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
@@ -2413,6 +2413,11 @@ module Google
|
|
2413
2413
|
attr_accessor :contains_sampled_data
|
2414
2414
|
alias_method :contains_sampled_data?, :contains_sampled_data
|
2415
2415
|
|
2416
|
+
# The last refreshed time in seconds for Analytics data.
|
2417
|
+
# Corresponds to the JSON property `dataLastRefreshed`
|
2418
|
+
# @return [String]
|
2419
|
+
attr_accessor :data_last_refreshed
|
2420
|
+
|
2416
2421
|
#
|
2417
2422
|
# Corresponds to the JSON property `dataTable`
|
2418
2423
|
# @return [Google::Apis::AnalyticsV3::GaData::DataTable]
|
@@ -2498,6 +2503,7 @@ module Google
|
|
2498
2503
|
def update!(**args)
|
2499
2504
|
@column_headers = args[:column_headers] if args.key?(:column_headers)
|
2500
2505
|
@contains_sampled_data = args[:contains_sampled_data] if args.key?(:contains_sampled_data)
|
2506
|
+
@data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed)
|
2501
2507
|
@data_table = args[:data_table] if args.key?(:data_table)
|
2502
2508
|
@id = args[:id] if args.key?(:id)
|
2503
2509
|
@items_per_page = args[:items_per_page] if args.key?(:items_per_page)
|
@@ -3187,6 +3193,131 @@ module Google
|
|
3187
3193
|
end
|
3188
3194
|
end
|
3189
3195
|
|
3196
|
+
# JSON template for an Analytics Remarketing Include Conditions.
|
3197
|
+
class IncludeConditions
|
3198
|
+
include Google::Apis::Core::Hashable
|
3199
|
+
|
3200
|
+
# The look-back window lets you specify a time frame for evaluating the behavior
|
3201
|
+
# that qualifies users for your audience. For example, if your filters include
|
3202
|
+
# users from Central Asia, and Transactions Greater than 2, and you set the look-
|
3203
|
+
# back window to 14 days, then any user from Central Asia whose cumulative
|
3204
|
+
# transactions exceed 2 during the last 14 days is added to the audience.
|
3205
|
+
# Corresponds to the JSON property `daysToLookBack`
|
3206
|
+
# @return [Fixnum]
|
3207
|
+
attr_accessor :days_to_look_back
|
3208
|
+
|
3209
|
+
# Boolean indicating whether this segment is a smart list. https://support.
|
3210
|
+
# google.com/analytics/answer/4628577
|
3211
|
+
# Corresponds to the JSON property `isSmartList`
|
3212
|
+
# @return [Boolean]
|
3213
|
+
attr_accessor :is_smart_list
|
3214
|
+
alias_method :is_smart_list?, :is_smart_list
|
3215
|
+
|
3216
|
+
# Resource type for include conditions.
|
3217
|
+
# Corresponds to the JSON property `kind`
|
3218
|
+
# @return [String]
|
3219
|
+
attr_accessor :kind
|
3220
|
+
|
3221
|
+
# Number of days (in the range 1 to 540) a user remains in the audience.
|
3222
|
+
# Corresponds to the JSON property `membershipDurationDays`
|
3223
|
+
# @return [Fixnum]
|
3224
|
+
attr_accessor :membership_duration_days
|
3225
|
+
|
3226
|
+
# The segment condition that will cause a user to be added to an audience.
|
3227
|
+
# Corresponds to the JSON property `segment`
|
3228
|
+
# @return [String]
|
3229
|
+
attr_accessor :segment
|
3230
|
+
|
3231
|
+
def initialize(**args)
|
3232
|
+
update!(**args)
|
3233
|
+
end
|
3234
|
+
|
3235
|
+
# Update properties of this object
|
3236
|
+
def update!(**args)
|
3237
|
+
@days_to_look_back = args[:days_to_look_back] if args.key?(:days_to_look_back)
|
3238
|
+
@is_smart_list = args[:is_smart_list] if args.key?(:is_smart_list)
|
3239
|
+
@kind = args[:kind] if args.key?(:kind)
|
3240
|
+
@membership_duration_days = args[:membership_duration_days] if args.key?(:membership_duration_days)
|
3241
|
+
@segment = args[:segment] if args.key?(:segment)
|
3242
|
+
end
|
3243
|
+
end
|
3244
|
+
|
3245
|
+
# JSON template for an Analytics Remarketing Audience Foreign Link.
|
3246
|
+
class LinkedForeignAccount
|
3247
|
+
include Google::Apis::Core::Hashable
|
3248
|
+
|
3249
|
+
# Account ID to which this linked foreign account belongs.
|
3250
|
+
# Corresponds to the JSON property `accountId`
|
3251
|
+
# @return [String]
|
3252
|
+
attr_accessor :account_id
|
3253
|
+
|
3254
|
+
# Boolean indicating whether this is eligible for search.
|
3255
|
+
# Corresponds to the JSON property `eligibleForSearch`
|
3256
|
+
# @return [Boolean]
|
3257
|
+
attr_accessor :eligible_for_search
|
3258
|
+
alias_method :eligible_for_search?, :eligible_for_search
|
3259
|
+
|
3260
|
+
# Entity ad account link ID.
|
3261
|
+
# Corresponds to the JSON property `id`
|
3262
|
+
# @return [String]
|
3263
|
+
attr_accessor :id
|
3264
|
+
|
3265
|
+
# Internal ID for the web property to which this linked foreign account belongs.
|
3266
|
+
# Corresponds to the JSON property `internalWebPropertyId`
|
3267
|
+
# @return [String]
|
3268
|
+
attr_accessor :internal_web_property_id
|
3269
|
+
|
3270
|
+
# Resource type for linked foreign account.
|
3271
|
+
# Corresponds to the JSON property `kind`
|
3272
|
+
# @return [String]
|
3273
|
+
attr_accessor :kind
|
3274
|
+
|
3275
|
+
# The foreign account ID. For example the an AdWords `linkedAccountId` has the
|
3276
|
+
# following format XXX-XXX-XXXX.
|
3277
|
+
# Corresponds to the JSON property `linkedAccountId`
|
3278
|
+
# @return [String]
|
3279
|
+
attr_accessor :linked_account_id
|
3280
|
+
|
3281
|
+
# Remarketing audience ID to which this linked foreign account belongs.
|
3282
|
+
# Corresponds to the JSON property `remarketingAudienceId`
|
3283
|
+
# @return [String]
|
3284
|
+
attr_accessor :remarketing_audience_id
|
3285
|
+
|
3286
|
+
# The status of this foreign account link.
|
3287
|
+
# Corresponds to the JSON property `status`
|
3288
|
+
# @return [String]
|
3289
|
+
attr_accessor :status
|
3290
|
+
|
3291
|
+
# The type of the foreign account. For example `ADWORDS_LINKS`.
|
3292
|
+
# Corresponds to the JSON property `type`
|
3293
|
+
# @return [String]
|
3294
|
+
attr_accessor :type
|
3295
|
+
|
3296
|
+
# Web property ID of the form UA-XXXXX-YY to which this linked foreign account
|
3297
|
+
# belongs.
|
3298
|
+
# Corresponds to the JSON property `webPropertyId`
|
3299
|
+
# @return [String]
|
3300
|
+
attr_accessor :web_property_id
|
3301
|
+
|
3302
|
+
def initialize(**args)
|
3303
|
+
update!(**args)
|
3304
|
+
end
|
3305
|
+
|
3306
|
+
# Update properties of this object
|
3307
|
+
def update!(**args)
|
3308
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
3309
|
+
@eligible_for_search = args[:eligible_for_search] if args.key?(:eligible_for_search)
|
3310
|
+
@id = args[:id] if args.key?(:id)
|
3311
|
+
@internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
|
3312
|
+
@kind = args[:kind] if args.key?(:kind)
|
3313
|
+
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
|
3314
|
+
@remarketing_audience_id = args[:remarketing_audience_id] if args.key?(:remarketing_audience_id)
|
3315
|
+
@status = args[:status] if args.key?(:status)
|
3316
|
+
@type = args[:type] if args.key?(:type)
|
3317
|
+
@web_property_id = args[:web_property_id] if args.key?(:web_property_id)
|
3318
|
+
end
|
3319
|
+
end
|
3320
|
+
|
3190
3321
|
# Multi-Channel Funnels data for a given view (profile).
|
3191
3322
|
class McfData
|
3192
3323
|
include Google::Apis::Core::Hashable
|
@@ -3539,8 +3670,10 @@ module Google
|
|
3539
3670
|
|
3540
3671
|
# The currency type associated with this view (profile), defaults to USD. The
|
3541
3672
|
# supported values are:
|
3542
|
-
#
|
3543
|
-
#
|
3673
|
+
# USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD,
|
3674
|
+
# THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR,
|
3675
|
+
# UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD,
|
3676
|
+
# VEF, LVL
|
3544
3677
|
# Corresponds to the JSON property `currency`
|
3545
3678
|
# @return [String]
|
3546
3679
|
attr_accessor :currency
|
@@ -4267,6 +4400,246 @@ module Google
|
|
4267
4400
|
end
|
4268
4401
|
end
|
4269
4402
|
|
4403
|
+
# JSON template for an Analytics remarketing audience.
|
4404
|
+
class RemarketingAudience
|
4405
|
+
include Google::Apis::Core::Hashable
|
4406
|
+
|
4407
|
+
# Account ID to which this remarketing audience belongs.
|
4408
|
+
# Corresponds to the JSON property `accountId`
|
4409
|
+
# @return [String]
|
4410
|
+
attr_accessor :account_id
|
4411
|
+
|
4412
|
+
# The simple audience definition that will cause a user to be added to an
|
4413
|
+
# audience.
|
4414
|
+
# Corresponds to the JSON property `audienceDefinition`
|
4415
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience::AudienceDefinition]
|
4416
|
+
attr_accessor :audience_definition
|
4417
|
+
|
4418
|
+
# The type of audience, either SIMPLE or STATE_BASED.
|
4419
|
+
# Corresponds to the JSON property `audienceType`
|
4420
|
+
# @return [String]
|
4421
|
+
attr_accessor :audience_type
|
4422
|
+
|
4423
|
+
# Time this remarketing audience was created.
|
4424
|
+
# Corresponds to the JSON property `created`
|
4425
|
+
# @return [DateTime]
|
4426
|
+
attr_accessor :created
|
4427
|
+
|
4428
|
+
# The description of this remarketing audience.
|
4429
|
+
# Corresponds to the JSON property `description`
|
4430
|
+
# @return [String]
|
4431
|
+
attr_accessor :description
|
4432
|
+
|
4433
|
+
# Remarketing Audience ID.
|
4434
|
+
# Corresponds to the JSON property `id`
|
4435
|
+
# @return [String]
|
4436
|
+
attr_accessor :id
|
4437
|
+
|
4438
|
+
# Internal ID for the web property to which this remarketing audience belongs.
|
4439
|
+
# Corresponds to the JSON property `internalWebPropertyId`
|
4440
|
+
# @return [String]
|
4441
|
+
attr_accessor :internal_web_property_id
|
4442
|
+
|
4443
|
+
# Collection type.
|
4444
|
+
# Corresponds to the JSON property `kind`
|
4445
|
+
# @return [String]
|
4446
|
+
attr_accessor :kind
|
4447
|
+
|
4448
|
+
# The linked ad accounts associated with this remarketing audience. A
|
4449
|
+
# remarketing audience can have only one linkedAdAccount currently.
|
4450
|
+
# Corresponds to the JSON property `linkedAdAccounts`
|
4451
|
+
# @return [Array<Google::Apis::AnalyticsV3::LinkedForeignAccount>]
|
4452
|
+
attr_accessor :linked_ad_accounts
|
4453
|
+
|
4454
|
+
# The views (profiles) that this remarketing audience is linked to.
|
4455
|
+
# Corresponds to the JSON property `linkedViews`
|
4456
|
+
# @return [Array<String>]
|
4457
|
+
attr_accessor :linked_views
|
4458
|
+
|
4459
|
+
# The name of this remarketing audience.
|
4460
|
+
# Corresponds to the JSON property `name`
|
4461
|
+
# @return [String]
|
4462
|
+
attr_accessor :name
|
4463
|
+
|
4464
|
+
# A state based audience definition that will cause a user to be added or
|
4465
|
+
# removed from an audience.
|
4466
|
+
# Corresponds to the JSON property `stateBasedAudienceDefinition`
|
4467
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition]
|
4468
|
+
attr_accessor :state_based_audience_definition
|
4469
|
+
|
4470
|
+
# Time this remarketing audience was last modified.
|
4471
|
+
# Corresponds to the JSON property `updated`
|
4472
|
+
# @return [DateTime]
|
4473
|
+
attr_accessor :updated
|
4474
|
+
|
4475
|
+
# Web property ID of the form UA-XXXXX-YY to which this remarketing audience
|
4476
|
+
# belongs.
|
4477
|
+
# Corresponds to the JSON property `webPropertyId`
|
4478
|
+
# @return [String]
|
4479
|
+
attr_accessor :web_property_id
|
4480
|
+
|
4481
|
+
def initialize(**args)
|
4482
|
+
update!(**args)
|
4483
|
+
end
|
4484
|
+
|
4485
|
+
# Update properties of this object
|
4486
|
+
def update!(**args)
|
4487
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
4488
|
+
@audience_definition = args[:audience_definition] if args.key?(:audience_definition)
|
4489
|
+
@audience_type = args[:audience_type] if args.key?(:audience_type)
|
4490
|
+
@created = args[:created] if args.key?(:created)
|
4491
|
+
@description = args[:description] if args.key?(:description)
|
4492
|
+
@id = args[:id] if args.key?(:id)
|
4493
|
+
@internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
|
4494
|
+
@kind = args[:kind] if args.key?(:kind)
|
4495
|
+
@linked_ad_accounts = args[:linked_ad_accounts] if args.key?(:linked_ad_accounts)
|
4496
|
+
@linked_views = args[:linked_views] if args.key?(:linked_views)
|
4497
|
+
@name = args[:name] if args.key?(:name)
|
4498
|
+
@state_based_audience_definition = args[:state_based_audience_definition] if args.key?(:state_based_audience_definition)
|
4499
|
+
@updated = args[:updated] if args.key?(:updated)
|
4500
|
+
@web_property_id = args[:web_property_id] if args.key?(:web_property_id)
|
4501
|
+
end
|
4502
|
+
|
4503
|
+
# The simple audience definition that will cause a user to be added to an
|
4504
|
+
# audience.
|
4505
|
+
class AudienceDefinition
|
4506
|
+
include Google::Apis::Core::Hashable
|
4507
|
+
|
4508
|
+
# JSON template for an Analytics Remarketing Include Conditions.
|
4509
|
+
# Corresponds to the JSON property `includeConditions`
|
4510
|
+
# @return [Google::Apis::AnalyticsV3::IncludeConditions]
|
4511
|
+
attr_accessor :include_conditions
|
4512
|
+
|
4513
|
+
def initialize(**args)
|
4514
|
+
update!(**args)
|
4515
|
+
end
|
4516
|
+
|
4517
|
+
# Update properties of this object
|
4518
|
+
def update!(**args)
|
4519
|
+
@include_conditions = args[:include_conditions] if args.key?(:include_conditions)
|
4520
|
+
end
|
4521
|
+
end
|
4522
|
+
|
4523
|
+
# A state based audience definition that will cause a user to be added or
|
4524
|
+
# removed from an audience.
|
4525
|
+
class StateBasedAudienceDefinition
|
4526
|
+
include Google::Apis::Core::Hashable
|
4527
|
+
|
4528
|
+
# Defines the conditions to exclude users from the audience.
|
4529
|
+
# Corresponds to the JSON property `excludeConditions`
|
4530
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::ExcludeConditions]
|
4531
|
+
attr_accessor :exclude_conditions
|
4532
|
+
|
4533
|
+
# JSON template for an Analytics Remarketing Include Conditions.
|
4534
|
+
# Corresponds to the JSON property `includeConditions`
|
4535
|
+
# @return [Google::Apis::AnalyticsV3::IncludeConditions]
|
4536
|
+
attr_accessor :include_conditions
|
4537
|
+
|
4538
|
+
def initialize(**args)
|
4539
|
+
update!(**args)
|
4540
|
+
end
|
4541
|
+
|
4542
|
+
# Update properties of this object
|
4543
|
+
def update!(**args)
|
4544
|
+
@exclude_conditions = args[:exclude_conditions] if args.key?(:exclude_conditions)
|
4545
|
+
@include_conditions = args[:include_conditions] if args.key?(:include_conditions)
|
4546
|
+
end
|
4547
|
+
|
4548
|
+
# Defines the conditions to exclude users from the audience.
|
4549
|
+
class ExcludeConditions
|
4550
|
+
include Google::Apis::Core::Hashable
|
4551
|
+
|
4552
|
+
# Whether to make the exclusion TEMPORARY or PERMANENT.
|
4553
|
+
# Corresponds to the JSON property `exclusionDuration`
|
4554
|
+
# @return [String]
|
4555
|
+
attr_accessor :exclusion_duration
|
4556
|
+
|
4557
|
+
# The segment condition that will cause a user to be removed from an audience.
|
4558
|
+
# Corresponds to the JSON property `segment`
|
4559
|
+
# @return [String]
|
4560
|
+
attr_accessor :segment
|
4561
|
+
|
4562
|
+
def initialize(**args)
|
4563
|
+
update!(**args)
|
4564
|
+
end
|
4565
|
+
|
4566
|
+
# Update properties of this object
|
4567
|
+
def update!(**args)
|
4568
|
+
@exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
|
4569
|
+
@segment = args[:segment] if args.key?(:segment)
|
4570
|
+
end
|
4571
|
+
end
|
4572
|
+
end
|
4573
|
+
end
|
4574
|
+
|
4575
|
+
# A remarketing audience collection lists Analytics remarketing audiences to
|
4576
|
+
# which the user has access. Each resource in the collection corresponds to a
|
4577
|
+
# single Analytics remarketing audience.
|
4578
|
+
class RemarketingAudiences
|
4579
|
+
include Google::Apis::Core::Hashable
|
4580
|
+
|
4581
|
+
# A list of remarketing audiences.
|
4582
|
+
# Corresponds to the JSON property `items`
|
4583
|
+
# @return [Array<Google::Apis::AnalyticsV3::RemarketingAudience>]
|
4584
|
+
attr_accessor :items
|
4585
|
+
|
4586
|
+
# The maximum number of resources the response can contain, regardless of the
|
4587
|
+
# actual number of resources returned. Its value ranges from 1 to 1000 with a
|
4588
|
+
# value of 1000 by default, or otherwise specified by the max-results query
|
4589
|
+
# parameter.
|
4590
|
+
# Corresponds to the JSON property `itemsPerPage`
|
4591
|
+
# @return [Fixnum]
|
4592
|
+
attr_accessor :items_per_page
|
4593
|
+
|
4594
|
+
# Collection type.
|
4595
|
+
# Corresponds to the JSON property `kind`
|
4596
|
+
# @return [String]
|
4597
|
+
attr_accessor :kind
|
4598
|
+
|
4599
|
+
# Link to next page for this remarketing audience collection.
|
4600
|
+
# Corresponds to the JSON property `nextLink`
|
4601
|
+
# @return [String]
|
4602
|
+
attr_accessor :next_link
|
4603
|
+
|
4604
|
+
# Link to previous page for this view (profile) collection.
|
4605
|
+
# Corresponds to the JSON property `previousLink`
|
4606
|
+
# @return [String]
|
4607
|
+
attr_accessor :previous_link
|
4608
|
+
|
4609
|
+
# The starting index of the resources, which is 1 by default or otherwise
|
4610
|
+
# specified by the start-index query parameter.
|
4611
|
+
# Corresponds to the JSON property `startIndex`
|
4612
|
+
# @return [Fixnum]
|
4613
|
+
attr_accessor :start_index
|
4614
|
+
|
4615
|
+
# The total number of results for the query, regardless of the number of results
|
4616
|
+
# in the response.
|
4617
|
+
# Corresponds to the JSON property `totalResults`
|
4618
|
+
# @return [Fixnum]
|
4619
|
+
attr_accessor :total_results
|
4620
|
+
|
4621
|
+
# Email ID of the authenticated user
|
4622
|
+
# Corresponds to the JSON property `username`
|
4623
|
+
# @return [String]
|
4624
|
+
attr_accessor :username
|
4625
|
+
|
4626
|
+
def initialize(**args)
|
4627
|
+
update!(**args)
|
4628
|
+
end
|
4629
|
+
|
4630
|
+
# Update properties of this object
|
4631
|
+
def update!(**args)
|
4632
|
+
@items = args[:items] if args.key?(:items)
|
4633
|
+
@items_per_page = args[:items_per_page] if args.key?(:items_per_page)
|
4634
|
+
@kind = args[:kind] if args.key?(:kind)
|
4635
|
+
@next_link = args[:next_link] if args.key?(:next_link)
|
4636
|
+
@previous_link = args[:previous_link] if args.key?(:previous_link)
|
4637
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
4638
|
+
@total_results = args[:total_results] if args.key?(:total_results)
|
4639
|
+
@username = args[:username] if args.key?(:username)
|
4640
|
+
end
|
4641
|
+
end
|
4642
|
+
|
4270
4643
|
# JSON template for an Analytics segment.
|
4271
4644
|
class Segment
|
4272
4645
|
include Google::Apis::Core::Hashable
|
@@ -4425,7 +4798,10 @@ module Google
|
|
4425
4798
|
# @return [String]
|
4426
4799
|
attr_accessor :dimensions
|
4427
4800
|
|
4428
|
-
# The type of download you need to use for the report data file.
|
4801
|
+
# The type of download you need to use for the report data file. Possible values
|
4802
|
+
# include `GOOGLE_DRIVE` and `GOOGLE_CLOUD_STORAGE`. If the value is `
|
4803
|
+
# GOOGLE_DRIVE`, see the `driveDownloadDetails` field. If the value is `
|
4804
|
+
# GOOGLE_CLOUD_STORAGE`, see the `cloudStorageDownloadDetails` field.
|
4429
4805
|
# Corresponds to the JSON property `downloadType`
|
4430
4806
|
# @return [String]
|
4431
4807
|
attr_accessor :download_type
|