google-api-client 0.28.7 → 0.29.0
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 -32
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +138 -0
- data/Rakefile +31 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
- data/generated/google/apis/appengine_v1beta/service.rb +7 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +4 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +28 -4
- data/generated/google/apis/bigquery_v2/representations.rb +13 -0
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
- data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +16 -16
- data/generated/google/apis/classroom_v1.rb +7 -1
- 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 +224 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +3 -2
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- 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_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
- data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- 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/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +328 -25
- data/generated/google/apis/compute_alpha/representations.rb +134 -0
- data/generated/google/apis/compute_alpha/service.rb +465 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +86 -20
- data/generated/google/apis/compute_beta/representations.rb +7 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +994 -103
- data/generated/google/apis/compute_v1/representations.rb +346 -0
- data/generated/google/apis/compute_v1/service.rb +533 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +167 -21
- data/generated/google/apis/container_v1/representations.rb +66 -0
- data/generated/google/apis/container_v1/service.rb +85 -36
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +86 -21
- data/generated/google/apis/container_v1beta1/representations.rb +32 -0
- data/generated/google/apis/container_v1beta1/service.rb +38 -38
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +5 -5
- data/generated/google/apis/content_v2/service.rb +6 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +18 -4
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/content_v2_1/service.rb +6 -6
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- 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/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +5 -5
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +202 -93
- data/generated/google/apis/dns_v1/service.rb +110 -15
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
- data/generated/google/apis/dns_v1beta2/service.rb +141 -21
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
- data/generated/google/apis/dns_v2beta1/service.rb +110 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +601 -69
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +452 -96
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -64
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +407 -77
- data/generated/google/apis/driveactivity_v2.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/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +399 -8
- data/generated/google/apis/file_v1/representations.rb +121 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +399 -8
- data/generated/google/apis/file_v1beta1/representations.rb +121 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/gmail_v1.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 +76 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +9 -8
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +13 -7
- data/generated/google/apis/jobs_v3/service.rb +1 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
- data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +3 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +64 -16
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +5 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +0 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1/service.rb +2 -1
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
- data/generated/google/apis/people_v1.rb +1 -4
- data/generated/google/apis/people_v1/classes.rb +19 -11
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +1 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -5
- data/generated/google/apis/plus_domains_v1/service.rb +8 -90
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/service.rb +7 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +3 -2
- data/generated/google/apis/poly_v1/service.rb +11 -8
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/pubsub_v1/service.rb +8 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- 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_v1beta1.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/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +20 -19
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +144 -0
- data/generated/google/apis/storage_v1/representations.rb +56 -0
- data/generated/google/apis/storage_v1/service.rb +441 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +6 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +37 -18
- data/generated/google/apis/vault_v1/representations.rb +3 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +84 -47
- data/generated/google/apis/vision_v1/service.rb +68 -4
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
- data/generated/google/apis/webmasters_v3.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 +0 -171
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- 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_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -9
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/binary-authorization/
|
27
27
|
module BinaryauthorizationV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190412'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
26
26
|
module CalendarV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190331'
|
29
29
|
|
30
30
|
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -1346,16 +1346,16 @@ module Google
|
|
1346
1346
|
# Learn more about incremental synchronization.
|
1347
1347
|
# Optional. The default is to return all entries.
|
1348
1348
|
# @param [DateTime] time_max
|
1349
|
-
# Upper bound (exclusive) for an event's
|
1350
|
-
# default is not to filter by
|
1351
|
-
# mandatory time zone offset,
|
1352
|
-
# 00Z. Milliseconds may be provided but
|
1349
|
+
# Upper bound (exclusive) for an event's end time to filter by. Optional. The
|
1350
|
+
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
1351
|
+
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1352
|
+
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
|
1353
1353
|
# timeMax must be greater than timeMin.
|
1354
1354
|
# @param [DateTime] time_min
|
1355
|
-
# Lower bound (inclusive) for an event's
|
1356
|
-
# default is not to filter by
|
1357
|
-
# mandatory time zone offset,
|
1358
|
-
# 00Z. Milliseconds may be provided but
|
1355
|
+
# Lower bound (inclusive) for an event's start time to filter by. Optional. The
|
1356
|
+
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
1357
|
+
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1358
|
+
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
|
1359
1359
|
# timeMin must be smaller than timeMax.
|
1360
1360
|
# @param [String] time_zone
|
1361
1361
|
# Time zone used in the response. Optional. The default is the time zone of the
|
@@ -1733,16 +1733,16 @@ module Google
|
|
1733
1733
|
# Learn more about incremental synchronization.
|
1734
1734
|
# Optional. The default is to return all entries.
|
1735
1735
|
# @param [DateTime] time_max
|
1736
|
-
# Upper bound (exclusive) for an event's
|
1737
|
-
# default is not to filter by
|
1738
|
-
# mandatory time zone offset,
|
1739
|
-
# 00Z. Milliseconds may be provided but
|
1736
|
+
# Upper bound (exclusive) for an event's end time to filter by. Optional. The
|
1737
|
+
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
1738
|
+
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1739
|
+
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
|
1740
1740
|
# timeMax must be greater than timeMin.
|
1741
1741
|
# @param [DateTime] time_min
|
1742
|
-
# Lower bound (inclusive) for an event's
|
1743
|
-
# default is not to filter by
|
1744
|
-
# mandatory time zone offset,
|
1745
|
-
# 00Z. Milliseconds may be provided but
|
1742
|
+
# Lower bound (inclusive) for an event's start time to filter by. Optional. The
|
1743
|
+
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
1744
|
+
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1745
|
+
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
|
1746
1746
|
# timeMin must be smaller than timeMax.
|
1747
1747
|
# @param [String] time_zone
|
1748
1748
|
# Time zone used in the response. Optional. The default is the time zone of the
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/classroom/
|
26
26
|
module ClassroomV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190409'
|
29
29
|
|
30
30
|
# View and manage announcements in Google Classroom
|
31
31
|
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
@@ -80,6 +80,12 @@ module Google
|
|
80
80
|
|
81
81
|
# View course work and grades for students in the Google Classroom classes you teach or administer
|
82
82
|
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
|
83
|
+
|
84
|
+
# See, create, and edit topics in Google Classroom
|
85
|
+
AUTH_CLASSROOM_TOPICS = 'https://www.googleapis.com/auth/classroom.topics'
|
86
|
+
|
87
|
+
# View topics in Google Classroom
|
88
|
+
AUTH_CLASSROOM_TOPICS_READONLY = 'https://www.googleapis.com/auth/classroom.topics.readonly'
|
83
89
|
end
|
84
90
|
end
|
85
91
|
end
|
@@ -646,6 +646,12 @@ module Google
|
|
646
646
|
# @return [String]
|
647
647
|
attr_accessor :title
|
648
648
|
|
649
|
+
# Identifier for the topic that this coursework is associated with.
|
650
|
+
# Must match an existing topic in the course.
|
651
|
+
# Corresponds to the JSON property `topicId`
|
652
|
+
# @return [String]
|
653
|
+
attr_accessor :topic_id
|
654
|
+
|
649
655
|
# Timestamp of the most recent change to this course work.
|
650
656
|
# Read-only.
|
651
657
|
# Corresponds to the JSON property `updateTime`
|
@@ -683,6 +689,7 @@ module Google
|
|
683
689
|
@state = args[:state] if args.key?(:state)
|
684
690
|
@submission_modification_mode = args[:submission_modification_mode] if args.key?(:submission_modification_mode)
|
685
691
|
@title = args[:title] if args.key?(:title)
|
692
|
+
@topic_id = args[:topic_id] if args.key?(:topic_id)
|
686
693
|
@update_time = args[:update_time] if args.key?(:update_time)
|
687
694
|
@work_type = args[:work_type] if args.key?(:work_type)
|
688
695
|
end
|
@@ -1424,6 +1431,32 @@ module Google
|
|
1424
1431
|
end
|
1425
1432
|
end
|
1426
1433
|
|
1434
|
+
# Response when listing topics.
|
1435
|
+
class ListTopicResponse
|
1436
|
+
include Google::Apis::Core::Hashable
|
1437
|
+
|
1438
|
+
# Token identifying the next page of results to return. If empty, no further
|
1439
|
+
# results are available.
|
1440
|
+
# Corresponds to the JSON property `nextPageToken`
|
1441
|
+
# @return [String]
|
1442
|
+
attr_accessor :next_page_token
|
1443
|
+
|
1444
|
+
# Topic items that match the request.
|
1445
|
+
# Corresponds to the JSON property `topic`
|
1446
|
+
# @return [Array<Google::Apis::ClassroomV1::Topic>]
|
1447
|
+
attr_accessor :topic
|
1448
|
+
|
1449
|
+
def initialize(**args)
|
1450
|
+
update!(**args)
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
# Update properties of this object
|
1454
|
+
def update!(**args)
|
1455
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1456
|
+
@topic = args[:topic] if args.key?(:topic)
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1427
1460
|
# Material attached to course work.
|
1428
1461
|
# When creating attachments, setting the `form` field is not supported.
|
1429
1462
|
class Material
|
@@ -2074,6 +2107,50 @@ module Google
|
|
2074
2107
|
end
|
2075
2108
|
end
|
2076
2109
|
|
2110
|
+
# Topic created by a teacher for the course
|
2111
|
+
class Topic
|
2112
|
+
include Google::Apis::Core::Hashable
|
2113
|
+
|
2114
|
+
# Identifier of the course.
|
2115
|
+
# Read-only.
|
2116
|
+
# Corresponds to the JSON property `courseId`
|
2117
|
+
# @return [String]
|
2118
|
+
attr_accessor :course_id
|
2119
|
+
|
2120
|
+
# The name of the topic, generated by the user.
|
2121
|
+
# Leading and trailing whitespaces, if any, will be trimmed. Also, multiple
|
2122
|
+
# consecutive whitespaces will be collapsed into one inside the name. The
|
2123
|
+
# result must be a non-empty string. Topic names are case sensitive, and must
|
2124
|
+
# be no longer than 100 characters.
|
2125
|
+
# Corresponds to the JSON property `name`
|
2126
|
+
# @return [String]
|
2127
|
+
attr_accessor :name
|
2128
|
+
|
2129
|
+
# Unique identifier for the topic.
|
2130
|
+
# Read-only.
|
2131
|
+
# Corresponds to the JSON property `topicId`
|
2132
|
+
# @return [String]
|
2133
|
+
attr_accessor :topic_id
|
2134
|
+
|
2135
|
+
# The time the topic was last updated by the system.
|
2136
|
+
# Read-only.
|
2137
|
+
# Corresponds to the JSON property `updateTime`
|
2138
|
+
# @return [String]
|
2139
|
+
attr_accessor :update_time
|
2140
|
+
|
2141
|
+
def initialize(**args)
|
2142
|
+
update!(**args)
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
# Update properties of this object
|
2146
|
+
def update!(**args)
|
2147
|
+
@course_id = args[:course_id] if args.key?(:course_id)
|
2148
|
+
@name = args[:name] if args.key?(:name)
|
2149
|
+
@topic_id = args[:topic_id] if args.key?(:topic_id)
|
2150
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2151
|
+
end
|
2152
|
+
end
|
2153
|
+
|
2077
2154
|
# Request to turn in a student submission.
|
2078
2155
|
class TurnInStudentSubmissionRequest
|
2079
2156
|
include Google::Apis::Core::Hashable
|
@@ -232,6 +232,12 @@ module Google
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
233
233
|
end
|
234
234
|
|
235
|
+
class ListTopicResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
235
241
|
class Material
|
236
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
243
|
|
@@ -346,6 +352,12 @@ module Google
|
|
346
352
|
include Google::Apis::Core::JsonObjectSupport
|
347
353
|
end
|
348
354
|
|
355
|
+
class Topic
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
349
361
|
class TurnInStudentSubmissionRequest
|
350
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
363
|
|
@@ -512,6 +524,7 @@ module Google
|
|
512
524
|
property :state, as: 'state'
|
513
525
|
property :submission_modification_mode, as: 'submissionModificationMode'
|
514
526
|
property :title, as: 'title'
|
527
|
+
property :topic_id, as: 'topicId'
|
515
528
|
property :update_time, as: 'updateTime'
|
516
529
|
property :work_type, as: 'workType'
|
517
530
|
end
|
@@ -735,6 +748,15 @@ module Google
|
|
735
748
|
end
|
736
749
|
end
|
737
750
|
|
751
|
+
class ListTopicResponse
|
752
|
+
# @private
|
753
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
754
|
+
property :next_page_token, as: 'nextPageToken'
|
755
|
+
collection :topic, as: 'topic', class: Google::Apis::ClassroomV1::Topic, decorator: Google::Apis::ClassroomV1::Topic::Representation
|
756
|
+
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
738
760
|
class Material
|
739
761
|
# @private
|
740
762
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -924,6 +946,16 @@ module Google
|
|
924
946
|
end
|
925
947
|
end
|
926
948
|
|
949
|
+
class Topic
|
950
|
+
# @private
|
951
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
952
|
+
property :course_id, as: 'courseId'
|
953
|
+
property :name, as: 'name'
|
954
|
+
property :topic_id, as: 'topicId'
|
955
|
+
property :update_time, as: 'updateTime'
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
927
959
|
class TurnInStudentSubmissionRequest
|
928
960
|
# @private
|
929
961
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1848,6 +1848,230 @@ module Google
|
|
1848
1848
|
execute_or_queue_command(command, &block)
|
1849
1849
|
end
|
1850
1850
|
|
1851
|
+
# Creates a topic.
|
1852
|
+
# This method returns the following error codes:
|
1853
|
+
# * `PERMISSION_DENIED` if the requesting user is not permitted to access the
|
1854
|
+
# requested course, create a topic in the requested course,
|
1855
|
+
# or for access errors.
|
1856
|
+
# * `INVALID_ARGUMENT` if the request is malformed.
|
1857
|
+
# * `NOT_FOUND` if the requested course does not exist.
|
1858
|
+
# @param [String] course_id
|
1859
|
+
# Identifier of the course.
|
1860
|
+
# This identifier can be either the Classroom-assigned identifier or an
|
1861
|
+
# alias.
|
1862
|
+
# @param [Google::Apis::ClassroomV1::Topic] topic_object
|
1863
|
+
# @param [String] fields
|
1864
|
+
# Selector specifying which fields to include in a partial response.
|
1865
|
+
# @param [String] quota_user
|
1866
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1867
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1868
|
+
# @param [Google::Apis::RequestOptions] options
|
1869
|
+
# Request-specific options
|
1870
|
+
#
|
1871
|
+
# @yield [result, err] Result & error if block supplied
|
1872
|
+
# @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
|
1873
|
+
# @yieldparam err [StandardError] error object if request failed
|
1874
|
+
#
|
1875
|
+
# @return [Google::Apis::ClassroomV1::Topic]
|
1876
|
+
#
|
1877
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1878
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1879
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1880
|
+
def create_course_topic(course_id, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1881
|
+
command = make_simple_command(:post, 'v1/courses/{courseId}/topics', options)
|
1882
|
+
command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
|
1883
|
+
command.request_object = topic_object
|
1884
|
+
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
|
1885
|
+
command.response_class = Google::Apis::ClassroomV1::Topic
|
1886
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
1887
|
+
command.query['fields'] = fields unless fields.nil?
|
1888
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1889
|
+
execute_or_queue_command(command, &block)
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
# Deletes a topic.
|
1893
|
+
# This method returns the following error codes:
|
1894
|
+
# * `PERMISSION_DENIED` if the requesting user is not allowed to delete the
|
1895
|
+
# requested topic or for access errors.
|
1896
|
+
# * `FAILED_PRECONDITION` if the requested topic has already been
|
1897
|
+
# deleted.
|
1898
|
+
# * `NOT_FOUND` if no course or topic exists with the requested ID.
|
1899
|
+
# @param [String] course_id
|
1900
|
+
# Identifier of the course.
|
1901
|
+
# This identifier can be either the Classroom-assigned identifier or an
|
1902
|
+
# alias.
|
1903
|
+
# @param [String] id
|
1904
|
+
# Identifier of the topic to delete.
|
1905
|
+
# @param [String] fields
|
1906
|
+
# Selector specifying which fields to include in a partial response.
|
1907
|
+
# @param [String] quota_user
|
1908
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1909
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1910
|
+
# @param [Google::Apis::RequestOptions] options
|
1911
|
+
# Request-specific options
|
1912
|
+
#
|
1913
|
+
# @yield [result, err] Result & error if block supplied
|
1914
|
+
# @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object
|
1915
|
+
# @yieldparam err [StandardError] error object if request failed
|
1916
|
+
#
|
1917
|
+
# @return [Google::Apis::ClassroomV1::Empty]
|
1918
|
+
#
|
1919
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1920
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1921
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1922
|
+
def delete_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
1923
|
+
command = make_simple_command(:delete, 'v1/courses/{courseId}/topics/{id}', options)
|
1924
|
+
command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
|
1925
|
+
command.response_class = Google::Apis::ClassroomV1::Empty
|
1926
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
1927
|
+
command.params['id'] = id unless id.nil?
|
1928
|
+
command.query['fields'] = fields unless fields.nil?
|
1929
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1930
|
+
execute_or_queue_command(command, &block)
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# Returns a topic.
|
1934
|
+
# This method returns the following error codes:
|
1935
|
+
# * `PERMISSION_DENIED` if the requesting user is not permitted to access the
|
1936
|
+
# requested course or topic, or for access errors.
|
1937
|
+
# * `INVALID_ARGUMENT` if the request is malformed.
|
1938
|
+
# * `NOT_FOUND` if the requested course or topic does not exist.
|
1939
|
+
# @param [String] course_id
|
1940
|
+
# Identifier of the course.
|
1941
|
+
# @param [String] id
|
1942
|
+
# Identifier of the topic.
|
1943
|
+
# @param [String] fields
|
1944
|
+
# Selector specifying which fields to include in a partial response.
|
1945
|
+
# @param [String] quota_user
|
1946
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1947
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1948
|
+
# @param [Google::Apis::RequestOptions] options
|
1949
|
+
# Request-specific options
|
1950
|
+
#
|
1951
|
+
# @yield [result, err] Result & error if block supplied
|
1952
|
+
# @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
|
1953
|
+
# @yieldparam err [StandardError] error object if request failed
|
1954
|
+
#
|
1955
|
+
# @return [Google::Apis::ClassroomV1::Topic]
|
1956
|
+
#
|
1957
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1958
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1959
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1960
|
+
def get_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
1961
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/topics/{id}', options)
|
1962
|
+
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
|
1963
|
+
command.response_class = Google::Apis::ClassroomV1::Topic
|
1964
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
1965
|
+
command.params['id'] = id unless id.nil?
|
1966
|
+
command.query['fields'] = fields unless fields.nil?
|
1967
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1968
|
+
execute_or_queue_command(command, &block)
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
# Returns the list of topics that the requester is permitted to view.
|
1972
|
+
# This method returns the following error codes:
|
1973
|
+
# * `PERMISSION_DENIED` if the requesting user is not permitted to access
|
1974
|
+
# the requested course or for access errors.
|
1975
|
+
# * `INVALID_ARGUMENT` if the request is malformed.
|
1976
|
+
# * `NOT_FOUND` if the requested course does not exist.
|
1977
|
+
# @param [String] course_id
|
1978
|
+
# Identifier of the course.
|
1979
|
+
# This identifier can be either the Classroom-assigned identifier or an
|
1980
|
+
# alias.
|
1981
|
+
# @param [Fixnum] page_size
|
1982
|
+
# Maximum number of items to return. Zero or unspecified indicates that the
|
1983
|
+
# server may assign a maximum.
|
1984
|
+
# The server may return fewer than the specified number of results.
|
1985
|
+
# @param [String] page_token
|
1986
|
+
# nextPageToken
|
1987
|
+
# value returned from a previous
|
1988
|
+
# list call,
|
1989
|
+
# indicating that the subsequent page of results should be returned.
|
1990
|
+
# The list request
|
1991
|
+
# must be otherwise identical to the one that resulted in this token.
|
1992
|
+
# @param [String] fields
|
1993
|
+
# Selector specifying which fields to include in a partial response.
|
1994
|
+
# @param [String] quota_user
|
1995
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1996
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1997
|
+
# @param [Google::Apis::RequestOptions] options
|
1998
|
+
# Request-specific options
|
1999
|
+
#
|
2000
|
+
# @yield [result, err] Result & error if block supplied
|
2001
|
+
# @yieldparam result [Google::Apis::ClassroomV1::ListTopicResponse] parsed result object
|
2002
|
+
# @yieldparam err [StandardError] error object if request failed
|
2003
|
+
#
|
2004
|
+
# @return [Google::Apis::ClassroomV1::ListTopicResponse]
|
2005
|
+
#
|
2006
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2007
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2008
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2009
|
+
def list_course_topics(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2010
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/topics', options)
|
2011
|
+
command.response_representation = Google::Apis::ClassroomV1::ListTopicResponse::Representation
|
2012
|
+
command.response_class = Google::Apis::ClassroomV1::ListTopicResponse
|
2013
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
2014
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2015
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2016
|
+
command.query['fields'] = fields unless fields.nil?
|
2017
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2018
|
+
execute_or_queue_command(command, &block)
|
2019
|
+
end
|
2020
|
+
|
2021
|
+
# Updates one or more fields of a topic.
|
2022
|
+
# This method returns the following error codes:
|
2023
|
+
# * `PERMISSION_DENIED` if the requesting developer project did not create
|
2024
|
+
# the corresponding topic or for access errors.
|
2025
|
+
# * `INVALID_ARGUMENT` if the request is malformed.
|
2026
|
+
# * `NOT_FOUND` if the requested course or topic does not exist
|
2027
|
+
# @param [String] course_id
|
2028
|
+
# Identifier of the course.
|
2029
|
+
# This identifier can be either the Classroom-assigned identifier or an
|
2030
|
+
# alias.
|
2031
|
+
# @param [String] id
|
2032
|
+
# Identifier of the topic.
|
2033
|
+
# @param [Google::Apis::ClassroomV1::Topic] topic_object
|
2034
|
+
# @param [String] update_mask
|
2035
|
+
# Mask that identifies which fields on the topic to update.
|
2036
|
+
# This field is required to do an update. The update fails if invalid
|
2037
|
+
# fields are specified. If a field supports empty values, it can be cleared
|
2038
|
+
# by specifying it in the update mask and not in the Topic object. If a
|
2039
|
+
# field that does not support empty values is included in the update mask and
|
2040
|
+
# not set in the Topic object, an `INVALID_ARGUMENT` error will be
|
2041
|
+
# returned.
|
2042
|
+
# The following fields may be specified:
|
2043
|
+
# * `name`
|
2044
|
+
# @param [String] fields
|
2045
|
+
# Selector specifying which fields to include in a partial response.
|
2046
|
+
# @param [String] quota_user
|
2047
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2048
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2049
|
+
# @param [Google::Apis::RequestOptions] options
|
2050
|
+
# Request-specific options
|
2051
|
+
#
|
2052
|
+
# @yield [result, err] Result & error if block supplied
|
2053
|
+
# @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
|
2054
|
+
# @yieldparam err [StandardError] error object if request failed
|
2055
|
+
#
|
2056
|
+
# @return [Google::Apis::ClassroomV1::Topic]
|
2057
|
+
#
|
2058
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2059
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2060
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2061
|
+
def patch_course_topic(course_id, id, topic_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2062
|
+
command = make_simple_command(:patch, 'v1/courses/{courseId}/topics/{id}', options)
|
2063
|
+
command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
|
2064
|
+
command.request_object = topic_object
|
2065
|
+
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
|
2066
|
+
command.response_class = Google::Apis::ClassroomV1::Topic
|
2067
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
2068
|
+
command.params['id'] = id unless id.nil?
|
2069
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2070
|
+
command.query['fields'] = fields unless fields.nil?
|
2071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2072
|
+
execute_or_queue_command(command, &block)
|
2073
|
+
end
|
2074
|
+
|
1851
2075
|
# Accepts an invitation, removing it and adding the invited user to the
|
1852
2076
|
# teachers or students (as appropriate) of the specified course. Only the
|
1853
2077
|
# invited user may accept an invitation.
|