google-api-client 0.28.4 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
80
|
def create_course(course_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
81
|
-
command =
|
81
|
+
command = make_simple_command(:post, 'v1/courses', options)
|
82
82
|
command.request_representation = Google::Apis::ClassroomV1::Course::Representation
|
83
83
|
command.request_object = course_object
|
84
84
|
command.response_representation = Google::Apis::ClassroomV1::Course::Representation
|
@@ -115,7 +115,7 @@ module Google
|
|
115
115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
117
|
def delete_course(id, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
-
command =
|
118
|
+
command = make_simple_command(:delete, 'v1/courses/{id}', options)
|
119
119
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
120
120
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
121
121
|
command.params['id'] = id unless id.nil?
|
@@ -151,7 +151,7 @@ module Google
|
|
151
151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
152
152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
153
153
|
def get_course(id, fields: nil, quota_user: nil, options: nil, &block)
|
154
|
-
command =
|
154
|
+
command = make_simple_command(:get, 'v1/courses/{id}', options)
|
155
155
|
command.response_representation = Google::Apis::ClassroomV1::Course::Representation
|
156
156
|
command.response_class = Google::Apis::ClassroomV1::Course
|
157
157
|
command.params['id'] = id unless id.nil?
|
@@ -211,7 +211,7 @@ module Google
|
|
211
211
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
212
212
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
213
213
|
def list_courses(course_states: nil, page_size: nil, page_token: nil, student_id: nil, teacher_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
214
|
-
command =
|
214
|
+
command = make_simple_command(:get, 'v1/courses', options)
|
215
215
|
command.response_representation = Google::Apis::ClassroomV1::ListCoursesResponse::Representation
|
216
216
|
command.response_class = Google::Apis::ClassroomV1::ListCoursesResponse
|
217
217
|
command.query['courseStates'] = course_states unless course_states.nil?
|
@@ -272,7 +272,7 @@ module Google
|
|
272
272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
273
273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
274
274
|
def patch_course(id, course_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
275
|
-
command =
|
275
|
+
command = make_simple_command(:patch, 'v1/courses/{id}', options)
|
276
276
|
command.request_representation = Google::Apis::ClassroomV1::Course::Representation
|
277
277
|
command.request_object = course_object
|
278
278
|
command.response_representation = Google::Apis::ClassroomV1::Course::Representation
|
@@ -314,7 +314,7 @@ module Google
|
|
314
314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
315
315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
316
316
|
def update_course(id, course_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
317
|
-
command =
|
317
|
+
command = make_simple_command(:put, 'v1/courses/{id}', options)
|
318
318
|
command.request_representation = Google::Apis::ClassroomV1::Course::Representation
|
319
319
|
command.request_object = course_object
|
320
320
|
command.response_representation = Google::Apis::ClassroomV1::Course::Representation
|
@@ -357,7 +357,7 @@ module Google
|
|
357
357
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
358
358
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
359
359
|
def create_course_alias(course_id, course_alias_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
360
|
-
command =
|
360
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/aliases', options)
|
361
361
|
command.request_representation = Google::Apis::ClassroomV1::CourseAlias::Representation
|
362
362
|
command.request_object = course_alias_object
|
363
363
|
command.response_representation = Google::Apis::ClassroomV1::CourseAlias::Representation
|
@@ -401,7 +401,7 @@ module Google
|
|
401
401
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
402
402
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
403
403
|
def delete_course_alias(course_id, alias_, fields: nil, quota_user: nil, options: nil, &block)
|
404
|
-
command =
|
404
|
+
command = make_simple_command(:delete, 'v1/courses/{courseId}/aliases/{alias}', options)
|
405
405
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
406
406
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
407
407
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -449,7 +449,7 @@ module Google
|
|
449
449
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
450
450
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
451
451
|
def list_course_aliases(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
452
|
-
command =
|
452
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/aliases', options)
|
453
453
|
command.response_representation = Google::Apis::ClassroomV1::ListCourseAliasesResponse::Representation
|
454
454
|
command.response_class = Google::Apis::ClassroomV1::ListCourseAliasesResponse
|
455
455
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -492,7 +492,7 @@ module Google
|
|
492
492
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
493
493
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
494
494
|
def create_course_announcement(course_id, announcement_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
495
|
-
command =
|
495
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/announcements', options)
|
496
496
|
command.request_representation = Google::Apis::ClassroomV1::Announcement::Representation
|
497
497
|
command.request_object = announcement_object
|
498
498
|
command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
|
@@ -539,7 +539,7 @@ module Google
|
|
539
539
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
540
540
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
541
541
|
def delete_course_announcement(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
542
|
-
command =
|
542
|
+
command = make_simple_command(:delete, 'v1/courses/{courseId}/announcements/{id}', options)
|
543
543
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
544
544
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
545
545
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -579,7 +579,7 @@ module Google
|
|
579
579
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
580
580
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
581
581
|
def get_course_announcement(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
582
|
-
command =
|
582
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/announcements/{id}', options)
|
583
583
|
command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
|
584
584
|
command.response_class = Google::Apis::ClassroomV1::Announcement
|
585
585
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -639,7 +639,7 @@ module Google
|
|
639
639
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
640
640
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
641
641
|
def list_course_announcements(course_id, announcement_states: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
642
|
-
command =
|
642
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/announcements', options)
|
643
643
|
command.response_representation = Google::Apis::ClassroomV1::ListAnnouncementsResponse::Representation
|
644
644
|
command.response_class = Google::Apis::ClassroomV1::ListAnnouncementsResponse
|
645
645
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -685,7 +685,7 @@ module Google
|
|
685
685
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
686
686
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
687
687
|
def modify_course_announcement_assignees(course_id, id, modify_announcement_assignees_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
688
|
-
command =
|
688
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/announcements/{id}:modifyAssignees', options)
|
689
689
|
command.request_representation = Google::Apis::ClassroomV1::ModifyAnnouncementAssigneesRequest::Representation
|
690
690
|
command.request_object = modify_announcement_assignees_request_object
|
691
691
|
command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
|
@@ -742,7 +742,7 @@ module Google
|
|
742
742
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
743
743
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
744
744
|
def patch_course_announcement(course_id, id, announcement_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
745
|
-
command =
|
745
|
+
command = make_simple_command(:patch, 'v1/courses/{courseId}/announcements/{id}', options)
|
746
746
|
command.request_representation = Google::Apis::ClassroomV1::Announcement::Representation
|
747
747
|
command.request_object = announcement_object
|
748
748
|
command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
|
@@ -793,7 +793,7 @@ module Google
|
|
793
793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
794
794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
795
795
|
def create_course_work(course_id, course_work_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
796
|
-
command =
|
796
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options)
|
797
797
|
command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation
|
798
798
|
command.request_object = course_work_object
|
799
799
|
command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
|
@@ -840,7 +840,7 @@ module Google
|
|
840
840
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
841
841
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
842
842
|
def delete_course_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
843
|
-
command =
|
843
|
+
command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWork/{id}', options)
|
844
844
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
845
845
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
846
846
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -880,7 +880,7 @@ module Google
|
|
880
880
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
881
881
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
882
882
|
def get_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
883
|
-
command =
|
883
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options)
|
884
884
|
command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
|
885
885
|
command.response_class = Google::Apis::ClassroomV1::CourseWork
|
886
886
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -941,7 +941,7 @@ module Google
|
|
941
941
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
942
942
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
943
943
|
def list_course_works(course_id, course_work_states: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
944
|
-
command =
|
944
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options)
|
945
945
|
command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkResponse::Representation
|
946
946
|
command.response_class = Google::Apis::ClassroomV1::ListCourseWorkResponse
|
947
947
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -987,7 +987,7 @@ module Google
|
|
987
987
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
988
988
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
989
989
|
def modify_course_course_work_assignees(course_id, id, modify_course_work_assignees_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
990
|
-
command =
|
990
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{id}:modifyAssignees', options)
|
991
991
|
command.request_representation = Google::Apis::ClassroomV1::ModifyCourseWorkAssigneesRequest::Representation
|
992
992
|
command.request_object = modify_course_work_assignees_request_object
|
993
993
|
command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
|
@@ -1039,6 +1039,7 @@ module Google
|
|
1039
1039
|
# * `max_points`
|
1040
1040
|
# * `scheduled_time`
|
1041
1041
|
# * `submission_modification_mode`
|
1042
|
+
# * `topic_id`
|
1042
1043
|
# @param [String] fields
|
1043
1044
|
# Selector specifying which fields to include in a partial response.
|
1044
1045
|
# @param [String] quota_user
|
@@ -1057,7 +1058,7 @@ module Google
|
|
1057
1058
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1058
1059
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1059
1060
|
def patch_course_course_work(course_id, id, course_work_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1060
|
-
command =
|
1061
|
+
command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{id}', options)
|
1061
1062
|
command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation
|
1062
1063
|
command.request_object = course_work_object
|
1063
1064
|
command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
|
@@ -1103,7 +1104,7 @@ module Google
|
|
1103
1104
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1104
1105
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1105
1106
|
def get_student_submission(course_id, course_work_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
1106
|
-
command =
|
1107
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
|
1107
1108
|
command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
|
1108
1109
|
command.response_class = Google::Apis::ClassroomV1::StudentSubmission
|
1109
1110
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -1176,7 +1177,7 @@ module Google
|
|
1176
1177
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1177
1178
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1178
1179
|
def list_student_submissions(course_id, course_work_id, late: nil, page_size: nil, page_token: nil, states: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1179
|
-
command =
|
1180
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options)
|
1180
1181
|
command.response_representation = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse::Representation
|
1181
1182
|
command.response_class = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse
|
1182
1183
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -1232,7 +1233,7 @@ module Google
|
|
1232
1233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1233
1234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1234
1235
|
def modify_student_submission_attachments(course_id, course_work_id, id, modify_attachments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1235
|
-
command =
|
1236
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options)
|
1236
1237
|
command.request_representation = Google::Apis::ClassroomV1::ModifyAttachmentsRequest::Representation
|
1237
1238
|
command.request_object = modify_attachments_request_object
|
1238
1239
|
command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
|
@@ -1293,7 +1294,7 @@ module Google
|
|
1293
1294
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1294
1295
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1295
1296
|
def patch_student_submission(course_id, course_work_id, id, student_submission_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1296
|
-
command =
|
1297
|
+
command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
|
1297
1298
|
command.request_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
|
1298
1299
|
command.request_object = student_submission_object
|
1299
1300
|
command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
|
@@ -1350,7 +1351,7 @@ module Google
|
|
1350
1351
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1351
1352
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1352
1353
|
def reclaim_student_submission(course_id, course_work_id, id, reclaim_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1353
|
-
command =
|
1354
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options)
|
1354
1355
|
command.request_representation = Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest::Representation
|
1355
1356
|
command.request_object = reclaim_student_submission_request_object
|
1356
1357
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
@@ -1407,7 +1408,7 @@ module Google
|
|
1407
1408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1408
1409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1409
1410
|
def return_student_submission(course_id, course_work_id, id, return_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1410
|
-
command =
|
1411
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options)
|
1411
1412
|
command.request_representation = Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest::Representation
|
1412
1413
|
command.request_object = return_student_submission_request_object
|
1413
1414
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
@@ -1462,7 +1463,7 @@ module Google
|
|
1462
1463
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1463
1464
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1464
1465
|
def turn_in_student_submission(course_id, course_work_id, id, turn_in_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1465
|
-
command =
|
1466
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options)
|
1466
1467
|
command.request_representation = Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest::Representation
|
1467
1468
|
command.request_object = turn_in_student_submission_request_object
|
1468
1469
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
@@ -1515,7 +1516,7 @@ module Google
|
|
1515
1516
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1516
1517
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1517
1518
|
def create_course_student(course_id, student_object = nil, enrollment_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1518
|
-
command =
|
1519
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/students', options)
|
1519
1520
|
command.request_representation = Google::Apis::ClassroomV1::Student::Representation
|
1520
1521
|
command.request_object = student_object
|
1521
1522
|
command.response_representation = Google::Apis::ClassroomV1::Student::Representation
|
@@ -1561,7 +1562,7 @@ module Google
|
|
1561
1562
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1562
1563
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1563
1564
|
def delete_course_student(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
1564
|
-
command =
|
1565
|
+
command = make_simple_command(:delete, 'v1/courses/{courseId}/students/{userId}', options)
|
1565
1566
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
1566
1567
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
1567
1568
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -1605,7 +1606,7 @@ module Google
|
|
1605
1606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1606
1607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1607
1608
|
def get_course_student(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
1608
|
-
command =
|
1609
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/students/{userId}', options)
|
1609
1610
|
command.response_representation = Google::Apis::ClassroomV1::Student::Representation
|
1610
1611
|
command.response_class = Google::Apis::ClassroomV1::Student
|
1611
1612
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -1652,7 +1653,7 @@ module Google
|
|
1652
1653
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1653
1654
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1654
1655
|
def list_course_students(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1655
|
-
command =
|
1656
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/students', options)
|
1656
1657
|
command.response_representation = Google::Apis::ClassroomV1::ListStudentsResponse::Representation
|
1657
1658
|
command.response_class = Google::Apis::ClassroomV1::ListStudentsResponse
|
1658
1659
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -1699,7 +1700,7 @@ module Google
|
|
1699
1700
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1700
1701
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1701
1702
|
def create_course_teacher(course_id, teacher_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1702
|
-
command =
|
1703
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/teachers', options)
|
1703
1704
|
command.request_representation = Google::Apis::ClassroomV1::Teacher::Representation
|
1704
1705
|
command.request_object = teacher_object
|
1705
1706
|
command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation
|
@@ -1746,7 +1747,7 @@ module Google
|
|
1746
1747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1747
1748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1748
1749
|
def delete_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
1749
|
-
command =
|
1750
|
+
command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options)
|
1750
1751
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
1751
1752
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
1752
1753
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -1790,7 +1791,7 @@ module Google
|
|
1790
1791
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1791
1792
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1792
1793
|
def get_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
1793
|
-
command =
|
1794
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options)
|
1794
1795
|
command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation
|
1795
1796
|
command.response_class = Google::Apis::ClassroomV1::Teacher
|
1796
1797
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -1837,7 +1838,7 @@ module Google
|
|
1837
1838
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1838
1839
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1839
1840
|
def list_course_teachers(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1840
|
-
command =
|
1841
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options)
|
1841
1842
|
command.response_representation = Google::Apis::ClassroomV1::ListTeachersResponse::Representation
|
1842
1843
|
command.response_class = Google::Apis::ClassroomV1::ListTeachersResponse
|
1843
1844
|
command.params['courseId'] = course_id unless course_id.nil?
|
@@ -1848,6 +1849,230 @@ module Google
|
|
1848
1849
|
execute_or_queue_command(command, &block)
|
1849
1850
|
end
|
1850
1851
|
|
1852
|
+
# Creates a topic.
|
1853
|
+
# This method returns the following error codes:
|
1854
|
+
# * `PERMISSION_DENIED` if the requesting user is not permitted to access the
|
1855
|
+
# requested course, create a topic in the requested course,
|
1856
|
+
# or for access errors.
|
1857
|
+
# * `INVALID_ARGUMENT` if the request is malformed.
|
1858
|
+
# * `NOT_FOUND` if the requested course does not exist.
|
1859
|
+
# @param [String] course_id
|
1860
|
+
# Identifier of the course.
|
1861
|
+
# This identifier can be either the Classroom-assigned identifier or an
|
1862
|
+
# alias.
|
1863
|
+
# @param [Google::Apis::ClassroomV1::Topic] topic_object
|
1864
|
+
# @param [String] fields
|
1865
|
+
# Selector specifying which fields to include in a partial response.
|
1866
|
+
# @param [String] quota_user
|
1867
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1868
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1869
|
+
# @param [Google::Apis::RequestOptions] options
|
1870
|
+
# Request-specific options
|
1871
|
+
#
|
1872
|
+
# @yield [result, err] Result & error if block supplied
|
1873
|
+
# @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
|
1874
|
+
# @yieldparam err [StandardError] error object if request failed
|
1875
|
+
#
|
1876
|
+
# @return [Google::Apis::ClassroomV1::Topic]
|
1877
|
+
#
|
1878
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1879
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1880
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1881
|
+
def create_course_topic(course_id, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1882
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/topics', options)
|
1883
|
+
command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
|
1884
|
+
command.request_object = topic_object
|
1885
|
+
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
|
1886
|
+
command.response_class = Google::Apis::ClassroomV1::Topic
|
1887
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
1888
|
+
command.query['fields'] = fields unless fields.nil?
|
1889
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1890
|
+
execute_or_queue_command(command, &block)
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
# Deletes a topic.
|
1894
|
+
# This method returns the following error codes:
|
1895
|
+
# * `PERMISSION_DENIED` if the requesting user is not allowed to delete the
|
1896
|
+
# requested topic or for access errors.
|
1897
|
+
# * `FAILED_PRECONDITION` if the requested topic has already been
|
1898
|
+
# deleted.
|
1899
|
+
# * `NOT_FOUND` if no course or topic exists with the requested ID.
|
1900
|
+
# @param [String] course_id
|
1901
|
+
# Identifier of the course.
|
1902
|
+
# This identifier can be either the Classroom-assigned identifier or an
|
1903
|
+
# alias.
|
1904
|
+
# @param [String] id
|
1905
|
+
# Identifier of the topic to delete.
|
1906
|
+
# @param [String] fields
|
1907
|
+
# Selector specifying which fields to include in a partial response.
|
1908
|
+
# @param [String] quota_user
|
1909
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1910
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1911
|
+
# @param [Google::Apis::RequestOptions] options
|
1912
|
+
# Request-specific options
|
1913
|
+
#
|
1914
|
+
# @yield [result, err] Result & error if block supplied
|
1915
|
+
# @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object
|
1916
|
+
# @yieldparam err [StandardError] error object if request failed
|
1917
|
+
#
|
1918
|
+
# @return [Google::Apis::ClassroomV1::Empty]
|
1919
|
+
#
|
1920
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1921
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1922
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1923
|
+
def delete_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
1924
|
+
command = make_simple_command(:delete, 'v1/courses/{courseId}/topics/{id}', options)
|
1925
|
+
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
1926
|
+
command.response_class = Google::Apis::ClassroomV1::Empty
|
1927
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
1928
|
+
command.params['id'] = id unless id.nil?
|
1929
|
+
command.query['fields'] = fields unless fields.nil?
|
1930
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1931
|
+
execute_or_queue_command(command, &block)
|
1932
|
+
end
|
1933
|
+
|
1934
|
+
# Returns a topic.
|
1935
|
+
# This method returns the following error codes:
|
1936
|
+
# * `PERMISSION_DENIED` if the requesting user is not permitted to access the
|
1937
|
+
# requested course or topic, or for access errors.
|
1938
|
+
# * `INVALID_ARGUMENT` if the request is malformed.
|
1939
|
+
# * `NOT_FOUND` if the requested course or topic does not exist.
|
1940
|
+
# @param [String] course_id
|
1941
|
+
# Identifier of the course.
|
1942
|
+
# @param [String] id
|
1943
|
+
# Identifier of the topic.
|
1944
|
+
# @param [String] fields
|
1945
|
+
# Selector specifying which fields to include in a partial response.
|
1946
|
+
# @param [String] quota_user
|
1947
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1948
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1949
|
+
# @param [Google::Apis::RequestOptions] options
|
1950
|
+
# Request-specific options
|
1951
|
+
#
|
1952
|
+
# @yield [result, err] Result & error if block supplied
|
1953
|
+
# @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
|
1954
|
+
# @yieldparam err [StandardError] error object if request failed
|
1955
|
+
#
|
1956
|
+
# @return [Google::Apis::ClassroomV1::Topic]
|
1957
|
+
#
|
1958
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1959
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1960
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1961
|
+
def get_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
1962
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/topics/{id}', options)
|
1963
|
+
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
|
1964
|
+
command.response_class = Google::Apis::ClassroomV1::Topic
|
1965
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
1966
|
+
command.params['id'] = id unless id.nil?
|
1967
|
+
command.query['fields'] = fields unless fields.nil?
|
1968
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1969
|
+
execute_or_queue_command(command, &block)
|
1970
|
+
end
|
1971
|
+
|
1972
|
+
# Returns the list of topics that the requester is permitted to view.
|
1973
|
+
# This method returns the following error codes:
|
1974
|
+
# * `PERMISSION_DENIED` if the requesting user is not permitted to access
|
1975
|
+
# the requested course or for access errors.
|
1976
|
+
# * `INVALID_ARGUMENT` if the request is malformed.
|
1977
|
+
# * `NOT_FOUND` if the requested course does not exist.
|
1978
|
+
# @param [String] course_id
|
1979
|
+
# Identifier of the course.
|
1980
|
+
# This identifier can be either the Classroom-assigned identifier or an
|
1981
|
+
# alias.
|
1982
|
+
# @param [Fixnum] page_size
|
1983
|
+
# Maximum number of items to return. Zero or unspecified indicates that the
|
1984
|
+
# server may assign a maximum.
|
1985
|
+
# The server may return fewer than the specified number of results.
|
1986
|
+
# @param [String] page_token
|
1987
|
+
# nextPageToken
|
1988
|
+
# value returned from a previous
|
1989
|
+
# list call,
|
1990
|
+
# indicating that the subsequent page of results should be returned.
|
1991
|
+
# The list request
|
1992
|
+
# must be otherwise identical to the one that resulted in this token.
|
1993
|
+
# @param [String] fields
|
1994
|
+
# Selector specifying which fields to include in a partial response.
|
1995
|
+
# @param [String] quota_user
|
1996
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1997
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1998
|
+
# @param [Google::Apis::RequestOptions] options
|
1999
|
+
# Request-specific options
|
2000
|
+
#
|
2001
|
+
# @yield [result, err] Result & error if block supplied
|
2002
|
+
# @yieldparam result [Google::Apis::ClassroomV1::ListTopicResponse] parsed result object
|
2003
|
+
# @yieldparam err [StandardError] error object if request failed
|
2004
|
+
#
|
2005
|
+
# @return [Google::Apis::ClassroomV1::ListTopicResponse]
|
2006
|
+
#
|
2007
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2008
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2009
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2010
|
+
def list_course_topics(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2011
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/topics', options)
|
2012
|
+
command.response_representation = Google::Apis::ClassroomV1::ListTopicResponse::Representation
|
2013
|
+
command.response_class = Google::Apis::ClassroomV1::ListTopicResponse
|
2014
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
2015
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2016
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2017
|
+
command.query['fields'] = fields unless fields.nil?
|
2018
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2019
|
+
execute_or_queue_command(command, &block)
|
2020
|
+
end
|
2021
|
+
|
2022
|
+
# Updates one or more fields of a topic.
|
2023
|
+
# This method returns the following error codes:
|
2024
|
+
# * `PERMISSION_DENIED` if the requesting developer project did not create
|
2025
|
+
# the corresponding topic or for access errors.
|
2026
|
+
# * `INVALID_ARGUMENT` if the request is malformed.
|
2027
|
+
# * `NOT_FOUND` if the requested course or topic does not exist
|
2028
|
+
# @param [String] course_id
|
2029
|
+
# Identifier of the course.
|
2030
|
+
# This identifier can be either the Classroom-assigned identifier or an
|
2031
|
+
# alias.
|
2032
|
+
# @param [String] id
|
2033
|
+
# Identifier of the topic.
|
2034
|
+
# @param [Google::Apis::ClassroomV1::Topic] topic_object
|
2035
|
+
# @param [String] update_mask
|
2036
|
+
# Mask that identifies which fields on the topic to update.
|
2037
|
+
# This field is required to do an update. The update fails if invalid
|
2038
|
+
# fields are specified. If a field supports empty values, it can be cleared
|
2039
|
+
# by specifying it in the update mask and not in the Topic object. If a
|
2040
|
+
# field that does not support empty values is included in the update mask and
|
2041
|
+
# not set in the Topic object, an `INVALID_ARGUMENT` error will be
|
2042
|
+
# returned.
|
2043
|
+
# The following fields may be specified:
|
2044
|
+
# * `name`
|
2045
|
+
# @param [String] fields
|
2046
|
+
# Selector specifying which fields to include in a partial response.
|
2047
|
+
# @param [String] quota_user
|
2048
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2049
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2050
|
+
# @param [Google::Apis::RequestOptions] options
|
2051
|
+
# Request-specific options
|
2052
|
+
#
|
2053
|
+
# @yield [result, err] Result & error if block supplied
|
2054
|
+
# @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
|
2055
|
+
# @yieldparam err [StandardError] error object if request failed
|
2056
|
+
#
|
2057
|
+
# @return [Google::Apis::ClassroomV1::Topic]
|
2058
|
+
#
|
2059
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2060
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2061
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2062
|
+
def patch_course_topic(course_id, id, topic_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2063
|
+
command = make_simple_command(:patch, 'v1/courses/{courseId}/topics/{id}', options)
|
2064
|
+
command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
|
2065
|
+
command.request_object = topic_object
|
2066
|
+
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
|
2067
|
+
command.response_class = Google::Apis::ClassroomV1::Topic
|
2068
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
2069
|
+
command.params['id'] = id unless id.nil?
|
2070
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2071
|
+
command.query['fields'] = fields unless fields.nil?
|
2072
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2073
|
+
execute_or_queue_command(command, &block)
|
2074
|
+
end
|
2075
|
+
|
1851
2076
|
# Accepts an invitation, removing it and adding the invited user to the
|
1852
2077
|
# teachers or students (as appropriate) of the specified course. Only the
|
1853
2078
|
# invited user may accept an invitation.
|
@@ -1880,7 +2105,7 @@ module Google
|
|
1880
2105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1881
2106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1882
2107
|
def accept_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
|
1883
|
-
command =
|
2108
|
+
command = make_simple_command(:post, 'v1/invitations/{id}:accept', options)
|
1884
2109
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
1885
2110
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
1886
2111
|
command.params['id'] = id unless id.nil?
|
@@ -1918,7 +2143,7 @@ module Google
|
|
1918
2143
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1919
2144
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1920
2145
|
def create_invitation(invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1921
|
-
command =
|
2146
|
+
command = make_simple_command(:post, 'v1/invitations', options)
|
1922
2147
|
command.request_representation = Google::Apis::ClassroomV1::Invitation::Representation
|
1923
2148
|
command.request_object = invitation_object
|
1924
2149
|
command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation
|
@@ -1953,7 +2178,7 @@ module Google
|
|
1953
2178
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1954
2179
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1955
2180
|
def delete_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
|
1956
|
-
command =
|
2181
|
+
command = make_simple_command(:delete, 'v1/invitations/{id}', options)
|
1957
2182
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
1958
2183
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
1959
2184
|
command.params['id'] = id unless id.nil?
|
@@ -1987,7 +2212,7 @@ module Google
|
|
1987
2212
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1988
2213
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1989
2214
|
def get_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
|
1990
|
-
command =
|
2215
|
+
command = make_simple_command(:get, 'v1/invitations/{id}', options)
|
1991
2216
|
command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation
|
1992
2217
|
command.response_class = Google::Apis::ClassroomV1::Invitation
|
1993
2218
|
command.params['id'] = id unless id.nil?
|
@@ -2039,7 +2264,7 @@ module Google
|
|
2039
2264
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2040
2265
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2041
2266
|
def list_invitations(course_id: nil, page_size: nil, page_token: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2042
|
-
command =
|
2267
|
+
command = make_simple_command(:get, 'v1/invitations', options)
|
2043
2268
|
command.response_representation = Google::Apis::ClassroomV1::ListInvitationsResponse::Representation
|
2044
2269
|
command.response_class = Google::Apis::ClassroomV1::ListInvitationsResponse
|
2045
2270
|
command.query['courseId'] = course_id unless course_id.nil?
|
@@ -2096,7 +2321,7 @@ module Google
|
|
2096
2321
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2097
2322
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2098
2323
|
def create_registration(registration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2099
|
-
command =
|
2324
|
+
command = make_simple_command(:post, 'v1/registrations', options)
|
2100
2325
|
command.request_representation = Google::Apis::ClassroomV1::Registration::Representation
|
2101
2326
|
command.request_object = registration_object
|
2102
2327
|
command.response_representation = Google::Apis::ClassroomV1::Registration::Representation
|
@@ -2128,7 +2353,7 @@ module Google
|
|
2128
2353
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2129
2354
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2130
2355
|
def delete_registration(registration_id, fields: nil, quota_user: nil, options: nil, &block)
|
2131
|
-
command =
|
2356
|
+
command = make_simple_command(:delete, 'v1/registrations/{registrationId}', options)
|
2132
2357
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
2133
2358
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
2134
2359
|
command.params['registrationId'] = registration_id unless registration_id.nil?
|
@@ -2166,7 +2391,7 @@ module Google
|
|
2166
2391
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2167
2392
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2168
2393
|
def get_user_profile(user_id, fields: nil, quota_user: nil, options: nil, &block)
|
2169
|
-
command =
|
2394
|
+
command = make_simple_command(:get, 'v1/userProfiles/{userId}', options)
|
2170
2395
|
command.response_representation = Google::Apis::ClassroomV1::UserProfile::Representation
|
2171
2396
|
command.response_class = Google::Apis::ClassroomV1::UserProfile
|
2172
2397
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -2222,7 +2447,7 @@ module Google
|
|
2222
2447
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2223
2448
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2224
2449
|
def create_user_profile_guardian_invitation(student_id, guardian_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2225
|
-
command =
|
2450
|
+
command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options)
|
2226
2451
|
command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
|
2227
2452
|
command.request_object = guardian_invitation_object
|
2228
2453
|
command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
|
@@ -2267,7 +2492,7 @@ module Google
|
|
2267
2492
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2268
2493
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2269
2494
|
def get_user_profile_guardian_invitation(student_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block)
|
2270
|
-
command =
|
2495
|
+
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
|
2271
2496
|
command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
|
2272
2497
|
command.response_class = Google::Apis::ClassroomV1::GuardianInvitation
|
2273
2498
|
command.params['studentId'] = student_id unless student_id.nil?
|
@@ -2335,7 +2560,7 @@ module Google
|
|
2335
2560
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2336
2561
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2337
2562
|
def list_user_profile_guardian_invitations(student_id, invited_email_address: nil, page_size: nil, page_token: nil, states: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2338
|
-
command =
|
2563
|
+
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options)
|
2339
2564
|
command.response_representation = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse::Representation
|
2340
2565
|
command.response_class = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse
|
2341
2566
|
command.params['studentId'] = student_id unless student_id.nil?
|
@@ -2393,7 +2618,7 @@ module Google
|
|
2393
2618
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2394
2619
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2395
2620
|
def patch_user_profile_guardian_invitation(student_id, invitation_id, guardian_invitation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2396
|
-
command =
|
2621
|
+
command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
|
2397
2622
|
command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
|
2398
2623
|
command.request_object = guardian_invitation_object
|
2399
2624
|
command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
|
@@ -2446,7 +2671,7 @@ module Google
|
|
2446
2671
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2447
2672
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2448
2673
|
def delete_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block)
|
2449
|
-
command =
|
2674
|
+
command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
|
2450
2675
|
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
2451
2676
|
command.response_class = Google::Apis::ClassroomV1::Empty
|
2452
2677
|
command.params['studentId'] = student_id unless student_id.nil?
|
@@ -2494,7 +2719,7 @@ module Google
|
|
2494
2719
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2495
2720
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2496
2721
|
def get_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block)
|
2497
|
-
command =
|
2722
|
+
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
|
2498
2723
|
command.response_representation = Google::Apis::ClassroomV1::Guardian::Representation
|
2499
2724
|
command.response_class = Google::Apis::ClassroomV1::Guardian
|
2500
2725
|
command.params['studentId'] = student_id unless student_id.nil?
|
@@ -2562,7 +2787,7 @@ module Google
|
|
2562
2787
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2563
2788
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2564
2789
|
def list_user_profile_guardians(student_id, invited_email_address: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2565
|
-
command =
|
2790
|
+
command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options)
|
2566
2791
|
command.response_representation = Google::Apis::ClassroomV1::ListGuardiansResponse::Representation
|
2567
2792
|
command.response_class = Google::Apis::ClassroomV1::ListGuardiansResponse
|
2568
2793
|
command.params['studentId'] = student_id unless student_id.nil?
|