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
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/shell/docs/
|
27
27
|
module CloudshellV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190511'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -221,7 +221,7 @@ module Google
|
|
221
221
|
|
222
222
|
# The server-assigned name, which is only unique within the same service that
|
223
223
|
# originally returns it. If you use the default HTTP mapping, the
|
224
|
-
# `name` should
|
224
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
225
225
|
# Corresponds to the JSON property `name`
|
226
226
|
# @return [String]
|
227
227
|
attr_accessor :name
|
@@ -79,7 +79,7 @@ module Google
|
|
79
79
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
80
80
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
81
81
|
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
82
|
-
command =
|
82
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
83
83
|
command.request_representation = Google::Apis::CloudshellV1::CancelOperationRequest::Representation
|
84
84
|
command.request_object = cancel_operation_request_object
|
85
85
|
command.response_representation = Google::Apis::CloudshellV1::Empty::Representation
|
@@ -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 delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
-
command =
|
117
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
118
118
|
command.response_representation = Google::Apis::CloudshellV1::Empty::Representation
|
119
119
|
command.response_class = Google::Apis::CloudshellV1::Empty
|
120
120
|
command.params['name'] = name unless name.nil?
|
@@ -146,7 +146,7 @@ module Google
|
|
146
146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
148
|
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
-
command =
|
149
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
150
150
|
command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
|
151
151
|
command.response_class = Google::Apis::CloudshellV1::Operation
|
152
152
|
command.params['name'] = name unless name.nil?
|
@@ -190,7 +190,7 @@ module Google
|
|
190
190
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
191
191
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
192
192
|
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
193
|
-
command =
|
193
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
194
194
|
command.response_representation = Google::Apis::CloudshellV1::ListOperationsResponse::Representation
|
195
195
|
command.response_class = Google::Apis::CloudshellV1::ListOperationsResponse
|
196
196
|
command.params['name'] = name unless name.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/shell/docs/
|
27
27
|
module CloudshellV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190511'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -234,7 +234,7 @@ module Google
|
|
234
234
|
|
235
235
|
# The server-assigned name, which is only unique within the same service that
|
236
236
|
# originally returns it. If you use the default HTTP mapping, the
|
237
|
-
# `name` should
|
237
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
238
238
|
# Corresponds to the JSON property `name`
|
239
239
|
# @return [String]
|
240
240
|
attr_accessor :name
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
76
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
77
|
def authorize_environment(name, authorize_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
-
command =
|
78
|
+
command = make_simple_command(:post, 'v1alpha1/{+name}:authorize', options)
|
79
79
|
command.request_representation = Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest::Representation
|
80
80
|
command.request_object = authorize_environment_request_object
|
81
81
|
command.response_representation = Google::Apis::CloudshellV1alpha1::Empty::Representation
|
@@ -108,7 +108,7 @@ module Google
|
|
108
108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
110
|
def get_user_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
111
|
-
command =
|
111
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
112
112
|
command.response_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
|
113
113
|
command.response_class = Google::Apis::CloudshellV1alpha1::Environment
|
114
114
|
command.params['name'] = name unless name.nil?
|
@@ -143,7 +143,7 @@ module Google
|
|
143
143
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
144
144
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
145
145
|
def patch_user_environment(name, environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
146
|
-
command =
|
146
|
+
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
|
147
147
|
command.request_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
|
148
148
|
command.request_object = environment_object
|
149
149
|
command.response_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
|
@@ -184,7 +184,7 @@ module Google
|
|
184
184
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
185
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
186
|
def start_environment(name, start_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
187
|
-
command =
|
187
|
+
command = make_simple_command(:post, 'v1alpha1/{+name}:start', options)
|
188
188
|
command.request_representation = Google::Apis::CloudshellV1alpha1::StartEnvironmentRequest::Representation
|
189
189
|
command.request_object = start_environment_request_object
|
190
190
|
command.response_representation = Google::Apis::CloudshellV1alpha1::Operation::Representation
|
@@ -220,7 +220,7 @@ module Google
|
|
220
220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
221
221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
222
222
|
def create_public_key(parent, create_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
223
|
-
command =
|
223
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/publicKeys', options)
|
224
224
|
command.request_representation = Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest::Representation
|
225
225
|
command.request_object = create_public_key_request_object
|
226
226
|
command.response_representation = Google::Apis::CloudshellV1alpha1::PublicKey::Representation
|
@@ -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 delete_user_environment_public_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
257
|
-
command =
|
257
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
258
258
|
command.response_representation = Google::Apis::CloudshellV1alpha1::Empty::Representation
|
259
259
|
command.response_class = Google::Apis::CloudshellV1alpha1::Empty
|
260
260
|
command.params['name'] = name unless name.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190513'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -25,8 +25,6 @@ module Google
|
|
25
25
|
# App Engine HTTP request.
|
26
26
|
# The message defines the HTTP request that is sent to an App Engine app when
|
27
27
|
# the task is dispatched.
|
28
|
-
# This proto can only be used for tasks in a queue which has
|
29
|
-
# app_engine_http_queue set.
|
30
28
|
# Using AppEngineHttpRequest requires
|
31
29
|
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
32
30
|
# api/access-control)
|
@@ -66,13 +64,17 @@ module Google
|
|
66
64
|
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
67
65
|
# appref)
|
68
66
|
# Task dispatches also do not follow redirects.
|
69
|
-
# The task attempt has succeeded if the app's request handler returns
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
67
|
+
# The task attempt has succeeded if the app's request handler returns an HTTP
|
68
|
+
# response code in the range [`200` - `299`]. The task attempt has failed if
|
69
|
+
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
70
|
+
# not receive response before the deadline. Failed
|
71
|
+
# tasks will be retried according to the
|
72
|
+
# retry configuration. `503` (Service Unavailable) is
|
73
|
+
# considered an App Engine system error instead of an application error and
|
74
|
+
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
75
|
+
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
76
|
+
# Requests) response from an app handler does not cause traffic congestion
|
77
|
+
# control to throttle the queue.
|
76
78
|
class AppEngineHttpRequest
|
77
79
|
include Google::Apis::Core::Hashable
|
78
80
|
|
@@ -1222,8 +1224,6 @@ module Google
|
|
1222
1224
|
# App Engine HTTP request.
|
1223
1225
|
# The message defines the HTTP request that is sent to an App Engine app when
|
1224
1226
|
# the task is dispatched.
|
1225
|
-
# This proto can only be used for tasks in a queue which has
|
1226
|
-
# app_engine_http_queue set.
|
1227
1227
|
# Using AppEngineHttpRequest requires
|
1228
1228
|
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
1229
1229
|
# api/access-control)
|
@@ -1263,13 +1263,17 @@ module Google
|
|
1263
1263
|
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
1264
1264
|
# appref)
|
1265
1265
|
# Task dispatches also do not follow redirects.
|
1266
|
-
# The task attempt has succeeded if the app's request handler returns
|
1267
|
-
#
|
1268
|
-
#
|
1269
|
-
#
|
1270
|
-
#
|
1271
|
-
#
|
1272
|
-
#
|
1266
|
+
# The task attempt has succeeded if the app's request handler returns an HTTP
|
1267
|
+
# response code in the range [`200` - `299`]. The task attempt has failed if
|
1268
|
+
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
1269
|
+
# not receive response before the deadline. Failed
|
1270
|
+
# tasks will be retried according to the
|
1271
|
+
# retry configuration. `503` (Service Unavailable) is
|
1272
|
+
# considered an App Engine system error instead of an application error and
|
1273
|
+
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
1274
|
+
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
1275
|
+
# Requests) response from an app handler does not cause traffic congestion
|
1276
|
+
# control to throttle the queue.
|
1273
1277
|
# Corresponds to the JSON property `appEngineHttpRequest`
|
1274
1278
|
# @return [Google::Apis::CloudtasksV2::AppEngineHttpRequest]
|
1275
1279
|
attr_accessor :app_engine_http_request
|
@@ -68,7 +68,7 @@ module Google
|
|
68
68
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
69
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
70
|
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
71
|
-
command =
|
71
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
72
72
|
command.response_representation = Google::Apis::CloudtasksV2::Location::Representation
|
73
73
|
command.response_class = Google::Apis::CloudtasksV2::Location
|
74
74
|
command.params['name'] = name unless name.nil?
|
@@ -104,7 +104,7 @@ module Google
|
|
104
104
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
105
105
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
106
106
|
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
107
|
-
command =
|
107
|
+
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
108
108
|
command.response_representation = Google::Apis::CloudtasksV2::ListLocationsResponse::Representation
|
109
109
|
command.response_class = Google::Apis::CloudtasksV2::ListLocationsResponse
|
110
110
|
command.params['name'] = name unless name.nil?
|
@@ -153,7 +153,7 @@ module Google
|
|
153
153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
154
154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
155
155
|
def create_project_location_queue(parent, queue_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
156
|
-
command =
|
156
|
+
command = make_simple_command(:post, 'v2/{+parent}/queues', options)
|
157
157
|
command.request_representation = Google::Apis::CloudtasksV2::Queue::Representation
|
158
158
|
command.request_object = queue_object
|
159
159
|
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
|
@@ -196,7 +196,7 @@ module Google
|
|
196
196
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
197
197
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
198
198
|
def delete_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
|
199
|
-
command =
|
199
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
200
200
|
command.response_representation = Google::Apis::CloudtasksV2::Empty::Representation
|
201
201
|
command.response_class = Google::Apis::CloudtasksV2::Empty
|
202
202
|
command.params['name'] = name unless name.nil?
|
@@ -228,7 +228,7 @@ module Google
|
|
228
228
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
229
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
230
|
def get_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
|
231
|
-
command =
|
231
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
232
232
|
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
|
233
233
|
command.response_class = Google::Apis::CloudtasksV2::Queue
|
234
234
|
command.params['name'] = name unless name.nil?
|
@@ -266,7 +266,7 @@ module Google
|
|
266
266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
267
267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
268
268
|
def get_queue_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
269
|
-
command =
|
269
|
+
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
|
270
270
|
command.request_representation = Google::Apis::CloudtasksV2::GetIamPolicyRequest::Representation
|
271
271
|
command.request_object = get_iam_policy_request_object
|
272
272
|
command.response_representation = Google::Apis::CloudtasksV2::Policy::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 list_project_location_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
329
|
-
command =
|
329
|
+
command = make_simple_command(:get, 'v2/{+parent}/queues', options)
|
330
330
|
command.response_representation = Google::Apis::CloudtasksV2::ListQueuesResponse::Representation
|
331
331
|
command.response_class = Google::Apis::CloudtasksV2::ListQueuesResponse
|
332
332
|
command.params['parent'] = parent unless parent.nil?
|
@@ -391,7 +391,7 @@ module Google
|
|
391
391
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
392
392
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
393
393
|
def patch_project_location_queue(name, queue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
394
|
-
command =
|
394
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
395
395
|
command.request_representation = Google::Apis::CloudtasksV2::Queue::Representation
|
396
396
|
command.request_object = queue_object
|
397
397
|
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
|
@@ -432,7 +432,7 @@ module Google
|
|
432
432
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
433
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
434
|
def pause_queue(name, pause_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
435
|
-
command =
|
435
|
+
command = make_simple_command(:post, 'v2/{+name}:pause', options)
|
436
436
|
command.request_representation = Google::Apis::CloudtasksV2::PauseQueueRequest::Representation
|
437
437
|
command.request_object = pause_queue_request_object
|
438
438
|
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
|
@@ -470,7 +470,7 @@ module Google
|
|
470
470
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
471
471
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
472
472
|
def purge_queue(name, purge_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
473
|
-
command =
|
473
|
+
command = make_simple_command(:post, 'v2/{+name}:purge', options)
|
474
474
|
command.request_representation = Google::Apis::CloudtasksV2::PurgeQueueRequest::Representation
|
475
475
|
command.request_object = purge_queue_request_object
|
476
476
|
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
|
@@ -515,7 +515,7 @@ module Google
|
|
515
515
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
516
516
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
517
517
|
def resume_queue(name, resume_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
518
|
-
command =
|
518
|
+
command = make_simple_command(:post, 'v2/{+name}:resume', options)
|
519
519
|
command.request_representation = Google::Apis::CloudtasksV2::ResumeQueueRequest::Representation
|
520
520
|
command.request_object = resume_queue_request_object
|
521
521
|
command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
|
@@ -556,7 +556,7 @@ module Google
|
|
556
556
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
557
557
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
558
558
|
def set_queue_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
559
|
-
command =
|
559
|
+
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
|
560
560
|
command.request_representation = Google::Apis::CloudtasksV2::SetIamPolicyRequest::Representation
|
561
561
|
command.request_object = set_iam_policy_request_object
|
562
562
|
command.response_representation = Google::Apis::CloudtasksV2::Policy::Representation
|
@@ -595,7 +595,7 @@ module Google
|
|
595
595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
596
596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
597
597
|
def test_queue_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
598
|
-
command =
|
598
|
+
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
|
599
599
|
command.request_representation = Google::Apis::CloudtasksV2::TestIamPermissionsRequest::Representation
|
600
600
|
command.request_object = test_iam_permissions_request_object
|
601
601
|
command.response_representation = Google::Apis::CloudtasksV2::TestIamPermissionsResponse::Representation
|
@@ -634,7 +634,7 @@ module Google
|
|
634
634
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
635
635
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
636
636
|
def create_task(parent, create_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
637
|
-
command =
|
637
|
+
command = make_simple_command(:post, 'v2/{+parent}/tasks', options)
|
638
638
|
command.request_representation = Google::Apis::CloudtasksV2::CreateTaskRequest::Representation
|
639
639
|
command.request_object = create_task_request_object
|
640
640
|
command.response_representation = Google::Apis::CloudtasksV2::Task::Representation
|
@@ -671,7 +671,7 @@ module Google
|
|
671
671
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
672
672
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
673
673
|
def delete_project_location_queue_task(name, fields: nil, quota_user: nil, options: nil, &block)
|
674
|
-
command =
|
674
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
675
675
|
command.response_representation = Google::Apis::CloudtasksV2::Empty::Representation
|
676
676
|
command.response_class = Google::Apis::CloudtasksV2::Empty
|
677
677
|
command.params['name'] = name unless name.nil?
|
@@ -714,7 +714,7 @@ module Google
|
|
714
714
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
715
715
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
716
716
|
def get_project_location_queue_task(name, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
717
|
-
command =
|
717
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
718
718
|
command.response_representation = Google::Apis::CloudtasksV2::Task::Representation
|
719
719
|
command.response_class = Google::Apis::CloudtasksV2::Task
|
720
720
|
command.params['name'] = name unless name.nil?
|
@@ -736,12 +736,12 @@ module Google
|
|
736
736
|
# The queue name. For example:
|
737
737
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
738
738
|
# @param [Fixnum] page_size
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
739
|
+
# Maximum page size.
|
740
|
+
# Fewer tasks than requested might be returned, even if more tasks exist; use
|
741
|
+
# next_page_token in the response to
|
742
|
+
# determine if more tasks exist.
|
743
|
+
# The maximum page size is 1000. If unspecified, the page size will be the
|
744
|
+
# maximum.
|
745
745
|
# @param [String] page_token
|
746
746
|
# A token identifying the page of results to return.
|
747
747
|
# To request the first page results, page_token must be empty. To
|
@@ -779,7 +779,7 @@ module Google
|
|
779
779
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
780
780
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
781
781
|
def list_project_location_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
782
|
-
command =
|
782
|
+
command = make_simple_command(:get, 'v2/{+parent}/tasks', options)
|
783
783
|
command.response_representation = Google::Apis::CloudtasksV2::ListTasksResponse::Representation
|
784
784
|
command.response_class = Google::Apis::CloudtasksV2::ListTasksResponse
|
785
785
|
command.params['parent'] = parent unless parent.nil?
|
@@ -833,7 +833,7 @@ module Google
|
|
833
833
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
834
834
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
835
835
|
def run_task(name, run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
836
|
-
command =
|
836
|
+
command = make_simple_command(:post, 'v2/{+name}:run', options)
|
837
837
|
command.request_representation = Google::Apis::CloudtasksV2::RunTaskRequest::Representation
|
838
838
|
command.request_object = run_task_request_object
|
839
839
|
command.response_representation = Google::Apis::CloudtasksV2::Task::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta2
|
27
27
|
VERSION = 'V2beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190513'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -91,13 +91,17 @@ module Google
|
|
91
91
|
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
92
92
|
# appref)
|
93
93
|
# Task dispatches also do not follow redirects.
|
94
|
-
# The task attempt has succeeded if the app's request handler returns
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
94
|
+
# The task attempt has succeeded if the app's request handler returns an HTTP
|
95
|
+
# response code in the range [`200` - `299`]. The task attempt has failed if
|
96
|
+
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
97
|
+
# not receive response before the deadline. Failed
|
98
|
+
# tasks will be retried according to the
|
99
|
+
# retry configuration. `503` (Service Unavailable) is
|
100
|
+
# considered an App Engine system error instead of an application error and
|
101
|
+
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
102
|
+
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
103
|
+
# Requests) response from an app handler does not cause traffic congestion
|
104
|
+
# control to throttle the queue.
|
101
105
|
class AppEngineHttpRequest
|
102
106
|
include Google::Apis::Core::Hashable
|
103
107
|
|
@@ -1626,13 +1630,17 @@ module Google
|
|
1626
1630
|
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
1627
1631
|
# appref)
|
1628
1632
|
# Task dispatches also do not follow redirects.
|
1629
|
-
# The task attempt has succeeded if the app's request handler returns
|
1630
|
-
#
|
1631
|
-
#
|
1632
|
-
#
|
1633
|
-
#
|
1634
|
-
#
|
1635
|
-
#
|
1633
|
+
# The task attempt has succeeded if the app's request handler returns an HTTP
|
1634
|
+
# response code in the range [`200` - `299`]. The task attempt has failed if
|
1635
|
+
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
1636
|
+
# not receive response before the deadline. Failed
|
1637
|
+
# tasks will be retried according to the
|
1638
|
+
# retry configuration. `503` (Service Unavailable) is
|
1639
|
+
# considered an App Engine system error instead of an application error and
|
1640
|
+
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
1641
|
+
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
1642
|
+
# Requests) response from an app handler does not cause traffic congestion
|
1643
|
+
# control to throttle the queue.
|
1636
1644
|
# Corresponds to the JSON property `appEngineHttpRequest`
|
1637
1645
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest]
|
1638
1646
|
attr_accessor :app_engine_http_request
|
@@ -68,7 +68,7 @@ module Google
|
|
68
68
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
69
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
70
|
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
71
|
-
command =
|
71
|
+
command = make_simple_command(:get, 'v2beta2/{+name}', options)
|
72
72
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Location::Representation
|
73
73
|
command.response_class = Google::Apis::CloudtasksV2beta2::Location
|
74
74
|
command.params['name'] = name unless name.nil?
|
@@ -104,7 +104,7 @@ module Google
|
|
104
104
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
105
105
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
106
106
|
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
107
|
-
command =
|
107
|
+
command = make_simple_command(:get, 'v2beta2/{+name}/locations', options)
|
108
108
|
command.response_representation = Google::Apis::CloudtasksV2beta2::ListLocationsResponse::Representation
|
109
109
|
command.response_class = Google::Apis::CloudtasksV2beta2::ListLocationsResponse
|
110
110
|
command.params['name'] = name unless name.nil?
|
@@ -153,7 +153,7 @@ module Google
|
|
153
153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
154
154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
155
155
|
def create_project_location_queue(parent, queue_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
156
|
-
command =
|
156
|
+
command = make_simple_command(:post, 'v2beta2/{+parent}/queues', options)
|
157
157
|
command.request_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
|
158
158
|
command.request_object = queue_object
|
159
159
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
|
@@ -196,7 +196,7 @@ module Google
|
|
196
196
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
197
197
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
198
198
|
def delete_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
|
199
|
-
command =
|
199
|
+
command = make_simple_command(:delete, 'v2beta2/{+name}', options)
|
200
200
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
|
201
201
|
command.response_class = Google::Apis::CloudtasksV2beta2::Empty
|
202
202
|
command.params['name'] = name unless name.nil?
|
@@ -228,7 +228,7 @@ module Google
|
|
228
228
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
229
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
230
|
def get_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
|
231
|
-
command =
|
231
|
+
command = make_simple_command(:get, 'v2beta2/{+name}', options)
|
232
232
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
|
233
233
|
command.response_class = Google::Apis::CloudtasksV2beta2::Queue
|
234
234
|
command.params['name'] = name unless name.nil?
|
@@ -266,7 +266,7 @@ module Google
|
|
266
266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
267
267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
268
268
|
def get_queue_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
269
|
-
command =
|
269
|
+
command = make_simple_command(:post, 'v2beta2/{+resource}:getIamPolicy', options)
|
270
270
|
command.request_representation = Google::Apis::CloudtasksV2beta2::GetIamPolicyRequest::Representation
|
271
271
|
command.request_object = get_iam_policy_request_object
|
272
272
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Policy::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 list_project_location_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
329
|
-
command =
|
329
|
+
command = make_simple_command(:get, 'v2beta2/{+parent}/queues', options)
|
330
330
|
command.response_representation = Google::Apis::CloudtasksV2beta2::ListQueuesResponse::Representation
|
331
331
|
command.response_class = Google::Apis::CloudtasksV2beta2::ListQueuesResponse
|
332
332
|
command.params['parent'] = parent unless parent.nil?
|
@@ -391,7 +391,7 @@ module Google
|
|
391
391
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
392
392
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
393
393
|
def patch_project_location_queue(name, queue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
394
|
-
command =
|
394
|
+
command = make_simple_command(:patch, 'v2beta2/{+name}', options)
|
395
395
|
command.request_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
|
396
396
|
command.request_object = queue_object
|
397
397
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
|
@@ -432,7 +432,7 @@ module Google
|
|
432
432
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
433
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
434
|
def pause_queue(name, pause_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
435
|
-
command =
|
435
|
+
command = make_simple_command(:post, 'v2beta2/{+name}:pause', options)
|
436
436
|
command.request_representation = Google::Apis::CloudtasksV2beta2::PauseQueueRequest::Representation
|
437
437
|
command.request_object = pause_queue_request_object
|
438
438
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
|
@@ -470,7 +470,7 @@ module Google
|
|
470
470
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
471
471
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
472
472
|
def purge_queue(name, purge_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
473
|
-
command =
|
473
|
+
command = make_simple_command(:post, 'v2beta2/{+name}:purge', options)
|
474
474
|
command.request_representation = Google::Apis::CloudtasksV2beta2::PurgeQueueRequest::Representation
|
475
475
|
command.request_object = purge_queue_request_object
|
476
476
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
|
@@ -515,7 +515,7 @@ module Google
|
|
515
515
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
516
516
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
517
517
|
def resume_queue(name, resume_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
518
|
-
command =
|
518
|
+
command = make_simple_command(:post, 'v2beta2/{+name}:resume', options)
|
519
519
|
command.request_representation = Google::Apis::CloudtasksV2beta2::ResumeQueueRequest::Representation
|
520
520
|
command.request_object = resume_queue_request_object
|
521
521
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
|
@@ -556,7 +556,7 @@ module Google
|
|
556
556
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
557
557
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
558
558
|
def set_queue_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
559
|
-
command =
|
559
|
+
command = make_simple_command(:post, 'v2beta2/{+resource}:setIamPolicy', options)
|
560
560
|
command.request_representation = Google::Apis::CloudtasksV2beta2::SetIamPolicyRequest::Representation
|
561
561
|
command.request_object = set_iam_policy_request_object
|
562
562
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Policy::Representation
|
@@ -595,7 +595,7 @@ module Google
|
|
595
595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
596
596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
597
597
|
def test_queue_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
598
|
-
command =
|
598
|
+
command = make_simple_command(:post, 'v2beta2/{+resource}:testIamPermissions', options)
|
599
599
|
command.request_representation = Google::Apis::CloudtasksV2beta2::TestIamPermissionsRequest::Representation
|
600
600
|
command.request_object = test_iam_permissions_request_object
|
601
601
|
command.response_representation = Google::Apis::CloudtasksV2beta2::TestIamPermissionsResponse::Representation
|
@@ -640,7 +640,7 @@ module Google
|
|
640
640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
641
641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
642
642
|
def acknowledge_task(name, acknowledge_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
643
|
-
command =
|
643
|
+
command = make_simple_command(:post, 'v2beta2/{+name}:acknowledge', options)
|
644
644
|
command.request_representation = Google::Apis::CloudtasksV2beta2::AcknowledgeTaskRequest::Representation
|
645
645
|
command.request_object = acknowledge_task_request_object
|
646
646
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
|
@@ -679,7 +679,7 @@ module Google
|
|
679
679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
680
680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
681
681
|
def cancel_task_lease(name, cancel_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
682
|
-
command =
|
682
|
+
command = make_simple_command(:post, 'v2beta2/{+name}:cancelLease', options)
|
683
683
|
command.request_representation = Google::Apis::CloudtasksV2beta2::CancelLeaseRequest::Representation
|
684
684
|
command.request_object = cancel_lease_request_object
|
685
685
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
|
@@ -719,7 +719,7 @@ module Google
|
|
719
719
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
720
720
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
721
721
|
def create_task(parent, create_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
722
|
-
command =
|
722
|
+
command = make_simple_command(:post, 'v2beta2/{+parent}/tasks', options)
|
723
723
|
command.request_representation = Google::Apis::CloudtasksV2beta2::CreateTaskRequest::Representation
|
724
724
|
command.request_object = create_task_request_object
|
725
725
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
|
@@ -756,7 +756,7 @@ module Google
|
|
756
756
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
757
757
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
758
758
|
def delete_project_location_queue_task(name, fields: nil, quota_user: nil, options: nil, &block)
|
759
|
-
command =
|
759
|
+
command = make_simple_command(:delete, 'v2beta2/{+name}', options)
|
760
760
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
|
761
761
|
command.response_class = Google::Apis::CloudtasksV2beta2::Empty
|
762
762
|
command.params['name'] = name unless name.nil?
|
@@ -799,7 +799,7 @@ module Google
|
|
799
799
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
800
800
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
801
801
|
def get_project_location_queue_task(name, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
802
|
-
command =
|
802
|
+
command = make_simple_command(:get, 'v2beta2/{+name}', options)
|
803
803
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
|
804
804
|
command.response_class = Google::Apis::CloudtasksV2beta2::Task
|
805
805
|
command.params['name'] = name unless name.nil?
|
@@ -851,7 +851,7 @@ module Google
|
|
851
851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
852
852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
853
853
|
def lease_tasks(parent, lease_tasks_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
854
|
-
command =
|
854
|
+
command = make_simple_command(:post, 'v2beta2/{+parent}/tasks:lease', options)
|
855
855
|
command.request_representation = Google::Apis::CloudtasksV2beta2::LeaseTasksRequest::Representation
|
856
856
|
command.request_object = lease_tasks_request_object
|
857
857
|
command.response_representation = Google::Apis::CloudtasksV2beta2::LeaseTasksResponse::Representation
|
@@ -874,12 +874,12 @@ module Google
|
|
874
874
|
# The queue name. For example:
|
875
875
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
876
876
|
# @param [Fixnum] page_size
|
877
|
-
#
|
878
|
-
#
|
879
|
-
#
|
880
|
-
#
|
881
|
-
#
|
882
|
-
#
|
877
|
+
# Maximum page size.
|
878
|
+
# Fewer tasks than requested might be returned, even if more tasks exist; use
|
879
|
+
# next_page_token in the response to
|
880
|
+
# determine if more tasks exist.
|
881
|
+
# The maximum page size is 1000. If unspecified, the page size will be the
|
882
|
+
# maximum.
|
883
883
|
# @param [String] page_token
|
884
884
|
# A token identifying the page of results to return.
|
885
885
|
# To request the first page results, page_token must be empty. To
|
@@ -917,7 +917,7 @@ module Google
|
|
917
917
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
918
918
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
919
919
|
def list_project_location_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
920
|
-
command =
|
920
|
+
command = make_simple_command(:get, 'v2beta2/{+parent}/tasks', options)
|
921
921
|
command.response_representation = Google::Apis::CloudtasksV2beta2::ListTasksResponse::Representation
|
922
922
|
command.response_class = Google::Apis::CloudtasksV2beta2::ListTasksResponse
|
923
923
|
command.params['parent'] = parent unless parent.nil?
|
@@ -956,7 +956,7 @@ module Google
|
|
956
956
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
957
957
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
958
958
|
def renew_task_lease(name, renew_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
959
|
-
command =
|
959
|
+
command = make_simple_command(:post, 'v2beta2/{+name}:renewLease', options)
|
960
960
|
command.request_representation = Google::Apis::CloudtasksV2beta2::RenewLeaseRequest::Representation
|
961
961
|
command.request_object = renew_lease_request_object
|
962
962
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
|
@@ -1011,7 +1011,7 @@ module Google
|
|
1011
1011
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1012
1012
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1013
1013
|
def run_task(name, run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1014
|
-
command =
|
1014
|
+
command = make_simple_command(:post, 'v2beta2/{+name}:run', options)
|
1015
1015
|
command.request_representation = Google::Apis::CloudtasksV2beta2::RunTaskRequest::Representation
|
1016
1016
|
command.request_object = run_task_request_object
|
1017
1017
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
|