google-api-client 0.11.3 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -0
- data/api_names.yaml +32317 -34465
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
- data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
- data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +825 -817
- data/generated/google/apis/appengine_v1/representations.rb +185 -184
- data/generated/google/apis/appengine_v1/service.rb +220 -216
- 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 +9 -7
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +8 -8
- data/generated/google/apis/classroom_v1.rb +24 -24
- data/generated/google/apis/classroom_v1/classes.rb +381 -381
- data/generated/google/apis/classroom_v1/representations.rb +108 -108
- data/generated/google/apis/classroom_v1/service.rb +503 -503
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
- data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
- data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
- data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
- data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +3 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
- data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
- data/generated/google/apis/cloudkms_v1/service.rb +224 -224
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +57 -15
- data/generated/google/apis/compute_beta/representations.rb +30 -14
- data/generated/google/apis/compute_beta/service.rb +52 -52
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +223 -10
- data/generated/google/apis/compute_v1/representations.rb +85 -16
- data/generated/google/apis/compute_v1/service.rb +327 -51
- data/generated/google/apis/container_v1/classes.rb +267 -267
- data/generated/google/apis/container_v1/representations.rb +61 -61
- data/generated/google/apis/container_v1/service.rb +123 -123
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +71 -71
- data/generated/google/apis/content_v2/representations.rb +105 -105
- data/generated/google/apis/content_v2/service.rb +120 -120
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
- data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
- data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
- data/generated/google/apis/dataproc_v1/representations.rb +147 -147
- data/generated/google/apis/dataproc_v1/service.rb +309 -305
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +818 -818
- data/generated/google/apis/datastore_v1/representations.rb +151 -151
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
- data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
- data/generated/google/apis/firebaserules_v1/service.rb +89 -89
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
- data/generated/google/apis/genomics_v1/representations.rb +298 -298
- data/generated/google/apis/genomics_v1/service.rb +1160 -1160
- data/generated/google/apis/groupssettings_v1/service.rb +0 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +235 -235
- data/generated/google/apis/iam_v1/representations.rb +72 -72
- data/generated/google/apis/iam_v1/service.rb +189 -189
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1/classes.rb +220 -220
- data/generated/google/apis/language_v1/representations.rb +81 -81
- data/generated/google/apis/language_v1/service.rb +43 -43
- data/generated/google/apis/language_v1beta1/classes.rb +448 -448
- data/generated/google/apis/language_v1beta1/representations.rb +106 -106
- data/generated/google/apis/language_v1beta1/service.rb +31 -31
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +737 -737
- data/generated/google/apis/logging_v2/representations.rb +120 -120
- data/generated/google/apis/logging_v2/service.rb +479 -479
- data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
- data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
- data/generated/google/apis/logging_v2beta1/service.rb +349 -349
- data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
- data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1285 -1205
- data/generated/google/apis/ml_v1/representations.rb +204 -174
- data/generated/google/apis/ml_v1/service.rb +150 -145
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +880 -880
- data/generated/google/apis/monitoring_v3/representations.rb +154 -154
- data/generated/google/apis/monitoring_v3/service.rb +299 -299
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +524 -509
- data/generated/google/apis/partners_v2/representations.rb +115 -111
- data/generated/google/apis/partners_v2/service.rb +287 -287
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +1150 -1150
- data/generated/google/apis/people_v1/representations.rb +258 -258
- data/generated/google/apis/people_v1/service.rb +7 -7
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
- data/generated/google/apis/pubsub_v1/classes.rb +228 -228
- data/generated/google/apis/pubsub_v1/representations.rb +69 -69
- data/generated/google/apis/pubsub_v1/service.rb +182 -182
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
- data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +94 -94
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
- data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
- data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
- data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
- data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
- data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
- data/generated/google/apis/sheets_v4/representations.rb +324 -324
- data/generated/google/apis/sheets_v4/service.rb +49 -49
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2907 -2907
- data/generated/google/apis/slides_v1/representations.rb +695 -695
- data/generated/google/apis/slides_v1/service.rb +40 -40
- data/generated/google/apis/sourcerepo_v1.rb +7 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
- data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
- data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
- data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
- data/generated/google/apis/spanner_v1/representations.rb +205 -205
- data/generated/google/apis/spanner_v1/service.rb +525 -525
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
- data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
- data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
- data/generated/google/apis/storage_v1/classes.rb +6 -6
- data/generated/google/apis/storage_v1/representations.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
- data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +46 -46
- data/generated/google/apis/translate_v2/representations.rb +22 -22
- data/generated/google/apis/translate_v2/service.rb +81 -74
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +166 -166
- data/generated/google/apis/vision_v1/service.rb +6 -6
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/core/base_service.rb +6 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -94
- data/dl.rb +0 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
- data/generated/google/apis/appengine_v1beta4.rb +0 -35
- data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
- data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
- data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
- data/generated/google/apis/appengine_v1beta5.rb +0 -40
- data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
- data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
- data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
- data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
- data/generated/google/apis/classroom_v1beta1.rb +0 -49
- data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
- data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
- data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
- data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
- data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
- data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
- data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
- data/generated/google/apis/container_v1beta1.rb +0 -35
- data/generated/google/apis/container_v1beta1/classes.rb +0 -466
- data/generated/google/apis/container_v1beta1/representations.rb +0 -177
- data/generated/google/apis/container_v1beta1/service.rb +0 -394
- data/generated/google/apis/coordinate_v1.rb +0 -37
- data/generated/google/apis/coordinate_v1/classes.rb +0 -669
- data/generated/google/apis/coordinate_v1/representations.rb +0 -321
- data/generated/google/apis/coordinate_v1/service.rb +0 -678
- data/generated/google/apis/datastore_v1beta2.rb +0 -40
- data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
- data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
- data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
- data/generated/google/apis/datastore_v1beta3.rb +0 -38
- data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
- data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
- data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
- data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
- data/generated/google/apis/dfareporting_v2_1.rb +0 -37
- data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
- data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
- data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
- data/generated/google/apis/dfareporting_v2_3.rb +0 -37
- data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
- data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
- data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
- data/generated/google/apis/dfareporting_v2_5.rb +0 -40
- data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
- data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
- data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
- data/generated/google/apis/dfareporting_v2_6.rb +0 -40
- data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
- data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
- data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
- data/generated/google/apis/gan_v1beta1.rb +0 -31
- data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
- data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
- data/generated/google/apis/gan_v1beta1/service.rb +0 -682
- data/generated/google/apis/genomics_v1beta2.rb +0 -46
- data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
- data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
- data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
- data/generated/google/apis/logging_v1beta3.rb +0 -47
- data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
- data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
- data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
- data/generated/google/apis/manager_v1beta2.rb +0 -53
- data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
- data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
- data/generated/google/apis/manager_v1beta2/service.rb +0 -372
- data/generated/google/apis/pubsub_v1beta2.rb +0 -37
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
- data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
- data/generated/google/apis/tracing_v1.rb +0 -40
- data/generated/google/apis/tracing_v1/classes.rb +0 -664
- data/generated/google/apis/tracing_v1/representations.rb +0 -279
- data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
26
26
|
module CalendarV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170523'
|
29
29
|
|
30
30
|
# Manage your calendars
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -430,7 +430,7 @@ module Google
|
|
430
430
|
# on inserts and updates. SMS reminders are only available for G Suite customers.
|
431
431
|
# Corresponds to the JSON property `method`
|
432
432
|
# @return [String]
|
433
|
-
attr_accessor :
|
433
|
+
attr_accessor :method_prop
|
434
434
|
|
435
435
|
# The type of notification. Possible values are:
|
436
436
|
# - "eventCreation" - Notification sent when a new event is put on the calendar.
|
@@ -448,7 +448,7 @@ module Google
|
|
448
448
|
|
449
449
|
# Update properties of this object
|
450
450
|
def update!(**args)
|
451
|
-
@
|
451
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
452
452
|
@type = args[:type] if args.key?(:type)
|
453
453
|
end
|
454
454
|
end
|
@@ -1082,7 +1082,7 @@ module Google
|
|
1082
1082
|
# - "chip" - The gadget displays when the event is clicked.
|
1083
1083
|
# Corresponds to the JSON property `display`
|
1084
1084
|
# @return [String]
|
1085
|
-
attr_accessor :
|
1085
|
+
attr_accessor :display_prop
|
1086
1086
|
|
1087
1087
|
# The gadget's height in pixels. The height must be an integer greater than 0.
|
1088
1088
|
# Optional.
|
@@ -1127,7 +1127,7 @@ module Google
|
|
1127
1127
|
|
1128
1128
|
# Update properties of this object
|
1129
1129
|
def update!(**args)
|
1130
|
-
@
|
1130
|
+
@display_prop = args[:display_prop] if args.key?(:display_prop)
|
1131
1131
|
@height = args[:height] if args.key?(:height)
|
1132
1132
|
@icon_link = args[:icon_link] if args.key?(:icon_link)
|
1133
1133
|
@link = args[:link] if args.key?(:link)
|
@@ -1443,7 +1443,7 @@ module Google
|
|
1443
1443
|
# - "popup" - Reminders are sent via a UI popup.
|
1444
1444
|
# Corresponds to the JSON property `method`
|
1445
1445
|
# @return [String]
|
1446
|
-
attr_accessor :
|
1446
|
+
attr_accessor :method_prop
|
1447
1447
|
|
1448
1448
|
# Number of minutes before the start of the event when the reminder should
|
1449
1449
|
# trigger. Valid values are between 0 and 40320 (4 weeks in minutes).
|
@@ -1457,7 +1457,7 @@ module Google
|
|
1457
1457
|
|
1458
1458
|
# Update properties of this object
|
1459
1459
|
def update!(**args)
|
1460
|
-
@
|
1460
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
1461
1461
|
@minutes = args[:minutes] if args.key?(:minutes)
|
1462
1462
|
end
|
1463
1463
|
end
|
@@ -344,7 +344,7 @@ module Google
|
|
344
344
|
class CalendarNotification
|
345
345
|
# @private
|
346
346
|
class Representation < Google::Apis::Core::JsonRepresentation
|
347
|
-
property :
|
347
|
+
property :method_prop, as: 'method'
|
348
348
|
property :type, as: 'type'
|
349
349
|
end
|
350
350
|
end
|
@@ -490,7 +490,7 @@ module Google
|
|
490
490
|
class Gadget
|
491
491
|
# @private
|
492
492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
493
|
-
property :
|
493
|
+
property :display_prop, as: 'display'
|
494
494
|
property :height, as: 'height'
|
495
495
|
property :icon_link, as: 'iconLink'
|
496
496
|
property :link, as: 'link'
|
@@ -579,7 +579,7 @@ module Google
|
|
579
579
|
class EventReminder
|
580
580
|
# @private
|
581
581
|
class Representation < Google::Apis::Core::JsonRepresentation
|
582
|
-
property :
|
582
|
+
property :method_prop, as: 'method'
|
583
583
|
property :minutes, as: 'minutes'
|
584
584
|
end
|
585
585
|
end
|
@@ -1268,7 +1268,7 @@ module Google
|
|
1268
1268
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1269
1269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1270
1270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1271
|
-
def
|
1271
|
+
def instances_event(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1272
1272
|
command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
|
1273
1273
|
command.response_representation = Google::Apis::CalendarV3::Events::Representation
|
1274
1274
|
command.response_class = Google::Apis::CalendarV3::Events
|
@@ -1570,7 +1570,7 @@ module Google
|
|
1570
1570
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1571
1571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1572
1572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1573
|
-
def
|
1573
|
+
def quick_event_add(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1574
1574
|
command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
|
1575
1575
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
1576
1576
|
command.response_class = Google::Apis::CalendarV3::Event
|
@@ -100,7 +100,7 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class ElectionsQueryResponse
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -353,7 +353,7 @@ module Google
|
|
353
353
|
end
|
354
354
|
end
|
355
355
|
|
356
|
-
class
|
356
|
+
class ElectionsQueryResponse
|
357
357
|
# @private
|
358
358
|
class Representation < Google::Apis::Core::JsonRepresentation
|
359
359
|
collection :elections, as: 'elections', class: Google::Apis::CivicinfoV2::Election, decorator: Google::Apis::CivicinfoV2::Election::Representation
|
@@ -110,20 +110,20 @@ module Google
|
|
110
110
|
# Request-specific options
|
111
111
|
#
|
112
112
|
# @yield [result, err] Result & error if block supplied
|
113
|
-
# @yieldparam result [Google::Apis::CivicinfoV2::
|
113
|
+
# @yieldparam result [Google::Apis::CivicinfoV2::ElectionsQueryResponse] parsed result object
|
114
114
|
# @yieldparam err [StandardError] error object if request failed
|
115
115
|
#
|
116
|
-
# @return [Google::Apis::CivicinfoV2::
|
116
|
+
# @return [Google::Apis::CivicinfoV2::ElectionsQueryResponse]
|
117
117
|
#
|
118
118
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
119
119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
120
120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
121
|
-
def
|
121
|
+
def election_election_query(elections_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
122
122
|
command = make_simple_command(:get, 'elections', options)
|
123
123
|
command.request_representation = Google::Apis::CivicinfoV2::ElectionsQueryRequest::Representation
|
124
124
|
command.request_object = elections_query_request_object
|
125
|
-
command.response_representation = Google::Apis::CivicinfoV2::
|
126
|
-
command.response_class = Google::Apis::CivicinfoV2::
|
125
|
+
command.response_representation = Google::Apis::CivicinfoV2::ElectionsQueryResponse::Representation
|
126
|
+
command.response_class = Google::Apis::CivicinfoV2::ElectionsQueryResponse
|
127
127
|
command.query['fields'] = fields unless fields.nil?
|
128
128
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
129
129
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -165,7 +165,7 @@ module Google
|
|
165
165
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
166
166
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
167
167
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
168
|
-
def
|
168
|
+
def voter_election_info_query(address, voter_info_request_object = nil, election_id: nil, official_only: nil, return_all_available_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
169
169
|
command = make_simple_command(:get, 'voterinfo', options)
|
170
170
|
command.request_representation = Google::Apis::CivicinfoV2::VoterInfoRequest::Representation
|
171
171
|
command.request_object = voter_info_request_object
|
@@ -219,7 +219,7 @@ module Google
|
|
219
219
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
220
220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
221
221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
222
|
-
def
|
222
|
+
def representative_representative_info_by_address(representative_info_request_object = nil, address: nil, include_offices: nil, levels: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
223
223
|
command = make_simple_command(:get, 'representatives', options)
|
224
224
|
command.request_representation = Google::Apis::CivicinfoV2::RepresentativeInfoRequest::Representation
|
225
225
|
command.request_object = representative_info_request_object
|
@@ -272,7 +272,7 @@ module Google
|
|
272
272
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
273
273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
274
274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
275
|
-
def
|
275
|
+
def representative_representative_info_by_division(ocd_id, division_representative_info_request_object = nil, levels: nil, recursive: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
276
276
|
command = make_simple_command(:get, 'representatives/{ocdId}', options)
|
277
277
|
command.request_representation = Google::Apis::CivicinfoV2::DivisionRepresentativeInfoRequest::Representation
|
278
278
|
command.request_object = division_representative_info_request_object
|
@@ -25,52 +25,52 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/classroom/
|
26
26
|
module ClassroomV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170601'
|
29
29
|
|
30
|
-
#
|
31
|
-
|
30
|
+
# Manage your course work and view your grades in Google Classroom
|
31
|
+
AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me'
|
32
|
+
|
33
|
+
# Manage your Google Classroom class rosters
|
34
|
+
AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters'
|
35
|
+
|
36
|
+
# View course work and grades for students in the Google Classroom classes you teach or administer
|
37
|
+
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
|
38
|
+
|
39
|
+
# View guardians for students in your Google Classroom classes
|
40
|
+
AUTH_CLASSROOM_GUARDIANLINKS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly'
|
41
|
+
|
42
|
+
# Manage your Google Classroom classes
|
43
|
+
AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses'
|
44
|
+
|
45
|
+
# View your Google Classroom classes
|
46
|
+
AUTH_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly'
|
32
47
|
|
33
48
|
# View your Google Classroom class rosters
|
34
49
|
AUTH_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly'
|
35
50
|
|
51
|
+
# View the profile photos of people in your classes
|
52
|
+
AUTH_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos'
|
53
|
+
|
36
54
|
# View and manage guardians for students in your Google Classroom classes
|
37
55
|
AUTH_CLASSROOM_GUARDIANLINKS_STUDENTS = 'https://www.googleapis.com/auth/classroom.guardianlinks.students'
|
38
56
|
|
39
57
|
# View your course work and grades in Google Classroom
|
40
58
|
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly'
|
41
59
|
|
60
|
+
# View your Google Classroom guardians
|
61
|
+
AUTH_CLASSROOM_GUARDIANLINKS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly'
|
62
|
+
|
42
63
|
# Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer
|
43
64
|
AUTH_CLASSROOM_COURSEWORK_STUDENTS = 'https://www.googleapis.com/auth/classroom.coursework.students'
|
44
65
|
|
45
66
|
# View course work and grades for students in the Google Classroom classes you teach or administer
|
46
67
|
AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly'
|
47
68
|
|
48
|
-
# View your Google Classroom guardians
|
49
|
-
AUTH_CLASSROOM_GUARDIANLINKS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly'
|
50
|
-
|
51
69
|
# View your course work and grades in Google Classroom
|
52
70
|
AUTH_CLASSROOM_COURSEWORK_ME_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.me.readonly'
|
53
71
|
|
54
72
|
# View the email addresses of people in your classes
|
55
73
|
AUTH_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails'
|
56
|
-
|
57
|
-
# Manage your course work and view your grades in Google Classroom
|
58
|
-
AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me'
|
59
|
-
|
60
|
-
# Manage your Google Classroom class rosters
|
61
|
-
AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters'
|
62
|
-
|
63
|
-
# View course work and grades for students in the Google Classroom classes you teach or administer
|
64
|
-
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
|
65
|
-
|
66
|
-
# View guardians for students in your Google Classroom classes
|
67
|
-
AUTH_CLASSROOM_GUARDIANLINKS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly'
|
68
|
-
|
69
|
-
# Manage your Google Classroom classes
|
70
|
-
AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses'
|
71
|
-
|
72
|
-
# View your Google Classroom classes
|
73
|
-
AUTH_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly'
|
74
74
|
end
|
75
75
|
end
|
76
76
|
end
|
@@ -22,10 +22,139 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ClassroomV1
|
24
24
|
|
25
|
+
# Teacher of a course.
|
26
|
+
class Teacher
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Identifier of the user.
|
30
|
+
# When specified as a parameter of a request, this identifier can be one of
|
31
|
+
# the following:
|
32
|
+
# * the numeric identifier for the user
|
33
|
+
# * the email address of the user
|
34
|
+
# * the string literal `"me"`, indicating the requesting user
|
35
|
+
# Corresponds to the JSON property `userId`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :user_id
|
38
|
+
|
39
|
+
# Identifier of the course.
|
40
|
+
# Read-only.
|
41
|
+
# Corresponds to the JSON property `courseId`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :course_id
|
44
|
+
|
45
|
+
# Global information for a user.
|
46
|
+
# Corresponds to the JSON property `profile`
|
47
|
+
# @return [Google::Apis::ClassroomV1::UserProfile]
|
48
|
+
attr_accessor :profile
|
49
|
+
|
50
|
+
def initialize(**args)
|
51
|
+
update!(**args)
|
52
|
+
end
|
53
|
+
|
54
|
+
# Update properties of this object
|
55
|
+
def update!(**args)
|
56
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
57
|
+
@course_id = args[:course_id] if args.key?(:course_id)
|
58
|
+
@profile = args[:profile] if args.key?(:profile)
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# Request to reclaim a student submission.
|
63
|
+
class ReclaimStudentSubmissionRequest
|
64
|
+
include Google::Apis::Core::Hashable
|
65
|
+
|
66
|
+
def initialize(**args)
|
67
|
+
update!(**args)
|
68
|
+
end
|
69
|
+
|
70
|
+
# Update properties of this object
|
71
|
+
def update!(**args)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Student work for an assignment.
|
76
|
+
class AssignmentSubmission
|
77
|
+
include Google::Apis::Core::Hashable
|
78
|
+
|
79
|
+
# Attachments added by the student.
|
80
|
+
# Drive files that correspond to materials with a share mode of
|
81
|
+
# STUDENT_COPY may not exist yet if the student has not accessed the
|
82
|
+
# assignment in Classroom.
|
83
|
+
# Some attachment metadata is only populated if the requesting user has
|
84
|
+
# permission to access it. Identifier and alternate_link fields are always
|
85
|
+
# available, but others (e.g. title) may not be.
|
86
|
+
# Corresponds to the JSON property `attachments`
|
87
|
+
# @return [Array<Google::Apis::ClassroomV1::Attachment>]
|
88
|
+
attr_accessor :attachments
|
89
|
+
|
90
|
+
def initialize(**args)
|
91
|
+
update!(**args)
|
92
|
+
end
|
93
|
+
|
94
|
+
# Update properties of this object
|
95
|
+
def update!(**args)
|
96
|
+
@attachments = args[:attachments] if args.key?(:attachments)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# Material attached to course work.
|
101
|
+
# When creating attachments, setting the `form` field is not supported.
|
102
|
+
class Material
|
103
|
+
include Google::Apis::Core::Hashable
|
104
|
+
|
105
|
+
# URL item.
|
106
|
+
# Corresponds to the JSON property `link`
|
107
|
+
# @return [Google::Apis::ClassroomV1::Link]
|
108
|
+
attr_accessor :link
|
109
|
+
|
110
|
+
# YouTube video item.
|
111
|
+
# Corresponds to the JSON property `youtubeVideo`
|
112
|
+
# @return [Google::Apis::ClassroomV1::YouTubeVideo]
|
113
|
+
attr_accessor :youtube_video
|
114
|
+
|
115
|
+
# Drive file that is used as material for course work.
|
116
|
+
# Corresponds to the JSON property `driveFile`
|
117
|
+
# @return [Google::Apis::ClassroomV1::SharedDriveFile]
|
118
|
+
attr_accessor :drive_file
|
119
|
+
|
120
|
+
# Google Forms item.
|
121
|
+
# Corresponds to the JSON property `form`
|
122
|
+
# @return [Google::Apis::ClassroomV1::Form]
|
123
|
+
attr_accessor :form
|
124
|
+
|
125
|
+
def initialize(**args)
|
126
|
+
update!(**args)
|
127
|
+
end
|
128
|
+
|
129
|
+
# Update properties of this object
|
130
|
+
def update!(**args)
|
131
|
+
@link = args[:link] if args.key?(:link)
|
132
|
+
@youtube_video = args[:youtube_video] if args.key?(:youtube_video)
|
133
|
+
@drive_file = args[:drive_file] if args.key?(:drive_file)
|
134
|
+
@form = args[:form] if args.key?(:form)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
25
138
|
# Course work created by a teacher for students of the course.
|
26
139
|
class CourseWork
|
27
140
|
include Google::Apis::Core::Hashable
|
28
141
|
|
142
|
+
# Additional details for assignments.
|
143
|
+
# Corresponds to the JSON property `assignment`
|
144
|
+
# @return [Google::Apis::ClassroomV1::Assignment]
|
145
|
+
attr_accessor :assignment
|
146
|
+
|
147
|
+
# Type of this course work.
|
148
|
+
# The type is set when the course work is created and cannot be changed.
|
149
|
+
# Corresponds to the JSON property `workType`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :work_type
|
152
|
+
|
153
|
+
# Additional details for multiple-choice questions.
|
154
|
+
# Corresponds to the JSON property `multipleChoiceQuestion`
|
155
|
+
# @return [Google::Apis::ClassroomV1::MultipleChoiceQuestion]
|
156
|
+
attr_accessor :multiple_choice_question
|
157
|
+
|
29
158
|
# Optional description of this course work.
|
30
159
|
# If set, the description must be a valid UTF-8 string containing no more
|
31
160
|
# than 30,000 characters.
|
@@ -88,12 +217,6 @@ module Google
|
|
88
217
|
# @return [String]
|
89
218
|
attr_accessor :title
|
90
219
|
|
91
|
-
# Additional materials.
|
92
|
-
# CourseWork must have no more than 20 material items.
|
93
|
-
# Corresponds to the JSON property `materials`
|
94
|
-
# @return [Array<Google::Apis::ClassroomV1::Material>]
|
95
|
-
attr_accessor :materials
|
96
|
-
|
97
220
|
# Whether this course work item is associated with the Developer Console
|
98
221
|
# project making the request.
|
99
222
|
# See google.classroom.Work.CreateCourseWork for more
|
@@ -104,6 +227,12 @@ module Google
|
|
104
227
|
attr_accessor :associated_with_developer
|
105
228
|
alias_method :associated_with_developer?, :associated_with_developer
|
106
229
|
|
230
|
+
# Additional materials.
|
231
|
+
# CourseWork must have no more than 20 material items.
|
232
|
+
# Corresponds to the JSON property `materials`
|
233
|
+
# @return [Array<Google::Apis::ClassroomV1::Material>]
|
234
|
+
attr_accessor :materials
|
235
|
+
|
107
236
|
# Timestamp of the most recent change to this course work.
|
108
237
|
# Read-only.
|
109
238
|
# Corresponds to the JSON property `updateTime`
|
@@ -124,28 +253,15 @@ module Google
|
|
124
253
|
# @return [Float]
|
125
254
|
attr_accessor :max_points
|
126
255
|
|
127
|
-
# Additional details for multiple-choice questions.
|
128
|
-
# Corresponds to the JSON property `multipleChoiceQuestion`
|
129
|
-
# @return [Google::Apis::ClassroomV1::MultipleChoiceQuestion]
|
130
|
-
attr_accessor :multiple_choice_question
|
131
|
-
|
132
|
-
# Type of this course work.
|
133
|
-
# The type is set when the course work is created and cannot be changed.
|
134
|
-
# Corresponds to the JSON property `workType`
|
135
|
-
# @return [String]
|
136
|
-
attr_accessor :work_type
|
137
|
-
|
138
|
-
# Additional details for assignments.
|
139
|
-
# Corresponds to the JSON property `assignment`
|
140
|
-
# @return [Google::Apis::ClassroomV1::Assignment]
|
141
|
-
attr_accessor :assignment
|
142
|
-
|
143
256
|
def initialize(**args)
|
144
257
|
update!(**args)
|
145
258
|
end
|
146
259
|
|
147
260
|
# Update properties of this object
|
148
261
|
def update!(**args)
|
262
|
+
@assignment = args[:assignment] if args.key?(:assignment)
|
263
|
+
@work_type = args[:work_type] if args.key?(:work_type)
|
264
|
+
@multiple_choice_question = args[:multiple_choice_question] if args.key?(:multiple_choice_question)
|
149
265
|
@description = args[:description] if args.key?(:description)
|
150
266
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
151
267
|
@due_date = args[:due_date] if args.key?(:due_date)
|
@@ -155,14 +271,11 @@ module Google
|
|
155
271
|
@id = args[:id] if args.key?(:id)
|
156
272
|
@due_time = args[:due_time] if args.key?(:due_time)
|
157
273
|
@title = args[:title] if args.key?(:title)
|
158
|
-
@materials = args[:materials] if args.key?(:materials)
|
159
274
|
@associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer)
|
275
|
+
@materials = args[:materials] if args.key?(:materials)
|
160
276
|
@update_time = args[:update_time] if args.key?(:update_time)
|
161
277
|
@alternate_link = args[:alternate_link] if args.key?(:alternate_link)
|
162
278
|
@max_points = args[:max_points] if args.key?(:max_points)
|
163
|
-
@multiple_choice_question = args[:multiple_choice_question] if args.key?(:multiple_choice_question)
|
164
|
-
@work_type = args[:work_type] if args.key?(:work_type)
|
165
|
-
@assignment = args[:assignment] if args.key?(:assignment)
|
166
279
|
end
|
167
280
|
end
|
168
281
|
|
@@ -369,6 +482,11 @@ module Google
|
|
369
482
|
class DriveFolder
|
370
483
|
include Google::Apis::Core::Hashable
|
371
484
|
|
485
|
+
# Drive API resource ID.
|
486
|
+
# Corresponds to the JSON property `id`
|
487
|
+
# @return [String]
|
488
|
+
attr_accessor :id
|
489
|
+
|
372
490
|
# Title of the Drive folder.
|
373
491
|
# Read-only.
|
374
492
|
# Corresponds to the JSON property `title`
|
@@ -381,20 +499,15 @@ module Google
|
|
381
499
|
# @return [String]
|
382
500
|
attr_accessor :alternate_link
|
383
501
|
|
384
|
-
# Drive API resource ID.
|
385
|
-
# Corresponds to the JSON property `id`
|
386
|
-
# @return [String]
|
387
|
-
attr_accessor :id
|
388
|
-
|
389
502
|
def initialize(**args)
|
390
503
|
update!(**args)
|
391
504
|
end
|
392
505
|
|
393
506
|
# Update properties of this object
|
394
507
|
def update!(**args)
|
508
|
+
@id = args[:id] if args.key?(:id)
|
395
509
|
@title = args[:title] if args.key?(:title)
|
396
510
|
@alternate_link = args[:alternate_link] if args.key?(:alternate_link)
|
397
|
-
@id = args[:id] if args.key?(:id)
|
398
511
|
end
|
399
512
|
end
|
400
513
|
|
@@ -424,13 +537,6 @@ module Google
|
|
424
537
|
class StudentSubmission
|
425
538
|
include Google::Apis::Core::Hashable
|
426
539
|
|
427
|
-
# Optional grade. If unset, no grade was set.
|
428
|
-
# This must be a non-negative integer value.
|
429
|
-
# This may be modified only by course teachers.
|
430
|
-
# Corresponds to the JSON property `assignedGrade`
|
431
|
-
# @return [Float]
|
432
|
-
attr_accessor :assigned_grade
|
433
|
-
|
434
540
|
# Student work for a multiple-choice question.
|
435
541
|
# Corresponds to the JSON property `multipleChoiceSubmission`
|
436
542
|
# @return [Google::Apis::ClassroomV1::MultipleChoiceSubmission]
|
@@ -469,13 +575,6 @@ module Google
|
|
469
575
|
# @return [String]
|
470
576
|
attr_accessor :alternate_link
|
471
577
|
|
472
|
-
# Whether this submission is late.
|
473
|
-
# Read-only.
|
474
|
-
# Corresponds to the JSON property `late`
|
475
|
-
# @return [Boolean]
|
476
|
-
attr_accessor :late
|
477
|
-
alias_method :late?, :late
|
478
|
-
|
479
578
|
# Optional pending grade. If unset, no grade was set.
|
480
579
|
# This must be a non-negative integer value.
|
481
580
|
# This is only visible to and modifiable by course teachers.
|
@@ -483,6 +582,13 @@ module Google
|
|
483
582
|
# @return [Float]
|
484
583
|
attr_accessor :draft_grade
|
485
584
|
|
585
|
+
# Whether this submission is late.
|
586
|
+
# Read-only.
|
587
|
+
# Corresponds to the JSON property `late`
|
588
|
+
# @return [Boolean]
|
589
|
+
attr_accessor :late
|
590
|
+
alias_method :late?, :late
|
591
|
+
|
486
592
|
# Type of course work this submission is for.
|
487
593
|
# Read-only.
|
488
594
|
# Corresponds to the JSON property `courseWorkType`
|
@@ -527,21 +633,27 @@ module Google
|
|
527
633
|
# @return [String]
|
528
634
|
attr_accessor :id
|
529
635
|
|
636
|
+
# Optional grade. If unset, no grade was set.
|
637
|
+
# This must be a non-negative integer value.
|
638
|
+
# This may be modified only by course teachers.
|
639
|
+
# Corresponds to the JSON property `assignedGrade`
|
640
|
+
# @return [Float]
|
641
|
+
attr_accessor :assigned_grade
|
642
|
+
|
530
643
|
def initialize(**args)
|
531
644
|
update!(**args)
|
532
645
|
end
|
533
646
|
|
534
647
|
# Update properties of this object
|
535
648
|
def update!(**args)
|
536
|
-
@assigned_grade = args[:assigned_grade] if args.key?(:assigned_grade)
|
537
649
|
@multiple_choice_submission = args[:multiple_choice_submission] if args.key?(:multiple_choice_submission)
|
538
650
|
@assignment_submission = args[:assignment_submission] if args.key?(:assignment_submission)
|
539
651
|
@associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer)
|
540
652
|
@short_answer_submission = args[:short_answer_submission] if args.key?(:short_answer_submission)
|
541
653
|
@update_time = args[:update_time] if args.key?(:update_time)
|
542
654
|
@alternate_link = args[:alternate_link] if args.key?(:alternate_link)
|
543
|
-
@late = args[:late] if args.key?(:late)
|
544
655
|
@draft_grade = args[:draft_grade] if args.key?(:draft_grade)
|
656
|
+
@late = args[:late] if args.key?(:late)
|
545
657
|
@course_work_type = args[:course_work_type] if args.key?(:course_work_type)
|
546
658
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
547
659
|
@state = args[:state] if args.key?(:state)
|
@@ -549,6 +661,20 @@ module Google
|
|
549
661
|
@course_work_id = args[:course_work_id] if args.key?(:course_work_id)
|
550
662
|
@course_id = args[:course_id] if args.key?(:course_id)
|
551
663
|
@id = args[:id] if args.key?(:id)
|
664
|
+
@assigned_grade = args[:assigned_grade] if args.key?(:assigned_grade)
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
668
|
+
# Request to turn in a student submission.
|
669
|
+
class TurnInStudentSubmissionRequest
|
670
|
+
include Google::Apis::Core::Hashable
|
671
|
+
|
672
|
+
def initialize(**args)
|
673
|
+
update!(**args)
|
674
|
+
end
|
675
|
+
|
676
|
+
# Update properties of this object
|
677
|
+
def update!(**args)
|
552
678
|
end
|
553
679
|
end
|
554
680
|
|
@@ -578,16 +704,29 @@ module Google
|
|
578
704
|
end
|
579
705
|
end
|
580
706
|
|
581
|
-
#
|
582
|
-
class
|
707
|
+
# Response when listing course work.
|
708
|
+
class ListCourseWorkResponse
|
583
709
|
include Google::Apis::Core::Hashable
|
584
710
|
|
711
|
+
# Token identifying the next page of results to return. If empty, no further
|
712
|
+
# results are available.
|
713
|
+
# Corresponds to the JSON property `nextPageToken`
|
714
|
+
# @return [String]
|
715
|
+
attr_accessor :next_page_token
|
716
|
+
|
717
|
+
# Course work items that match the request.
|
718
|
+
# Corresponds to the JSON property `courseWork`
|
719
|
+
# @return [Array<Google::Apis::ClassroomV1::CourseWork>]
|
720
|
+
attr_accessor :course_work
|
721
|
+
|
585
722
|
def initialize(**args)
|
586
723
|
update!(**args)
|
587
724
|
end
|
588
725
|
|
589
726
|
# Update properties of this object
|
590
727
|
def update!(**args)
|
728
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
729
|
+
@course_work = args[:course_work] if args.key?(:course_work)
|
591
730
|
end
|
592
731
|
end
|
593
732
|
|
@@ -612,46 +751,14 @@ module Google
|
|
612
751
|
end
|
613
752
|
end
|
614
753
|
|
615
|
-
#
|
616
|
-
class
|
754
|
+
# YouTube video item.
|
755
|
+
class YouTubeVideo
|
617
756
|
include Google::Apis::Core::Hashable
|
618
757
|
|
619
|
-
#
|
620
|
-
#
|
621
|
-
# Corresponds to the JSON property `nextPageToken`
|
758
|
+
# YouTube API resource ID.
|
759
|
+
# Corresponds to the JSON property `id`
|
622
760
|
# @return [String]
|
623
|
-
attr_accessor :
|
624
|
-
|
625
|
-
# Course work items that match the request.
|
626
|
-
# Corresponds to the JSON property `courseWork`
|
627
|
-
# @return [Array<Google::Apis::ClassroomV1::CourseWork>]
|
628
|
-
attr_accessor :course_work
|
629
|
-
|
630
|
-
def initialize(**args)
|
631
|
-
update!(**args)
|
632
|
-
end
|
633
|
-
|
634
|
-
# Update properties of this object
|
635
|
-
def update!(**args)
|
636
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
637
|
-
@course_work = args[:course_work] if args.key?(:course_work)
|
638
|
-
end
|
639
|
-
end
|
640
|
-
|
641
|
-
# YouTube video item.
|
642
|
-
class YouTubeVideo
|
643
|
-
include Google::Apis::Core::Hashable
|
644
|
-
|
645
|
-
# URL of a thumbnail image of the YouTube video.
|
646
|
-
# Read-only.
|
647
|
-
# Corresponds to the JSON property `thumbnailUrl`
|
648
|
-
# @return [String]
|
649
|
-
attr_accessor :thumbnail_url
|
650
|
-
|
651
|
-
# YouTube API resource ID.
|
652
|
-
# Corresponds to the JSON property `id`
|
653
|
-
# @return [String]
|
654
|
-
attr_accessor :id
|
761
|
+
attr_accessor :id
|
655
762
|
|
656
763
|
# Title of the YouTube video.
|
657
764
|
# Read-only.
|
@@ -665,16 +772,22 @@ module Google
|
|
665
772
|
# @return [String]
|
666
773
|
attr_accessor :alternate_link
|
667
774
|
|
775
|
+
# URL of a thumbnail image of the YouTube video.
|
776
|
+
# Read-only.
|
777
|
+
# Corresponds to the JSON property `thumbnailUrl`
|
778
|
+
# @return [String]
|
779
|
+
attr_accessor :thumbnail_url
|
780
|
+
|
668
781
|
def initialize(**args)
|
669
782
|
update!(**args)
|
670
783
|
end
|
671
784
|
|
672
785
|
# Update properties of this object
|
673
786
|
def update!(**args)
|
674
|
-
@thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url)
|
675
787
|
@id = args[:id] if args.key?(:id)
|
676
788
|
@title = args[:title] if args.key?(:title)
|
677
789
|
@alternate_link = args[:alternate_link] if args.key?(:alternate_link)
|
790
|
+
@thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url)
|
678
791
|
end
|
679
792
|
end
|
680
793
|
|
@@ -704,53 +817,6 @@ module Google
|
|
704
817
|
end
|
705
818
|
end
|
706
819
|
|
707
|
-
# An invitation to become the guardian of a specified user, sent to a specified
|
708
|
-
# email address.
|
709
|
-
class GuardianInvitation
|
710
|
-
include Google::Apis::Core::Hashable
|
711
|
-
|
712
|
-
# ID of the student (in standard format)
|
713
|
-
# Corresponds to the JSON property `studentId`
|
714
|
-
# @return [String]
|
715
|
-
attr_accessor :student_id
|
716
|
-
|
717
|
-
# The state that this invitation is in.
|
718
|
-
# Corresponds to the JSON property `state`
|
719
|
-
# @return [String]
|
720
|
-
attr_accessor :state
|
721
|
-
|
722
|
-
# Email address that the invitation was sent to.
|
723
|
-
# This field is only visible to domain administrators.
|
724
|
-
# Corresponds to the JSON property `invitedEmailAddress`
|
725
|
-
# @return [String]
|
726
|
-
attr_accessor :invited_email_address
|
727
|
-
|
728
|
-
# The time that this invitation was created.
|
729
|
-
# Read-only.
|
730
|
-
# Corresponds to the JSON property `creationTime`
|
731
|
-
# @return [String]
|
732
|
-
attr_accessor :creation_time
|
733
|
-
|
734
|
-
# Unique identifier for this invitation.
|
735
|
-
# Read-only.
|
736
|
-
# Corresponds to the JSON property `invitationId`
|
737
|
-
# @return [String]
|
738
|
-
attr_accessor :invitation_id
|
739
|
-
|
740
|
-
def initialize(**args)
|
741
|
-
update!(**args)
|
742
|
-
end
|
743
|
-
|
744
|
-
# Update properties of this object
|
745
|
-
def update!(**args)
|
746
|
-
@student_id = args[:student_id] if args.key?(:student_id)
|
747
|
-
@state = args[:state] if args.key?(:state)
|
748
|
-
@invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address)
|
749
|
-
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
750
|
-
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
|
751
|
-
end
|
752
|
-
end
|
753
|
-
|
754
820
|
# Attachment added to student assignment work.
|
755
821
|
# When creating attachments, setting the `form` field is not supported.
|
756
822
|
class Attachment
|
@@ -789,6 +855,53 @@ module Google
|
|
789
855
|
end
|
790
856
|
end
|
791
857
|
|
858
|
+
# An invitation to become the guardian of a specified user, sent to a specified
|
859
|
+
# email address.
|
860
|
+
class GuardianInvitation
|
861
|
+
include Google::Apis::Core::Hashable
|
862
|
+
|
863
|
+
# The time that this invitation was created.
|
864
|
+
# Read-only.
|
865
|
+
# Corresponds to the JSON property `creationTime`
|
866
|
+
# @return [String]
|
867
|
+
attr_accessor :creation_time
|
868
|
+
|
869
|
+
# Unique identifier for this invitation.
|
870
|
+
# Read-only.
|
871
|
+
# Corresponds to the JSON property `invitationId`
|
872
|
+
# @return [String]
|
873
|
+
attr_accessor :invitation_id
|
874
|
+
|
875
|
+
# ID of the student (in standard format)
|
876
|
+
# Corresponds to the JSON property `studentId`
|
877
|
+
# @return [String]
|
878
|
+
attr_accessor :student_id
|
879
|
+
|
880
|
+
# The state that this invitation is in.
|
881
|
+
# Corresponds to the JSON property `state`
|
882
|
+
# @return [String]
|
883
|
+
attr_accessor :state
|
884
|
+
|
885
|
+
# Email address that the invitation was sent to.
|
886
|
+
# This field is only visible to domain administrators.
|
887
|
+
# Corresponds to the JSON property `invitedEmailAddress`
|
888
|
+
# @return [String]
|
889
|
+
attr_accessor :invited_email_address
|
890
|
+
|
891
|
+
def initialize(**args)
|
892
|
+
update!(**args)
|
893
|
+
end
|
894
|
+
|
895
|
+
# Update properties of this object
|
896
|
+
def update!(**args)
|
897
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
898
|
+
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
|
899
|
+
@student_id = args[:student_id] if args.key?(:student_id)
|
900
|
+
@state = args[:state] if args.key?(:state)
|
901
|
+
@invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address)
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
792
905
|
# A set of materials that appears on the "About" page of the course.
|
793
906
|
# These materials might include a syllabus, schedule, or other background
|
794
907
|
# information relating to the course as a whole.
|
@@ -887,12 +1000,6 @@ module Google
|
|
887
1000
|
class Form
|
888
1001
|
include Google::Apis::Core::Hashable
|
889
1002
|
|
890
|
-
# Title of the Form.
|
891
|
-
# Read-only.
|
892
|
-
# Corresponds to the JSON property `title`
|
893
|
-
# @return [String]
|
894
|
-
attr_accessor :title
|
895
|
-
|
896
1003
|
# URL of a thumbnail image of the Form.
|
897
1004
|
# Read-only.
|
898
1005
|
# Corresponds to the JSON property `thumbnailUrl`
|
@@ -912,16 +1019,22 @@ module Google
|
|
912
1019
|
# @return [String]
|
913
1020
|
attr_accessor :form_url
|
914
1021
|
|
1022
|
+
# Title of the Form.
|
1023
|
+
# Read-only.
|
1024
|
+
# Corresponds to the JSON property `title`
|
1025
|
+
# @return [String]
|
1026
|
+
attr_accessor :title
|
1027
|
+
|
915
1028
|
def initialize(**args)
|
916
1029
|
update!(**args)
|
917
1030
|
end
|
918
1031
|
|
919
1032
|
# Update properties of this object
|
920
1033
|
def update!(**args)
|
921
|
-
@title = args[:title] if args.key?(:title)
|
922
1034
|
@thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url)
|
923
1035
|
@response_url = args[:response_url] if args.key?(:response_url)
|
924
1036
|
@form_url = args[:form_url] if args.key?(:form_url)
|
1037
|
+
@title = args[:title] if args.key?(:title)
|
925
1038
|
end
|
926
1039
|
end
|
927
1040
|
|
@@ -955,6 +1068,12 @@ module Google
|
|
955
1068
|
class Link
|
956
1069
|
include Google::Apis::Core::Hashable
|
957
1070
|
|
1071
|
+
# URL of a thumbnail image of the target URL.
|
1072
|
+
# Read-only.
|
1073
|
+
# Corresponds to the JSON property `thumbnailUrl`
|
1074
|
+
# @return [String]
|
1075
|
+
attr_accessor :thumbnail_url
|
1076
|
+
|
958
1077
|
# URL to link to.
|
959
1078
|
# This must be a valid UTF-8 string containing between 1 and 2024 characters.
|
960
1079
|
# Corresponds to the JSON property `url`
|
@@ -967,21 +1086,15 @@ module Google
|
|
967
1086
|
# @return [String]
|
968
1087
|
attr_accessor :title
|
969
1088
|
|
970
|
-
# URL of a thumbnail image of the target URL.
|
971
|
-
# Read-only.
|
972
|
-
# Corresponds to the JSON property `thumbnailUrl`
|
973
|
-
# @return [String]
|
974
|
-
attr_accessor :thumbnail_url
|
975
|
-
|
976
1089
|
def initialize(**args)
|
977
1090
|
update!(**args)
|
978
1091
|
end
|
979
1092
|
|
980
1093
|
# Update properties of this object
|
981
1094
|
def update!(**args)
|
1095
|
+
@thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url)
|
982
1096
|
@url = args[:url] if args.key?(:url)
|
983
1097
|
@title = args[:title] if args.key?(:title)
|
984
|
-
@thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url)
|
985
1098
|
end
|
986
1099
|
end
|
987
1100
|
|
@@ -1077,25 +1190,25 @@ module Google
|
|
1077
1190
|
class ListGuardianInvitationsResponse
|
1078
1191
|
include Google::Apis::Core::Hashable
|
1079
1192
|
|
1193
|
+
# Guardian invitations that matched the list request.
|
1194
|
+
# Corresponds to the JSON property `guardianInvitations`
|
1195
|
+
# @return [Array<Google::Apis::ClassroomV1::GuardianInvitation>]
|
1196
|
+
attr_accessor :guardian_invitations
|
1197
|
+
|
1080
1198
|
# Token identifying the next page of results to return. If empty, no further
|
1081
1199
|
# results are available.
|
1082
1200
|
# Corresponds to the JSON property `nextPageToken`
|
1083
1201
|
# @return [String]
|
1084
1202
|
attr_accessor :next_page_token
|
1085
1203
|
|
1086
|
-
# Guardian invitations that matched the list request.
|
1087
|
-
# Corresponds to the JSON property `guardianInvitations`
|
1088
|
-
# @return [Array<Google::Apis::ClassroomV1::GuardianInvitation>]
|
1089
|
-
attr_accessor :guardian_invitations
|
1090
|
-
|
1091
1204
|
def initialize(**args)
|
1092
1205
|
update!(**args)
|
1093
1206
|
end
|
1094
1207
|
|
1095
1208
|
# Update properties of this object
|
1096
1209
|
def update!(**args)
|
1097
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1098
1210
|
@guardian_invitations = args[:guardian_invitations] if args.key?(:guardian_invitations)
|
1211
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1099
1212
|
end
|
1100
1213
|
end
|
1101
1214
|
|
@@ -1157,6 +1270,41 @@ module Google
|
|
1157
1270
|
end
|
1158
1271
|
end
|
1159
1272
|
|
1273
|
+
# Details of the user's name.
|
1274
|
+
class Name
|
1275
|
+
include Google::Apis::Core::Hashable
|
1276
|
+
|
1277
|
+
# The user's first name.
|
1278
|
+
# Read-only.
|
1279
|
+
# Corresponds to the JSON property `givenName`
|
1280
|
+
# @return [String]
|
1281
|
+
attr_accessor :given_name
|
1282
|
+
|
1283
|
+
# The user's last name.
|
1284
|
+
# Read-only.
|
1285
|
+
# Corresponds to the JSON property `familyName`
|
1286
|
+
# @return [String]
|
1287
|
+
attr_accessor :family_name
|
1288
|
+
|
1289
|
+
# The user's full name formed by concatenating the first and last name
|
1290
|
+
# values.
|
1291
|
+
# Read-only.
|
1292
|
+
# Corresponds to the JSON property `fullName`
|
1293
|
+
# @return [String]
|
1294
|
+
attr_accessor :full_name
|
1295
|
+
|
1296
|
+
def initialize(**args)
|
1297
|
+
update!(**args)
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
# Update properties of this object
|
1301
|
+
def update!(**args)
|
1302
|
+
@given_name = args[:given_name] if args.key?(:given_name)
|
1303
|
+
@family_name = args[:family_name] if args.key?(:family_name)
|
1304
|
+
@full_name = args[:full_name] if args.key?(:full_name)
|
1305
|
+
end
|
1306
|
+
end
|
1307
|
+
|
1160
1308
|
# A material attached to a course as part of a material set.
|
1161
1309
|
class CourseMaterial
|
1162
1310
|
include Google::Apis::Core::Hashable
|
@@ -1194,41 +1342,6 @@ module Google
|
|
1194
1342
|
end
|
1195
1343
|
end
|
1196
1344
|
|
1197
|
-
# Details of the user's name.
|
1198
|
-
class Name
|
1199
|
-
include Google::Apis::Core::Hashable
|
1200
|
-
|
1201
|
-
# The user's first name.
|
1202
|
-
# Read-only.
|
1203
|
-
# Corresponds to the JSON property `givenName`
|
1204
|
-
# @return [String]
|
1205
|
-
attr_accessor :given_name
|
1206
|
-
|
1207
|
-
# The user's last name.
|
1208
|
-
# Read-only.
|
1209
|
-
# Corresponds to the JSON property `familyName`
|
1210
|
-
# @return [String]
|
1211
|
-
attr_accessor :family_name
|
1212
|
-
|
1213
|
-
# The user's full name formed by concatenating the first and last name
|
1214
|
-
# values.
|
1215
|
-
# Read-only.
|
1216
|
-
# Corresponds to the JSON property `fullName`
|
1217
|
-
# @return [String]
|
1218
|
-
attr_accessor :full_name
|
1219
|
-
|
1220
|
-
def initialize(**args)
|
1221
|
-
update!(**args)
|
1222
|
-
end
|
1223
|
-
|
1224
|
-
# Update properties of this object
|
1225
|
-
def update!(**args)
|
1226
|
-
@given_name = args[:given_name] if args.key?(:given_name)
|
1227
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
1228
|
-
@full_name = args[:full_name] if args.key?(:full_name)
|
1229
|
-
end
|
1230
|
-
end
|
1231
|
-
|
1232
1345
|
# Additional details for assignments.
|
1233
1346
|
class Assignment
|
1234
1347
|
include Google::Apis::Core::Hashable
|
@@ -1315,75 +1428,6 @@ module Google
|
|
1315
1428
|
class Course
|
1316
1429
|
include Google::Apis::Core::Hashable
|
1317
1430
|
|
1318
|
-
# Section of the course.
|
1319
|
-
# For example, "Period 2".
|
1320
|
-
# If set, this field must be a valid UTF-8 string and no longer than 2800
|
1321
|
-
# characters.
|
1322
|
-
# Corresponds to the JSON property `section`
|
1323
|
-
# @return [String]
|
1324
|
-
attr_accessor :section
|
1325
|
-
|
1326
|
-
# Identifier for this course assigned by Classroom.
|
1327
|
-
# When
|
1328
|
-
# creating a course,
|
1329
|
-
# you may optionally set this identifier to an
|
1330
|
-
# alias string in the
|
1331
|
-
# request to create a corresponding alias. The `id` is still assigned by
|
1332
|
-
# Classroom and cannot be updated after the course is created.
|
1333
|
-
# Specifying this field in a course update mask results in an error.
|
1334
|
-
# Corresponds to the JSON property `id`
|
1335
|
-
# @return [String]
|
1336
|
-
attr_accessor :id
|
1337
|
-
|
1338
|
-
# Optional room location.
|
1339
|
-
# For example, "301".
|
1340
|
-
# If set, this field must be a valid UTF-8 string and no longer than 650
|
1341
|
-
# characters.
|
1342
|
-
# Corresponds to the JSON property `room`
|
1343
|
-
# @return [String]
|
1344
|
-
attr_accessor :room
|
1345
|
-
|
1346
|
-
# The email address of a Google group containing all members of the course.
|
1347
|
-
# This group does not accept email and can only be used for permissions.
|
1348
|
-
# Read-only.
|
1349
|
-
# Corresponds to the JSON property `courseGroupEmail`
|
1350
|
-
# @return [String]
|
1351
|
-
attr_accessor :course_group_email
|
1352
|
-
|
1353
|
-
# Enrollment code to use when joining this course.
|
1354
|
-
# Specifying this field in a course update mask results in an error.
|
1355
|
-
# Read-only.
|
1356
|
-
# Corresponds to the JSON property `enrollmentCode`
|
1357
|
-
# @return [String]
|
1358
|
-
attr_accessor :enrollment_code
|
1359
|
-
|
1360
|
-
# Sets of materials that appear on the "about" page of this course.
|
1361
|
-
# Read-only.
|
1362
|
-
# Corresponds to the JSON property `courseMaterialSets`
|
1363
|
-
# @return [Array<Google::Apis::ClassroomV1::CourseMaterialSet>]
|
1364
|
-
attr_accessor :course_material_sets
|
1365
|
-
|
1366
|
-
# Optional heading for the description.
|
1367
|
-
# For example, "Welcome to 10th Grade Biology."
|
1368
|
-
# If set, this field must be a valid UTF-8 string and no longer than 3600
|
1369
|
-
# characters.
|
1370
|
-
# Corresponds to the JSON property `descriptionHeading`
|
1371
|
-
# @return [String]
|
1372
|
-
attr_accessor :description_heading
|
1373
|
-
|
1374
|
-
# Time of the most recent update to this course.
|
1375
|
-
# Specifying this field in a course update mask results in an error.
|
1376
|
-
# Read-only.
|
1377
|
-
# Corresponds to the JSON property `updateTime`
|
1378
|
-
# @return [String]
|
1379
|
-
attr_accessor :update_time
|
1380
|
-
|
1381
|
-
# Absolute link to this course in the Classroom web UI.
|
1382
|
-
# Read-only.
|
1383
|
-
# Corresponds to the JSON property `alternateLink`
|
1384
|
-
# @return [String]
|
1385
|
-
attr_accessor :alternate_link
|
1386
|
-
|
1387
1431
|
# Whether or not guardian notifications are enabled for this course.
|
1388
1432
|
# Read-only.
|
1389
1433
|
# Corresponds to the JSON property `guardiansEnabled`
|
@@ -1448,21 +1492,81 @@ module Google
|
|
1448
1492
|
# @return [Google::Apis::ClassroomV1::DriveFolder]
|
1449
1493
|
attr_accessor :teacher_folder
|
1450
1494
|
|
1495
|
+
# Section of the course.
|
1496
|
+
# For example, "Period 2".
|
1497
|
+
# If set, this field must be a valid UTF-8 string and no longer than 2800
|
1498
|
+
# characters.
|
1499
|
+
# Corresponds to the JSON property `section`
|
1500
|
+
# @return [String]
|
1501
|
+
attr_accessor :section
|
1502
|
+
|
1503
|
+
# Identifier for this course assigned by Classroom.
|
1504
|
+
# When
|
1505
|
+
# creating a course,
|
1506
|
+
# you may optionally set this identifier to an
|
1507
|
+
# alias string in the
|
1508
|
+
# request to create a corresponding alias. The `id` is still assigned by
|
1509
|
+
# Classroom and cannot be updated after the course is created.
|
1510
|
+
# Specifying this field in a course update mask results in an error.
|
1511
|
+
# Corresponds to the JSON property `id`
|
1512
|
+
# @return [String]
|
1513
|
+
attr_accessor :id
|
1514
|
+
|
1515
|
+
# Optional room location.
|
1516
|
+
# For example, "301".
|
1517
|
+
# If set, this field must be a valid UTF-8 string and no longer than 650
|
1518
|
+
# characters.
|
1519
|
+
# Corresponds to the JSON property `room`
|
1520
|
+
# @return [String]
|
1521
|
+
attr_accessor :room
|
1522
|
+
|
1523
|
+
# The email address of a Google group containing all members of the course.
|
1524
|
+
# This group does not accept email and can only be used for permissions.
|
1525
|
+
# Read-only.
|
1526
|
+
# Corresponds to the JSON property `courseGroupEmail`
|
1527
|
+
# @return [String]
|
1528
|
+
attr_accessor :course_group_email
|
1529
|
+
|
1530
|
+
# Sets of materials that appear on the "about" page of this course.
|
1531
|
+
# Read-only.
|
1532
|
+
# Corresponds to the JSON property `courseMaterialSets`
|
1533
|
+
# @return [Array<Google::Apis::ClassroomV1::CourseMaterialSet>]
|
1534
|
+
attr_accessor :course_material_sets
|
1535
|
+
|
1536
|
+
# Enrollment code to use when joining this course.
|
1537
|
+
# Specifying this field in a course update mask results in an error.
|
1538
|
+
# Read-only.
|
1539
|
+
# Corresponds to the JSON property `enrollmentCode`
|
1540
|
+
# @return [String]
|
1541
|
+
attr_accessor :enrollment_code
|
1542
|
+
|
1543
|
+
# Optional heading for the description.
|
1544
|
+
# For example, "Welcome to 10th Grade Biology."
|
1545
|
+
# If set, this field must be a valid UTF-8 string and no longer than 3600
|
1546
|
+
# characters.
|
1547
|
+
# Corresponds to the JSON property `descriptionHeading`
|
1548
|
+
# @return [String]
|
1549
|
+
attr_accessor :description_heading
|
1550
|
+
|
1551
|
+
# Time of the most recent update to this course.
|
1552
|
+
# Specifying this field in a course update mask results in an error.
|
1553
|
+
# Read-only.
|
1554
|
+
# Corresponds to the JSON property `updateTime`
|
1555
|
+
# @return [String]
|
1556
|
+
attr_accessor :update_time
|
1557
|
+
|
1558
|
+
# Absolute link to this course in the Classroom web UI.
|
1559
|
+
# Read-only.
|
1560
|
+
# Corresponds to the JSON property `alternateLink`
|
1561
|
+
# @return [String]
|
1562
|
+
attr_accessor :alternate_link
|
1563
|
+
|
1451
1564
|
def initialize(**args)
|
1452
1565
|
update!(**args)
|
1453
1566
|
end
|
1454
1567
|
|
1455
1568
|
# Update properties of this object
|
1456
1569
|
def update!(**args)
|
1457
|
-
@section = args[:section] if args.key?(:section)
|
1458
|
-
@id = args[:id] if args.key?(:id)
|
1459
|
-
@room = args[:room] if args.key?(:room)
|
1460
|
-
@course_group_email = args[:course_group_email] if args.key?(:course_group_email)
|
1461
|
-
@enrollment_code = args[:enrollment_code] if args.key?(:enrollment_code)
|
1462
|
-
@course_material_sets = args[:course_material_sets] if args.key?(:course_material_sets)
|
1463
|
-
@description_heading = args[:description_heading] if args.key?(:description_heading)
|
1464
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
1465
|
-
@alternate_link = args[:alternate_link] if args.key?(:alternate_link)
|
1466
1570
|
@guardians_enabled = args[:guardians_enabled] if args.key?(:guardians_enabled)
|
1467
1571
|
@owner_id = args[:owner_id] if args.key?(:owner_id)
|
1468
1572
|
@course_state = args[:course_state] if args.key?(:course_state)
|
@@ -1471,6 +1575,15 @@ module Google
|
|
1471
1575
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
1472
1576
|
@name = args[:name] if args.key?(:name)
|
1473
1577
|
@teacher_folder = args[:teacher_folder] if args.key?(:teacher_folder)
|
1578
|
+
@section = args[:section] if args.key?(:section)
|
1579
|
+
@id = args[:id] if args.key?(:id)
|
1580
|
+
@room = args[:room] if args.key?(:room)
|
1581
|
+
@course_group_email = args[:course_group_email] if args.key?(:course_group_email)
|
1582
|
+
@course_material_sets = args[:course_material_sets] if args.key?(:course_material_sets)
|
1583
|
+
@enrollment_code = args[:enrollment_code] if args.key?(:enrollment_code)
|
1584
|
+
@description_heading = args[:description_heading] if args.key?(:description_heading)
|
1585
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1586
|
+
@alternate_link = args[:alternate_link] if args.key?(:alternate_link)
|
1474
1587
|
end
|
1475
1588
|
end
|
1476
1589
|
|
@@ -1545,119 +1658,6 @@ module Google
|
|
1545
1658
|
def update!(**args)
|
1546
1659
|
end
|
1547
1660
|
end
|
1548
|
-
|
1549
|
-
# Teacher of a course.
|
1550
|
-
class Teacher
|
1551
|
-
include Google::Apis::Core::Hashable
|
1552
|
-
|
1553
|
-
# Identifier of the course.
|
1554
|
-
# Read-only.
|
1555
|
-
# Corresponds to the JSON property `courseId`
|
1556
|
-
# @return [String]
|
1557
|
-
attr_accessor :course_id
|
1558
|
-
|
1559
|
-
# Global information for a user.
|
1560
|
-
# Corresponds to the JSON property `profile`
|
1561
|
-
# @return [Google::Apis::ClassroomV1::UserProfile]
|
1562
|
-
attr_accessor :profile
|
1563
|
-
|
1564
|
-
# Identifier of the user.
|
1565
|
-
# When specified as a parameter of a request, this identifier can be one of
|
1566
|
-
# the following:
|
1567
|
-
# * the numeric identifier for the user
|
1568
|
-
# * the email address of the user
|
1569
|
-
# * the string literal `"me"`, indicating the requesting user
|
1570
|
-
# Corresponds to the JSON property `userId`
|
1571
|
-
# @return [String]
|
1572
|
-
attr_accessor :user_id
|
1573
|
-
|
1574
|
-
def initialize(**args)
|
1575
|
-
update!(**args)
|
1576
|
-
end
|
1577
|
-
|
1578
|
-
# Update properties of this object
|
1579
|
-
def update!(**args)
|
1580
|
-
@course_id = args[:course_id] if args.key?(:course_id)
|
1581
|
-
@profile = args[:profile] if args.key?(:profile)
|
1582
|
-
@user_id = args[:user_id] if args.key?(:user_id)
|
1583
|
-
end
|
1584
|
-
end
|
1585
|
-
|
1586
|
-
# Request to reclaim a student submission.
|
1587
|
-
class ReclaimStudentSubmissionRequest
|
1588
|
-
include Google::Apis::Core::Hashable
|
1589
|
-
|
1590
|
-
def initialize(**args)
|
1591
|
-
update!(**args)
|
1592
|
-
end
|
1593
|
-
|
1594
|
-
# Update properties of this object
|
1595
|
-
def update!(**args)
|
1596
|
-
end
|
1597
|
-
end
|
1598
|
-
|
1599
|
-
# Student work for an assignment.
|
1600
|
-
class AssignmentSubmission
|
1601
|
-
include Google::Apis::Core::Hashable
|
1602
|
-
|
1603
|
-
# Attachments added by the student.
|
1604
|
-
# Drive files that correspond to materials with a share mode of
|
1605
|
-
# STUDENT_COPY may not exist yet if the student has not accessed the
|
1606
|
-
# assignment in Classroom.
|
1607
|
-
# Some attachment metadata is only populated if the requesting user has
|
1608
|
-
# permission to access it. Identifier and alternate_link fields are always
|
1609
|
-
# available, but others (e.g. title) may not be.
|
1610
|
-
# Corresponds to the JSON property `attachments`
|
1611
|
-
# @return [Array<Google::Apis::ClassroomV1::Attachment>]
|
1612
|
-
attr_accessor :attachments
|
1613
|
-
|
1614
|
-
def initialize(**args)
|
1615
|
-
update!(**args)
|
1616
|
-
end
|
1617
|
-
|
1618
|
-
# Update properties of this object
|
1619
|
-
def update!(**args)
|
1620
|
-
@attachments = args[:attachments] if args.key?(:attachments)
|
1621
|
-
end
|
1622
|
-
end
|
1623
|
-
|
1624
|
-
# Material attached to course work.
|
1625
|
-
# When creating attachments, setting the `form` field is not supported.
|
1626
|
-
class Material
|
1627
|
-
include Google::Apis::Core::Hashable
|
1628
|
-
|
1629
|
-
# Drive file that is used as material for course work.
|
1630
|
-
# Corresponds to the JSON property `driveFile`
|
1631
|
-
# @return [Google::Apis::ClassroomV1::SharedDriveFile]
|
1632
|
-
attr_accessor :drive_file
|
1633
|
-
|
1634
|
-
# Google Forms item.
|
1635
|
-
# Corresponds to the JSON property `form`
|
1636
|
-
# @return [Google::Apis::ClassroomV1::Form]
|
1637
|
-
attr_accessor :form
|
1638
|
-
|
1639
|
-
# URL item.
|
1640
|
-
# Corresponds to the JSON property `link`
|
1641
|
-
# @return [Google::Apis::ClassroomV1::Link]
|
1642
|
-
attr_accessor :link
|
1643
|
-
|
1644
|
-
# YouTube video item.
|
1645
|
-
# Corresponds to the JSON property `youtubeVideo`
|
1646
|
-
# @return [Google::Apis::ClassroomV1::YouTubeVideo]
|
1647
|
-
attr_accessor :youtube_video
|
1648
|
-
|
1649
|
-
def initialize(**args)
|
1650
|
-
update!(**args)
|
1651
|
-
end
|
1652
|
-
|
1653
|
-
# Update properties of this object
|
1654
|
-
def update!(**args)
|
1655
|
-
@drive_file = args[:drive_file] if args.key?(:drive_file)
|
1656
|
-
@form = args[:form] if args.key?(:form)
|
1657
|
-
@link = args[:link] if args.key?(:link)
|
1658
|
-
@youtube_video = args[:youtube_video] if args.key?(:youtube_video)
|
1659
|
-
end
|
1660
|
-
end
|
1661
1661
|
end
|
1662
1662
|
end
|
1663
1663
|
end
|