google-api-client 0.29.1 → 0.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +102 -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.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/accesscontextmanager_v1.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_v1beta.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/adexchangebuyer2_v2beta1.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/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.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- 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/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.rb +1 -1
- 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/appengine_v1.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_v1alpha.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_v1beta.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_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.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +934 -0
- data/generated/google/apis/bigquery_v2/representations.rb +367 -0
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- 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.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- 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/service.rb +37 -37
- 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.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- 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.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- 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.rb +1 -1
- 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_v1beta2.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/cloudidentity_v1.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_v1beta1.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/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalogproducer_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/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- 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_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- 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_v2beta1.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/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudshell_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_v1alpha1.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/cloudtasks_v2.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_v2beta2.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_v2beta3.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/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.rb +1 -1
- 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_beta.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/container_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_v1beta1.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/containeranalysis_v1alpha1.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_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2.rb +1 -1
- 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_1.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/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- 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/datafusion_v1beta1.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/dataproc_v1.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_v1beta2.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/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- 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.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2beta1.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/digitalassetlinks_v1/service.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- 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 +15 -15
- data/generated/google/apis/docs_v1.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/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/service.rb +74 -74
- data/generated/google/apis/drive_v3/service.rb +46 -46
- 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.rb +35 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/file_v1.rb +1 -1
- 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_v1beta1.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/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.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.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_v2alpha1.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/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.rb +34 -0
- 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_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/iam_v1/service.rb +36 -36
- 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.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- 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.rb +1 -1
- 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/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/monitoring_v3.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/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.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/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- 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.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- 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.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1beta1.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/remotebuildexecution_v1.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_v1alpha.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_v2.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/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.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/runtimeconfig_v1.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_v1beta1.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/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1.rb +1 -1
- 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/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.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_v1beta1.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/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.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/servicecontrol_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/servicemanagement_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/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- 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.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/speech_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_v1p1beta1.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/sqladmin_v1beta4.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/storage_v1/service.rb +52 -52
- 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.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/streetviewpublish_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/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.rb +1 -1
- 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/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/tpu_v1.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_v1alpha1.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/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.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_v1p1beta1.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_v1p2beta1.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/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.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- 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_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- 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
|
@@ -310,6 +310,12 @@ module Google
|
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
+
class InsertTableColumnRequest
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
313
319
|
class InsertTableRequest
|
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
321
|
|
|
@@ -760,6 +766,18 @@ module Google
|
|
|
760
766
|
include Google::Apis::Core::JsonObjectSupport
|
|
761
767
|
end
|
|
762
768
|
|
|
769
|
+
class UpdateTableColumnPropertiesRequest
|
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
|
+
|
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
class UpdateTableRowStyleRequest
|
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
|
+
|
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
779
|
+
end
|
|
780
|
+
|
|
763
781
|
class UpdateTextStyleRequest
|
|
764
782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
765
783
|
|
|
@@ -1318,6 +1336,15 @@ module Google
|
|
|
1318
1336
|
end
|
|
1319
1337
|
end
|
|
1320
1338
|
|
|
1339
|
+
class InsertTableColumnRequest
|
|
1340
|
+
# @private
|
|
1341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1342
|
+
property :insert_right, as: 'insertRight'
|
|
1343
|
+
property :table_cell_location, as: 'tableCellLocation', class: Google::Apis::DocsV1::TableCellLocation, decorator: Google::Apis::DocsV1::TableCellLocation::Representation
|
|
1344
|
+
|
|
1345
|
+
end
|
|
1346
|
+
end
|
|
1347
|
+
|
|
1321
1348
|
class InsertTableRequest
|
|
1322
1349
|
# @private
|
|
1323
1350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1752,6 +1779,8 @@ module Google
|
|
|
1752
1779
|
|
|
1753
1780
|
property :insert_table, as: 'insertTable', class: Google::Apis::DocsV1::InsertTableRequest, decorator: Google::Apis::DocsV1::InsertTableRequest::Representation
|
|
1754
1781
|
|
|
1782
|
+
property :insert_table_column, as: 'insertTableColumn', class: Google::Apis::DocsV1::InsertTableColumnRequest, decorator: Google::Apis::DocsV1::InsertTableColumnRequest::Representation
|
|
1783
|
+
|
|
1755
1784
|
property :insert_table_row, as: 'insertTableRow', class: Google::Apis::DocsV1::InsertTableRowRequest, decorator: Google::Apis::DocsV1::InsertTableRowRequest::Representation
|
|
1756
1785
|
|
|
1757
1786
|
property :insert_text, as: 'insertText', class: Google::Apis::DocsV1::InsertTextRequest, decorator: Google::Apis::DocsV1::InsertTextRequest::Representation
|
|
@@ -1760,6 +1789,10 @@ module Google
|
|
|
1760
1789
|
|
|
1761
1790
|
property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation
|
|
1762
1791
|
|
|
1792
|
+
property :update_table_column_properties, as: 'updateTableColumnProperties', class: Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest::Representation
|
|
1793
|
+
|
|
1794
|
+
property :update_table_row_style, as: 'updateTableRowStyle', class: Google::Apis::DocsV1::UpdateTableRowStyleRequest, decorator: Google::Apis::DocsV1::UpdateTableRowStyleRequest::Representation
|
|
1795
|
+
|
|
1763
1796
|
property :update_text_style, as: 'updateTextStyle', class: Google::Apis::DocsV1::UpdateTextStyleRequest, decorator: Google::Apis::DocsV1::UpdateTextStyleRequest::Representation
|
|
1764
1797
|
|
|
1765
1798
|
end
|
|
@@ -2217,6 +2250,30 @@ module Google
|
|
|
2217
2250
|
end
|
|
2218
2251
|
end
|
|
2219
2252
|
|
|
2253
|
+
class UpdateTableColumnPropertiesRequest
|
|
2254
|
+
# @private
|
|
2255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2256
|
+
collection :column_indices, as: 'columnIndices'
|
|
2257
|
+
property :fields, as: 'fields'
|
|
2258
|
+
property :table_column_properties, as: 'tableColumnProperties', class: Google::Apis::DocsV1::TableColumnProperties, decorator: Google::Apis::DocsV1::TableColumnProperties::Representation
|
|
2259
|
+
|
|
2260
|
+
property :table_start_location, as: 'tableStartLocation', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
|
2261
|
+
|
|
2262
|
+
end
|
|
2263
|
+
end
|
|
2264
|
+
|
|
2265
|
+
class UpdateTableRowStyleRequest
|
|
2266
|
+
# @private
|
|
2267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2268
|
+
property :fields, as: 'fields'
|
|
2269
|
+
collection :row_indices, as: 'rowIndices'
|
|
2270
|
+
property :table_row_style, as: 'tableRowStyle', class: Google::Apis::DocsV1::TableRowStyle, decorator: Google::Apis::DocsV1::TableRowStyle::Representation
|
|
2271
|
+
|
|
2272
|
+
property :table_start_location, as: 'tableStartLocation', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
|
2273
|
+
|
|
2274
|
+
end
|
|
2275
|
+
end
|
|
2276
|
+
|
|
2220
2277
|
class UpdateTextStyleRequest
|
|
2221
2278
|
# @private
|
|
2222
2279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -85,7 +85,7 @@ module Google
|
|
|
85
85
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
86
86
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
87
87
|
def batch_update_document(document_id, batch_update_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
88
|
-
command =
|
|
88
|
+
command = make_simple_command(:post, 'v1/documents/{documentId}:batchUpdate', options)
|
|
89
89
|
command.request_representation = Google::Apis::DocsV1::BatchUpdateDocumentRequest::Representation
|
|
90
90
|
command.request_object = batch_update_document_request_object
|
|
91
91
|
command.response_representation = Google::Apis::DocsV1::BatchUpdateDocumentResponse::Representation
|
|
@@ -118,7 +118,7 @@ module Google
|
|
|
118
118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
119
119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
120
120
|
def create_document(document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
121
|
-
command =
|
|
121
|
+
command = make_simple_command(:post, 'v1/documents', options)
|
|
122
122
|
command.request_representation = Google::Apis::DocsV1::Document::Representation
|
|
123
123
|
command.request_object = document_object
|
|
124
124
|
command.response_representation = Google::Apis::DocsV1::Document::Representation
|
|
@@ -154,7 +154,7 @@ module Google
|
|
|
154
154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
155
155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
156
156
|
def get_document(document_id, suggestions_view_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
157
|
-
command =
|
|
157
|
+
command = make_simple_command(:get, 'v1/documents/{documentId}', options)
|
|
158
158
|
command.response_representation = Google::Apis::DocsV1::Document::Representation
|
|
159
159
|
command.response_class = Google::Apis::DocsV1::Document
|
|
160
160
|
command.params['documentId'] = document_id unless document_id.nil?
|
|
@@ -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 download_line_items(download_line_items_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
76
|
-
command =
|
|
76
|
+
command = make_simple_command(:post, 'lineitems/downloadlineitems', options)
|
|
77
77
|
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadLineItemsRequest::Representation
|
|
78
78
|
command.request_object = download_line_items_request_object
|
|
79
79
|
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadLineItemsResponse::Representation
|
|
@@ -106,7 +106,7 @@ module Google
|
|
|
106
106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
107
107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
108
108
|
def upload_line_items(upload_line_items_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
109
|
-
command =
|
|
109
|
+
command = make_simple_command(:post, 'lineitems/uploadlineitems', options)
|
|
110
110
|
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsRequest::Representation
|
|
111
111
|
command.request_object = upload_line_items_request_object
|
|
112
112
|
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsResponse::Representation
|
|
@@ -139,7 +139,7 @@ module Google
|
|
|
139
139
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
140
140
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
141
141
|
def create_query(query_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
142
|
-
command =
|
|
142
|
+
command = make_simple_command(:post, 'query', options)
|
|
143
143
|
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::Query::Representation
|
|
144
144
|
command.request_object = query_object
|
|
145
145
|
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::Query::Representation
|
|
@@ -173,7 +173,7 @@ module Google
|
|
|
173
173
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
174
174
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
175
175
|
def deletequery(query_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
176
|
-
command =
|
|
176
|
+
command = make_simple_command(:delete, 'query/{queryId}', options)
|
|
177
177
|
command.params['queryId'] = query_id unless query_id.nil?
|
|
178
178
|
command.query['fields'] = fields unless fields.nil?
|
|
179
179
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -204,7 +204,7 @@ module Google
|
|
|
204
204
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
205
205
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
206
206
|
def get_query(query_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
207
|
-
command =
|
|
207
|
+
command = make_simple_command(:get, 'query/{queryId}', options)
|
|
208
208
|
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::Query::Representation
|
|
209
209
|
command.response_class = Google::Apis::DoubleclickbidmanagerV1::Query
|
|
210
210
|
command.params['queryId'] = query_id unless query_id.nil?
|
|
@@ -235,7 +235,7 @@ module Google
|
|
|
235
235
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
236
236
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
237
237
|
def list_queries(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
238
|
-
command =
|
|
238
|
+
command = make_simple_command(:get, 'queries', options)
|
|
239
239
|
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::ListQueriesResponse::Representation
|
|
240
240
|
command.response_class = Google::Apis::DoubleclickbidmanagerV1::ListQueriesResponse
|
|
241
241
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -268,7 +268,7 @@ module Google
|
|
|
268
268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
269
269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
270
270
|
def run_query(query_id, run_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
271
|
-
command =
|
|
271
|
+
command = make_simple_command(:post, 'query/{queryId}', options)
|
|
272
272
|
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::RunQueryRequest::Representation
|
|
273
273
|
command.request_object = run_query_request_object
|
|
274
274
|
command.params['queryId'] = query_id unless query_id.nil?
|
|
@@ -301,7 +301,7 @@ module Google
|
|
|
301
301
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
302
302
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
303
303
|
def list_reports(query_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
304
|
-
command =
|
|
304
|
+
command = make_simple_command(:get, 'queries/{queryId}/reports', options)
|
|
305
305
|
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::ListReportsResponse::Representation
|
|
306
306
|
command.response_class = Google::Apis::DoubleclickbidmanagerV1::ListReportsResponse
|
|
307
307
|
command.params['queryId'] = query_id unless query_id.nil?
|
|
@@ -333,7 +333,7 @@ module Google
|
|
|
333
333
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
334
334
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
335
335
|
def download_sdf(download_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
336
|
-
command =
|
|
336
|
+
command = make_simple_command(:post, 'sdf/download', options)
|
|
337
337
|
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadRequest::Representation
|
|
338
338
|
command.request_object = download_request_object
|
|
339
339
|
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadResponse::Representation
|
|
@@ -95,7 +95,7 @@ module Google
|
|
|
95
95
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
96
96
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
97
97
|
def get_conversion(agency_id, advertiser_id, engine_account_id, end_date, row_count, start_date, start_row, ad_group_id: nil, ad_id: nil, campaign_id: nil, criterion_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
98
|
-
command =
|
|
98
|
+
command = make_simple_command(:get, 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', options)
|
|
99
99
|
command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
|
100
100
|
command.response_class = Google::Apis::DoubleclicksearchV2::ConversionList
|
|
101
101
|
command.params['agencyId'] = agency_id unless agency_id.nil?
|
|
@@ -137,7 +137,7 @@ module Google
|
|
|
137
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
138
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
139
139
|
def insert_conversion(conversion_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
140
|
-
command =
|
|
140
|
+
command = make_simple_command(:post, 'conversion', options)
|
|
141
141
|
command.request_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
|
142
142
|
command.request_object = conversion_list_object
|
|
143
143
|
command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
|
@@ -185,7 +185,7 @@ module Google
|
|
|
185
185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
186
186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
187
187
|
def patch_conversion(advertiser_id, agency_id, end_date, engine_account_id, row_count, start_date, start_row, conversion_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
188
|
-
command =
|
|
188
|
+
command = make_simple_command(:patch, 'conversion', options)
|
|
189
189
|
command.request_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
|
190
190
|
command.request_object = conversion_list_object
|
|
191
191
|
command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
|
@@ -225,7 +225,7 @@ module Google
|
|
|
225
225
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
226
226
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
227
227
|
def update_conversion(conversion_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
228
|
-
command =
|
|
228
|
+
command = make_simple_command(:put, 'conversion', options)
|
|
229
229
|
command.request_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
|
230
230
|
command.request_object = conversion_list_object
|
|
231
231
|
command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
|
@@ -259,7 +259,7 @@ module Google
|
|
|
259
259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
260
260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
261
261
|
def update_conversion_availability(update_availability_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
262
|
-
command =
|
|
262
|
+
command = make_simple_command(:post, 'conversion/updateAvailability', options)
|
|
263
263
|
command.request_representation = Google::Apis::DoubleclicksearchV2::UpdateAvailabilityRequest::Representation
|
|
264
264
|
command.request_object = update_availability_request_object
|
|
265
265
|
command.response_representation = Google::Apis::DoubleclicksearchV2::UpdateAvailabilityResponse::Representation
|
|
@@ -292,7 +292,7 @@ module Google
|
|
|
292
292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
293
293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
294
294
|
def generate_report(report_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
295
|
-
command =
|
|
295
|
+
command = make_simple_command(:post, 'reports/generate', options)
|
|
296
296
|
command.request_representation = Google::Apis::DoubleclicksearchV2::ReportRequest::Representation
|
|
297
297
|
command.request_object = report_request_object
|
|
298
298
|
command.response_representation = Google::Apis::DoubleclicksearchV2::Report::Representation
|
|
@@ -326,7 +326,7 @@ module Google
|
|
|
326
326
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
327
327
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
328
328
|
def get_report(report_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
329
|
-
command =
|
|
329
|
+
command = make_simple_command(:get, 'reports/{reportId}', options)
|
|
330
330
|
command.response_representation = Google::Apis::DoubleclicksearchV2::Report::Representation
|
|
331
331
|
command.response_class = Google::Apis::DoubleclicksearchV2::Report
|
|
332
332
|
command.params['reportId'] = report_id unless report_id.nil?
|
|
@@ -364,7 +364,7 @@ module Google
|
|
|
364
364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
365
365
|
def get_report_file(report_id, report_fragment, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
|
366
366
|
if download_dest.nil?
|
|
367
|
-
command =
|
|
367
|
+
command = make_simple_command(:get, 'reports/{reportId}/files/{reportFragment}', options)
|
|
368
368
|
else
|
|
369
369
|
command = make_download_command(:get, 'reports/{reportId}/files/{reportFragment}', options)
|
|
370
370
|
command.download_dest = download_dest
|
|
@@ -399,7 +399,7 @@ module Google
|
|
|
399
399
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
400
400
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
401
401
|
def request_report(report_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
402
|
-
command =
|
|
402
|
+
command = make_simple_command(:post, 'reports', options)
|
|
403
403
|
command.request_representation = Google::Apis::DoubleclicksearchV2::ReportRequest::Representation
|
|
404
404
|
command.request_object = report_request_object
|
|
405
405
|
command.response_representation = Google::Apis::DoubleclicksearchV2::Report::Representation
|
|
@@ -435,7 +435,7 @@ module Google
|
|
|
435
435
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
436
436
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
437
437
|
def list_saved_columns(agency_id, advertiser_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
438
|
-
command =
|
|
438
|
+
command = make_simple_command(:get, 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns', options)
|
|
439
439
|
command.response_representation = Google::Apis::DoubleclicksearchV2::SavedColumnList::Representation
|
|
440
440
|
command.response_class = Google::Apis::DoubleclicksearchV2::SavedColumnList
|
|
441
441
|
command.params['agencyId'] = agency_id unless agency_id.nil?
|
|
@@ -83,7 +83,7 @@ module Google
|
|
|
83
83
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
84
84
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
85
85
|
def get_about(include_subscribed: nil, max_change_id_count: nil, start_change_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
86
|
-
command =
|
|
86
|
+
command = make_simple_command(:get, 'about', options)
|
|
87
87
|
command.response_representation = Google::Apis::DriveV2::About::Representation
|
|
88
88
|
command.response_class = Google::Apis::DriveV2::About
|
|
89
89
|
command.query['includeSubscribed'] = include_subscribed unless include_subscribed.nil?
|
|
@@ -118,7 +118,7 @@ module Google
|
|
|
118
118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
119
119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
120
120
|
def get_app(app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
121
|
-
command =
|
|
121
|
+
command = make_simple_command(:get, 'apps/{appId}', options)
|
|
122
122
|
command.response_representation = Google::Apis::DriveV2::App::Representation
|
|
123
123
|
command.response_class = Google::Apis::DriveV2::App
|
|
124
124
|
command.params['appId'] = app_id unless app_id.nil?
|
|
@@ -162,7 +162,7 @@ module Google
|
|
|
162
162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
163
163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
164
164
|
def list_apps(app_filter_extensions: nil, app_filter_mime_types: nil, language_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
165
|
-
command =
|
|
165
|
+
command = make_simple_command(:get, 'apps', options)
|
|
166
166
|
command.response_representation = Google::Apis::DriveV2::AppList::Representation
|
|
167
167
|
command.response_class = Google::Apis::DriveV2::AppList
|
|
168
168
|
command.query['appFilterExtensions'] = app_filter_extensions unless app_filter_extensions.nil?
|
|
@@ -208,7 +208,7 @@ module Google
|
|
|
208
208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
209
209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
210
210
|
def get_change(change_id, 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)
|
|
211
|
-
command =
|
|
211
|
+
command = make_simple_command(:get, 'changes/{changeId}', options)
|
|
212
212
|
command.response_representation = Google::Apis::DriveV2::Change::Representation
|
|
213
213
|
command.response_class = Google::Apis::DriveV2::Change
|
|
214
214
|
command.params['changeId'] = change_id unless change_id.nil?
|
|
@@ -254,7 +254,7 @@ module Google
|
|
|
254
254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
255
255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
256
256
|
def get_change_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)
|
|
257
|
-
command =
|
|
257
|
+
command = make_simple_command(:get, 'changes/startPageToken', options)
|
|
258
258
|
command.response_representation = Google::Apis::DriveV2::StartPageToken::Representation
|
|
259
259
|
command.response_class = Google::Apis::DriveV2::StartPageToken
|
|
260
260
|
command.query['driveId'] = drive_id unless drive_id.nil?
|
|
@@ -330,7 +330,7 @@ module Google
|
|
|
330
330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
331
331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
332
332
|
def list_changes(drive_id: nil, include_corpus_removals: nil, include_deleted: nil, include_items_from_all_drives: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_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)
|
|
333
|
-
command =
|
|
333
|
+
command = make_simple_command(:get, 'changes', options)
|
|
334
334
|
command.response_representation = Google::Apis::DriveV2::ChangeList::Representation
|
|
335
335
|
command.response_class = Google::Apis::DriveV2::ChangeList
|
|
336
336
|
command.query['driveId'] = drive_id unless drive_id.nil?
|
|
@@ -416,7 +416,7 @@ module Google
|
|
|
416
416
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
417
417
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
418
418
|
def watch_change(channel_object = nil, drive_id: nil, include_corpus_removals: nil, include_deleted: nil, include_items_from_all_drives: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_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)
|
|
419
|
-
command =
|
|
419
|
+
command = make_simple_command(:post, 'changes/watch', options)
|
|
420
420
|
command.request_representation = Google::Apis::DriveV2::Channel::Representation
|
|
421
421
|
command.request_object = channel_object
|
|
422
422
|
command.response_representation = Google::Apis::DriveV2::Channel::Representation
|
|
@@ -462,7 +462,7 @@ module Google
|
|
|
462
462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
463
463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
464
464
|
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
465
|
-
command =
|
|
465
|
+
command = make_simple_command(:post, 'channels/stop', options)
|
|
466
466
|
command.request_representation = Google::Apis::DriveV2::Channel::Representation
|
|
467
467
|
command.request_object = channel_object
|
|
468
468
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -496,7 +496,7 @@ module Google
|
|
|
496
496
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
497
497
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
498
498
|
def delete_child(folder_id, child_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
499
|
-
command =
|
|
499
|
+
command = make_simple_command(:delete, 'files/{folderId}/children/{childId}', options)
|
|
500
500
|
command.params['folderId'] = folder_id unless folder_id.nil?
|
|
501
501
|
command.params['childId'] = child_id unless child_id.nil?
|
|
502
502
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -530,7 +530,7 @@ module Google
|
|
|
530
530
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
531
531
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
532
532
|
def get_child(folder_id, child_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
533
|
-
command =
|
|
533
|
+
command = make_simple_command(:get, 'files/{folderId}/children/{childId}', options)
|
|
534
534
|
command.response_representation = Google::Apis::DriveV2::ChildReference::Representation
|
|
535
535
|
command.response_class = Google::Apis::DriveV2::ChildReference
|
|
536
536
|
command.params['folderId'] = folder_id unless folder_id.nil?
|
|
@@ -571,7 +571,7 @@ module Google
|
|
|
571
571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
572
572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
573
573
|
def insert_child(folder_id, child_reference_object = nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
574
|
-
command =
|
|
574
|
+
command = make_simple_command(:post, 'files/{folderId}/children', options)
|
|
575
575
|
command.request_representation = Google::Apis::DriveV2::ChildReference::Representation
|
|
576
576
|
command.request_object = child_reference_object
|
|
577
577
|
command.response_representation = Google::Apis::DriveV2::ChildReference::Representation
|
|
@@ -622,7 +622,7 @@ module Google
|
|
|
622
622
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
623
623
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
624
624
|
def list_children(folder_id, max_results: nil, order_by: nil, page_token: nil, q: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
625
|
-
command =
|
|
625
|
+
command = make_simple_command(:get, 'files/{folderId}/children', options)
|
|
626
626
|
command.response_representation = Google::Apis::DriveV2::ChildList::Representation
|
|
627
627
|
command.response_class = Google::Apis::DriveV2::ChildList
|
|
628
628
|
command.params['folderId'] = folder_id unless folder_id.nil?
|
|
@@ -661,7 +661,7 @@ module Google
|
|
|
661
661
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
662
662
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
663
663
|
def delete_comment(file_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
664
|
-
command =
|
|
664
|
+
command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}', options)
|
|
665
665
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
666
666
|
command.params['commentId'] = comment_id unless comment_id.nil?
|
|
667
667
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -698,7 +698,7 @@ module Google
|
|
|
698
698
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
699
699
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
700
700
|
def get_comment(file_id, comment_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
701
|
-
command =
|
|
701
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}', options)
|
|
702
702
|
command.response_representation = Google::Apis::DriveV2::Comment::Representation
|
|
703
703
|
command.response_class = Google::Apis::DriveV2::Comment
|
|
704
704
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -734,7 +734,7 @@ module Google
|
|
|
734
734
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
735
735
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
736
736
|
def insert_comment(file_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
737
|
-
command =
|
|
737
|
+
command = make_simple_command(:post, 'files/{fileId}/comments', options)
|
|
738
738
|
command.request_representation = Google::Apis::DriveV2::Comment::Representation
|
|
739
739
|
command.request_object = comment_object
|
|
740
740
|
command.response_representation = Google::Apis::DriveV2::Comment::Representation
|
|
@@ -781,7 +781,7 @@ module Google
|
|
|
781
781
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
782
782
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
783
783
|
def list_comments(file_id, include_deleted: nil, max_results: nil, page_token: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
784
|
-
command =
|
|
784
|
+
command = make_simple_command(:get, 'files/{fileId}/comments', options)
|
|
785
785
|
command.response_representation = Google::Apis::DriveV2::CommentList::Representation
|
|
786
786
|
command.response_class = Google::Apis::DriveV2::CommentList
|
|
787
787
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -821,7 +821,7 @@ module Google
|
|
|
821
821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
822
822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
823
823
|
def patch_comment(file_id, comment_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
824
|
-
command =
|
|
824
|
+
command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}', options)
|
|
825
825
|
command.request_representation = Google::Apis::DriveV2::Comment::Representation
|
|
826
826
|
command.request_object = comment_object
|
|
827
827
|
command.response_representation = Google::Apis::DriveV2::Comment::Representation
|
|
@@ -860,7 +860,7 @@ module Google
|
|
|
860
860
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
861
861
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
862
862
|
def update_comment(file_id, comment_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
863
|
-
command =
|
|
863
|
+
command = make_simple_command(:put, 'files/{fileId}/comments/{commentId}', options)
|
|
864
864
|
command.request_representation = Google::Apis::DriveV2::Comment::Representation
|
|
865
865
|
command.request_object = comment_object
|
|
866
866
|
command.response_representation = Google::Apis::DriveV2::Comment::Representation
|
|
@@ -897,7 +897,7 @@ module Google
|
|
|
897
897
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
898
898
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
899
899
|
def delete_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
900
|
-
command =
|
|
900
|
+
command = make_simple_command(:delete, 'drives/{driveId}', options)
|
|
901
901
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
|
902
902
|
command.query['fields'] = fields unless fields.nil?
|
|
903
903
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -932,7 +932,7 @@ module Google
|
|
|
932
932
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
933
933
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
934
934
|
def get_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
935
|
-
command =
|
|
935
|
+
command = make_simple_command(:get, 'drives/{driveId}', options)
|
|
936
936
|
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
|
937
937
|
command.response_class = Google::Apis::DriveV2::Drive
|
|
938
938
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
|
@@ -966,7 +966,7 @@ module Google
|
|
|
966
966
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
967
967
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
968
968
|
def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
969
|
-
command =
|
|
969
|
+
command = make_simple_command(:post, 'drives/{driveId}/hide', options)
|
|
970
970
|
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
|
971
971
|
command.response_class = Google::Apis::DriveV2::Drive
|
|
972
972
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
|
@@ -1004,7 +1004,7 @@ module Google
|
|
|
1004
1004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1005
1005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1006
1006
|
def insert_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1007
|
-
command =
|
|
1007
|
+
command = make_simple_command(:post, 'drives', options)
|
|
1008
1008
|
command.request_representation = Google::Apis::DriveV2::Drive::Representation
|
|
1009
1009
|
command.request_object = drive_object
|
|
1010
1010
|
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
|
@@ -1046,7 +1046,7 @@ module Google
|
|
|
1046
1046
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1047
1047
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1048
1048
|
def list_drives(max_results: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1049
|
-
command =
|
|
1049
|
+
command = make_simple_command(:get, 'drives', options)
|
|
1050
1050
|
command.response_representation = Google::Apis::DriveV2::DriveList::Representation
|
|
1051
1051
|
command.response_class = Google::Apis::DriveV2::DriveList
|
|
1052
1052
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
@@ -1082,7 +1082,7 @@ module Google
|
|
|
1082
1082
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1083
1083
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1084
1084
|
def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1085
|
-
command =
|
|
1085
|
+
command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
|
|
1086
1086
|
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
|
1087
1087
|
command.response_class = Google::Apis::DriveV2::Drive
|
|
1088
1088
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
|
@@ -1120,7 +1120,7 @@ module Google
|
|
|
1120
1120
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1121
1121
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1122
1122
|
def update_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1123
|
-
command =
|
|
1123
|
+
command = make_simple_command(:put, 'drives/{driveId}', options)
|
|
1124
1124
|
command.request_representation = Google::Apis::DriveV2::Drive::Representation
|
|
1125
1125
|
command.request_object = drive_object
|
|
1126
1126
|
command.response_representation = Google::Apis::DriveV2::Drive::Representation
|
|
@@ -1179,7 +1179,7 @@ module Google
|
|
|
1179
1179
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1180
1180
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1181
1181
|
def copy_file(file_id, file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1182
|
-
command =
|
|
1182
|
+
command = make_simple_command(:post, 'files/{fileId}/copy', options)
|
|
1183
1183
|
command.request_representation = Google::Apis::DriveV2::File::Representation
|
|
1184
1184
|
command.request_object = file_object
|
|
1185
1185
|
command.response_representation = Google::Apis::DriveV2::File::Representation
|
|
@@ -1230,7 +1230,7 @@ module Google
|
|
|
1230
1230
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1231
1231
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1232
1232
|
def delete_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1233
|
-
command =
|
|
1233
|
+
command = make_simple_command(:delete, 'files/{fileId}', options)
|
|
1234
1234
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
1235
1235
|
command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
|
|
1236
1236
|
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
|
|
@@ -1261,7 +1261,7 @@ module Google
|
|
|
1261
1261
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1262
1262
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1263
1263
|
def empty_trash(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1264
|
-
command =
|
|
1264
|
+
command = make_simple_command(:delete, 'files/trash', options)
|
|
1265
1265
|
command.query['fields'] = fields unless fields.nil?
|
|
1266
1266
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1267
1267
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -1297,7 +1297,7 @@ module Google
|
|
|
1297
1297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1298
1298
|
def export_file(file_id, mime_type, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
|
1299
1299
|
if download_dest.nil?
|
|
1300
|
-
command =
|
|
1300
|
+
command = make_simple_command(:get, 'files/{fileId}/export', options)
|
|
1301
1301
|
else
|
|
1302
1302
|
command = make_download_command(:get, 'files/{fileId}/export', options)
|
|
1303
1303
|
command.download_dest = download_dest
|
|
@@ -1336,7 +1336,7 @@ module Google
|
|
|
1336
1336
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1337
1337
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1338
1338
|
def generate_file_ids(max_results: nil, space: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1339
|
-
command =
|
|
1339
|
+
command = make_simple_command(:get, 'files/generateIds', options)
|
|
1340
1340
|
command.response_representation = Google::Apis::DriveV2::GeneratedIds::Representation
|
|
1341
1341
|
command.response_class = Google::Apis::DriveV2::GeneratedIds
|
|
1342
1342
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
@@ -1390,7 +1390,7 @@ module Google
|
|
|
1390
1390
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1391
1391
|
def get_file(file_id, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_all_drives: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
|
1392
1392
|
if download_dest.nil?
|
|
1393
|
-
command =
|
|
1393
|
+
command = make_simple_command(:get, 'files/{fileId}', options)
|
|
1394
1394
|
else
|
|
1395
1395
|
command = make_download_command(:get, 'files/{fileId}', options)
|
|
1396
1396
|
command.download_dest = download_dest
|
|
@@ -1461,7 +1461,7 @@ module Google
|
|
|
1461
1461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1462
1462
|
def insert_file(file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, use_content_as_indexable_text: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
1463
1463
|
if upload_source.nil?
|
|
1464
|
-
command =
|
|
1464
|
+
command = make_simple_command(:post, 'files', options)
|
|
1465
1465
|
else
|
|
1466
1466
|
command = make_upload_command(:post, 'files', options)
|
|
1467
1467
|
command.upload_source = upload_source
|
|
@@ -1551,7 +1551,7 @@ module Google
|
|
|
1551
1551
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1552
1552
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1553
1553
|
def list_files(corpora: nil, corpus: nil, drive_id: nil, include_items_from_all_drives: nil, include_team_drive_items: nil, max_results: nil, order_by: nil, page_token: nil, projection: 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)
|
|
1554
|
-
command =
|
|
1554
|
+
command = make_simple_command(:get, 'files', options)
|
|
1555
1555
|
command.response_representation = Google::Apis::DriveV2::FileList::Representation
|
|
1556
1556
|
command.response_class = Google::Apis::DriveV2::FileList
|
|
1557
1557
|
command.query['corpora'] = corpora unless corpora.nil?
|
|
@@ -1640,7 +1640,7 @@ module Google
|
|
|
1640
1640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1641
1641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1642
1642
|
def patch_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1643
|
-
command =
|
|
1643
|
+
command = make_simple_command(:patch, 'files/{fileId}', options)
|
|
1644
1644
|
command.request_representation = Google::Apis::DriveV2::File::Representation
|
|
1645
1645
|
command.request_object = file_object
|
|
1646
1646
|
command.response_representation = Google::Apis::DriveV2::File::Representation
|
|
@@ -1696,7 +1696,7 @@ module Google
|
|
|
1696
1696
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1697
1697
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1698
1698
|
def touch_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1699
|
-
command =
|
|
1699
|
+
command = make_simple_command(:post, 'files/{fileId}/touch', options)
|
|
1700
1700
|
command.response_representation = Google::Apis::DriveV2::File::Representation
|
|
1701
1701
|
command.response_class = Google::Apis::DriveV2::File
|
|
1702
1702
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -1738,7 +1738,7 @@ module Google
|
|
|
1738
1738
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1739
1739
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1740
1740
|
def trash_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1741
|
-
command =
|
|
1741
|
+
command = make_simple_command(:post, 'files/{fileId}/trash', options)
|
|
1742
1742
|
command.response_representation = Google::Apis::DriveV2::File::Representation
|
|
1743
1743
|
command.response_class = Google::Apis::DriveV2::File
|
|
1744
1744
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -1779,7 +1779,7 @@ module Google
|
|
|
1779
1779
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1780
1780
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1781
1781
|
def untrash_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1782
|
-
command =
|
|
1782
|
+
command = make_simple_command(:post, 'files/{fileId}/untrash', options)
|
|
1783
1783
|
command.response_representation = Google::Apis::DriveV2::File::Representation
|
|
1784
1784
|
command.response_class = Google::Apis::DriveV2::File
|
|
1785
1785
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -1862,7 +1862,7 @@ module Google
|
|
|
1862
1862
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1863
1863
|
def update_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
1864
1864
|
if upload_source.nil?
|
|
1865
|
-
command =
|
|
1865
|
+
command = make_simple_command(:put, 'files/{fileId}', options)
|
|
1866
1866
|
else
|
|
1867
1867
|
command = make_upload_command(:put, 'files/{fileId}', options)
|
|
1868
1868
|
command.upload_source = upload_source
|
|
@@ -1938,7 +1938,7 @@ module Google
|
|
|
1938
1938
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1939
1939
|
def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_all_drives: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
|
1940
1940
|
if download_dest.nil?
|
|
1941
|
-
command =
|
|
1941
|
+
command = make_simple_command(:post, 'files/{fileId}/watch', options)
|
|
1942
1942
|
else
|
|
1943
1943
|
command = make_download_command(:post, 'files/{fileId}/watch', options)
|
|
1944
1944
|
command.download_dest = download_dest
|
|
@@ -1985,7 +1985,7 @@ module Google
|
|
|
1985
1985
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1986
1986
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1987
1987
|
def delete_parent(file_id, parent_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1988
|
-
command =
|
|
1988
|
+
command = make_simple_command(:delete, 'files/{fileId}/parents/{parentId}', options)
|
|
1989
1989
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
1990
1990
|
command.params['parentId'] = parent_id unless parent_id.nil?
|
|
1991
1991
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2019,7 +2019,7 @@ module Google
|
|
|
2019
2019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2020
2020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2021
2021
|
def get_parent(file_id, parent_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2022
|
-
command =
|
|
2022
|
+
command = make_simple_command(:get, 'files/{fileId}/parents/{parentId}', options)
|
|
2023
2023
|
command.response_representation = Google::Apis::DriveV2::ParentReference::Representation
|
|
2024
2024
|
command.response_class = Google::Apis::DriveV2::ParentReference
|
|
2025
2025
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -2060,7 +2060,7 @@ module Google
|
|
|
2060
2060
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2061
2061
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2062
2062
|
def insert_parent(file_id, parent_reference_object = nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2063
|
-
command =
|
|
2063
|
+
command = make_simple_command(:post, 'files/{fileId}/parents', options)
|
|
2064
2064
|
command.request_representation = Google::Apis::DriveV2::ParentReference::Representation
|
|
2065
2065
|
command.request_object = parent_reference_object
|
|
2066
2066
|
command.response_representation = Google::Apis::DriveV2::ParentReference::Representation
|
|
@@ -2097,7 +2097,7 @@ module Google
|
|
|
2097
2097
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2098
2098
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2099
2099
|
def list_parents(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2100
|
-
command =
|
|
2100
|
+
command = make_simple_command(:get, 'files/{fileId}/parents', options)
|
|
2101
2101
|
command.response_representation = Google::Apis::DriveV2::ParentList::Representation
|
|
2102
2102
|
command.response_class = Google::Apis::DriveV2::ParentList
|
|
2103
2103
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -2143,7 +2143,7 @@ module Google
|
|
|
2143
2143
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2144
2144
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2145
2145
|
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)
|
|
2146
|
-
command =
|
|
2146
|
+
command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
|
|
2147
2147
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
2148
2148
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
|
2149
2149
|
command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
|
|
@@ -2191,7 +2191,7 @@ module Google
|
|
|
2191
2191
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2192
2192
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2193
2193
|
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)
|
|
2194
|
-
command =
|
|
2194
|
+
command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
|
|
2195
2195
|
command.response_representation = Google::Apis::DriveV2::Permission::Representation
|
|
2196
2196
|
command.response_class = Google::Apis::DriveV2::Permission
|
|
2197
2197
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -2228,7 +2228,7 @@ module Google
|
|
|
2228
2228
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2229
2229
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2230
2230
|
def get_permission_id_for_email(email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2231
|
-
command =
|
|
2231
|
+
command = make_simple_command(:get, 'permissionIds/{email}', options)
|
|
2232
2232
|
command.response_representation = Google::Apis::DriveV2::PermissionId::Representation
|
|
2233
2233
|
command.response_class = Google::Apis::DriveV2::PermissionId
|
|
2234
2234
|
command.params['email'] = email unless email.nil?
|
|
@@ -2278,7 +2278,7 @@ module Google
|
|
|
2278
2278
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2279
2279
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2280
2280
|
def insert_permission(file_id, permission_object = nil, email_message: nil, send_notification_emails: 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)
|
|
2281
|
-
command =
|
|
2281
|
+
command = make_simple_command(:post, 'files/{fileId}/permissions', options)
|
|
2282
2282
|
command.request_representation = Google::Apis::DriveV2::Permission::Representation
|
|
2283
2283
|
command.request_object = permission_object
|
|
2284
2284
|
command.response_representation = Google::Apis::DriveV2::Permission::Representation
|
|
@@ -2336,7 +2336,7 @@ module Google
|
|
|
2336
2336
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2337
2337
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2338
2338
|
def list_permissions(file_id, max_results: 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)
|
|
2339
|
-
command =
|
|
2339
|
+
command = make_simple_command(:get, 'files/{fileId}/permissions', options)
|
|
2340
2340
|
command.response_representation = Google::Apis::DriveV2::PermissionList::Representation
|
|
2341
2341
|
command.response_class = Google::Apis::DriveV2::PermissionList
|
|
2342
2342
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -2393,7 +2393,7 @@ module Google
|
|
|
2393
2393
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2394
2394
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2395
2395
|
def patch_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)
|
|
2396
|
-
command =
|
|
2396
|
+
command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
|
|
2397
2397
|
command.request_representation = Google::Apis::DriveV2::Permission::Representation
|
|
2398
2398
|
command.request_object = permission_object
|
|
2399
2399
|
command.response_representation = Google::Apis::DriveV2::Permission::Representation
|
|
@@ -2453,7 +2453,7 @@ module Google
|
|
|
2453
2453
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2454
2454
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2455
2455
|
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)
|
|
2456
|
-
command =
|
|
2456
|
+
command = make_simple_command(:put, 'files/{fileId}/permissions/{permissionId}', options)
|
|
2457
2457
|
command.request_representation = Google::Apis::DriveV2::Permission::Representation
|
|
2458
2458
|
command.request_object = permission_object
|
|
2459
2459
|
command.response_representation = Google::Apis::DriveV2::Permission::Representation
|
|
@@ -2498,7 +2498,7 @@ module Google
|
|
|
2498
2498
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2499
2499
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2500
2500
|
def delete_property(file_id, property_key, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2501
|
-
command =
|
|
2501
|
+
command = make_simple_command(:delete, 'files/{fileId}/properties/{propertyKey}', options)
|
|
2502
2502
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
2503
2503
|
command.params['propertyKey'] = property_key unless property_key.nil?
|
|
2504
2504
|
command.query['visibility'] = visibility unless visibility.nil?
|
|
@@ -2535,7 +2535,7 @@ module Google
|
|
|
2535
2535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2536
2536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2537
2537
|
def get_property(file_id, property_key, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2538
|
-
command =
|
|
2538
|
+
command = make_simple_command(:get, 'files/{fileId}/properties/{propertyKey}', options)
|
|
2539
2539
|
command.response_representation = Google::Apis::DriveV2::Property::Representation
|
|
2540
2540
|
command.response_class = Google::Apis::DriveV2::Property
|
|
2541
2541
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -2571,7 +2571,7 @@ module Google
|
|
|
2571
2571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2572
2572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2573
2573
|
def insert_property(file_id, property_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2574
|
-
command =
|
|
2574
|
+
command = make_simple_command(:post, 'files/{fileId}/properties', options)
|
|
2575
2575
|
command.request_representation = Google::Apis::DriveV2::Property::Representation
|
|
2576
2576
|
command.request_object = property_object
|
|
2577
2577
|
command.response_representation = Google::Apis::DriveV2::Property::Representation
|
|
@@ -2606,7 +2606,7 @@ module Google
|
|
|
2606
2606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2607
2607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2608
2608
|
def list_properties(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2609
|
-
command =
|
|
2609
|
+
command = make_simple_command(:get, 'files/{fileId}/properties', options)
|
|
2610
2610
|
command.response_representation = Google::Apis::DriveV2::PropertyList::Representation
|
|
2611
2611
|
command.response_class = Google::Apis::DriveV2::PropertyList
|
|
2612
2612
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -2645,7 +2645,7 @@ module Google
|
|
|
2645
2645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2646
2646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2647
2647
|
def patch_property(file_id, property_key, property_object = nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2648
|
-
command =
|
|
2648
|
+
command = make_simple_command(:patch, 'files/{fileId}/properties/{propertyKey}', options)
|
|
2649
2649
|
command.request_representation = Google::Apis::DriveV2::Property::Representation
|
|
2650
2650
|
command.request_object = property_object
|
|
2651
2651
|
command.response_representation = Google::Apis::DriveV2::Property::Representation
|
|
@@ -2688,7 +2688,7 @@ module Google
|
|
|
2688
2688
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2689
2689
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2690
2690
|
def update_property(file_id, property_key, property_object = nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2691
|
-
command =
|
|
2691
|
+
command = make_simple_command(:put, 'files/{fileId}/properties/{propertyKey}', options)
|
|
2692
2692
|
command.request_representation = Google::Apis::DriveV2::Property::Representation
|
|
2693
2693
|
command.request_object = property_object
|
|
2694
2694
|
command.response_representation = Google::Apis::DriveV2::Property::Representation
|
|
@@ -2733,7 +2733,7 @@ module Google
|
|
|
2733
2733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2734
2734
|
def get_realtime(file_id, revision: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
|
2735
2735
|
if download_dest.nil?
|
|
2736
|
-
command =
|
|
2736
|
+
command = make_simple_command(:get, 'files/{fileId}/realtime', options)
|
|
2737
2737
|
else
|
|
2738
2738
|
command = make_download_command(:get, 'files/{fileId}/realtime', options)
|
|
2739
2739
|
command.download_dest = download_dest
|
|
@@ -2780,7 +2780,7 @@ module Google
|
|
|
2780
2780
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2781
2781
|
def update_realtime(file_id, base_revision: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
2782
2782
|
if upload_source.nil?
|
|
2783
|
-
command =
|
|
2783
|
+
command = make_simple_command(:put, 'files/{fileId}/realtime', options)
|
|
2784
2784
|
else
|
|
2785
2785
|
command = make_upload_command(:put, 'files/{fileId}/realtime', options)
|
|
2786
2786
|
command.upload_source = upload_source
|
|
@@ -2821,7 +2821,7 @@ module Google
|
|
|
2821
2821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2822
2822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2823
2823
|
def delete_reply(file_id, comment_id, reply_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2824
|
-
command =
|
|
2824
|
+
command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
|
2825
2825
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
2826
2826
|
command.params['commentId'] = comment_id unless comment_id.nil?
|
|
2827
2827
|
command.params['replyId'] = reply_id unless reply_id.nil?
|
|
@@ -2860,7 +2860,7 @@ module Google
|
|
|
2860
2860
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2861
2861
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2862
2862
|
def get_reply(file_id, comment_id, reply_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2863
|
-
command =
|
|
2863
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
|
2864
2864
|
command.response_representation = Google::Apis::DriveV2::CommentReply::Representation
|
|
2865
2865
|
command.response_class = Google::Apis::DriveV2::CommentReply
|
|
2866
2866
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -2899,7 +2899,7 @@ module Google
|
|
|
2899
2899
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2900
2900
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2901
2901
|
def insert_reply(file_id, comment_id, comment_reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2902
|
-
command =
|
|
2902
|
+
command = make_simple_command(:post, 'files/{fileId}/comments/{commentId}/replies', options)
|
|
2903
2903
|
command.request_representation = Google::Apis::DriveV2::CommentReply::Representation
|
|
2904
2904
|
command.request_object = comment_reply_object
|
|
2905
2905
|
command.response_representation = Google::Apis::DriveV2::CommentReply::Representation
|
|
@@ -2946,7 +2946,7 @@ module Google
|
|
|
2946
2946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2947
2947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2948
2948
|
def list_replies(file_id, comment_id, include_deleted: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2949
|
-
command =
|
|
2949
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies', options)
|
|
2950
2950
|
command.response_representation = Google::Apis::DriveV2::CommentReplyList::Representation
|
|
2951
2951
|
command.response_class = Google::Apis::DriveV2::CommentReplyList
|
|
2952
2952
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -2988,7 +2988,7 @@ module Google
|
|
|
2988
2988
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2989
2989
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2990
2990
|
def patch_reply(file_id, comment_id, reply_id, comment_reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2991
|
-
command =
|
|
2991
|
+
command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
|
2992
2992
|
command.request_representation = Google::Apis::DriveV2::CommentReply::Representation
|
|
2993
2993
|
command.request_object = comment_reply_object
|
|
2994
2994
|
command.response_representation = Google::Apis::DriveV2::CommentReply::Representation
|
|
@@ -3030,7 +3030,7 @@ module Google
|
|
|
3030
3030
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3031
3031
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3032
3032
|
def update_reply(file_id, comment_id, reply_id, comment_reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3033
|
-
command =
|
|
3033
|
+
command = make_simple_command(:put, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
|
3034
3034
|
command.request_representation = Google::Apis::DriveV2::CommentReply::Representation
|
|
3035
3035
|
command.request_object = comment_reply_object
|
|
3036
3036
|
command.response_representation = Google::Apis::DriveV2::CommentReply::Representation
|
|
@@ -3071,7 +3071,7 @@ module Google
|
|
|
3071
3071
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3072
3072
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3073
3073
|
def delete_revision(file_id, revision_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3074
|
-
command =
|
|
3074
|
+
command = make_simple_command(:delete, 'files/{fileId}/revisions/{revisionId}', options)
|
|
3075
3075
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
3076
3076
|
command.params['revisionId'] = revision_id unless revision_id.nil?
|
|
3077
3077
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -3105,7 +3105,7 @@ module Google
|
|
|
3105
3105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3106
3106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3107
3107
|
def get_revision(file_id, revision_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3108
|
-
command =
|
|
3108
|
+
command = make_simple_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
|
|
3109
3109
|
command.response_representation = Google::Apis::DriveV2::Revision::Representation
|
|
3110
3110
|
command.response_class = Google::Apis::DriveV2::Revision
|
|
3111
3111
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -3144,7 +3144,7 @@ module Google
|
|
|
3144
3144
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3145
3145
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3146
3146
|
def list_revisions(file_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3147
|
-
command =
|
|
3147
|
+
command = make_simple_command(:get, 'files/{fileId}/revisions', options)
|
|
3148
3148
|
command.response_representation = Google::Apis::DriveV2::RevisionList::Representation
|
|
3149
3149
|
command.response_class = Google::Apis::DriveV2::RevisionList
|
|
3150
3150
|
command.params['fileId'] = file_id unless file_id.nil?
|
|
@@ -3182,7 +3182,7 @@ module Google
|
|
|
3182
3182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3183
3183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3184
3184
|
def patch_revision(file_id, revision_id, revision_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3185
|
-
command =
|
|
3185
|
+
command = make_simple_command(:patch, 'files/{fileId}/revisions/{revisionId}', options)
|
|
3186
3186
|
command.request_representation = Google::Apis::DriveV2::Revision::Representation
|
|
3187
3187
|
command.request_object = revision_object
|
|
3188
3188
|
command.response_representation = Google::Apis::DriveV2::Revision::Representation
|
|
@@ -3221,7 +3221,7 @@ module Google
|
|
|
3221
3221
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3222
3222
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3223
3223
|
def update_revision(file_id, revision_id, revision_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3224
|
-
command =
|
|
3224
|
+
command = make_simple_command(:put, 'files/{fileId}/revisions/{revisionId}', options)
|
|
3225
3225
|
command.request_representation = Google::Apis::DriveV2::Revision::Representation
|
|
3226
3226
|
command.request_object = revision_object
|
|
3227
3227
|
command.response_representation = Google::Apis::DriveV2::Revision::Representation
|
|
@@ -3257,7 +3257,7 @@ module Google
|
|
|
3257
3257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3258
3258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3259
3259
|
def delete_teamdrive(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3260
|
-
command =
|
|
3260
|
+
command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options)
|
|
3261
3261
|
command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
|
|
3262
3262
|
command.query['fields'] = fields unless fields.nil?
|
|
3263
3263
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -3292,7 +3292,7 @@ module Google
|
|
|
3292
3292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3293
3293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3294
3294
|
def get_teamdrive(team_drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3295
|
-
command =
|
|
3295
|
+
command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options)
|
|
3296
3296
|
command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation
|
|
3297
3297
|
command.response_class = Google::Apis::DriveV2::TeamDrive
|
|
3298
3298
|
command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
|
|
@@ -3331,7 +3331,7 @@ module Google
|
|
|
3331
3331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3332
3332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3333
3333
|
def insert_teamdrive(request_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3334
|
-
command =
|
|
3334
|
+
command = make_simple_command(:post, 'teamdrives', options)
|
|
3335
3335
|
command.request_representation = Google::Apis::DriveV2::TeamDrive::Representation
|
|
3336
3336
|
command.request_object = team_drive_object
|
|
3337
3337
|
command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation
|
|
@@ -3373,7 +3373,7 @@ module Google
|
|
|
3373
3373
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3374
3374
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3375
3375
|
def list_teamdrives(max_results: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3376
|
-
command =
|
|
3376
|
+
command = make_simple_command(:get, 'teamdrives', options)
|
|
3377
3377
|
command.response_representation = Google::Apis::DriveV2::TeamDriveList::Representation
|
|
3378
3378
|
command.response_class = Google::Apis::DriveV2::TeamDriveList
|
|
3379
3379
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
@@ -3414,7 +3414,7 @@ module Google
|
|
|
3414
3414
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3415
3415
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3416
3416
|
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)
|
|
3417
|
-
command =
|
|
3417
|
+
command = make_simple_command(:put, 'teamdrives/{teamDriveId}', options)
|
|
3418
3418
|
command.request_representation = Google::Apis::DriveV2::TeamDrive::Representation
|
|
3419
3419
|
command.request_object = team_drive_object
|
|
3420
3420
|
command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation
|