google-api-client 0.29.0 → 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/CHANGELOG.md +122 -0
- data/README.md +1 -1
- 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 +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- 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 +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- 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/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- 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/service.rb +8 -8
- 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/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- 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/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- 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 +58 -58
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- 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 +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- 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 +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 +53 -33
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- 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 +45 -45
- 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/service.rb +57 -56
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- 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/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- 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/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- 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/service.rb +24 -24
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- 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 +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- 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 +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- 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/service.rb +2 -2
- 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/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- 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 +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- 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 +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -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/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +152 -100
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +100 -64
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- 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 +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -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/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- 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_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- 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 +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +59 -42
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- 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/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- 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/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- 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 +6 -0
- 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 +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- 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/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- 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/service.rb +20 -20
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- 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 +1 -1
- 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 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- 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 +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -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 +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
- 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 +14 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
- 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 +14 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
- 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/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/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1/classes.rb +51 -9
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -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 +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +52 -52
- 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 +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- 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 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- 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_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- 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 +1 -1
- 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/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- 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 +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- 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/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- 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/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/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -73,7 +73,7 @@ module Google
|
|
73
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
75
|
def get_about(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
76
|
-
command =
|
76
|
+
command = make_simple_command(:get, 'about', options)
|
77
77
|
command.response_representation = Google::Apis::DriveV3::About::Representation
|
78
78
|
command.response_class = Google::Apis::DriveV3::About
|
79
79
|
command.query['fields'] = fields unless fields.nil?
|
@@ -87,7 +87,9 @@ module Google
|
|
87
87
|
# The ID of the shared drive for which the starting pageToken for listing future
|
88
88
|
# changes from that shared drive will be returned.
|
89
89
|
# @param [Boolean] supports_all_drives
|
90
|
-
# Whether the requesting application supports both My Drives and
|
90
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
91
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
92
|
+
# Afterwards all applications are assumed to support shared drives.
|
91
93
|
# @param [Boolean] supports_team_drives
|
92
94
|
# Deprecated use supportsAllDrives instead.
|
93
95
|
# @param [String] team_drive_id
|
@@ -112,7 +114,7 @@ module Google
|
|
112
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
116
|
def get_changes_start_page_token(drive_id: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
115
|
-
command =
|
117
|
+
command = make_simple_command(:get, 'changes/startPageToken', options)
|
116
118
|
command.response_representation = Google::Apis::DriveV3::StartPageToken::Representation
|
117
119
|
command.response_class = Google::Apis::DriveV3::StartPageToken
|
118
120
|
command.query['driveId'] = drive_id unless drive_id.nil?
|
@@ -140,7 +142,9 @@ module Google
|
|
140
142
|
# removed from the list of changes and there will be no further change entries
|
141
143
|
# for this file.
|
142
144
|
# @param [Boolean] include_items_from_all_drives
|
143
|
-
# Whether both My Drive and shared drive items should be included
|
145
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
146
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
147
|
+
# Afterwards shared drive items will be included in the results.
|
144
148
|
# @param [Boolean] include_removed
|
145
149
|
# Whether to include changes indicating that items have been removed from the
|
146
150
|
# list of changes, for example by deletion or loss of access.
|
@@ -156,7 +160,9 @@ module Google
|
|
156
160
|
# A comma-separated list of spaces to query within the user corpus. Supported
|
157
161
|
# values are 'drive', 'appDataFolder' and 'photos'.
|
158
162
|
# @param [Boolean] supports_all_drives
|
159
|
-
# Whether the requesting application supports both My Drives and
|
163
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
164
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
165
|
+
# Afterwards all applications are assumed to support shared drives.
|
160
166
|
# @param [Boolean] supports_team_drives
|
161
167
|
# Deprecated use supportsAllDrives instead.
|
162
168
|
# @param [String] team_drive_id
|
@@ -181,7 +187,7 @@ module Google
|
|
181
187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
182
188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
183
189
|
def list_changes(page_token, drive_id: nil, include_corpus_removals: nil, include_items_from_all_drives: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
184
|
-
command =
|
190
|
+
command = make_simple_command(:get, 'changes', options)
|
185
191
|
command.response_representation = Google::Apis::DriveV3::ChangeList::Representation
|
186
192
|
command.response_class = Google::Apis::DriveV3::ChangeList
|
187
193
|
command.query['driveId'] = drive_id unless drive_id.nil?
|
@@ -218,7 +224,9 @@ module Google
|
|
218
224
|
# removed from the list of changes and there will be no further change entries
|
219
225
|
# for this file.
|
220
226
|
# @param [Boolean] include_items_from_all_drives
|
221
|
-
# Whether both My Drive and shared drive items should be included
|
227
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
228
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
229
|
+
# Afterwards shared drive items will be included in the results.
|
222
230
|
# @param [Boolean] include_removed
|
223
231
|
# Whether to include changes indicating that items have been removed from the
|
224
232
|
# list of changes, for example by deletion or loss of access.
|
@@ -234,7 +242,9 @@ module Google
|
|
234
242
|
# A comma-separated list of spaces to query within the user corpus. Supported
|
235
243
|
# values are 'drive', 'appDataFolder' and 'photos'.
|
236
244
|
# @param [Boolean] supports_all_drives
|
237
|
-
# Whether the requesting application supports both My Drives and
|
245
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
246
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
247
|
+
# Afterwards all applications are assumed to support shared drives.
|
238
248
|
# @param [Boolean] supports_team_drives
|
239
249
|
# Deprecated use supportsAllDrives instead.
|
240
250
|
# @param [String] team_drive_id
|
@@ -259,7 +269,7 @@ module Google
|
|
259
269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
260
270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
261
271
|
def watch_change(page_token, channel_object = nil, drive_id: nil, include_corpus_removals: nil, include_items_from_all_drives: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
262
|
-
command =
|
272
|
+
command = make_simple_command(:post, 'changes/watch', options)
|
263
273
|
command.request_representation = Google::Apis::DriveV3::Channel::Representation
|
264
274
|
command.request_object = channel_object
|
265
275
|
command.response_representation = Google::Apis::DriveV3::Channel::Representation
|
@@ -304,7 +314,7 @@ module Google
|
|
304
314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
305
315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
306
316
|
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
307
|
-
command =
|
317
|
+
command = make_simple_command(:post, 'channels/stop', options)
|
308
318
|
command.request_representation = Google::Apis::DriveV3::Channel::Representation
|
309
319
|
command.request_object = channel_object
|
310
320
|
command.query['fields'] = fields unless fields.nil?
|
@@ -337,7 +347,7 @@ module Google
|
|
337
347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
338
348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
339
349
|
def create_comment(file_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
340
|
-
command =
|
350
|
+
command = make_simple_command(:post, 'files/{fileId}/comments', options)
|
341
351
|
command.request_representation = Google::Apis::DriveV3::Comment::Representation
|
342
352
|
command.request_object = comment_object
|
343
353
|
command.response_representation = Google::Apis::DriveV3::Comment::Representation
|
@@ -374,7 +384,7 @@ module Google
|
|
374
384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
375
385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
376
386
|
def delete_comment(file_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
377
|
-
command =
|
387
|
+
command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}', options)
|
378
388
|
command.params['fileId'] = file_id unless file_id.nil?
|
379
389
|
command.params['commentId'] = comment_id unless comment_id.nil?
|
380
390
|
command.query['fields'] = fields unless fields.nil?
|
@@ -411,7 +421,7 @@ module Google
|
|
411
421
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
412
422
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
413
423
|
def get_comment(file_id, comment_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
414
|
-
command =
|
424
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}', options)
|
415
425
|
command.response_representation = Google::Apis::DriveV3::Comment::Representation
|
416
426
|
command.response_class = Google::Apis::DriveV3::Comment
|
417
427
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -457,7 +467,7 @@ module Google
|
|
457
467
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
458
468
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
459
469
|
def list_comments(file_id, include_deleted: nil, page_size: nil, page_token: nil, start_modified_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
460
|
-
command =
|
470
|
+
command = make_simple_command(:get, 'files/{fileId}/comments', options)
|
461
471
|
command.response_representation = Google::Apis::DriveV3::CommentList::Representation
|
462
472
|
command.response_class = Google::Apis::DriveV3::CommentList
|
463
473
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -497,7 +507,7 @@ module Google
|
|
497
507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
498
508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
499
509
|
def update_comment(file_id, comment_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
500
|
-
command =
|
510
|
+
command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}', options)
|
501
511
|
command.request_representation = Google::Apis::DriveV3::Comment::Representation
|
502
512
|
command.request_object = comment_object
|
503
513
|
command.response_representation = Google::Apis::DriveV3::Comment::Representation
|
@@ -538,7 +548,7 @@ module Google
|
|
538
548
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
539
549
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
540
550
|
def create_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
541
|
-
command =
|
551
|
+
command = make_simple_command(:post, 'drives', options)
|
542
552
|
command.request_representation = Google::Apis::DriveV3::Drive::Representation
|
543
553
|
command.request_object = drive_object
|
544
554
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
@@ -574,7 +584,7 @@ module Google
|
|
574
584
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
575
585
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
576
586
|
def delete_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
577
|
-
command =
|
587
|
+
command = make_simple_command(:delete, 'drives/{driveId}', options)
|
578
588
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
579
589
|
command.query['fields'] = fields unless fields.nil?
|
580
590
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -609,7 +619,7 @@ module Google
|
|
609
619
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
610
620
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
611
621
|
def get_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
612
|
-
command =
|
622
|
+
command = make_simple_command(:get, 'drives/{driveId}', options)
|
613
623
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
614
624
|
command.response_class = Google::Apis::DriveV3::Drive
|
615
625
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
@@ -643,7 +653,7 @@ module Google
|
|
643
653
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
644
654
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
645
655
|
def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
646
|
-
command =
|
656
|
+
command = make_simple_command(:post, 'drives/{driveId}/hide', options)
|
647
657
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
648
658
|
command.response_class = Google::Apis::DriveV3::Drive
|
649
659
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
@@ -683,7 +693,7 @@ module Google
|
|
683
693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
684
694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
685
695
|
def list_drives(page_size: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
686
|
-
command =
|
696
|
+
command = make_simple_command(:get, 'drives', options)
|
687
697
|
command.response_representation = Google::Apis::DriveV3::DriveList::Representation
|
688
698
|
command.response_class = Google::Apis::DriveV3::DriveList
|
689
699
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -719,7 +729,7 @@ module Google
|
|
719
729
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
720
730
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
721
731
|
def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
722
|
-
command =
|
732
|
+
command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
|
723
733
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
724
734
|
command.response_class = Google::Apis::DriveV3::Drive
|
725
735
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
@@ -757,7 +767,7 @@ module Google
|
|
757
767
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
758
768
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
759
769
|
def update_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
760
|
-
command =
|
770
|
+
command = make_simple_command(:patch, 'drives/{driveId}', options)
|
761
771
|
command.request_representation = Google::Apis::DriveV3::Drive::Representation
|
762
772
|
command.request_object = drive_object
|
763
773
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
@@ -786,7 +796,9 @@ module Google
|
|
786
796
|
# @param [String] ocr_language
|
787
797
|
# A language hint for OCR processing during image import (ISO 639-1 code).
|
788
798
|
# @param [Boolean] supports_all_drives
|
789
|
-
# Whether the requesting application supports both My Drives and
|
799
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
800
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
801
|
+
# Afterwards all applications are assumed to support shared drives.
|
790
802
|
# @param [Boolean] supports_team_drives
|
791
803
|
# Deprecated use supportsAllDrives instead.
|
792
804
|
# @param [String] fields
|
@@ -809,7 +821,7 @@ module Google
|
|
809
821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
810
822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
811
823
|
def copy_file(file_id, file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
812
|
-
command =
|
824
|
+
command = make_simple_command(:post, 'files/{fileId}/copy', options)
|
813
825
|
command.request_representation = Google::Apis::DriveV3::File::Representation
|
814
826
|
command.request_object = file_object
|
815
827
|
command.response_representation = Google::Apis::DriveV3::File::Representation
|
@@ -839,7 +851,9 @@ module Google
|
|
839
851
|
# @param [String] ocr_language
|
840
852
|
# A language hint for OCR processing during image import (ISO 639-1 code).
|
841
853
|
# @param [Boolean] supports_all_drives
|
842
|
-
# Whether the requesting application supports both My Drives and
|
854
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
855
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
856
|
+
# Afterwards all applications are assumed to support shared drives.
|
843
857
|
# @param [Boolean] supports_team_drives
|
844
858
|
# Deprecated use supportsAllDrives instead.
|
845
859
|
# @param [Boolean] use_content_as_indexable_text
|
@@ -869,7 +883,7 @@ module Google
|
|
869
883
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
870
884
|
def create_file(file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
871
885
|
if upload_source.nil?
|
872
|
-
command =
|
886
|
+
command = make_simple_command(:post, 'files', options)
|
873
887
|
else
|
874
888
|
command = make_upload_command(:post, 'files', options)
|
875
889
|
command.upload_source = upload_source
|
@@ -898,7 +912,9 @@ module Google
|
|
898
912
|
# @param [String] file_id
|
899
913
|
# The ID of the file.
|
900
914
|
# @param [Boolean] supports_all_drives
|
901
|
-
# Whether the requesting application supports both My Drives and
|
915
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
916
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
917
|
+
# Afterwards all applications are assumed to support shared drives.
|
902
918
|
# @param [Boolean] supports_team_drives
|
903
919
|
# Deprecated use supportsAllDrives instead.
|
904
920
|
# @param [String] fields
|
@@ -921,7 +937,7 @@ module Google
|
|
921
937
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
922
938
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
923
939
|
def delete_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
924
|
-
command =
|
940
|
+
command = make_simple_command(:delete, 'files/{fileId}', options)
|
925
941
|
command.params['fileId'] = file_id unless file_id.nil?
|
926
942
|
command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
|
927
943
|
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
|
@@ -952,7 +968,7 @@ module Google
|
|
952
968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
953
969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
954
970
|
def empty_file_trash(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
955
|
-
command =
|
971
|
+
command = make_simple_command(:delete, 'files/trash', options)
|
956
972
|
command.query['fields'] = fields unless fields.nil?
|
957
973
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
958
974
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -988,7 +1004,7 @@ module Google
|
|
988
1004
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
989
1005
|
def export_file(file_id, mime_type, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
990
1006
|
if download_dest.nil?
|
991
|
-
command =
|
1007
|
+
command = make_simple_command(:get, 'files/{fileId}/export', options)
|
992
1008
|
else
|
993
1009
|
command = make_download_command(:get, 'files/{fileId}/export', options)
|
994
1010
|
command.download_dest = download_dest
|
@@ -1027,7 +1043,7 @@ module Google
|
|
1027
1043
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1028
1044
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1029
1045
|
def generate_file_ids(count: nil, space: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1030
|
-
command =
|
1046
|
+
command = make_simple_command(:get, 'files/generateIds', options)
|
1031
1047
|
command.response_representation = Google::Apis::DriveV3::GeneratedIds::Representation
|
1032
1048
|
command.response_class = Google::Apis::DriveV3::GeneratedIds
|
1033
1049
|
command.query['count'] = count unless count.nil?
|
@@ -1045,7 +1061,9 @@ module Google
|
|
1045
1061
|
# Whether the user is acknowledging the risk of downloading known malware or
|
1046
1062
|
# other abusive files. This is only applicable when alt=media.
|
1047
1063
|
# @param [Boolean] supports_all_drives
|
1048
|
-
# Whether the requesting application supports both My Drives and
|
1064
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1065
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1066
|
+
# Afterwards all applications are assumed to support shared drives.
|
1049
1067
|
# @param [Boolean] supports_team_drives
|
1050
1068
|
# Deprecated use supportsAllDrives instead.
|
1051
1069
|
# @param [String] fields
|
@@ -1071,7 +1089,7 @@ module Google
|
|
1071
1089
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1072
1090
|
def get_file(file_id, acknowledge_abuse: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1073
1091
|
if download_dest.nil?
|
1074
|
-
command =
|
1092
|
+
command = make_simple_command(:get, 'files/{fileId}', options)
|
1075
1093
|
else
|
1076
1094
|
command = make_download_command(:get, 'files/{fileId}', options)
|
1077
1095
|
command.download_dest = download_dest
|
@@ -1098,7 +1116,9 @@ module Google
|
|
1098
1116
|
# @param [String] drive_id
|
1099
1117
|
# ID of the shared drive to search.
|
1100
1118
|
# @param [Boolean] include_items_from_all_drives
|
1101
|
-
# Whether both My Drive and shared drive items should be included
|
1119
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
1120
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
1121
|
+
# Afterwards shared drive items will be included in the results.
|
1102
1122
|
# @param [Boolean] include_team_drive_items
|
1103
1123
|
# Deprecated use includeItemsFromAllDrives instead.
|
1104
1124
|
# @param [String] order_by
|
@@ -1122,7 +1142,9 @@ module Google
|
|
1122
1142
|
# A comma-separated list of spaces to query within the corpus. Supported values
|
1123
1143
|
# are 'drive', 'appDataFolder' and 'photos'.
|
1124
1144
|
# @param [Boolean] supports_all_drives
|
1125
|
-
# Whether the requesting application supports both My Drives and
|
1145
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1146
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1147
|
+
# Afterwards all applications are assumed to support shared drives.
|
1126
1148
|
# @param [Boolean] supports_team_drives
|
1127
1149
|
# Deprecated use supportsAllDrives instead.
|
1128
1150
|
# @param [String] team_drive_id
|
@@ -1147,7 +1169,7 @@ module Google
|
|
1147
1169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1148
1170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1149
1171
|
def list_files(corpora: nil, corpus: nil, drive_id: nil, include_items_from_all_drives: nil, include_team_drive_items: nil, order_by: nil, page_size: nil, page_token: nil, q: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1150
|
-
command =
|
1172
|
+
command = make_simple_command(:get, 'files', options)
|
1151
1173
|
command.response_representation = Google::Apis::DriveV3::FileList::Representation
|
1152
1174
|
command.response_class = Google::Apis::DriveV3::FileList
|
1153
1175
|
command.query['corpora'] = corpora unless corpora.nil?
|
@@ -1183,7 +1205,9 @@ module Google
|
|
1183
1205
|
# @param [String] remove_parents
|
1184
1206
|
# A comma-separated list of parent IDs to remove.
|
1185
1207
|
# @param [Boolean] supports_all_drives
|
1186
|
-
# Whether the requesting application supports both My Drives and
|
1208
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1209
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1210
|
+
# Afterwards all applications are assumed to support shared drives.
|
1187
1211
|
# @param [Boolean] supports_team_drives
|
1188
1212
|
# Deprecated use supportsAllDrives instead.
|
1189
1213
|
# @param [Boolean] use_content_as_indexable_text
|
@@ -1213,7 +1237,7 @@ module Google
|
|
1213
1237
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1214
1238
|
def update_file(file_id, file_object = nil, add_parents: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1215
1239
|
if upload_source.nil?
|
1216
|
-
command =
|
1240
|
+
command = make_simple_command(:patch, 'files/{fileId}', options)
|
1217
1241
|
else
|
1218
1242
|
command = make_upload_command(:patch, 'files/{fileId}', options)
|
1219
1243
|
command.upload_source = upload_source
|
@@ -1245,7 +1269,9 @@ module Google
|
|
1245
1269
|
# Whether the user is acknowledging the risk of downloading known malware or
|
1246
1270
|
# other abusive files. This is only applicable when alt=media.
|
1247
1271
|
# @param [Boolean] supports_all_drives
|
1248
|
-
# Whether the requesting application supports both My Drives and
|
1272
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1273
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1274
|
+
# Afterwards all applications are assumed to support shared drives.
|
1249
1275
|
# @param [Boolean] supports_team_drives
|
1250
1276
|
# Deprecated use supportsAllDrives instead.
|
1251
1277
|
# @param [String] fields
|
@@ -1271,7 +1297,7 @@ module Google
|
|
1271
1297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1272
1298
|
def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1273
1299
|
if download_dest.nil?
|
1274
|
-
command =
|
1300
|
+
command = make_simple_command(:post, 'files/{fileId}/watch', options)
|
1275
1301
|
else
|
1276
1302
|
command = make_download_command(:post, 'files/{fileId}/watch', options)
|
1277
1303
|
command.download_dest = download_dest
|
@@ -1301,7 +1327,9 @@ module Google
|
|
1301
1327
|
# defaults to true for users and groups, and is not allowed for other requests.
|
1302
1328
|
# It must not be disabled for ownership transfers.
|
1303
1329
|
# @param [Boolean] supports_all_drives
|
1304
|
-
# Whether the requesting application supports both My Drives and
|
1330
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1331
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1332
|
+
# Afterwards all applications are assumed to support shared drives.
|
1305
1333
|
# @param [Boolean] supports_team_drives
|
1306
1334
|
# Deprecated use supportsAllDrives instead.
|
1307
1335
|
# @param [Boolean] transfer_ownership
|
@@ -1333,7 +1361,7 @@ module Google
|
|
1333
1361
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1334
1362
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1335
1363
|
def create_permission(file_id, permission_object = nil, email_message: nil, send_notification_email: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1336
|
-
command =
|
1364
|
+
command = make_simple_command(:post, 'files/{fileId}/permissions', options)
|
1337
1365
|
command.request_representation = Google::Apis::DriveV3::Permission::Representation
|
1338
1366
|
command.request_object = permission_object
|
1339
1367
|
command.response_representation = Google::Apis::DriveV3::Permission::Representation
|
@@ -1357,7 +1385,9 @@ module Google
|
|
1357
1385
|
# @param [String] permission_id
|
1358
1386
|
# The ID of the permission.
|
1359
1387
|
# @param [Boolean] supports_all_drives
|
1360
|
-
# Whether the requesting application supports both My Drives and
|
1388
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1389
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1390
|
+
# Afterwards all applications are assumed to support shared drives.
|
1361
1391
|
# @param [Boolean] supports_team_drives
|
1362
1392
|
# Deprecated use supportsAllDrives instead.
|
1363
1393
|
# @param [Boolean] use_domain_admin_access
|
@@ -1385,7 +1415,7 @@ module Google
|
|
1385
1415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1386
1416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1387
1417
|
def delete_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1388
|
-
command =
|
1418
|
+
command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
|
1389
1419
|
command.params['fileId'] = file_id unless file_id.nil?
|
1390
1420
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
1391
1421
|
command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
|
@@ -1403,7 +1433,9 @@ module Google
|
|
1403
1433
|
# @param [String] permission_id
|
1404
1434
|
# The ID of the permission.
|
1405
1435
|
# @param [Boolean] supports_all_drives
|
1406
|
-
# Whether the requesting application supports both My Drives and
|
1436
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1437
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1438
|
+
# Afterwards all applications are assumed to support shared drives.
|
1407
1439
|
# @param [Boolean] supports_team_drives
|
1408
1440
|
# Deprecated use supportsAllDrives instead.
|
1409
1441
|
# @param [Boolean] use_domain_admin_access
|
@@ -1431,7 +1463,7 @@ module Google
|
|
1431
1463
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1432
1464
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1433
1465
|
def get_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1434
|
-
command =
|
1466
|
+
command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
|
1435
1467
|
command.response_representation = Google::Apis::DriveV3::Permission::Representation
|
1436
1468
|
command.response_class = Google::Apis::DriveV3::Permission
|
1437
1469
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1456,7 +1488,9 @@ module Google
|
|
1456
1488
|
# The token for continuing a previous list request on the next page. This should
|
1457
1489
|
# be set to the value of 'nextPageToken' from the previous response.
|
1458
1490
|
# @param [Boolean] supports_all_drives
|
1459
|
-
# Whether the requesting application supports both My Drives and
|
1491
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1492
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1493
|
+
# Afterwards all applications are assumed to support shared drives.
|
1460
1494
|
# @param [Boolean] supports_team_drives
|
1461
1495
|
# Deprecated use supportsAllDrives instead.
|
1462
1496
|
# @param [Boolean] use_domain_admin_access
|
@@ -1484,7 +1518,7 @@ module Google
|
|
1484
1518
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1485
1519
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1486
1520
|
def list_permissions(file_id, page_size: nil, page_token: nil, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1487
|
-
command =
|
1521
|
+
command = make_simple_command(:get, 'files/{fileId}/permissions', options)
|
1488
1522
|
command.response_representation = Google::Apis::DriveV3::PermissionList::Representation
|
1489
1523
|
command.response_class = Google::Apis::DriveV3::PermissionList
|
1490
1524
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1508,7 +1542,9 @@ module Google
|
|
1508
1542
|
# @param [Boolean] remove_expiration
|
1509
1543
|
# Whether to remove the expiration date.
|
1510
1544
|
# @param [Boolean] supports_all_drives
|
1511
|
-
# Whether the requesting application supports both My Drives and
|
1545
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1546
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1547
|
+
# Afterwards all applications are assumed to support shared drives.
|
1512
1548
|
# @param [Boolean] supports_team_drives
|
1513
1549
|
# Deprecated use supportsAllDrives instead.
|
1514
1550
|
# @param [Boolean] transfer_ownership
|
@@ -1540,7 +1576,7 @@ module Google
|
|
1540
1576
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1541
1577
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1542
1578
|
def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1543
|
-
command =
|
1579
|
+
command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
|
1544
1580
|
command.request_representation = Google::Apis::DriveV3::Permission::Representation
|
1545
1581
|
command.request_object = permission_object
|
1546
1582
|
command.response_representation = Google::Apis::DriveV3::Permission::Representation
|
@@ -1584,7 +1620,7 @@ module Google
|
|
1584
1620
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1585
1621
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1586
1622
|
def create_reply(file_id, comment_id, reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1587
|
-
command =
|
1623
|
+
command = make_simple_command(:post, 'files/{fileId}/comments/{commentId}/replies', options)
|
1588
1624
|
command.request_representation = Google::Apis::DriveV3::Reply::Representation
|
1589
1625
|
command.request_object = reply_object
|
1590
1626
|
command.response_representation = Google::Apis::DriveV3::Reply::Representation
|
@@ -1624,7 +1660,7 @@ module Google
|
|
1624
1660
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1625
1661
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1626
1662
|
def delete_reply(file_id, comment_id, reply_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1627
|
-
command =
|
1663
|
+
command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
1628
1664
|
command.params['fileId'] = file_id unless file_id.nil?
|
1629
1665
|
command.params['commentId'] = comment_id unless comment_id.nil?
|
1630
1666
|
command.params['replyId'] = reply_id unless reply_id.nil?
|
@@ -1664,7 +1700,7 @@ module Google
|
|
1664
1700
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1665
1701
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1666
1702
|
def get_reply(file_id, comment_id, reply_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1667
|
-
command =
|
1703
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
1668
1704
|
command.response_representation = Google::Apis::DriveV3::Reply::Representation
|
1669
1705
|
command.response_class = Google::Apis::DriveV3::Reply
|
1670
1706
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1710,7 +1746,7 @@ module Google
|
|
1710
1746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1711
1747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1712
1748
|
def list_replies(file_id, comment_id, include_deleted: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1713
|
-
command =
|
1749
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies', options)
|
1714
1750
|
command.response_representation = Google::Apis::DriveV3::ReplyList::Representation
|
1715
1751
|
command.response_class = Google::Apis::DriveV3::ReplyList
|
1716
1752
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1752,7 +1788,7 @@ module Google
|
|
1752
1788
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1753
1789
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1754
1790
|
def update_reply(file_id, comment_id, reply_id, reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1755
|
-
command =
|
1791
|
+
command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
1756
1792
|
command.request_representation = Google::Apis::DriveV3::Reply::Representation
|
1757
1793
|
command.request_object = reply_object
|
1758
1794
|
command.response_representation = Google::Apis::DriveV3::Reply::Representation
|
@@ -1794,7 +1830,7 @@ module Google
|
|
1794
1830
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1795
1831
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1796
1832
|
def delete_revision(file_id, revision_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1797
|
-
command =
|
1833
|
+
command = make_simple_command(:delete, 'files/{fileId}/revisions/{revisionId}', options)
|
1798
1834
|
command.params['fileId'] = file_id unless file_id.nil?
|
1799
1835
|
command.params['revisionId'] = revision_id unless revision_id.nil?
|
1800
1836
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1834,7 +1870,7 @@ module Google
|
|
1834
1870
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1835
1871
|
def get_revision(file_id, revision_id, acknowledge_abuse: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1836
1872
|
if download_dest.nil?
|
1837
|
-
command =
|
1873
|
+
command = make_simple_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
|
1838
1874
|
else
|
1839
1875
|
command = make_download_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
|
1840
1876
|
command.download_dest = download_dest
|
@@ -1878,7 +1914,7 @@ module Google
|
|
1878
1914
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1879
1915
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1880
1916
|
def list_revisions(file_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1881
|
-
command =
|
1917
|
+
command = make_simple_command(:get, 'files/{fileId}/revisions', options)
|
1882
1918
|
command.response_representation = Google::Apis::DriveV3::RevisionList::Representation
|
1883
1919
|
command.response_class = Google::Apis::DriveV3::RevisionList
|
1884
1920
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1916,7 +1952,7 @@ module Google
|
|
1916
1952
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1917
1953
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1918
1954
|
def update_revision(file_id, revision_id, revision_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1919
|
-
command =
|
1955
|
+
command = make_simple_command(:patch, 'files/{fileId}/revisions/{revisionId}', options)
|
1920
1956
|
command.request_representation = Google::Apis::DriveV3::Revision::Representation
|
1921
1957
|
command.request_object = revision_object
|
1922
1958
|
command.response_representation = Google::Apis::DriveV3::Revision::Representation
|
@@ -1957,7 +1993,7 @@ module Google
|
|
1957
1993
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1958
1994
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1959
1995
|
def create_teamdrive(request_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1960
|
-
command =
|
1996
|
+
command = make_simple_command(:post, 'teamdrives', options)
|
1961
1997
|
command.request_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
1962
1998
|
command.request_object = team_drive_object
|
1963
1999
|
command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
@@ -1992,7 +2028,7 @@ module Google
|
|
1992
2028
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1993
2029
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1994
2030
|
def delete_teamdrive(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1995
|
-
command =
|
2031
|
+
command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options)
|
1996
2032
|
command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
|
1997
2033
|
command.query['fields'] = fields unless fields.nil?
|
1998
2034
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2027,7 +2063,7 @@ module Google
|
|
2027
2063
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2028
2064
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2029
2065
|
def get_teamdrive(team_drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2030
|
-
command =
|
2066
|
+
command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options)
|
2031
2067
|
command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
2032
2068
|
command.response_class = Google::Apis::DriveV3::TeamDrive
|
2033
2069
|
command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
|
@@ -2068,7 +2104,7 @@ module Google
|
|
2068
2104
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2069
2105
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2070
2106
|
def list_teamdrives(page_size: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2071
|
-
command =
|
2107
|
+
command = make_simple_command(:get, 'teamdrives', options)
|
2072
2108
|
command.response_representation = Google::Apis::DriveV3::TeamDriveList::Representation
|
2073
2109
|
command.response_class = Google::Apis::DriveV3::TeamDriveList
|
2074
2110
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -2109,7 +2145,7 @@ module Google
|
|
2109
2145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2110
2146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2111
2147
|
def update_teamdrive(team_drive_id, team_drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2112
|
-
command =
|
2148
|
+
command = make_simple_command(:patch, 'teamdrives/{teamDriveId}', options)
|
2113
2149
|
command.request_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
2114
2150
|
command.request_object = team_drive_object
|
2115
2151
|
command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/drive/
|
27
27
|
module DriveV3
|
28
28
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190501'
|
30
30
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -67,7 +67,7 @@ module Google
|
|
67
67
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
68
68
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
69
69
|
def query_drive_activity(query_drive_activity_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
70
|
-
command =
|
70
|
+
command = make_simple_command(:post, 'v2/activity:query', options)
|
71
71
|
command.request_representation = Google::Apis::DriveactivityV2::QueryDriveActivityRequest::Representation
|
72
72
|
command.request_object = query_drive_activity_request_object
|
73
73
|
command.response_representation = Google::Apis::DriveactivityV2::QueryDriveActivityResponse::Representation
|