google-api-client 0.29.1 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +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
@@ -73,7 +73,7 @@ module Google
|
|
73
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
75
|
def get_about(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
76
|
-
command =
|
76
|
+
command = make_simple_command(:get, 'about', options)
|
77
77
|
command.response_representation = Google::Apis::DriveV3::About::Representation
|
78
78
|
command.response_class = Google::Apis::DriveV3::About
|
79
79
|
command.query['fields'] = fields unless fields.nil?
|
@@ -114,7 +114,7 @@ module Google
|
|
114
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
116
|
def get_changes_start_page_token(drive_id: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
117
|
-
command =
|
117
|
+
command = make_simple_command(:get, 'changes/startPageToken', options)
|
118
118
|
command.response_representation = Google::Apis::DriveV3::StartPageToken::Representation
|
119
119
|
command.response_class = Google::Apis::DriveV3::StartPageToken
|
120
120
|
command.query['driveId'] = drive_id unless drive_id.nil?
|
@@ -187,7 +187,7 @@ module Google
|
|
187
187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
188
188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
189
189
|
def list_changes(page_token, drive_id: nil, include_corpus_removals: nil, include_items_from_all_drives: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
190
|
-
command =
|
190
|
+
command = make_simple_command(:get, 'changes', options)
|
191
191
|
command.response_representation = Google::Apis::DriveV3::ChangeList::Representation
|
192
192
|
command.response_class = Google::Apis::DriveV3::ChangeList
|
193
193
|
command.query['driveId'] = drive_id unless drive_id.nil?
|
@@ -269,7 +269,7 @@ module Google
|
|
269
269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
270
270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
271
271
|
def watch_change(page_token, channel_object = nil, drive_id: nil, include_corpus_removals: nil, include_items_from_all_drives: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
272
|
-
command =
|
272
|
+
command = make_simple_command(:post, 'changes/watch', options)
|
273
273
|
command.request_representation = Google::Apis::DriveV3::Channel::Representation
|
274
274
|
command.request_object = channel_object
|
275
275
|
command.response_representation = Google::Apis::DriveV3::Channel::Representation
|
@@ -314,7 +314,7 @@ module Google
|
|
314
314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
315
315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
316
316
|
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
317
|
-
command =
|
317
|
+
command = make_simple_command(:post, 'channels/stop', options)
|
318
318
|
command.request_representation = Google::Apis::DriveV3::Channel::Representation
|
319
319
|
command.request_object = channel_object
|
320
320
|
command.query['fields'] = fields unless fields.nil?
|
@@ -347,7 +347,7 @@ module Google
|
|
347
347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
348
348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
349
349
|
def create_comment(file_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
350
|
-
command =
|
350
|
+
command = make_simple_command(:post, 'files/{fileId}/comments', options)
|
351
351
|
command.request_representation = Google::Apis::DriveV3::Comment::Representation
|
352
352
|
command.request_object = comment_object
|
353
353
|
command.response_representation = Google::Apis::DriveV3::Comment::Representation
|
@@ -384,7 +384,7 @@ module Google
|
|
384
384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
385
385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
386
386
|
def delete_comment(file_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
387
|
-
command =
|
387
|
+
command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}', options)
|
388
388
|
command.params['fileId'] = file_id unless file_id.nil?
|
389
389
|
command.params['commentId'] = comment_id unless comment_id.nil?
|
390
390
|
command.query['fields'] = fields unless fields.nil?
|
@@ -421,7 +421,7 @@ module Google
|
|
421
421
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
422
422
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
423
423
|
def get_comment(file_id, comment_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
424
|
-
command =
|
424
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}', options)
|
425
425
|
command.response_representation = Google::Apis::DriveV3::Comment::Representation
|
426
426
|
command.response_class = Google::Apis::DriveV3::Comment
|
427
427
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -467,7 +467,7 @@ module Google
|
|
467
467
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
468
468
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
469
469
|
def list_comments(file_id, include_deleted: nil, page_size: nil, page_token: nil, start_modified_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
470
|
-
command =
|
470
|
+
command = make_simple_command(:get, 'files/{fileId}/comments', options)
|
471
471
|
command.response_representation = Google::Apis::DriveV3::CommentList::Representation
|
472
472
|
command.response_class = Google::Apis::DriveV3::CommentList
|
473
473
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -507,7 +507,7 @@ module Google
|
|
507
507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
508
508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
509
509
|
def update_comment(file_id, comment_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
510
|
-
command =
|
510
|
+
command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}', options)
|
511
511
|
command.request_representation = Google::Apis::DriveV3::Comment::Representation
|
512
512
|
command.request_object = comment_object
|
513
513
|
command.response_representation = Google::Apis::DriveV3::Comment::Representation
|
@@ -548,7 +548,7 @@ module Google
|
|
548
548
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
549
549
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
550
550
|
def create_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
551
|
-
command =
|
551
|
+
command = make_simple_command(:post, 'drives', options)
|
552
552
|
command.request_representation = Google::Apis::DriveV3::Drive::Representation
|
553
553
|
command.request_object = drive_object
|
554
554
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
@@ -584,7 +584,7 @@ module Google
|
|
584
584
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
585
585
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
586
586
|
def delete_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
587
|
-
command =
|
587
|
+
command = make_simple_command(:delete, 'drives/{driveId}', options)
|
588
588
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
589
589
|
command.query['fields'] = fields unless fields.nil?
|
590
590
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -619,7 +619,7 @@ module Google
|
|
619
619
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
620
620
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
621
621
|
def get_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
622
|
-
command =
|
622
|
+
command = make_simple_command(:get, 'drives/{driveId}', options)
|
623
623
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
624
624
|
command.response_class = Google::Apis::DriveV3::Drive
|
625
625
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
@@ -653,7 +653,7 @@ module Google
|
|
653
653
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
654
654
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
655
655
|
def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
656
|
-
command =
|
656
|
+
command = make_simple_command(:post, 'drives/{driveId}/hide', options)
|
657
657
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
658
658
|
command.response_class = Google::Apis::DriveV3::Drive
|
659
659
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
@@ -693,7 +693,7 @@ module Google
|
|
693
693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
694
694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
695
695
|
def list_drives(page_size: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
696
|
-
command =
|
696
|
+
command = make_simple_command(:get, 'drives', options)
|
697
697
|
command.response_representation = Google::Apis::DriveV3::DriveList::Representation
|
698
698
|
command.response_class = Google::Apis::DriveV3::DriveList
|
699
699
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -729,7 +729,7 @@ module Google
|
|
729
729
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
730
730
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
731
731
|
def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
732
|
-
command =
|
732
|
+
command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
|
733
733
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
734
734
|
command.response_class = Google::Apis::DriveV3::Drive
|
735
735
|
command.params['driveId'] = drive_id unless drive_id.nil?
|
@@ -767,7 +767,7 @@ module Google
|
|
767
767
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
768
768
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
769
769
|
def update_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
770
|
-
command =
|
770
|
+
command = make_simple_command(:patch, 'drives/{driveId}', options)
|
771
771
|
command.request_representation = Google::Apis::DriveV3::Drive::Representation
|
772
772
|
command.request_object = drive_object
|
773
773
|
command.response_representation = Google::Apis::DriveV3::Drive::Representation
|
@@ -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 copy_file(file_id, file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
824
|
-
command =
|
824
|
+
command = make_simple_command(:post, 'files/{fileId}/copy', options)
|
825
825
|
command.request_representation = Google::Apis::DriveV3::File::Representation
|
826
826
|
command.request_object = file_object
|
827
827
|
command.response_representation = Google::Apis::DriveV3::File::Representation
|
@@ -883,7 +883,7 @@ module Google
|
|
883
883
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
884
884
|
def create_file(file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
885
885
|
if upload_source.nil?
|
886
|
-
command =
|
886
|
+
command = make_simple_command(:post, 'files', options)
|
887
887
|
else
|
888
888
|
command = make_upload_command(:post, 'files', options)
|
889
889
|
command.upload_source = upload_source
|
@@ -937,7 +937,7 @@ module Google
|
|
937
937
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
938
938
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
939
939
|
def delete_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
940
|
-
command =
|
940
|
+
command = make_simple_command(:delete, 'files/{fileId}', options)
|
941
941
|
command.params['fileId'] = file_id unless file_id.nil?
|
942
942
|
command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
|
943
943
|
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
|
@@ -968,7 +968,7 @@ module Google
|
|
968
968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
969
969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
970
970
|
def empty_file_trash(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
971
|
-
command =
|
971
|
+
command = make_simple_command(:delete, 'files/trash', options)
|
972
972
|
command.query['fields'] = fields unless fields.nil?
|
973
973
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
974
974
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -1004,7 +1004,7 @@ module Google
|
|
1004
1004
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1005
1005
|
def export_file(file_id, mime_type, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1006
1006
|
if download_dest.nil?
|
1007
|
-
command =
|
1007
|
+
command = make_simple_command(:get, 'files/{fileId}/export', options)
|
1008
1008
|
else
|
1009
1009
|
command = make_download_command(:get, 'files/{fileId}/export', options)
|
1010
1010
|
command.download_dest = download_dest
|
@@ -1043,7 +1043,7 @@ module Google
|
|
1043
1043
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1044
1044
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1045
1045
|
def generate_file_ids(count: nil, space: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1046
|
-
command =
|
1046
|
+
command = make_simple_command(:get, 'files/generateIds', options)
|
1047
1047
|
command.response_representation = Google::Apis::DriveV3::GeneratedIds::Representation
|
1048
1048
|
command.response_class = Google::Apis::DriveV3::GeneratedIds
|
1049
1049
|
command.query['count'] = count unless count.nil?
|
@@ -1089,7 +1089,7 @@ module Google
|
|
1089
1089
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1090
1090
|
def get_file(file_id, acknowledge_abuse: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1091
1091
|
if download_dest.nil?
|
1092
|
-
command =
|
1092
|
+
command = make_simple_command(:get, 'files/{fileId}', options)
|
1093
1093
|
else
|
1094
1094
|
command = make_download_command(:get, 'files/{fileId}', options)
|
1095
1095
|
command.download_dest = download_dest
|
@@ -1169,7 +1169,7 @@ module Google
|
|
1169
1169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1170
1170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1171
1171
|
def list_files(corpora: nil, corpus: nil, drive_id: nil, include_items_from_all_drives: nil, include_team_drive_items: nil, order_by: nil, page_size: nil, page_token: nil, q: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1172
|
-
command =
|
1172
|
+
command = make_simple_command(:get, 'files', options)
|
1173
1173
|
command.response_representation = Google::Apis::DriveV3::FileList::Representation
|
1174
1174
|
command.response_class = Google::Apis::DriveV3::FileList
|
1175
1175
|
command.query['corpora'] = corpora unless corpora.nil?
|
@@ -1237,7 +1237,7 @@ module Google
|
|
1237
1237
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1238
1238
|
def update_file(file_id, file_object = nil, add_parents: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1239
1239
|
if upload_source.nil?
|
1240
|
-
command =
|
1240
|
+
command = make_simple_command(:patch, 'files/{fileId}', options)
|
1241
1241
|
else
|
1242
1242
|
command = make_upload_command(:patch, 'files/{fileId}', options)
|
1243
1243
|
command.upload_source = upload_source
|
@@ -1297,7 +1297,7 @@ module Google
|
|
1297
1297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1298
1298
|
def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1299
1299
|
if download_dest.nil?
|
1300
|
-
command =
|
1300
|
+
command = make_simple_command(:post, 'files/{fileId}/watch', options)
|
1301
1301
|
else
|
1302
1302
|
command = make_download_command(:post, 'files/{fileId}/watch', options)
|
1303
1303
|
command.download_dest = download_dest
|
@@ -1361,7 +1361,7 @@ module Google
|
|
1361
1361
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1362
1362
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1363
1363
|
def create_permission(file_id, permission_object = nil, email_message: nil, send_notification_email: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1364
|
-
command =
|
1364
|
+
command = make_simple_command(:post, 'files/{fileId}/permissions', options)
|
1365
1365
|
command.request_representation = Google::Apis::DriveV3::Permission::Representation
|
1366
1366
|
command.request_object = permission_object
|
1367
1367
|
command.response_representation = Google::Apis::DriveV3::Permission::Representation
|
@@ -1415,7 +1415,7 @@ module Google
|
|
1415
1415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1416
1416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1417
1417
|
def delete_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1418
|
-
command =
|
1418
|
+
command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
|
1419
1419
|
command.params['fileId'] = file_id unless file_id.nil?
|
1420
1420
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
1421
1421
|
command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
|
@@ -1463,7 +1463,7 @@ module Google
|
|
1463
1463
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1464
1464
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1465
1465
|
def get_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1466
|
-
command =
|
1466
|
+
command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
|
1467
1467
|
command.response_representation = Google::Apis::DriveV3::Permission::Representation
|
1468
1468
|
command.response_class = Google::Apis::DriveV3::Permission
|
1469
1469
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1518,7 +1518,7 @@ module Google
|
|
1518
1518
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1519
1519
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1520
1520
|
def list_permissions(file_id, page_size: nil, page_token: nil, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1521
|
-
command =
|
1521
|
+
command = make_simple_command(:get, 'files/{fileId}/permissions', options)
|
1522
1522
|
command.response_representation = Google::Apis::DriveV3::PermissionList::Representation
|
1523
1523
|
command.response_class = Google::Apis::DriveV3::PermissionList
|
1524
1524
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1576,7 +1576,7 @@ module Google
|
|
1576
1576
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1577
1577
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1578
1578
|
def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1579
|
-
command =
|
1579
|
+
command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
|
1580
1580
|
command.request_representation = Google::Apis::DriveV3::Permission::Representation
|
1581
1581
|
command.request_object = permission_object
|
1582
1582
|
command.response_representation = Google::Apis::DriveV3::Permission::Representation
|
@@ -1620,7 +1620,7 @@ module Google
|
|
1620
1620
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1621
1621
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1622
1622
|
def create_reply(file_id, comment_id, reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1623
|
-
command =
|
1623
|
+
command = make_simple_command(:post, 'files/{fileId}/comments/{commentId}/replies', options)
|
1624
1624
|
command.request_representation = Google::Apis::DriveV3::Reply::Representation
|
1625
1625
|
command.request_object = reply_object
|
1626
1626
|
command.response_representation = Google::Apis::DriveV3::Reply::Representation
|
@@ -1660,7 +1660,7 @@ module Google
|
|
1660
1660
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1661
1661
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1662
1662
|
def delete_reply(file_id, comment_id, reply_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1663
|
-
command =
|
1663
|
+
command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
1664
1664
|
command.params['fileId'] = file_id unless file_id.nil?
|
1665
1665
|
command.params['commentId'] = comment_id unless comment_id.nil?
|
1666
1666
|
command.params['replyId'] = reply_id unless reply_id.nil?
|
@@ -1700,7 +1700,7 @@ module Google
|
|
1700
1700
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1701
1701
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1702
1702
|
def get_reply(file_id, comment_id, reply_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1703
|
-
command =
|
1703
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
1704
1704
|
command.response_representation = Google::Apis::DriveV3::Reply::Representation
|
1705
1705
|
command.response_class = Google::Apis::DriveV3::Reply
|
1706
1706
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1746,7 +1746,7 @@ module Google
|
|
1746
1746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1747
1747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1748
1748
|
def list_replies(file_id, comment_id, include_deleted: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1749
|
-
command =
|
1749
|
+
command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies', options)
|
1750
1750
|
command.response_representation = Google::Apis::DriveV3::ReplyList::Representation
|
1751
1751
|
command.response_class = Google::Apis::DriveV3::ReplyList
|
1752
1752
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1788,7 +1788,7 @@ module Google
|
|
1788
1788
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1789
1789
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1790
1790
|
def update_reply(file_id, comment_id, reply_id, reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1791
|
-
command =
|
1791
|
+
command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
|
1792
1792
|
command.request_representation = Google::Apis::DriveV3::Reply::Representation
|
1793
1793
|
command.request_object = reply_object
|
1794
1794
|
command.response_representation = Google::Apis::DriveV3::Reply::Representation
|
@@ -1830,7 +1830,7 @@ module Google
|
|
1830
1830
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1831
1831
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1832
1832
|
def delete_revision(file_id, revision_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1833
|
-
command =
|
1833
|
+
command = make_simple_command(:delete, 'files/{fileId}/revisions/{revisionId}', options)
|
1834
1834
|
command.params['fileId'] = file_id unless file_id.nil?
|
1835
1835
|
command.params['revisionId'] = revision_id unless revision_id.nil?
|
1836
1836
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1870,7 +1870,7 @@ module Google
|
|
1870
1870
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1871
1871
|
def get_revision(file_id, revision_id, acknowledge_abuse: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1872
1872
|
if download_dest.nil?
|
1873
|
-
command =
|
1873
|
+
command = make_simple_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
|
1874
1874
|
else
|
1875
1875
|
command = make_download_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
|
1876
1876
|
command.download_dest = download_dest
|
@@ -1914,7 +1914,7 @@ module Google
|
|
1914
1914
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1915
1915
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1916
1916
|
def list_revisions(file_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1917
|
-
command =
|
1917
|
+
command = make_simple_command(:get, 'files/{fileId}/revisions', options)
|
1918
1918
|
command.response_representation = Google::Apis::DriveV3::RevisionList::Representation
|
1919
1919
|
command.response_class = Google::Apis::DriveV3::RevisionList
|
1920
1920
|
command.params['fileId'] = file_id unless file_id.nil?
|
@@ -1952,7 +1952,7 @@ module Google
|
|
1952
1952
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1953
1953
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1954
1954
|
def update_revision(file_id, revision_id, revision_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1955
|
-
command =
|
1955
|
+
command = make_simple_command(:patch, 'files/{fileId}/revisions/{revisionId}', options)
|
1956
1956
|
command.request_representation = Google::Apis::DriveV3::Revision::Representation
|
1957
1957
|
command.request_object = revision_object
|
1958
1958
|
command.response_representation = Google::Apis::DriveV3::Revision::Representation
|
@@ -1993,7 +1993,7 @@ module Google
|
|
1993
1993
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1994
1994
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1995
1995
|
def create_teamdrive(request_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1996
|
-
command =
|
1996
|
+
command = make_simple_command(:post, 'teamdrives', options)
|
1997
1997
|
command.request_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
1998
1998
|
command.request_object = team_drive_object
|
1999
1999
|
command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
@@ -2028,7 +2028,7 @@ module Google
|
|
2028
2028
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2029
2029
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2030
2030
|
def delete_teamdrive(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2031
|
-
command =
|
2031
|
+
command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options)
|
2032
2032
|
command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
|
2033
2033
|
command.query['fields'] = fields unless fields.nil?
|
2034
2034
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2063,7 +2063,7 @@ module Google
|
|
2063
2063
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2064
2064
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2065
2065
|
def get_teamdrive(team_drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2066
|
-
command =
|
2066
|
+
command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options)
|
2067
2067
|
command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
2068
2068
|
command.response_class = Google::Apis::DriveV3::TeamDrive
|
2069
2069
|
command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
|
@@ -2104,7 +2104,7 @@ module Google
|
|
2104
2104
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2105
2105
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2106
2106
|
def list_teamdrives(page_size: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2107
|
-
command =
|
2107
|
+
command = make_simple_command(:get, 'teamdrives', options)
|
2108
2108
|
command.response_representation = Google::Apis::DriveV3::TeamDriveList::Representation
|
2109
2109
|
command.response_class = Google::Apis::DriveV3::TeamDriveList
|
2110
2110
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -2145,7 +2145,7 @@ module Google
|
|
2145
2145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2146
2146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2147
2147
|
def update_teamdrive(team_drive_id, team_drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2148
|
-
command =
|
2148
|
+
command = make_simple_command(:patch, 'teamdrives/{teamDriveId}', options)
|
2149
2149
|
command.request_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
2150
2150
|
command.request_object = team_drive_object
|
2151
2151
|
command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
|
@@ -67,7 +67,7 @@ module Google
|
|
67
67
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
68
68
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
69
69
|
def query_drive_activity(query_drive_activity_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
70
|
-
command =
|
70
|
+
command = make_simple_command(:post, 'v2/activity:query', options)
|
71
71
|
command.request_representation = Google::Apis::DriveactivityV2::QueryDriveActivityRequest::Representation
|
72
72
|
command.request_object = query_drive_activity_request_object
|
73
73
|
command.response_representation = Google::Apis::DriveactivityV2::QueryDriveActivityResponse::Representation
|
@@ -90,7 +90,7 @@ module Google
|
|
90
90
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
91
91
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
92
92
|
def search_claims(language_code: nil, max_age_days: nil, offset: nil, page_size: nil, page_token: nil, query: nil, review_publisher_site_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
93
|
-
command =
|
93
|
+
command = make_simple_command(:get, 'v1alpha1/claims:search', options)
|
94
94
|
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse::Representation
|
95
95
|
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse
|
96
96
|
command.query['languageCode'] = language_code unless language_code.nil?
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
126
126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
127
127
|
def create_page(google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
128
|
-
command =
|
128
|
+
command = make_simple_command(:post, 'v1alpha1/pages', options)
|
129
129
|
command.request_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
130
130
|
command.request_object = google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object
|
131
131
|
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
@@ -156,7 +156,7 @@ module Google
|
|
156
156
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
157
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
158
|
def delete_page(name, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
-
command =
|
159
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
160
160
|
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleProtobufEmpty::Representation
|
161
161
|
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleProtobufEmpty
|
162
162
|
command.params['name'] = name unless name.nil?
|
@@ -186,7 +186,7 @@ module Google
|
|
186
186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
187
187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
188
188
|
def get_page(name, fields: nil, quota_user: nil, options: nil, &block)
|
189
|
-
command =
|
189
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
190
190
|
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
191
191
|
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
|
192
192
|
command.params['name'] = name unless name.nil?
|
@@ -236,7 +236,7 @@ module Google
|
|
236
236
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
237
237
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
238
238
|
def list_pages(offset: nil, organization: nil, page_size: nil, page_token: nil, url: nil, fields: nil, quota_user: nil, options: nil, &block)
|
239
|
-
command =
|
239
|
+
command = make_simple_command(:get, 'v1alpha1/pages', options)
|
240
240
|
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse::Representation
|
241
241
|
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse
|
242
242
|
command.query['offset'] = offset unless offset.nil?
|
@@ -277,7 +277,7 @@ module Google
|
|
277
277
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
278
278
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
279
279
|
def update_page(name, google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
280
|
-
command =
|
280
|
+
command = make_simple_command(:put, 'v1alpha1/{+name}', options)
|
281
281
|
command.request_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
282
282
|
command.request_object = google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object
|
283
283
|
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|