google-api-client 0.42.2 → 0.43.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 +129 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -270
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +733 -1180
- data/generated/google/apis/apigee_v1/service.rb +879 -1133
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -492
- data/generated/google/apis/customsearch_v1/service.rb +184 -341
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
- data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/datafusion_v1/representations.rb +390 -0
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +192 -316
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
- data/generated/google/apis/dialogflow_v2/service.rb +324 -448
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
- data/generated/google/apis/displayvideo_v1/service.rb +104 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +257 -286
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/memcache_v1.rb +35 -0
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/memcache_v1/service.rb +558 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +12 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +31 -14
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +721 -0
- data/generated/google/apis/osconfig_v1/representations.rb +337 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +148 -13
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +60 -48
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -2
- data/generated/google/apis/run_v1/service.rb +38 -2
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
- data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +937 -1175
- data/generated/google/apis/youtube_v3/service.rb +975 -1284
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -7
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -20,13 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Blogger API v3
|
22
22
|
#
|
23
|
-
# The Blogger API provides access to posts, comments and pages of a
|
24
|
-
# Blogger blog.
|
23
|
+
# The Blogger API provides access to posts, comments and pages of a Blogger blog.
|
25
24
|
#
|
26
25
|
# @see https://developers.google.com/blogger/docs/3.0/getting_started
|
27
26
|
module BloggerV2
|
28
27
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
28
|
+
REVISION = '20200801'
|
30
29
|
|
31
30
|
# Manage your Blogger account
|
32
31
|
AUTH_BLOGGER = 'https://www.googleapis.com/auth/blogger'
|
@@ -256,8 +256,7 @@ module Google
|
|
256
256
|
# @return [String]
|
257
257
|
attr_accessor :photos_album_key
|
258
258
|
|
259
|
-
# Access permissions that the user has for the blog (ADMIN, AUTHOR, or
|
260
|
-
# READER).
|
259
|
+
# Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).
|
261
260
|
# Corresponds to the JSON property `role`
|
262
261
|
# @return [String]
|
263
262
|
attr_accessor :role
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module BloggerV2
|
23
23
|
# Blogger API v3
|
24
24
|
#
|
25
|
-
# The Blogger API provides access to posts, comments and pages of a
|
26
|
-
# Blogger blog.
|
25
|
+
# The Blogger API provides access to posts, comments and pages of a Blogger blog.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/blogger_v2'
|
@@ -20,13 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Blogger API v3
|
22
22
|
#
|
23
|
-
# The Blogger API provides access to posts, comments and pages of a
|
24
|
-
# Blogger blog.
|
23
|
+
# The Blogger API provides access to posts, comments and pages of a Blogger blog.
|
25
24
|
#
|
26
25
|
# @see https://developers.google.com/blogger/docs/3.0/getting_started
|
27
26
|
module BloggerV3
|
28
27
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
28
|
+
REVISION = '20200801'
|
30
29
|
|
31
30
|
# Manage your Blogger account
|
32
31
|
AUTH_BLOGGER = 'https://www.googleapis.com/auth/blogger'
|
@@ -256,8 +256,7 @@ module Google
|
|
256
256
|
# @return [String]
|
257
257
|
attr_accessor :photos_album_key
|
258
258
|
|
259
|
-
# Access permissions that the user has for the blog (ADMIN, AUTHOR, or
|
260
|
-
# READER).
|
259
|
+
# Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).
|
261
260
|
# Corresponds to the JSON property `role`
|
262
261
|
# @return [String]
|
263
262
|
attr_accessor :role
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module BloggerV3
|
23
23
|
# Blogger API v3
|
24
24
|
#
|
25
|
-
# The Blogger API provides access to posts, comments and pages of a
|
26
|
-
# Blogger blog.
|
25
|
+
# The Blogger API provides access to posts, comments and pages of a Blogger blog.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/blogger_v3'
|
@@ -22,25 +22,23 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ChromeuxreportV1
|
24
24
|
|
25
|
-
# A bin is a discrete portion of data spanning from start to end, or if no
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# therefore its metric bins will use strings for its value type.
|
25
|
+
# A bin is a discrete portion of data spanning from start to end, or if no end
|
26
|
+
# is given, then from start to +inf. A bin's start and end values are given in
|
27
|
+
# the value type of the metric it represents. For example, "first contentful
|
28
|
+
# paint" is measured in milliseconds and exposed as ints, therefore its metric
|
29
|
+
# bins will use int32s for its start and end types. However, "cumulative layout
|
30
|
+
# shift" is measured in unitless decimals and is exposed as a decimal encoded as
|
31
|
+
# a string, therefore its metric bins will use strings for its value type.
|
33
32
|
class Bin
|
34
33
|
include Google::Apis::Core::Hashable
|
35
34
|
|
36
|
-
# The proportion of users that experienced this bin's value for the given
|
37
|
-
# metric.
|
35
|
+
# The proportion of users that experienced this bin's value for the given metric.
|
38
36
|
# Corresponds to the JSON property `density`
|
39
37
|
# @return [Float]
|
40
38
|
attr_accessor :density
|
41
39
|
|
42
|
-
# End is the end of the data bin. If end is not populated, then the bin has
|
43
|
-
#
|
40
|
+
# End is the end of the data bin. If end is not populated, then the bin has no
|
41
|
+
# end and is valid from start to +inf.
|
44
42
|
# Corresponds to the JSON property `end`
|
45
43
|
# @return [Object]
|
46
44
|
attr_accessor :end
|
@@ -66,34 +64,31 @@ module Google
|
|
66
64
|
class Key
|
67
65
|
include Google::Apis::Core::Hashable
|
68
66
|
|
69
|
-
# The effective connection type is the general connection class that all
|
70
|
-
#
|
71
|
-
# "
|
72
|
-
#
|
73
|
-
#
|
74
|
-
# over all effective connection types will be returned.
|
67
|
+
# The effective connection type is the general connection class that all users
|
68
|
+
# experienced for this record. This field uses the values ["offline", "slow-2G",
|
69
|
+
# "2G", "3G", "4G"] as specified in: https://wicg.github.io/netinfo/#effective-
|
70
|
+
# connection-types If the effective connection type is unspecified, then
|
71
|
+
# aggregated data over all effective connection types will be returned.
|
75
72
|
# Corresponds to the JSON property `effectiveConnectionType`
|
76
73
|
# @return [String]
|
77
74
|
attr_accessor :effective_connection_type
|
78
75
|
|
79
|
-
# The form factor is the device class that all users used to access the
|
80
|
-
#
|
81
|
-
#
|
82
|
-
# factors will be returned.
|
76
|
+
# The form factor is the device class that all users used to access the site for
|
77
|
+
# this record. If the form factor is unspecified, then aggregated data over all
|
78
|
+
# form factors will be returned.
|
83
79
|
# Corresponds to the JSON property `formFactor`
|
84
80
|
# @return [String]
|
85
81
|
attr_accessor :form_factor
|
86
82
|
|
87
|
-
# Origin specifies the origin that this record is for.
|
88
|
-
#
|
89
|
-
#
|
83
|
+
# Origin specifies the origin that this record is for. Note: When specifying an
|
84
|
+
# origin, data for loads under this origin over all pages are aggregated into
|
85
|
+
# origin level user experience data.
|
90
86
|
# Corresponds to the JSON property `origin`
|
91
87
|
# @return [String]
|
92
88
|
attr_accessor :origin
|
93
89
|
|
94
|
-
# Url specifies a specific url that this record is for.
|
95
|
-
#
|
96
|
-
# aggregated.
|
90
|
+
# Url specifies a specific url that this record is for. Note: When specifying a "
|
91
|
+
# url" only data for that specific url will be aggregated.
|
97
92
|
# Corresponds to the JSON property `url`
|
98
93
|
# @return [String]
|
99
94
|
attr_accessor :url
|
@@ -112,8 +107,8 @@ module Google
|
|
112
107
|
end
|
113
108
|
|
114
109
|
# A `metric` is a set of user experience data for a single web performance
|
115
|
-
# metric, like "first contentful paint". It contains a summary histogram of
|
116
|
-
#
|
110
|
+
# metric, like "first contentful paint". It contains a summary histogram of real
|
111
|
+
# world Chrome usage as a series of `bins`.
|
117
112
|
class Metric
|
118
113
|
include Google::Apis::Core::Hashable
|
119
114
|
|
@@ -124,8 +119,8 @@ module Google
|
|
124
119
|
attr_accessor :histogram
|
125
120
|
|
126
121
|
# Percentiles contains synthetic values of a metric at a given statistical
|
127
|
-
# percentile. These are used for estimating a metric's value as experienced
|
128
|
-
#
|
122
|
+
# percentile. These are used for estimating a metric's value as experienced by a
|
123
|
+
# percentage of users out of the total number of users.
|
129
124
|
# Corresponds to the JSON property `percentiles`
|
130
125
|
# @return [Google::Apis::ChromeuxreportV1::Percentiles]
|
131
126
|
attr_accessor :percentiles
|
@@ -142,8 +137,8 @@ module Google
|
|
142
137
|
end
|
143
138
|
|
144
139
|
# Percentiles contains synthetic values of a metric at a given statistical
|
145
|
-
# percentile. These are used for estimating a metric's value as experienced
|
146
|
-
#
|
140
|
+
# percentile. These are used for estimating a metric's value as experienced by a
|
141
|
+
# percentage of users out of the total number of users.
|
147
142
|
class Percentiles
|
148
143
|
include Google::Apis::Core::Hashable
|
149
144
|
|
@@ -162,49 +157,44 @@ module Google
|
|
162
157
|
end
|
163
158
|
end
|
164
159
|
|
165
|
-
# Request payload sent by a physical web client.
|
166
|
-
#
|
167
|
-
# user experience record.
|
160
|
+
# Request payload sent by a physical web client. This request includes all
|
161
|
+
# necessary context to load a particular user experience record.
|
168
162
|
class QueryRequest
|
169
163
|
include Google::Apis::Core::Hashable
|
170
164
|
|
171
165
|
# The effective connection type is a query dimension that specifies the
|
172
166
|
# effective network class that the record's data should belong to. This field
|
173
167
|
# uses the values ["offline", "slow-2G", "2G", "3G", "4G"] as specified in:
|
174
|
-
# https://wicg.github.io/netinfo/#effective-connection-types
|
175
|
-
#
|
176
|
-
#
|
168
|
+
# https://wicg.github.io/netinfo/#effective-connection-types Note: If no
|
169
|
+
# effective connection type is specified, then a special record with aggregated
|
170
|
+
# data over all effective connection types will be returned.
|
177
171
|
# Corresponds to the JSON property `effectiveConnectionType`
|
178
172
|
# @return [String]
|
179
173
|
attr_accessor :effective_connection_type
|
180
174
|
|
181
|
-
# The form factor is a query dimension that specifies the device class that
|
182
|
-
#
|
183
|
-
#
|
184
|
-
# aggregated data over all form factors will be returned.
|
175
|
+
# The form factor is a query dimension that specifies the device class that the
|
176
|
+
# record's data should belong to. Note: If no form factor is specified, then a
|
177
|
+
# special record with aggregated data over all form factors will be returned.
|
185
178
|
# Corresponds to the JSON property `formFactor`
|
186
179
|
# @return [String]
|
187
180
|
attr_accessor :form_factor
|
188
181
|
|
189
|
-
# The metrics that should be included in the response.
|
190
|
-
#
|
191
|
-
#
|
192
|
-
# "
|
193
|
-
# "cumulative_layout_shift"]
|
182
|
+
# The metrics that should be included in the response. If none are specified
|
183
|
+
# then any metrics found will be returned. Allowed values: ["
|
184
|
+
# first_contentful_paint", "first_input_delay", "largest_contentful_paint", "
|
185
|
+
# cumulative_layout_shift"]
|
194
186
|
# Corresponds to the JSON property `metrics`
|
195
187
|
# @return [Array<String>]
|
196
188
|
attr_accessor :metrics
|
197
189
|
|
198
|
-
# The url pattern "origin" refers to a url pattern that is the origin of
|
199
|
-
#
|
200
|
-
# Examples: "https://example.com", "https://cloud.google.com"
|
190
|
+
# The url pattern "origin" refers to a url pattern that is the origin of a
|
191
|
+
# website. Examples: "https://example.com", "https://cloud.google.com"
|
201
192
|
# Corresponds to the JSON property `origin`
|
202
193
|
# @return [String]
|
203
194
|
attr_accessor :origin
|
204
195
|
|
205
196
|
# The url pattern "url" refers to a url pattern that is any arbitrary url.
|
206
|
-
# Examples: "https://example.com/",
|
207
|
-
# "https://cloud.google.com/why-google-cloud/"
|
197
|
+
# Examples: "https://example.com/", "https://cloud.google.com/why-google-cloud/"
|
208
198
|
# Corresponds to the JSON property `url`
|
209
199
|
# @return [String]
|
210
200
|
attr_accessor :url
|
@@ -223,11 +213,11 @@ module Google
|
|
223
213
|
end
|
224
214
|
end
|
225
215
|
|
226
|
-
# Response payload sent back to a physical web client.
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
216
|
+
# Response payload sent back to a physical web client. This response contains
|
217
|
+
# the record found based on the identiers present in a `QueryRequest`. The
|
218
|
+
# returned response will have a record, and sometimes details on normalization
|
219
|
+
# actions taken on the request that were necessary to make the request
|
220
|
+
# successful.
|
231
221
|
class QueryResponse
|
232
222
|
include Google::Apis::Core::Hashable
|
233
223
|
|
@@ -266,11 +256,10 @@ module Google
|
|
266
256
|
# @return [Google::Apis::ChromeuxreportV1::Key]
|
267
257
|
attr_accessor :key
|
268
258
|
|
269
|
-
# Metrics is the map of user experience data available for the record defined
|
270
|
-
#
|
271
|
-
#
|
272
|
-
# "
|
273
|
-
# "cumulative_layout_shift"]
|
259
|
+
# Metrics is the map of user experience data available for the record defined in
|
260
|
+
# the key field. Metrics are keyed on the metric name. Allowed key values: ["
|
261
|
+
# first_contentful_paint", "first_input_delay", "largest_contentful_paint", "
|
262
|
+
# cumulative_layout_shift"]
|
274
263
|
# Corresponds to the JSON property `metrics`
|
275
264
|
# @return [Hash<String,Google::Apis::ChromeuxreportV1::Metric>]
|
276
265
|
attr_accessor :metrics
|
@@ -293,8 +282,8 @@ module Google
|
|
293
282
|
class UrlNormalization
|
294
283
|
include Google::Apis::Core::Hashable
|
295
284
|
|
296
|
-
# The URL after any normalization actions. This is a valid user experience
|
297
|
-
#
|
285
|
+
# The URL after any normalization actions. This is a valid user experience URL
|
286
|
+
# that could reasonably be looked up.
|
298
287
|
# Corresponds to the JSON property `normalizedUrl`
|
299
288
|
# @return [String]
|
300
289
|
attr_accessor :normalized_url
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/classroom/
|
26
26
|
module ClassroomV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200801'
|
29
29
|
|
30
30
|
# View and manage announcements in Google Classroom
|
31
31
|
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
@@ -26,51 +26,46 @@ module Google
|
|
26
26
|
class Announcement
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Absolute link to this announcement in the Classroom web UI.
|
30
|
-
#
|
31
|
-
# Read-only.
|
29
|
+
# Absolute link to this announcement in the Classroom web UI. This is only
|
30
|
+
# populated if `state` is `PUBLISHED`. Read-only.
|
32
31
|
# Corresponds to the JSON property `alternateLink`
|
33
32
|
# @return [String]
|
34
33
|
attr_accessor :alternate_link
|
35
34
|
|
36
|
-
# Assignee mode of the announcement.
|
37
|
-
#
|
35
|
+
# Assignee mode of the announcement. If unspecified, the default value is `
|
36
|
+
# ALL_STUDENTS`.
|
38
37
|
# Corresponds to the JSON property `assigneeMode`
|
39
38
|
# @return [String]
|
40
39
|
attr_accessor :assignee_mode
|
41
40
|
|
42
|
-
# Identifier of the course.
|
43
|
-
# Read-only.
|
41
|
+
# Identifier of the course. Read-only.
|
44
42
|
# Corresponds to the JSON property `courseId`
|
45
43
|
# @return [String]
|
46
44
|
attr_accessor :course_id
|
47
45
|
|
48
|
-
# Timestamp when this announcement was created.
|
49
|
-
# Read-only.
|
46
|
+
# Timestamp when this announcement was created. Read-only.
|
50
47
|
# Corresponds to the JSON property `creationTime`
|
51
48
|
# @return [String]
|
52
49
|
attr_accessor :creation_time
|
53
50
|
|
54
|
-
# Identifier for the user that created the announcement.
|
55
|
-
# Read-only.
|
51
|
+
# Identifier for the user that created the announcement. Read-only.
|
56
52
|
# Corresponds to the JSON property `creatorUserId`
|
57
53
|
# @return [String]
|
58
54
|
attr_accessor :creator_user_id
|
59
55
|
|
60
|
-
# Classroom-assigned identifier of this announcement, unique per course.
|
61
|
-
#
|
56
|
+
# Classroom-assigned identifier of this announcement, unique per course. Read-
|
57
|
+
# only.
|
62
58
|
# Corresponds to the JSON property `id`
|
63
59
|
# @return [String]
|
64
60
|
attr_accessor :id
|
65
61
|
|
66
|
-
# Assignee details about a coursework/announcement.
|
67
|
-
#
|
62
|
+
# Assignee details about a coursework/announcement. This field is set if and
|
63
|
+
# only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
|
68
64
|
# Corresponds to the JSON property `individualStudentsOptions`
|
69
65
|
# @return [Google::Apis::ClassroomV1::IndividualStudentsOptions]
|
70
66
|
attr_accessor :individual_students_options
|
71
67
|
|
72
|
-
# Additional materials.
|
73
|
-
# Announcements must have no more than 20 material items.
|
68
|
+
# Additional materials. Announcements must have no more than 20 material items.
|
74
69
|
# Corresponds to the JSON property `materials`
|
75
70
|
# @return [Array<Google::Apis::ClassroomV1::Material>]
|
76
71
|
attr_accessor :materials
|
@@ -80,21 +75,18 @@ module Google
|
|
80
75
|
# @return [String]
|
81
76
|
attr_accessor :scheduled_time
|
82
77
|
|
83
|
-
# Status of this announcement.
|
84
|
-
# If unspecified, the default state is `DRAFT`.
|
78
|
+
# Status of this announcement. If unspecified, the default state is `DRAFT`.
|
85
79
|
# Corresponds to the JSON property `state`
|
86
80
|
# @return [String]
|
87
81
|
attr_accessor :state
|
88
82
|
|
89
|
-
# Description of this announcement.
|
90
|
-
#
|
91
|
-
# than 30,000 characters.
|
83
|
+
# Description of this announcement. The text must be a valid UTF-8 string
|
84
|
+
# containing no more than 30,000 characters.
|
92
85
|
# Corresponds to the JSON property `text`
|
93
86
|
# @return [String]
|
94
87
|
attr_accessor :text
|
95
88
|
|
96
|
-
# Timestamp of the most recent change to this announcement.
|
97
|
-
# Read-only.
|
89
|
+
# Timestamp of the most recent change to this announcement. Read-only.
|
98
90
|
# Corresponds to the JSON property `updateTime`
|
99
91
|
# @return [String]
|
100
92
|
attr_accessor :update_time
|
@@ -143,13 +135,12 @@ module Google
|
|
143
135
|
class AssignmentSubmission
|
144
136
|
include Google::Apis::Core::Hashable
|
145
137
|
|
146
|
-
# Attachments added by the student.
|
147
|
-
#
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
# available, but others (for example, title) may not be.
|
138
|
+
# Attachments added by the student. Drive files that correspond to materials
|
139
|
+
# with a share mode of STUDENT_COPY may not exist yet if the student has not
|
140
|
+
# accessed the assignment in Classroom. Some attachment metadata is only
|
141
|
+
# populated if the requesting user has permission to access it. Identifier and
|
142
|
+
# alternate_link fields are always available, but others (for example, title)
|
143
|
+
# may not be.
|
153
144
|
# Corresponds to the JSON property `attachments`
|
154
145
|
# @return [Array<Google::Apis::ClassroomV1::Attachment>]
|
155
146
|
attr_accessor :attachments
|
@@ -164,8 +155,8 @@ module Google
|
|
164
155
|
end
|
165
156
|
end
|
166
157
|
|
167
|
-
# Attachment added to student assignment work.
|
168
|
-
#
|
158
|
+
# Attachment added to student assignment work. When creating attachments,
|
159
|
+
# setting the `form` field is not supported.
|
169
160
|
class Attachment
|
170
161
|
include Google::Apis::Core::Hashable
|
171
162
|
|
@@ -202,16 +193,14 @@ module Google
|
|
202
193
|
end
|
203
194
|
end
|
204
195
|
|
205
|
-
# A reference to a Cloud Pub/Sub topic.
|
206
|
-
#
|
207
|
-
# `
|
208
|
-
# `projects.topics.publish` permission.
|
196
|
+
# A reference to a Cloud Pub/Sub topic. To register for notifications, the owner
|
197
|
+
# of the topic must grant `classroom-notifications@system.gserviceaccount.com`
|
198
|
+
# the `projects.topics.publish` permission.
|
209
199
|
class CloudPubsubTopic
|
210
200
|
include Google::Apis::Core::Hashable
|
211
201
|
|
212
|
-
# The `name` field of a Cloud Pub/Sub
|
213
|
-
#
|
214
|
-
# Topic).
|
202
|
+
# The `name` field of a Cloud Pub/Sub [Topic](https://cloud.google.com/pubsub/
|
203
|
+
# docs/reference/rest/v1/projects.topics#Topic).
|
215
204
|
# Corresponds to the JSON property `topicName`
|
216
205
|
# @return [String]
|
217
206
|
attr_accessor :topic_name
|
@@ -230,124 +219,100 @@ module Google
|
|
230
219
|
class Course
|
231
220
|
include Google::Apis::Core::Hashable
|
232
221
|
|
233
|
-
# Absolute link to this course in the Classroom web UI.
|
234
|
-
# Read-only.
|
222
|
+
# Absolute link to this course in the Classroom web UI. Read-only.
|
235
223
|
# Corresponds to the JSON property `alternateLink`
|
236
224
|
# @return [String]
|
237
225
|
attr_accessor :alternate_link
|
238
226
|
|
239
227
|
# The Calendar ID for a calendar that all course members can see, to which
|
240
|
-
# Classroom adds events for course work and announcements in the course.
|
241
|
-
#
|
228
|
+
# Classroom adds events for course work and announcements in the course. Read-
|
229
|
+
# only.
|
242
230
|
# Corresponds to the JSON property `calendarId`
|
243
231
|
# @return [String]
|
244
232
|
attr_accessor :calendar_id
|
245
233
|
|
246
|
-
# The email address of a Google group containing all members of the course.
|
247
|
-
#
|
248
|
-
# Read-only.
|
234
|
+
# The email address of a Google group containing all members of the course. This
|
235
|
+
# group does not accept email and can only be used for permissions. Read-only.
|
249
236
|
# Corresponds to the JSON property `courseGroupEmail`
|
250
237
|
# @return [String]
|
251
238
|
attr_accessor :course_group_email
|
252
239
|
|
253
|
-
# Sets of materials that appear on the "about" page of this course.
|
254
|
-
# Read-only.
|
240
|
+
# Sets of materials that appear on the "about" page of this course. Read-only.
|
255
241
|
# Corresponds to the JSON property `courseMaterialSets`
|
256
242
|
# @return [Array<Google::Apis::ClassroomV1::CourseMaterialSet>]
|
257
243
|
attr_accessor :course_material_sets
|
258
244
|
|
259
|
-
# State of the course.
|
260
|
-
# If unspecified, the default state is `PROVISIONED`.
|
245
|
+
# State of the course. If unspecified, the default state is `PROVISIONED`.
|
261
246
|
# Corresponds to the JSON property `courseState`
|
262
247
|
# @return [String]
|
263
248
|
attr_accessor :course_state
|
264
249
|
|
265
|
-
# Creation time of the course.
|
266
|
-
#
|
267
|
-
# Read-only.
|
250
|
+
# Creation time of the course. Specifying this field in a course update mask
|
251
|
+
# results in an error. Read-only.
|
268
252
|
# Corresponds to the JSON property `creationTime`
|
269
253
|
# @return [String]
|
270
254
|
attr_accessor :creation_time
|
271
255
|
|
272
|
-
# Optional description.
|
273
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
# If set, this field must be a valid UTF-8 string and no longer than 30,000
|
277
|
-
# characters.
|
256
|
+
# Optional description. For example, "We'll be learning about the structure of
|
257
|
+
# living creatures from a combination of textbooks, guest lectures, and lab work.
|
258
|
+
# Expect to be excited!" If set, this field must be a valid UTF-8 string and no
|
259
|
+
# longer than 30,000 characters.
|
278
260
|
# Corresponds to the JSON property `description`
|
279
261
|
# @return [String]
|
280
262
|
attr_accessor :description
|
281
263
|
|
282
|
-
# Optional heading for the description.
|
283
|
-
#
|
284
|
-
#
|
285
|
-
# characters.
|
264
|
+
# Optional heading for the description. For example, "Welcome to 10th Grade
|
265
|
+
# Biology." If set, this field must be a valid UTF-8 string and no longer than
|
266
|
+
# 3600 characters.
|
286
267
|
# Corresponds to the JSON property `descriptionHeading`
|
287
268
|
# @return [String]
|
288
269
|
attr_accessor :description_heading
|
289
270
|
|
290
|
-
# Enrollment code to use when joining this course.
|
291
|
-
#
|
292
|
-
# Read-only.
|
271
|
+
# Enrollment code to use when joining this course. Specifying this field in a
|
272
|
+
# course update mask results in an error. Read-only.
|
293
273
|
# Corresponds to the JSON property `enrollmentCode`
|
294
274
|
# @return [String]
|
295
275
|
attr_accessor :enrollment_code
|
296
276
|
|
297
|
-
# Whether or not guardian notifications are enabled for this course.
|
298
|
-
# Read-only.
|
277
|
+
# Whether or not guardian notifications are enabled for this course. Read-only.
|
299
278
|
# Corresponds to the JSON property `guardiansEnabled`
|
300
279
|
# @return [Boolean]
|
301
280
|
attr_accessor :guardians_enabled
|
302
281
|
alias_method :guardians_enabled?, :guardians_enabled
|
303
282
|
|
304
|
-
# Identifier for this course assigned by Classroom.
|
305
|
-
#
|
306
|
-
#
|
307
|
-
#
|
308
|
-
#
|
309
|
-
# request to create a corresponding alias. The `id` is still assigned by
|
310
|
-
# Classroom and cannot be updated after the course is created.
|
311
|
-
# Specifying this field in a course update mask results in an error.
|
283
|
+
# Identifier for this course assigned by Classroom. When creating a course, you
|
284
|
+
# may optionally set this identifier to an alias string in the request to create
|
285
|
+
# a corresponding alias. The `id` is still assigned by Classroom and cannot be
|
286
|
+
# updated after the course is created. Specifying this field in a course update
|
287
|
+
# mask results in an error.
|
312
288
|
# Corresponds to the JSON property `id`
|
313
289
|
# @return [String]
|
314
290
|
attr_accessor :id
|
315
291
|
|
316
|
-
# Name of the course.
|
317
|
-
#
|
318
|
-
# The name is required. It must be between 1 and 750 characters and a valid
|
319
|
-
# UTF-8 string.
|
292
|
+
# Name of the course. For example, "10th Grade Biology". The name is required.
|
293
|
+
# It must be between 1 and 750 characters and a valid UTF-8 string.
|
320
294
|
# Corresponds to the JSON property `name`
|
321
295
|
# @return [String]
|
322
296
|
attr_accessor :name
|
323
297
|
|
324
|
-
# The identifier of the owner of a course.
|
325
|
-
#
|
326
|
-
#
|
327
|
-
#
|
328
|
-
#
|
329
|
-
#
|
330
|
-
# * the email address of the user
|
331
|
-
# * the string literal `"me"`, indicating the requesting user
|
332
|
-
# This must be set in a create request. Admins can also specify this field
|
333
|
-
# in a patch course request to
|
334
|
-
# transfer ownership. In other contexts, it is read-only.
|
298
|
+
# The identifier of the owner of a course. When specified as a parameter of a
|
299
|
+
# create course request, this field is required. The identifier can be one of
|
300
|
+
# the following: * the numeric identifier for the user * the email address of
|
301
|
+
# the user * the string literal `"me"`, indicating the requesting user This must
|
302
|
+
# be set in a create request. Admins can also specify this field in a patch
|
303
|
+
# course request to transfer ownership. In other contexts, it is read-only.
|
335
304
|
# Corresponds to the JSON property `ownerId`
|
336
305
|
# @return [String]
|
337
306
|
attr_accessor :owner_id
|
338
307
|
|
339
|
-
# Optional room location.
|
340
|
-
#
|
341
|
-
# If set, this field must be a valid UTF-8 string and no longer than 650
|
342
|
-
# characters.
|
308
|
+
# Optional room location. For example, "301". If set, this field must be a valid
|
309
|
+
# UTF-8 string and no longer than 650 characters.
|
343
310
|
# Corresponds to the JSON property `room`
|
344
311
|
# @return [String]
|
345
312
|
attr_accessor :room
|
346
313
|
|
347
|
-
# Section of the course.
|
348
|
-
#
|
349
|
-
# If set, this field must be a valid UTF-8 string and no longer than 2800
|
350
|
-
# characters.
|
314
|
+
# Section of the course. For example, "Period 2". If set, this field must be a
|
315
|
+
# valid UTF-8 string and no longer than 2800 characters.
|
351
316
|
# Corresponds to the JSON property `section`
|
352
317
|
# @return [String]
|
353
318
|
attr_accessor :section
|
@@ -358,15 +323,14 @@ module Google
|
|
358
323
|
attr_accessor :teacher_folder
|
359
324
|
|
360
325
|
# The email address of a Google group containing all teachers of the course.
|
361
|
-
# This group does not accept email and can only be used for permissions.
|
362
|
-
#
|
326
|
+
# This group does not accept email and can only be used for permissions. Read-
|
327
|
+
# only.
|
363
328
|
# Corresponds to the JSON property `teacherGroupEmail`
|
364
329
|
# @return [String]
|
365
330
|
attr_accessor :teacher_group_email
|
366
331
|
|
367
|
-
# Time of the most recent update to this course.
|
368
|
-
#
|
369
|
-
# Read-only.
|
332
|
+
# Time of the most recent update to this course. Specifying this field in a
|
333
|
+
# course update mask results in an error. Read-only.
|
370
334
|
# Corresponds to the JSON property `updateTime`
|
371
335
|
# @return [String]
|
372
336
|
attr_accessor :update_time
|
@@ -398,27 +362,24 @@ module Google
|
|
398
362
|
end
|
399
363
|
end
|
400
364
|
|
401
|
-
# Alternative identifier for a course.
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
406
|
-
# alias is
|
407
|
-
#
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
412
|
-
# a request will return `ALREADY_EXISTS` if a previous one has succeeded.
|
365
|
+
# Alternative identifier for a course. An alias uniquely identifies a course. It
|
366
|
+
# must be unique within one of the following scopes: * domain: A domain-scoped
|
367
|
+
# alias is visible to all users within the alias creator's domain and can be
|
368
|
+
# created only by a domain admin. A domain-scoped alias is often used when a
|
369
|
+
# course has an identifier external to Classroom. * project: A project-scoped
|
370
|
+
# alias is visible to any request from an application using the Developer
|
371
|
+
# Console project ID that created the alias and can be created by any project. A
|
372
|
+
# project-scoped alias is often used when an application has alternative
|
373
|
+
# identifiers. A random value can also be used to avoid duplicate courses in the
|
374
|
+
# event of transmission failures, as retrying a request will return `
|
375
|
+
# ALREADY_EXISTS` if a previous one has succeeded.
|
413
376
|
class CourseAlias
|
414
377
|
include Google::Apis::Core::Hashable
|
415
378
|
|
416
|
-
# Alias string. The format of the string indicates the desired alias scoping.
|
417
|
-
#
|
418
|
-
# Example: `
|
419
|
-
#
|
420
|
-
# Example: `p:abc123`
|
421
|
-
# This field has a maximum length of 256 characters.
|
379
|
+
# Alias string. The format of the string indicates the desired alias scoping. * `
|
380
|
+
# d:` indicates a domain-scoped alias. Example: `d:math_101` * `p:` indicates a
|
381
|
+
# project-scoped alias. Example: `p:abc123` This field has a maximum length of
|
382
|
+
# 256 characters.
|
422
383
|
# Corresponds to the JSON property `alias`
|
423
384
|
# @return [String]
|
424
385
|
attr_accessor :alias
|
@@ -470,9 +431,9 @@ module Google
|
|
470
431
|
end
|
471
432
|
end
|
472
433
|
|
473
|
-
# A set of materials that appears on the "About" page of the course.
|
474
|
-
#
|
475
|
-
#
|
434
|
+
# A set of materials that appears on the "About" page of the course. These
|
435
|
+
# materials might include a syllabus, schedule, or other background information
|
436
|
+
# relating to the course as a whole.
|
476
437
|
class CourseMaterialSet
|
477
438
|
include Google::Apis::Core::Hashable
|
478
439
|
|
@@ -520,15 +481,14 @@ module Google
|
|
520
481
|
class CourseWork
|
521
482
|
include Google::Apis::Core::Hashable
|
522
483
|
|
523
|
-
# Absolute link to this course work in the Classroom web UI.
|
524
|
-
#
|
525
|
-
# Read-only.
|
484
|
+
# Absolute link to this course work in the Classroom web UI. This is only
|
485
|
+
# populated if `state` is `PUBLISHED`. Read-only.
|
526
486
|
# Corresponds to the JSON property `alternateLink`
|
527
487
|
# @return [String]
|
528
488
|
attr_accessor :alternate_link
|
529
489
|
|
530
|
-
# Assignee mode of the coursework.
|
531
|
-
#
|
490
|
+
# Assignee mode of the coursework. If unspecified, the default value is `
|
491
|
+
# ALL_STUDENTS`.
|
532
492
|
# Corresponds to the JSON property `assigneeMode`
|
533
493
|
# @return [String]
|
534
494
|
attr_accessor :assignee_mode
|
@@ -538,81 +498,72 @@ module Google
|
|
538
498
|
# @return [Google::Apis::ClassroomV1::Assignment]
|
539
499
|
attr_accessor :assignment
|
540
500
|
|
541
|
-
# Whether this course work item is associated with the Developer Console
|
542
|
-
#
|
543
|
-
# See CreateCourseWork for more
|
544
|
-
# details.
|
545
|
-
# Read-only.
|
501
|
+
# Whether this course work item is associated with the Developer Console project
|
502
|
+
# making the request. See CreateCourseWork for more details. Read-only.
|
546
503
|
# Corresponds to the JSON property `associatedWithDeveloper`
|
547
504
|
# @return [Boolean]
|
548
505
|
attr_accessor :associated_with_developer
|
549
506
|
alias_method :associated_with_developer?, :associated_with_developer
|
550
507
|
|
551
|
-
# Identifier of the course.
|
552
|
-
# Read-only.
|
508
|
+
# Identifier of the course. Read-only.
|
553
509
|
# Corresponds to the JSON property `courseId`
|
554
510
|
# @return [String]
|
555
511
|
attr_accessor :course_id
|
556
512
|
|
557
|
-
# Timestamp when this course work was created.
|
558
|
-
# Read-only.
|
513
|
+
# Timestamp when this course work was created. Read-only.
|
559
514
|
# Corresponds to the JSON property `creationTime`
|
560
515
|
# @return [String]
|
561
516
|
attr_accessor :creation_time
|
562
517
|
|
563
|
-
# Identifier for the user that created the coursework.
|
564
|
-
# Read-only.
|
518
|
+
# Identifier for the user that created the coursework. Read-only.
|
565
519
|
# Corresponds to the JSON property `creatorUserId`
|
566
520
|
# @return [String]
|
567
521
|
attr_accessor :creator_user_id
|
568
522
|
|
569
|
-
# Optional description of this course work.
|
570
|
-
#
|
571
|
-
# than 30,000 characters.
|
523
|
+
# Optional description of this course work. If set, the description must be a
|
524
|
+
# valid UTF-8 string containing no more than 30,000 characters.
|
572
525
|
# Corresponds to the JSON property `description`
|
573
526
|
# @return [String]
|
574
527
|
attr_accessor :description
|
575
528
|
|
576
529
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
577
530
|
# and time zone are either specified elsewhere or are not significant. The date
|
578
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
579
|
-
#
|
580
|
-
# * A
|
581
|
-
# * A year
|
582
|
-
#
|
583
|
-
#
|
531
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
532
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
533
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
534
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
535
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
536
|
+
# Timestamp`.
|
584
537
|
# Corresponds to the JSON property `dueDate`
|
585
538
|
# @return [Google::Apis::ClassroomV1::Date]
|
586
539
|
attr_accessor :due_date
|
587
540
|
|
588
|
-
# Represents a time of day. The date and time zone are either not significant
|
589
|
-
#
|
541
|
+
# Represents a time of day. The date and time zone are either not significant or
|
542
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
590
543
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
591
544
|
# Corresponds to the JSON property `dueTime`
|
592
545
|
# @return [Google::Apis::ClassroomV1::TimeOfDay]
|
593
546
|
attr_accessor :due_time
|
594
547
|
|
595
|
-
# Classroom-assigned identifier of this course work, unique per course.
|
596
|
-
#
|
548
|
+
# Classroom-assigned identifier of this course work, unique per course. Read-
|
549
|
+
# only.
|
597
550
|
# Corresponds to the JSON property `id`
|
598
551
|
# @return [String]
|
599
552
|
attr_accessor :id
|
600
553
|
|
601
|
-
# Assignee details about a coursework/announcement.
|
602
|
-
#
|
554
|
+
# Assignee details about a coursework/announcement. This field is set if and
|
555
|
+
# only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
|
603
556
|
# Corresponds to the JSON property `individualStudentsOptions`
|
604
557
|
# @return [Google::Apis::ClassroomV1::IndividualStudentsOptions]
|
605
558
|
attr_accessor :individual_students_options
|
606
559
|
|
607
|
-
# Additional materials.
|
608
|
-
# CourseWork must have no more than 20 material items.
|
560
|
+
# Additional materials. CourseWork must have no more than 20 material items.
|
609
561
|
# Corresponds to the JSON property `materials`
|
610
562
|
# @return [Array<Google::Apis::ClassroomV1::Material>]
|
611
563
|
attr_accessor :materials
|
612
564
|
|
613
|
-
# Maximum grade for this course work.
|
614
|
-
#
|
615
|
-
# This must be a non-negative integer value.
|
565
|
+
# Maximum grade for this course work. If zero or unspecified, this assignment is
|
566
|
+
# considered ungraded. This must be a non-negative integer value.
|
616
567
|
# Corresponds to the JSON property `maxPoints`
|
617
568
|
# @return [Float]
|
618
569
|
attr_accessor :max_points
|
@@ -627,39 +578,36 @@ module Google
|
|
627
578
|
# @return [String]
|
628
579
|
attr_accessor :scheduled_time
|
629
580
|
|
630
|
-
# Status of this course work.
|
631
|
-
# If unspecified, the default state is `DRAFT`.
|
581
|
+
# Status of this course work. If unspecified, the default state is `DRAFT`.
|
632
582
|
# Corresponds to the JSON property `state`
|
633
583
|
# @return [String]
|
634
584
|
attr_accessor :state
|
635
585
|
|
636
|
-
# Setting to determine when students are allowed to modify submissions.
|
637
|
-
#
|
586
|
+
# Setting to determine when students are allowed to modify submissions. If
|
587
|
+
# unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.
|
638
588
|
# Corresponds to the JSON property `submissionModificationMode`
|
639
589
|
# @return [String]
|
640
590
|
attr_accessor :submission_modification_mode
|
641
591
|
|
642
|
-
# Title of this course work.
|
643
|
-
#
|
644
|
-
# characters.
|
592
|
+
# Title of this course work. The title must be a valid UTF-8 string containing
|
593
|
+
# between 1 and 3000 characters.
|
645
594
|
# Corresponds to the JSON property `title`
|
646
595
|
# @return [String]
|
647
596
|
attr_accessor :title
|
648
597
|
|
649
|
-
# Identifier for the topic that this coursework is associated with.
|
650
|
-
#
|
598
|
+
# Identifier for the topic that this coursework is associated with. Must match
|
599
|
+
# an existing topic in the course.
|
651
600
|
# Corresponds to the JSON property `topicId`
|
652
601
|
# @return [String]
|
653
602
|
attr_accessor :topic_id
|
654
603
|
|
655
|
-
# Timestamp of the most recent change to this course work.
|
656
|
-
# Read-only.
|
604
|
+
# Timestamp of the most recent change to this course work. Read-only.
|
657
605
|
# Corresponds to the JSON property `updateTime`
|
658
606
|
# @return [String]
|
659
607
|
attr_accessor :update_time
|
660
608
|
|
661
|
-
# Type of this course work.
|
662
|
-
#
|
609
|
+
# Type of this course work. The type is set when the course work is created and
|
610
|
+
# cannot be changed.
|
663
611
|
# Corresponds to the JSON property `workType`
|
664
612
|
# @return [String]
|
665
613
|
attr_accessor :work_type
|
@@ -716,30 +664,29 @@ module Google
|
|
716
664
|
|
717
665
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
718
666
|
# and time zone are either specified elsewhere or are not significant. The date
|
719
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
720
|
-
#
|
721
|
-
# * A
|
722
|
-
# * A year
|
723
|
-
#
|
724
|
-
#
|
667
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
668
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
669
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
670
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
671
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
672
|
+
# Timestamp`.
|
725
673
|
class Date
|
726
674
|
include Google::Apis::Core::Hashable
|
727
675
|
|
728
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
729
|
-
#
|
676
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
|
677
|
+
# specifying a year by itself or a year and month where the day is not
|
730
678
|
# significant.
|
731
679
|
# Corresponds to the JSON property `day`
|
732
680
|
# @return [Fixnum]
|
733
681
|
attr_accessor :day
|
734
682
|
|
735
|
-
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
736
|
-
#
|
683
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
|
684
|
+
# and day.
|
737
685
|
# Corresponds to the JSON property `month`
|
738
686
|
# @return [Fixnum]
|
739
687
|
attr_accessor :month
|
740
688
|
|
741
|
-
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
742
|
-
# a year.
|
689
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
|
743
690
|
# Corresponds to the JSON property `year`
|
744
691
|
# @return [Fixnum]
|
745
692
|
attr_accessor :year
|
@@ -760,8 +707,7 @@ module Google
|
|
760
707
|
class DriveFile
|
761
708
|
include Google::Apis::Core::Hashable
|
762
709
|
|
763
|
-
# URL that can be used to access the Drive item.
|
764
|
-
# Read-only.
|
710
|
+
# URL that can be used to access the Drive item. Read-only.
|
765
711
|
# Corresponds to the JSON property `alternateLink`
|
766
712
|
# @return [String]
|
767
713
|
attr_accessor :alternate_link
|
@@ -771,14 +717,12 @@ module Google
|
|
771
717
|
# @return [String]
|
772
718
|
attr_accessor :id
|
773
719
|
|
774
|
-
# URL of a thumbnail image of the Drive item.
|
775
|
-
# Read-only.
|
720
|
+
# URL of a thumbnail image of the Drive item. Read-only.
|
776
721
|
# Corresponds to the JSON property `thumbnailUrl`
|
777
722
|
# @return [String]
|
778
723
|
attr_accessor :thumbnail_url
|
779
724
|
|
780
|
-
# Title of the Drive item.
|
781
|
-
# Read-only.
|
725
|
+
# Title of the Drive item. Read-only.
|
782
726
|
# Corresponds to the JSON property `title`
|
783
727
|
# @return [String]
|
784
728
|
attr_accessor :title
|
@@ -800,8 +744,7 @@ module Google
|
|
800
744
|
class DriveFolder
|
801
745
|
include Google::Apis::Core::Hashable
|
802
746
|
|
803
|
-
# URL that can be used to access the Drive folder.
|
804
|
-
# Read-only.
|
747
|
+
# URL that can be used to access the Drive folder. Read-only.
|
805
748
|
# Corresponds to the JSON property `alternateLink`
|
806
749
|
# @return [String]
|
807
750
|
attr_accessor :alternate_link
|
@@ -811,8 +754,7 @@ module Google
|
|
811
754
|
# @return [String]
|
812
755
|
attr_accessor :id
|
813
756
|
|
814
|
-
# Title of the Drive folder.
|
815
|
-
# Read-only.
|
757
|
+
# Title of the Drive folder. Read-only.
|
816
758
|
# Corresponds to the JSON property `title`
|
817
759
|
# @return [String]
|
818
760
|
attr_accessor :title
|
@@ -829,13 +771,11 @@ module Google
|
|
829
771
|
end
|
830
772
|
end
|
831
773
|
|
832
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
833
|
-
#
|
834
|
-
#
|
835
|
-
#
|
836
|
-
#
|
837
|
-
# `
|
838
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
774
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
775
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
776
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
777
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
778
|
+
# `Empty` is empty JSON object ````.
|
839
779
|
class Empty
|
840
780
|
include Google::Apis::Core::Hashable
|
841
781
|
|
@@ -848,8 +788,8 @@ module Google
|
|
848
788
|
end
|
849
789
|
end
|
850
790
|
|
851
|
-
# A class of notifications that an application can register to receive.
|
852
|
-
#
|
791
|
+
# A class of notifications that an application can register to receive. For
|
792
|
+
# example: "all roster changes for a domain".
|
853
793
|
class Feed
|
854
794
|
include Google::Apis::Core::Hashable
|
855
795
|
|
@@ -889,22 +829,18 @@ module Google
|
|
889
829
|
# @return [String]
|
890
830
|
attr_accessor :form_url
|
891
831
|
|
892
|
-
# URL of the form responses document.
|
893
|
-
#
|
894
|
-
# requesting user is an editor of the form.
|
895
|
-
# Read-only.
|
832
|
+
# URL of the form responses document. Only set if respsonses have been recorded
|
833
|
+
# and only when the requesting user is an editor of the form. Read-only.
|
896
834
|
# Corresponds to the JSON property `responseUrl`
|
897
835
|
# @return [String]
|
898
836
|
attr_accessor :response_url
|
899
837
|
|
900
|
-
# URL of a thumbnail image of the Form.
|
901
|
-
# Read-only.
|
838
|
+
# URL of a thumbnail image of the Form. Read-only.
|
902
839
|
# Corresponds to the JSON property `thumbnailUrl`
|
903
840
|
# @return [String]
|
904
841
|
attr_accessor :thumbnail_url
|
905
842
|
|
906
|
-
# Title of the Form.
|
907
|
-
# Read-only.
|
843
|
+
# Title of the Form. Read-only.
|
908
844
|
# Corresponds to the JSON property `title`
|
909
845
|
# @return [String]
|
910
846
|
attr_accessor :title
|
@@ -960,8 +896,7 @@ module Google
|
|
960
896
|
# @return [String]
|
961
897
|
attr_accessor :grade_timestamp
|
962
898
|
|
963
|
-
# The denominator of the grade at this time in the submission grade
|
964
|
-
# history.
|
899
|
+
# The denominator of the grade at this time in the submission grade history.
|
965
900
|
# Corresponds to the JSON property `maxPoints`
|
966
901
|
# @return [Float]
|
967
902
|
attr_accessor :max_points
|
@@ -985,8 +920,8 @@ module Google
|
|
985
920
|
end
|
986
921
|
end
|
987
922
|
|
988
|
-
# Association between a student and a guardian of that student. The guardian
|
989
|
-
#
|
923
|
+
# Association between a student and a guardian of that student. The guardian may
|
924
|
+
# receive information about the student's course work.
|
990
925
|
class Guardian
|
991
926
|
include Google::Apis::Core::Hashable
|
992
927
|
|
@@ -1000,8 +935,8 @@ module Google
|
|
1000
935
|
# @return [Google::Apis::ClassroomV1::UserProfile]
|
1001
936
|
attr_accessor :guardian_profile
|
1002
937
|
|
1003
|
-
# The email address to which the initial guardian invitation was sent.
|
1004
|
-
#
|
938
|
+
# The email address to which the initial guardian invitation was sent. This
|
939
|
+
# field is only visible to domain administrators.
|
1005
940
|
# Corresponds to the JSON property `invitedEmailAddress`
|
1006
941
|
# @return [String]
|
1007
942
|
attr_accessor :invited_email_address
|
@@ -1029,20 +964,18 @@ module Google
|
|
1029
964
|
class GuardianInvitation
|
1030
965
|
include Google::Apis::Core::Hashable
|
1031
966
|
|
1032
|
-
# The time that this invitation was created.
|
1033
|
-
# Read-only.
|
967
|
+
# The time that this invitation was created. Read-only.
|
1034
968
|
# Corresponds to the JSON property `creationTime`
|
1035
969
|
# @return [String]
|
1036
970
|
attr_accessor :creation_time
|
1037
971
|
|
1038
|
-
# Unique identifier for this invitation.
|
1039
|
-
# Read-only.
|
972
|
+
# Unique identifier for this invitation. Read-only.
|
1040
973
|
# Corresponds to the JSON property `invitationId`
|
1041
974
|
# @return [String]
|
1042
975
|
attr_accessor :invitation_id
|
1043
976
|
|
1044
|
-
# Email address that the invitation was sent to.
|
1045
|
-
#
|
977
|
+
# Email address that the invitation was sent to. This field is only visible to
|
978
|
+
# domain administrators.
|
1046
979
|
# Corresponds to the JSON property `invitedEmailAddress`
|
1047
980
|
# @return [String]
|
1048
981
|
attr_accessor :invited_email_address
|
@@ -1071,13 +1004,12 @@ module Google
|
|
1071
1004
|
end
|
1072
1005
|
end
|
1073
1006
|
|
1074
|
-
# Assignee details about a coursework/announcement.
|
1075
|
-
#
|
1007
|
+
# Assignee details about a coursework/announcement. This field is set if and
|
1008
|
+
# only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
|
1076
1009
|
class IndividualStudentsOptions
|
1077
1010
|
include Google::Apis::Core::Hashable
|
1078
1011
|
|
1079
|
-
# Identifiers for the students that have access to the
|
1080
|
-
# coursework/announcement.
|
1012
|
+
# Identifiers for the students that have access to the coursework/announcement.
|
1081
1013
|
# Corresponds to the JSON property `studentIds`
|
1082
1014
|
# @return [Array<String>]
|
1083
1015
|
attr_accessor :student_ids
|
@@ -1101,24 +1033,20 @@ module Google
|
|
1101
1033
|
# @return [String]
|
1102
1034
|
attr_accessor :course_id
|
1103
1035
|
|
1104
|
-
# Identifier assigned by Classroom.
|
1105
|
-
# Read-only.
|
1036
|
+
# Identifier assigned by Classroom. Read-only.
|
1106
1037
|
# Corresponds to the JSON property `id`
|
1107
1038
|
# @return [String]
|
1108
1039
|
attr_accessor :id
|
1109
1040
|
|
1110
|
-
# Role to invite the user to have.
|
1111
|
-
# Must not be `COURSE_ROLE_UNSPECIFIED`.
|
1041
|
+
# Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.
|
1112
1042
|
# Corresponds to the JSON property `role`
|
1113
1043
|
# @return [String]
|
1114
1044
|
attr_accessor :role
|
1115
1045
|
|
1116
|
-
# Identifier of the invited user.
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
# * the email address of the user
|
1121
|
-
# * the string literal `"me"`, indicating the requesting user
|
1046
|
+
# Identifier of the invited user. When specified as a parameter of a request,
|
1047
|
+
# this identifier can be set to one of the following: * the numeric identifier
|
1048
|
+
# for the user * the email address of the user * the string literal `"me"`,
|
1049
|
+
# indicating the requesting user
|
1122
1050
|
# Corresponds to the JSON property `userId`
|
1123
1051
|
# @return [String]
|
1124
1052
|
attr_accessor :user_id
|
@@ -1140,20 +1068,18 @@ module Google
|
|
1140
1068
|
class Link
|
1141
1069
|
include Google::Apis::Core::Hashable
|
1142
1070
|
|
1143
|
-
# URL of a thumbnail image of the target URL.
|
1144
|
-
# Read-only.
|
1071
|
+
# URL of a thumbnail image of the target URL. Read-only.
|
1145
1072
|
# Corresponds to the JSON property `thumbnailUrl`
|
1146
1073
|
# @return [String]
|
1147
1074
|
attr_accessor :thumbnail_url
|
1148
1075
|
|
1149
|
-
# Title of the target of the URL.
|
1150
|
-
# Read-only.
|
1076
|
+
# Title of the target of the URL. Read-only.
|
1151
1077
|
# Corresponds to the JSON property `title`
|
1152
1078
|
# @return [String]
|
1153
1079
|
attr_accessor :title
|
1154
1080
|
|
1155
|
-
# URL to link to.
|
1156
|
-
#
|
1081
|
+
# URL to link to. This must be a valid UTF-8 string containing between 1 and
|
1082
|
+
# 2024 characters.
|
1157
1083
|
# Corresponds to the JSON property `url`
|
1158
1084
|
# @return [String]
|
1159
1085
|
attr_accessor :url
|
@@ -1304,8 +1230,8 @@ module Google
|
|
1304
1230
|
class ListGuardiansResponse
|
1305
1231
|
include Google::Apis::Core::Hashable
|
1306
1232
|
|
1307
|
-
# Guardians on this page of results that met the criteria specified in
|
1308
|
-
#
|
1233
|
+
# Guardians on this page of results that met the criteria specified in the
|
1234
|
+
# request.
|
1309
1235
|
# Corresponds to the JSON property `guardians`
|
1310
1236
|
# @return [Array<Google::Apis::ClassroomV1::Guardian>]
|
1311
1237
|
attr_accessor :guardians
|
@@ -1457,8 +1383,8 @@ module Google
|
|
1457
1383
|
end
|
1458
1384
|
end
|
1459
1385
|
|
1460
|
-
# Material attached to course work.
|
1461
|
-
#
|
1386
|
+
# Material attached to course work. When creating attachments, setting the `form`
|
1387
|
+
# field is not supported.
|
1462
1388
|
class Material
|
1463
1389
|
include Google::Apis::Core::Hashable
|
1464
1390
|
|
@@ -1499,8 +1425,8 @@ module Google
|
|
1499
1425
|
class ModifyAnnouncementAssigneesRequest
|
1500
1426
|
include Google::Apis::Core::Hashable
|
1501
1427
|
|
1502
|
-
# Mode of the announcement describing whether it is accessible by all
|
1503
|
-
#
|
1428
|
+
# Mode of the announcement describing whether it is accessible by all students
|
1429
|
+
# or specified individual students.
|
1504
1430
|
# Corresponds to the JSON property `assigneeMode`
|
1505
1431
|
# @return [String]
|
1506
1432
|
attr_accessor :assignee_mode
|
@@ -1526,8 +1452,7 @@ module Google
|
|
1526
1452
|
class ModifyAttachmentsRequest
|
1527
1453
|
include Google::Apis::Core::Hashable
|
1528
1454
|
|
1529
|
-
# Attachments to add.
|
1530
|
-
# A student submission may not have more than 20 attachments.
|
1455
|
+
# Attachments to add. A student submission may not have more than 20 attachments.
|
1531
1456
|
# Form attachments are not supported.
|
1532
1457
|
# Corresponds to the JSON property `addAttachments`
|
1533
1458
|
# @return [Array<Google::Apis::ClassroomV1::Attachment>]
|
@@ -1547,8 +1472,8 @@ module Google
|
|
1547
1472
|
class ModifyCourseWorkAssigneesRequest
|
1548
1473
|
include Google::Apis::Core::Hashable
|
1549
1474
|
|
1550
|
-
# Mode of the coursework describing whether it will be assigned to all
|
1551
|
-
#
|
1475
|
+
# Mode of the coursework describing whether it will be assigned to all students
|
1476
|
+
# or specified individual students.
|
1552
1477
|
# Corresponds to the JSON property `assigneeMode`
|
1553
1478
|
# @return [String]
|
1554
1479
|
attr_accessor :assignee_mode
|
@@ -1575,14 +1500,13 @@ module Google
|
|
1575
1500
|
class ModifyIndividualStudentsOptions
|
1576
1501
|
include Google::Apis::Core::Hashable
|
1577
1502
|
|
1578
|
-
# IDs of students to be added as having access to this
|
1579
|
-
# coursework/announcement.
|
1503
|
+
# IDs of students to be added as having access to this coursework/announcement.
|
1580
1504
|
# Corresponds to the JSON property `addStudentIds`
|
1581
1505
|
# @return [Array<String>]
|
1582
1506
|
attr_accessor :add_student_ids
|
1583
1507
|
|
1584
|
-
# IDs of students to be removed from having access to this
|
1585
|
-
#
|
1508
|
+
# IDs of students to be removed from having access to this coursework/
|
1509
|
+
# announcement.
|
1586
1510
|
# Corresponds to the JSON property `removeStudentIds`
|
1587
1511
|
# @return [Array<String>]
|
1588
1512
|
attr_accessor :remove_student_ids
|
@@ -1640,21 +1564,18 @@ module Google
|
|
1640
1564
|
class Name
|
1641
1565
|
include Google::Apis::Core::Hashable
|
1642
1566
|
|
1643
|
-
# The user's last name.
|
1644
|
-
# Read-only.
|
1567
|
+
# The user's last name. Read-only.
|
1645
1568
|
# Corresponds to the JSON property `familyName`
|
1646
1569
|
# @return [String]
|
1647
1570
|
attr_accessor :family_name
|
1648
1571
|
|
1649
|
-
# The user's full name formed by concatenating the first and last name
|
1650
|
-
# values.
|
1572
|
+
# The user's full name formed by concatenating the first and last name values.
|
1651
1573
|
# Read-only.
|
1652
1574
|
# Corresponds to the JSON property `fullName`
|
1653
1575
|
# @return [String]
|
1654
1576
|
attr_accessor :full_name
|
1655
1577
|
|
1656
|
-
# The user's first name.
|
1657
|
-
# Read-only.
|
1578
|
+
# The user's first name. Read-only.
|
1658
1579
|
# Corresponds to the JSON property `givenName`
|
1659
1580
|
# @return [String]
|
1660
1581
|
attr_accessor :given_name
|
@@ -1689,28 +1610,26 @@ module Google
|
|
1689
1610
|
class Registration
|
1690
1611
|
include Google::Apis::Core::Hashable
|
1691
1612
|
|
1692
|
-
# A reference to a Cloud Pub/Sub topic.
|
1693
|
-
#
|
1694
|
-
# `
|
1695
|
-
# `projects.topics.publish` permission.
|
1613
|
+
# A reference to a Cloud Pub/Sub topic. To register for notifications, the owner
|
1614
|
+
# of the topic must grant `classroom-notifications@system.gserviceaccount.com`
|
1615
|
+
# the `projects.topics.publish` permission.
|
1696
1616
|
# Corresponds to the JSON property `cloudPubsubTopic`
|
1697
1617
|
# @return [Google::Apis::ClassroomV1::CloudPubsubTopic]
|
1698
1618
|
attr_accessor :cloud_pubsub_topic
|
1699
1619
|
|
1700
|
-
# The time until which the `Registration` is effective.
|
1701
|
-
#
|
1620
|
+
# The time until which the `Registration` is effective. This is a read-only
|
1621
|
+
# field assigned by the server.
|
1702
1622
|
# Corresponds to the JSON property `expiryTime`
|
1703
1623
|
# @return [String]
|
1704
1624
|
attr_accessor :expiry_time
|
1705
1625
|
|
1706
|
-
# A class of notifications that an application can register to receive.
|
1707
|
-
#
|
1626
|
+
# A class of notifications that an application can register to receive. For
|
1627
|
+
# example: "all roster changes for a domain".
|
1708
1628
|
# Corresponds to the JSON property `feed`
|
1709
1629
|
# @return [Google::Apis::ClassroomV1::Feed]
|
1710
1630
|
attr_accessor :feed
|
1711
1631
|
|
1712
|
-
# A server-generated unique identifier for this `Registration`.
|
1713
|
-
# Read-only.
|
1632
|
+
# A server-generated unique identifier for this `Registration`. Read-only.
|
1714
1633
|
# Corresponds to the JSON property `registrationId`
|
1715
1634
|
# @return [String]
|
1716
1635
|
attr_accessor :registration_id
|
@@ -1820,8 +1739,7 @@ module Google
|
|
1820
1739
|
class Student
|
1821
1740
|
include Google::Apis::Core::Hashable
|
1822
1741
|
|
1823
|
-
# Identifier of the course.
|
1824
|
-
# Read-only.
|
1742
|
+
# Identifier of the course. Read-only.
|
1825
1743
|
# Corresponds to the JSON property `courseId`
|
1826
1744
|
# @return [String]
|
1827
1745
|
attr_accessor :course_id
|
@@ -1836,12 +1754,10 @@ module Google
|
|
1836
1754
|
# @return [Google::Apis::ClassroomV1::DriveFolder]
|
1837
1755
|
attr_accessor :student_work_folder
|
1838
1756
|
|
1839
|
-
# Identifier of the user.
|
1840
|
-
#
|
1841
|
-
# the
|
1842
|
-
#
|
1843
|
-
# * the email address of the user
|
1844
|
-
# * the string literal `"me"`, indicating the requesting user
|
1757
|
+
# Identifier of the user. When specified as a parameter of a request, this
|
1758
|
+
# identifier can be one of the following: * the numeric identifier for the user *
|
1759
|
+
# the email address of the user * the string literal `"me"`, indicating the
|
1760
|
+
# requesting user
|
1845
1761
|
# Corresponds to the JSON property `userId`
|
1846
1762
|
# @return [String]
|
1847
1763
|
attr_accessor :user_id
|
@@ -1859,23 +1775,20 @@ module Google
|
|
1859
1775
|
end
|
1860
1776
|
end
|
1861
1777
|
|
1862
|
-
# Student submission for course work.
|
1863
|
-
#
|
1864
|
-
#
|
1865
|
-
# may not have a creation time or update time.
|
1778
|
+
# Student submission for course work. StudentSubmission items are generated when
|
1779
|
+
# a CourseWork item is created. StudentSubmissions that have never been accessed
|
1780
|
+
# (i.e. with `state` = NEW) may not have a creation time or update time.
|
1866
1781
|
class StudentSubmission
|
1867
1782
|
include Google::Apis::Core::Hashable
|
1868
1783
|
|
1869
|
-
# Absolute link to the submission in the Classroom web UI.
|
1870
|
-
# Read-only.
|
1784
|
+
# Absolute link to the submission in the Classroom web UI. Read-only.
|
1871
1785
|
# Corresponds to the JSON property `alternateLink`
|
1872
1786
|
# @return [String]
|
1873
1787
|
attr_accessor :alternate_link
|
1874
1788
|
|
1875
|
-
# Optional grade. If unset, no grade was set.
|
1876
|
-
#
|
1877
|
-
#
|
1878
|
-
# This may be modified only by course teachers.
|
1789
|
+
# Optional grade. If unset, no grade was set. This value must be non-negative.
|
1790
|
+
# Decimal (that is, non-integer) values are allowed, but are rounded to two
|
1791
|
+
# decimal places. This may be modified only by course teachers.
|
1879
1792
|
# Corresponds to the JSON property `assignedGrade`
|
1880
1793
|
# @return [Float]
|
1881
1794
|
attr_accessor :assigned_grade
|
@@ -1886,57 +1799,48 @@ module Google
|
|
1886
1799
|
attr_accessor :assignment_submission
|
1887
1800
|
|
1888
1801
|
# Whether this student submission is associated with the Developer Console
|
1889
|
-
# project making the request.
|
1890
|
-
# See CreateCourseWork for more
|
1891
|
-
# details.
|
1892
|
-
# Read-only.
|
1802
|
+
# project making the request. See CreateCourseWork for more details. Read-only.
|
1893
1803
|
# Corresponds to the JSON property `associatedWithDeveloper`
|
1894
1804
|
# @return [Boolean]
|
1895
1805
|
attr_accessor :associated_with_developer
|
1896
1806
|
alias_method :associated_with_developer?, :associated_with_developer
|
1897
1807
|
|
1898
|
-
# Identifier of the course.
|
1899
|
-
# Read-only.
|
1808
|
+
# Identifier of the course. Read-only.
|
1900
1809
|
# Corresponds to the JSON property `courseId`
|
1901
1810
|
# @return [String]
|
1902
1811
|
attr_accessor :course_id
|
1903
1812
|
|
1904
|
-
# Identifier for the course work this corresponds to.
|
1905
|
-
# Read-only.
|
1813
|
+
# Identifier for the course work this corresponds to. Read-only.
|
1906
1814
|
# Corresponds to the JSON property `courseWorkId`
|
1907
1815
|
# @return [String]
|
1908
1816
|
attr_accessor :course_work_id
|
1909
1817
|
|
1910
|
-
# Type of course work this submission is for.
|
1911
|
-
# Read-only.
|
1818
|
+
# Type of course work this submission is for. Read-only.
|
1912
1819
|
# Corresponds to the JSON property `courseWorkType`
|
1913
1820
|
# @return [String]
|
1914
1821
|
attr_accessor :course_work_type
|
1915
1822
|
|
1916
|
-
# Creation time of this submission.
|
1917
|
-
#
|
1918
|
-
# Read-only.
|
1823
|
+
# Creation time of this submission. This may be unset if the student has not
|
1824
|
+
# accessed this item. Read-only.
|
1919
1825
|
# Corresponds to the JSON property `creationTime`
|
1920
1826
|
# @return [String]
|
1921
1827
|
attr_accessor :creation_time
|
1922
1828
|
|
1923
|
-
# Optional pending grade. If unset, no grade was set.
|
1924
|
-
#
|
1925
|
-
#
|
1926
|
-
#
|
1829
|
+
# Optional pending grade. If unset, no grade was set. This value must be non-
|
1830
|
+
# negative. Decimal (that is, non-integer) values are allowed, but are rounded
|
1831
|
+
# to two decimal places. This is only visible to and modifiable by course
|
1832
|
+
# teachers.
|
1927
1833
|
# Corresponds to the JSON property `draftGrade`
|
1928
1834
|
# @return [Float]
|
1929
1835
|
attr_accessor :draft_grade
|
1930
1836
|
|
1931
|
-
# Classroom-assigned Identifier for the student submission.
|
1932
|
-
#
|
1933
|
-
# Read-only.
|
1837
|
+
# Classroom-assigned Identifier for the student submission. This is unique among
|
1838
|
+
# submissions for the relevant course work. Read-only.
|
1934
1839
|
# Corresponds to the JSON property `id`
|
1935
1840
|
# @return [String]
|
1936
1841
|
attr_accessor :id
|
1937
1842
|
|
1938
|
-
# Whether this submission is late.
|
1939
|
-
# Read-only.
|
1843
|
+
# Whether this submission is late. Read-only.
|
1940
1844
|
# Corresponds to the JSON property `late`
|
1941
1845
|
# @return [Boolean]
|
1942
1846
|
attr_accessor :late
|
@@ -1952,27 +1856,23 @@ module Google
|
|
1952
1856
|
# @return [Google::Apis::ClassroomV1::ShortAnswerSubmission]
|
1953
1857
|
attr_accessor :short_answer_submission
|
1954
1858
|
|
1955
|
-
# State of this submission.
|
1956
|
-
# Read-only.
|
1859
|
+
# State of this submission. Read-only.
|
1957
1860
|
# Corresponds to the JSON property `state`
|
1958
1861
|
# @return [String]
|
1959
1862
|
attr_accessor :state
|
1960
1863
|
|
1961
|
-
# The history of the submission (includes state and grade histories).
|
1962
|
-
# Read-only.
|
1864
|
+
# The history of the submission (includes state and grade histories). Read-only.
|
1963
1865
|
# Corresponds to the JSON property `submissionHistory`
|
1964
1866
|
# @return [Array<Google::Apis::ClassroomV1::SubmissionHistory>]
|
1965
1867
|
attr_accessor :submission_history
|
1966
1868
|
|
1967
|
-
# Last update time of this submission.
|
1968
|
-
#
|
1969
|
-
# Read-only.
|
1869
|
+
# Last update time of this submission. This may be unset if the student has not
|
1870
|
+
# accessed this item. Read-only.
|
1970
1871
|
# Corresponds to the JSON property `updateTime`
|
1971
1872
|
# @return [String]
|
1972
1873
|
attr_accessor :update_time
|
1973
1874
|
|
1974
|
-
# Identifier for the student that owns this submission.
|
1975
|
-
# Read-only.
|
1875
|
+
# Identifier for the student that owns this submission. Read-only.
|
1976
1876
|
# Corresponds to the JSON property `userId`
|
1977
1877
|
# @return [String]
|
1978
1878
|
attr_accessor :user_id
|
@@ -2033,8 +1933,7 @@ module Google
|
|
2033
1933
|
class Teacher
|
2034
1934
|
include Google::Apis::Core::Hashable
|
2035
1935
|
|
2036
|
-
# Identifier of the course.
|
2037
|
-
# Read-only.
|
1936
|
+
# Identifier of the course. Read-only.
|
2038
1937
|
# Corresponds to the JSON property `courseId`
|
2039
1938
|
# @return [String]
|
2040
1939
|
attr_accessor :course_id
|
@@ -2044,12 +1943,10 @@ module Google
|
|
2044
1943
|
# @return [Google::Apis::ClassroomV1::UserProfile]
|
2045
1944
|
attr_accessor :profile
|
2046
1945
|
|
2047
|
-
# Identifier of the user.
|
2048
|
-
#
|
2049
|
-
# the
|
2050
|
-
#
|
2051
|
-
# * the email address of the user
|
2052
|
-
# * the string literal `"me"`, indicating the requesting user
|
1946
|
+
# Identifier of the user. When specified as a parameter of a request, this
|
1947
|
+
# identifier can be one of the following: * the numeric identifier for the user *
|
1948
|
+
# the email address of the user * the string literal `"me"`, indicating the
|
1949
|
+
# requesting user
|
2053
1950
|
# Corresponds to the JSON property `userId`
|
2054
1951
|
# @return [String]
|
2055
1952
|
attr_accessor :user_id
|
@@ -2066,14 +1963,14 @@ module Google
|
|
2066
1963
|
end
|
2067
1964
|
end
|
2068
1965
|
|
2069
|
-
# Represents a time of day. The date and time zone are either not significant
|
2070
|
-
#
|
1966
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1967
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
2071
1968
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
2072
1969
|
class TimeOfDay
|
2073
1970
|
include Google::Apis::Core::Hashable
|
2074
1971
|
|
2075
|
-
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
|
2076
|
-
#
|
1972
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
|
1973
|
+
# allow the value "24:00:00" for scenarios like business closing time.
|
2077
1974
|
# Corresponds to the JSON property `hours`
|
2078
1975
|
# @return [Fixnum]
|
2079
1976
|
attr_accessor :hours
|
@@ -2111,29 +2008,25 @@ module Google
|
|
2111
2008
|
class Topic
|
2112
2009
|
include Google::Apis::Core::Hashable
|
2113
2010
|
|
2114
|
-
# Identifier of the course.
|
2115
|
-
# Read-only.
|
2011
|
+
# Identifier of the course. Read-only.
|
2116
2012
|
# Corresponds to the JSON property `courseId`
|
2117
2013
|
# @return [String]
|
2118
2014
|
attr_accessor :course_id
|
2119
2015
|
|
2120
|
-
# The name of the topic, generated by the user.
|
2121
|
-
#
|
2122
|
-
#
|
2123
|
-
#
|
2124
|
-
# be no longer than 100 characters.
|
2016
|
+
# The name of the topic, generated by the user. Leading and trailing whitespaces,
|
2017
|
+
# if any, are trimmed. Also, multiple consecutive whitespaces are collapsed
|
2018
|
+
# into one inside the name. The result must be a non-empty string. Topic names
|
2019
|
+
# are case sensitive, and must be no longer than 100 characters.
|
2125
2020
|
# Corresponds to the JSON property `name`
|
2126
2021
|
# @return [String]
|
2127
2022
|
attr_accessor :name
|
2128
2023
|
|
2129
|
-
# Unique identifier for the topic.
|
2130
|
-
# Read-only.
|
2024
|
+
# Unique identifier for the topic. Read-only.
|
2131
2025
|
# Corresponds to the JSON property `topicId`
|
2132
2026
|
# @return [String]
|
2133
2027
|
attr_accessor :topic_id
|
2134
2028
|
|
2135
|
-
# The time the topic was last updated by the system.
|
2136
|
-
# Read-only.
|
2029
|
+
# The time the topic was last updated by the system. Read-only.
|
2137
2030
|
# Corresponds to the JSON property `updateTime`
|
2138
2031
|
# @return [String]
|
2139
2032
|
attr_accessor :update_time
|
@@ -2168,14 +2061,12 @@ module Google
|
|
2168
2061
|
class UserProfile
|
2169
2062
|
include Google::Apis::Core::Hashable
|
2170
2063
|
|
2171
|
-
# Email address of the user.
|
2172
|
-
# Read-only.
|
2064
|
+
# Email address of the user. Read-only.
|
2173
2065
|
# Corresponds to the JSON property `emailAddress`
|
2174
2066
|
# @return [String]
|
2175
2067
|
attr_accessor :email_address
|
2176
2068
|
|
2177
|
-
# Identifier of the user.
|
2178
|
-
# Read-only.
|
2069
|
+
# Identifier of the user. Read-only.
|
2179
2070
|
# Corresponds to the JSON property `id`
|
2180
2071
|
# @return [String]
|
2181
2072
|
attr_accessor :id
|
@@ -2185,22 +2076,19 @@ module Google
|
|
2185
2076
|
# @return [Google::Apis::ClassroomV1::Name]
|
2186
2077
|
attr_accessor :name
|
2187
2078
|
|
2188
|
-
# Global permissions of the user.
|
2189
|
-
# Read-only.
|
2079
|
+
# Global permissions of the user. Read-only.
|
2190
2080
|
# Corresponds to the JSON property `permissions`
|
2191
2081
|
# @return [Array<Google::Apis::ClassroomV1::GlobalPermission>]
|
2192
2082
|
attr_accessor :permissions
|
2193
2083
|
|
2194
|
-
# URL of user's profile photo.
|
2195
|
-
# Read-only.
|
2084
|
+
# URL of user's profile photo. Read-only.
|
2196
2085
|
# Corresponds to the JSON property `photoUrl`
|
2197
2086
|
# @return [String]
|
2198
2087
|
attr_accessor :photo_url
|
2199
2088
|
|
2200
2089
|
# Represents whether a G Suite for Education user's domain administrator has
|
2201
|
-
# explicitly verified them as being a teacher. If the user is not a member of
|
2202
|
-
#
|
2203
|
-
# Read-only
|
2090
|
+
# explicitly verified them as being a teacher. If the user is not a member of a
|
2091
|
+
# G Suite for Education domain, than this field is always false. Read-only
|
2204
2092
|
# Corresponds to the JSON property `verifiedTeacher`
|
2205
2093
|
# @return [Boolean]
|
2206
2094
|
attr_accessor :verified_teacher
|
@@ -2225,8 +2113,7 @@ module Google
|
|
2225
2113
|
class YouTubeVideo
|
2226
2114
|
include Google::Apis::Core::Hashable
|
2227
2115
|
|
2228
|
-
# URL that can be used to view the YouTube video.
|
2229
|
-
# Read-only.
|
2116
|
+
# URL that can be used to view the YouTube video. Read-only.
|
2230
2117
|
# Corresponds to the JSON property `alternateLink`
|
2231
2118
|
# @return [String]
|
2232
2119
|
attr_accessor :alternate_link
|
@@ -2236,14 +2123,12 @@ module Google
|
|
2236
2123
|
# @return [String]
|
2237
2124
|
attr_accessor :id
|
2238
2125
|
|
2239
|
-
# URL of a thumbnail image of the YouTube video.
|
2240
|
-
# Read-only.
|
2126
|
+
# URL of a thumbnail image of the YouTube video. Read-only.
|
2241
2127
|
# Corresponds to the JSON property `thumbnailUrl`
|
2242
2128
|
# @return [String]
|
2243
2129
|
attr_accessor :thumbnail_url
|
2244
2130
|
|
2245
|
-
# Title of the YouTube video.
|
2246
|
-
# Read-only.
|
2131
|
+
# Title of the YouTube video. Read-only.
|
2247
2132
|
# Corresponds to the JSON property `title`
|
2248
2133
|
# @return [String]
|
2249
2134
|
attr_accessor :title
|