google-api-client 0.28.4 → 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/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- 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/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- 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/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -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/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- 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_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- 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/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- 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/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
@@ -0,0 +1,1436 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module CloudtasksV2
|
24
|
+
|
25
|
+
# App Engine HTTP request.
|
26
|
+
# The message defines the HTTP request that is sent to an App Engine app when
|
27
|
+
# the task is dispatched.
|
28
|
+
# Using AppEngineHttpRequest requires
|
29
|
+
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
30
|
+
# api/access-control)
|
31
|
+
# Google IAM permission for the project
|
32
|
+
# and the following scope:
|
33
|
+
# `https://www.googleapis.com/auth/cloud-platform`
|
34
|
+
# The task will be delivered to the App Engine app which belongs to the same
|
35
|
+
# project as the queue. For more information, see
|
36
|
+
# [How Requests are
|
37
|
+
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
38
|
+
# are-routed)
|
39
|
+
# and how routing is affected by
|
40
|
+
# [dispatch
|
41
|
+
# files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
|
42
|
+
# Traffic is encrypted during transport and never leaves Google datacenters.
|
43
|
+
# Because this traffic is carried over a communication mechanism internal to
|
44
|
+
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
45
|
+
# The request to the handler, however, will appear to have used the HTTP
|
46
|
+
# protocol.
|
47
|
+
# The AppEngineRouting used to construct the URL that the task is
|
48
|
+
# delivered to can be set at the queue-level or task-level:
|
49
|
+
# * If set,
|
50
|
+
# app_engine_routing_override
|
51
|
+
# is used for all tasks in the queue, no matter what the setting
|
52
|
+
# is for the
|
53
|
+
# task-level app_engine_routing.
|
54
|
+
# The `url` that the task will be sent to is:
|
55
|
+
# * `url =` host `+`
|
56
|
+
# relative_uri
|
57
|
+
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
58
|
+
# URIs restricted with
|
59
|
+
# [`login:
|
60
|
+
# admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
|
61
|
+
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
62
|
+
# restricted with
|
63
|
+
# [`login:
|
64
|
+
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
65
|
+
# appref)
|
66
|
+
# Task dispatches also do not follow redirects.
|
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.
|
78
|
+
class AppEngineHttpRequest
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
# App Engine Routing.
|
82
|
+
# Defines routing characteristics specific to App Engine - service, version,
|
83
|
+
# and instance.
|
84
|
+
# For more information about services, versions, and instances see
|
85
|
+
# [An Overview of App
|
86
|
+
# Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
|
87
|
+
# engine),
|
88
|
+
# [Microservices Architecture on Google App
|
89
|
+
# Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
|
90
|
+
# engine),
|
91
|
+
# [App Engine Standard request
|
92
|
+
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
93
|
+
# are-routed),
|
94
|
+
# and [App Engine Flex request
|
95
|
+
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
96
|
+
# are-routed).
|
97
|
+
# Corresponds to the JSON property `appEngineRouting`
|
98
|
+
# @return [Google::Apis::CloudtasksV2::AppEngineRouting]
|
99
|
+
attr_accessor :app_engine_routing
|
100
|
+
|
101
|
+
# HTTP request body.
|
102
|
+
# A request body is allowed only if the HTTP method is POST or PUT. It is
|
103
|
+
# an error to set a body on a task with an incompatible HttpMethod.
|
104
|
+
# Corresponds to the JSON property `body`
|
105
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
106
|
+
# @return [String]
|
107
|
+
attr_accessor :body
|
108
|
+
|
109
|
+
# HTTP request headers.
|
110
|
+
# This map contains the header field names and values.
|
111
|
+
# Headers can be set when the
|
112
|
+
# task is created.
|
113
|
+
# Repeated headers are not supported but a header value can contain commas.
|
114
|
+
# Cloud Tasks sets some headers to default values:
|
115
|
+
# * `User-Agent`: By default, this header is
|
116
|
+
# `"AppEngine-Google; (+http://code.google.com/appengine)"`.
|
117
|
+
# This header can be modified, but Cloud Tasks will append
|
118
|
+
# `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
|
119
|
+
# modified `User-Agent`.
|
120
|
+
# If the task has a body, Cloud
|
121
|
+
# Tasks sets the following headers:
|
122
|
+
# * `Content-Type`: By default, the `Content-Type` header is set to
|
123
|
+
# `"application/octet-stream"`. The default can be overridden by explicitly
|
124
|
+
# setting `Content-Type` to a particular media type when the
|
125
|
+
# task is created.
|
126
|
+
# For example, `Content-Type` can be set to `"application/json"`.
|
127
|
+
# * `Content-Length`: This is computed by Cloud Tasks. This value is
|
128
|
+
# output only. It cannot be changed.
|
129
|
+
# The headers below cannot be set or overridden:
|
130
|
+
# * `Host`
|
131
|
+
# * `X-Google-*`
|
132
|
+
# * `X-AppEngine-*`
|
133
|
+
# In addition, Cloud Tasks sets some headers when the task is dispatched,
|
134
|
+
# such as headers containing information about the task; see
|
135
|
+
# [request
|
136
|
+
# headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/
|
137
|
+
# creating-handlers#reading_request_headers).
|
138
|
+
# These headers are set only when the task is dispatched, so they are not
|
139
|
+
# visible when the task is returned in a Cloud Tasks response.
|
140
|
+
# Although there is no specific limit for the maximum number of headers or
|
141
|
+
# the size, there is a limit on the maximum size of the Task. For more
|
142
|
+
# information, see the CreateTask documentation.
|
143
|
+
# Corresponds to the JSON property `headers`
|
144
|
+
# @return [Hash<String,String>]
|
145
|
+
attr_accessor :headers
|
146
|
+
|
147
|
+
# The HTTP method to use for the request. The default is POST.
|
148
|
+
# The app's request handler for the task's target URL must be able to handle
|
149
|
+
# HTTP requests with this http_method, otherwise the task attempt will fail
|
150
|
+
# with error code 405 (Method Not Allowed). See
|
151
|
+
# [Writing a push task request
|
152
|
+
# handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-
|
153
|
+
# handlers#writing_a_push_task_request_handler)
|
154
|
+
# and the documentation for the request handlers in the language your app is
|
155
|
+
# written in e.g.
|
156
|
+
# [Python Request
|
157
|
+
# Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/
|
158
|
+
# requesthandlerclass).
|
159
|
+
# Corresponds to the JSON property `httpMethod`
|
160
|
+
# @return [String]
|
161
|
+
attr_accessor :http_method
|
162
|
+
|
163
|
+
# The relative URI.
|
164
|
+
# The relative URI must begin with "/" and must be a valid HTTP relative URI.
|
165
|
+
# It can contain a path and query string arguments.
|
166
|
+
# If the relative URI is empty, then the root path "/" will be used.
|
167
|
+
# No spaces are allowed, and the maximum length allowed is 2083 characters.
|
168
|
+
# Corresponds to the JSON property `relativeUri`
|
169
|
+
# @return [String]
|
170
|
+
attr_accessor :relative_uri
|
171
|
+
|
172
|
+
def initialize(**args)
|
173
|
+
update!(**args)
|
174
|
+
end
|
175
|
+
|
176
|
+
# Update properties of this object
|
177
|
+
def update!(**args)
|
178
|
+
@app_engine_routing = args[:app_engine_routing] if args.key?(:app_engine_routing)
|
179
|
+
@body = args[:body] if args.key?(:body)
|
180
|
+
@headers = args[:headers] if args.key?(:headers)
|
181
|
+
@http_method = args[:http_method] if args.key?(:http_method)
|
182
|
+
@relative_uri = args[:relative_uri] if args.key?(:relative_uri)
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# App Engine Routing.
|
187
|
+
# Defines routing characteristics specific to App Engine - service, version,
|
188
|
+
# and instance.
|
189
|
+
# For more information about services, versions, and instances see
|
190
|
+
# [An Overview of App
|
191
|
+
# Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
|
192
|
+
# engine),
|
193
|
+
# [Microservices Architecture on Google App
|
194
|
+
# Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
|
195
|
+
# engine),
|
196
|
+
# [App Engine Standard request
|
197
|
+
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
198
|
+
# are-routed),
|
199
|
+
# and [App Engine Flex request
|
200
|
+
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
201
|
+
# are-routed).
|
202
|
+
class AppEngineRouting
|
203
|
+
include Google::Apis::Core::Hashable
|
204
|
+
|
205
|
+
# Output only. The host that the task is sent to.
|
206
|
+
# The host is constructed from the domain name of the app associated with
|
207
|
+
# the queue's project ID (for example <app-id>.appspot.com), and the
|
208
|
+
# service, version,
|
209
|
+
# and instance. Tasks which were created using
|
210
|
+
# the App Engine SDK might have a custom domain name.
|
211
|
+
# For more information, see
|
212
|
+
# [How Requests are
|
213
|
+
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
214
|
+
# are-routed).
|
215
|
+
# Corresponds to the JSON property `host`
|
216
|
+
# @return [String]
|
217
|
+
attr_accessor :host
|
218
|
+
|
219
|
+
# App instance.
|
220
|
+
# By default, the task is sent to an instance which is available when
|
221
|
+
# the task is attempted.
|
222
|
+
# Requests can only be sent to a specific instance if
|
223
|
+
# [manual scaling is used in App Engine
|
224
|
+
# Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
|
225
|
+
# engine?hl=en_US#scaling_types_and_instance_classes).
|
226
|
+
# App Engine Flex does not support instances. For more information, see
|
227
|
+
# [App Engine Standard request
|
228
|
+
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
229
|
+
# are-routed)
|
230
|
+
# and [App Engine Flex request
|
231
|
+
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
232
|
+
# are-routed).
|
233
|
+
# Corresponds to the JSON property `instance`
|
234
|
+
# @return [String]
|
235
|
+
attr_accessor :instance
|
236
|
+
|
237
|
+
# App service.
|
238
|
+
# By default, the task is sent to the service which is the default
|
239
|
+
# service when the task is attempted.
|
240
|
+
# For some queues or tasks which were created using the App Engine
|
241
|
+
# Task Queue API, host is not parsable
|
242
|
+
# into service,
|
243
|
+
# version, and
|
244
|
+
# instance. For example, some tasks
|
245
|
+
# which were created using the App Engine SDK use a custom domain
|
246
|
+
# name; custom domains are not parsed by Cloud Tasks. If
|
247
|
+
# host is not parsable, then
|
248
|
+
# service,
|
249
|
+
# version, and
|
250
|
+
# instance are the empty string.
|
251
|
+
# Corresponds to the JSON property `service`
|
252
|
+
# @return [String]
|
253
|
+
attr_accessor :service
|
254
|
+
|
255
|
+
# App version.
|
256
|
+
# By default, the task is sent to the version which is the default
|
257
|
+
# version when the task is attempted.
|
258
|
+
# For some queues or tasks which were created using the App Engine
|
259
|
+
# Task Queue API, host is not parsable
|
260
|
+
# into service,
|
261
|
+
# version, and
|
262
|
+
# instance. For example, some tasks
|
263
|
+
# which were created using the App Engine SDK use a custom domain
|
264
|
+
# name; custom domains are not parsed by Cloud Tasks. If
|
265
|
+
# host is not parsable, then
|
266
|
+
# service,
|
267
|
+
# version, and
|
268
|
+
# instance are the empty string.
|
269
|
+
# Corresponds to the JSON property `version`
|
270
|
+
# @return [String]
|
271
|
+
attr_accessor :version
|
272
|
+
|
273
|
+
def initialize(**args)
|
274
|
+
update!(**args)
|
275
|
+
end
|
276
|
+
|
277
|
+
# Update properties of this object
|
278
|
+
def update!(**args)
|
279
|
+
@host = args[:host] if args.key?(:host)
|
280
|
+
@instance = args[:instance] if args.key?(:instance)
|
281
|
+
@service = args[:service] if args.key?(:service)
|
282
|
+
@version = args[:version] if args.key?(:version)
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
# The status of a task attempt.
|
287
|
+
class Attempt
|
288
|
+
include Google::Apis::Core::Hashable
|
289
|
+
|
290
|
+
# Output only. The time that this attempt was dispatched.
|
291
|
+
# `dispatch_time` will be truncated to the nearest microsecond.
|
292
|
+
# Corresponds to the JSON property `dispatchTime`
|
293
|
+
# @return [String]
|
294
|
+
attr_accessor :dispatch_time
|
295
|
+
|
296
|
+
# The `Status` type defines a logical error model that is suitable for
|
297
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
298
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
299
|
+
# - Simple to use and understand for most users
|
300
|
+
# - Flexible enough to meet unexpected needs
|
301
|
+
# # Overview
|
302
|
+
# The `Status` message contains three pieces of data: error code, error
|
303
|
+
# message, and error details. The error code should be an enum value of
|
304
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
305
|
+
# error message should be a developer-facing English message that helps
|
306
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
307
|
+
# error message is needed, put the localized message in the error details or
|
308
|
+
# localize it in the client. The optional error details may contain arbitrary
|
309
|
+
# information about the error. There is a predefined set of error detail types
|
310
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
311
|
+
# # Language mapping
|
312
|
+
# The `Status` message is the logical representation of the error model, but it
|
313
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
314
|
+
# exposed in different client libraries and different wire protocols, it can be
|
315
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
316
|
+
# in Java, but more likely mapped to some error codes in C.
|
317
|
+
# # Other uses
|
318
|
+
# The error model and the `Status` message can be used in a variety of
|
319
|
+
# environments, either with or without APIs, to provide a
|
320
|
+
# consistent developer experience across different environments.
|
321
|
+
# Example uses of this error model include:
|
322
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
323
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
324
|
+
# errors.
|
325
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
326
|
+
# have a `Status` message for error reporting.
|
327
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
328
|
+
# `Status` message should be used directly inside batch response, one for
|
329
|
+
# each error sub-response.
|
330
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
331
|
+
# results in its response, the status of those operations should be
|
332
|
+
# represented directly using the `Status` message.
|
333
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
334
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
335
|
+
# Corresponds to the JSON property `responseStatus`
|
336
|
+
# @return [Google::Apis::CloudtasksV2::Status]
|
337
|
+
attr_accessor :response_status
|
338
|
+
|
339
|
+
# Output only. The time that this attempt response was received.
|
340
|
+
# `response_time` will be truncated to the nearest microsecond.
|
341
|
+
# Corresponds to the JSON property `responseTime`
|
342
|
+
# @return [String]
|
343
|
+
attr_accessor :response_time
|
344
|
+
|
345
|
+
# Output only. The time that this attempt was scheduled.
|
346
|
+
# `schedule_time` will be truncated to the nearest microsecond.
|
347
|
+
# Corresponds to the JSON property `scheduleTime`
|
348
|
+
# @return [String]
|
349
|
+
attr_accessor :schedule_time
|
350
|
+
|
351
|
+
def initialize(**args)
|
352
|
+
update!(**args)
|
353
|
+
end
|
354
|
+
|
355
|
+
# Update properties of this object
|
356
|
+
def update!(**args)
|
357
|
+
@dispatch_time = args[:dispatch_time] if args.key?(:dispatch_time)
|
358
|
+
@response_status = args[:response_status] if args.key?(:response_status)
|
359
|
+
@response_time = args[:response_time] if args.key?(:response_time)
|
360
|
+
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
# Associates `members` with a `role`.
|
365
|
+
class Binding
|
366
|
+
include Google::Apis::Core::Hashable
|
367
|
+
|
368
|
+
# Represents an expression text. Example:
|
369
|
+
# title: "User account presence"
|
370
|
+
# description: "Determines whether the request has a user account"
|
371
|
+
# expression: "size(request.user) > 0"
|
372
|
+
# Corresponds to the JSON property `condition`
|
373
|
+
# @return [Google::Apis::CloudtasksV2::Expr]
|
374
|
+
attr_accessor :condition
|
375
|
+
|
376
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
377
|
+
# `members` can have the following values:
|
378
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
379
|
+
# on the internet; with or without a Google account.
|
380
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
381
|
+
# who is authenticated with a Google account or a service account.
|
382
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
383
|
+
# account. For example, `alice@gmail.com` .
|
384
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
385
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
386
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
387
|
+
# For example, `admins@example.com`.
|
388
|
+
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
389
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
390
|
+
# Corresponds to the JSON property `members`
|
391
|
+
# @return [Array<String>]
|
392
|
+
attr_accessor :members
|
393
|
+
|
394
|
+
# Role that is assigned to `members`.
|
395
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
396
|
+
# Corresponds to the JSON property `role`
|
397
|
+
# @return [String]
|
398
|
+
attr_accessor :role
|
399
|
+
|
400
|
+
def initialize(**args)
|
401
|
+
update!(**args)
|
402
|
+
end
|
403
|
+
|
404
|
+
# Update properties of this object
|
405
|
+
def update!(**args)
|
406
|
+
@condition = args[:condition] if args.key?(:condition)
|
407
|
+
@members = args[:members] if args.key?(:members)
|
408
|
+
@role = args[:role] if args.key?(:role)
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
# Request message for CreateTask.
|
413
|
+
class CreateTaskRequest
|
414
|
+
include Google::Apis::Core::Hashable
|
415
|
+
|
416
|
+
# The response_view specifies which subset of the Task will be
|
417
|
+
# returned.
|
418
|
+
# By default response_view is BASIC; not all
|
419
|
+
# information is retrieved by default because some data, such as
|
420
|
+
# payloads, might be desirable to return only when needed because
|
421
|
+
# of its large size or because of the sensitivity of data that it
|
422
|
+
# contains.
|
423
|
+
# Authorization for FULL requires
|
424
|
+
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
425
|
+
# permission on the Task resource.
|
426
|
+
# Corresponds to the JSON property `responseView`
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :response_view
|
429
|
+
|
430
|
+
# A unit of scheduled work.
|
431
|
+
# Corresponds to the JSON property `task`
|
432
|
+
# @return [Google::Apis::CloudtasksV2::Task]
|
433
|
+
attr_accessor :task
|
434
|
+
|
435
|
+
def initialize(**args)
|
436
|
+
update!(**args)
|
437
|
+
end
|
438
|
+
|
439
|
+
# Update properties of this object
|
440
|
+
def update!(**args)
|
441
|
+
@response_view = args[:response_view] if args.key?(:response_view)
|
442
|
+
@task = args[:task] if args.key?(:task)
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
447
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
448
|
+
# or the response type of an API method. For instance:
|
449
|
+
# service Foo `
|
450
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
451
|
+
# `
|
452
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
453
|
+
class Empty
|
454
|
+
include Google::Apis::Core::Hashable
|
455
|
+
|
456
|
+
def initialize(**args)
|
457
|
+
update!(**args)
|
458
|
+
end
|
459
|
+
|
460
|
+
# Update properties of this object
|
461
|
+
def update!(**args)
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
# Represents an expression text. Example:
|
466
|
+
# title: "User account presence"
|
467
|
+
# description: "Determines whether the request has a user account"
|
468
|
+
# expression: "size(request.user) > 0"
|
469
|
+
class Expr
|
470
|
+
include Google::Apis::Core::Hashable
|
471
|
+
|
472
|
+
# An optional description of the expression. This is a longer text which
|
473
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
474
|
+
# Corresponds to the JSON property `description`
|
475
|
+
# @return [String]
|
476
|
+
attr_accessor :description
|
477
|
+
|
478
|
+
# Textual representation of an expression in
|
479
|
+
# Common Expression Language syntax.
|
480
|
+
# The application context of the containing message determines which
|
481
|
+
# well-known feature set of CEL is supported.
|
482
|
+
# Corresponds to the JSON property `expression`
|
483
|
+
# @return [String]
|
484
|
+
attr_accessor :expression
|
485
|
+
|
486
|
+
# An optional string indicating the location of the expression for error
|
487
|
+
# reporting, e.g. a file name and a position in the file.
|
488
|
+
# Corresponds to the JSON property `location`
|
489
|
+
# @return [String]
|
490
|
+
attr_accessor :location
|
491
|
+
|
492
|
+
# An optional title for the expression, i.e. a short string describing
|
493
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
494
|
+
# expression.
|
495
|
+
# Corresponds to the JSON property `title`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :title
|
498
|
+
|
499
|
+
def initialize(**args)
|
500
|
+
update!(**args)
|
501
|
+
end
|
502
|
+
|
503
|
+
# Update properties of this object
|
504
|
+
def update!(**args)
|
505
|
+
@description = args[:description] if args.key?(:description)
|
506
|
+
@expression = args[:expression] if args.key?(:expression)
|
507
|
+
@location = args[:location] if args.key?(:location)
|
508
|
+
@title = args[:title] if args.key?(:title)
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
# Request message for `GetIamPolicy` method.
|
513
|
+
class GetIamPolicyRequest
|
514
|
+
include Google::Apis::Core::Hashable
|
515
|
+
|
516
|
+
def initialize(**args)
|
517
|
+
update!(**args)
|
518
|
+
end
|
519
|
+
|
520
|
+
# Update properties of this object
|
521
|
+
def update!(**args)
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
# The response message for Locations.ListLocations.
|
526
|
+
class ListLocationsResponse
|
527
|
+
include Google::Apis::Core::Hashable
|
528
|
+
|
529
|
+
# A list of locations that matches the specified filter in the request.
|
530
|
+
# Corresponds to the JSON property `locations`
|
531
|
+
# @return [Array<Google::Apis::CloudtasksV2::Location>]
|
532
|
+
attr_accessor :locations
|
533
|
+
|
534
|
+
# The standard List next-page token.
|
535
|
+
# Corresponds to the JSON property `nextPageToken`
|
536
|
+
# @return [String]
|
537
|
+
attr_accessor :next_page_token
|
538
|
+
|
539
|
+
def initialize(**args)
|
540
|
+
update!(**args)
|
541
|
+
end
|
542
|
+
|
543
|
+
# Update properties of this object
|
544
|
+
def update!(**args)
|
545
|
+
@locations = args[:locations] if args.key?(:locations)
|
546
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
# Response message for ListQueues.
|
551
|
+
class ListQueuesResponse
|
552
|
+
include Google::Apis::Core::Hashable
|
553
|
+
|
554
|
+
# A token to retrieve next page of results.
|
555
|
+
# To return the next page of results, call
|
556
|
+
# ListQueues with this value as the
|
557
|
+
# page_token.
|
558
|
+
# If the next_page_token is empty, there are no more results.
|
559
|
+
# The page token is valid for only 2 hours.
|
560
|
+
# Corresponds to the JSON property `nextPageToken`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :next_page_token
|
563
|
+
|
564
|
+
# The list of queues.
|
565
|
+
# Corresponds to the JSON property `queues`
|
566
|
+
# @return [Array<Google::Apis::CloudtasksV2::Queue>]
|
567
|
+
attr_accessor :queues
|
568
|
+
|
569
|
+
def initialize(**args)
|
570
|
+
update!(**args)
|
571
|
+
end
|
572
|
+
|
573
|
+
# Update properties of this object
|
574
|
+
def update!(**args)
|
575
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
576
|
+
@queues = args[:queues] if args.key?(:queues)
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
# Response message for listing tasks using ListTasks.
|
581
|
+
class ListTasksResponse
|
582
|
+
include Google::Apis::Core::Hashable
|
583
|
+
|
584
|
+
# A token to retrieve next page of results.
|
585
|
+
# To return the next page of results, call
|
586
|
+
# ListTasks with this value as the
|
587
|
+
# page_token.
|
588
|
+
# If the next_page_token is empty, there are no more results.
|
589
|
+
# Corresponds to the JSON property `nextPageToken`
|
590
|
+
# @return [String]
|
591
|
+
attr_accessor :next_page_token
|
592
|
+
|
593
|
+
# The list of tasks.
|
594
|
+
# Corresponds to the JSON property `tasks`
|
595
|
+
# @return [Array<Google::Apis::CloudtasksV2::Task>]
|
596
|
+
attr_accessor :tasks
|
597
|
+
|
598
|
+
def initialize(**args)
|
599
|
+
update!(**args)
|
600
|
+
end
|
601
|
+
|
602
|
+
# Update properties of this object
|
603
|
+
def update!(**args)
|
604
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
605
|
+
@tasks = args[:tasks] if args.key?(:tasks)
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
609
|
+
# A resource that represents Google Cloud Platform location.
|
610
|
+
class Location
|
611
|
+
include Google::Apis::Core::Hashable
|
612
|
+
|
613
|
+
# The friendly name for this location, typically a nearby city name.
|
614
|
+
# For example, "Tokyo".
|
615
|
+
# Corresponds to the JSON property `displayName`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :display_name
|
618
|
+
|
619
|
+
# Cross-service attributes for the location. For example
|
620
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
621
|
+
# Corresponds to the JSON property `labels`
|
622
|
+
# @return [Hash<String,String>]
|
623
|
+
attr_accessor :labels
|
624
|
+
|
625
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
626
|
+
# Corresponds to the JSON property `locationId`
|
627
|
+
# @return [String]
|
628
|
+
attr_accessor :location_id
|
629
|
+
|
630
|
+
# Service-specific metadata. For example the available capacity at the given
|
631
|
+
# location.
|
632
|
+
# Corresponds to the JSON property `metadata`
|
633
|
+
# @return [Hash<String,Object>]
|
634
|
+
attr_accessor :metadata
|
635
|
+
|
636
|
+
# Resource name for the location, which may vary between implementations.
|
637
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
638
|
+
# Corresponds to the JSON property `name`
|
639
|
+
# @return [String]
|
640
|
+
attr_accessor :name
|
641
|
+
|
642
|
+
def initialize(**args)
|
643
|
+
update!(**args)
|
644
|
+
end
|
645
|
+
|
646
|
+
# Update properties of this object
|
647
|
+
def update!(**args)
|
648
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
649
|
+
@labels = args[:labels] if args.key?(:labels)
|
650
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
651
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
652
|
+
@name = args[:name] if args.key?(:name)
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
# Request message for PauseQueue.
|
657
|
+
class PauseQueueRequest
|
658
|
+
include Google::Apis::Core::Hashable
|
659
|
+
|
660
|
+
def initialize(**args)
|
661
|
+
update!(**args)
|
662
|
+
end
|
663
|
+
|
664
|
+
# Update properties of this object
|
665
|
+
def update!(**args)
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
670
|
+
# specify access control policies for Cloud Platform resources.
|
671
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
672
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
673
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
674
|
+
# defined by IAM.
|
675
|
+
# **JSON Example**
|
676
|
+
# `
|
677
|
+
# "bindings": [
|
678
|
+
# `
|
679
|
+
# "role": "roles/owner",
|
680
|
+
# "members": [
|
681
|
+
# "user:mike@example.com",
|
682
|
+
# "group:admins@example.com",
|
683
|
+
# "domain:google.com",
|
684
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
685
|
+
# ]
|
686
|
+
# `,
|
687
|
+
# `
|
688
|
+
# "role": "roles/viewer",
|
689
|
+
# "members": ["user:sean@example.com"]
|
690
|
+
# `
|
691
|
+
# ]
|
692
|
+
# `
|
693
|
+
# **YAML Example**
|
694
|
+
# bindings:
|
695
|
+
# - members:
|
696
|
+
# - user:mike@example.com
|
697
|
+
# - group:admins@example.com
|
698
|
+
# - domain:google.com
|
699
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
700
|
+
# role: roles/owner
|
701
|
+
# - members:
|
702
|
+
# - user:sean@example.com
|
703
|
+
# role: roles/viewer
|
704
|
+
# For a description of IAM and its features, see the
|
705
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
706
|
+
class Policy
|
707
|
+
include Google::Apis::Core::Hashable
|
708
|
+
|
709
|
+
# Associates a list of `members` to a `role`.
|
710
|
+
# `bindings` with no members will result in an error.
|
711
|
+
# Corresponds to the JSON property `bindings`
|
712
|
+
# @return [Array<Google::Apis::CloudtasksV2::Binding>]
|
713
|
+
attr_accessor :bindings
|
714
|
+
|
715
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
716
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
717
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
718
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
719
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
720
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
721
|
+
# ensure that their change will be applied to the same version of the policy.
|
722
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
723
|
+
# policy is overwritten blindly.
|
724
|
+
# Corresponds to the JSON property `etag`
|
725
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
726
|
+
# @return [String]
|
727
|
+
attr_accessor :etag
|
728
|
+
|
729
|
+
# Deprecated.
|
730
|
+
# Corresponds to the JSON property `version`
|
731
|
+
# @return [Fixnum]
|
732
|
+
attr_accessor :version
|
733
|
+
|
734
|
+
def initialize(**args)
|
735
|
+
update!(**args)
|
736
|
+
end
|
737
|
+
|
738
|
+
# Update properties of this object
|
739
|
+
def update!(**args)
|
740
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
741
|
+
@etag = args[:etag] if args.key?(:etag)
|
742
|
+
@version = args[:version] if args.key?(:version)
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
# Request message for PurgeQueue.
|
747
|
+
class PurgeQueueRequest
|
748
|
+
include Google::Apis::Core::Hashable
|
749
|
+
|
750
|
+
def initialize(**args)
|
751
|
+
update!(**args)
|
752
|
+
end
|
753
|
+
|
754
|
+
# Update properties of this object
|
755
|
+
def update!(**args)
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
# A queue is a container of related tasks. Queues are configured to manage
|
760
|
+
# how those tasks are dispatched. Configurable properties include rate limits,
|
761
|
+
# retry options, queue types, and others.
|
762
|
+
class Queue
|
763
|
+
include Google::Apis::Core::Hashable
|
764
|
+
|
765
|
+
# App Engine Routing.
|
766
|
+
# Defines routing characteristics specific to App Engine - service, version,
|
767
|
+
# and instance.
|
768
|
+
# For more information about services, versions, and instances see
|
769
|
+
# [An Overview of App
|
770
|
+
# Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
|
771
|
+
# engine),
|
772
|
+
# [Microservices Architecture on Google App
|
773
|
+
# Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
|
774
|
+
# engine),
|
775
|
+
# [App Engine Standard request
|
776
|
+
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
777
|
+
# are-routed),
|
778
|
+
# and [App Engine Flex request
|
779
|
+
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
780
|
+
# are-routed).
|
781
|
+
# Corresponds to the JSON property `appEngineRoutingOverride`
|
782
|
+
# @return [Google::Apis::CloudtasksV2::AppEngineRouting]
|
783
|
+
attr_accessor :app_engine_routing_override
|
784
|
+
|
785
|
+
# Caller-specified and required in CreateQueue,
|
786
|
+
# after which it becomes output only.
|
787
|
+
# The queue name.
|
788
|
+
# The queue name must have the following format:
|
789
|
+
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
790
|
+
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
791
|
+
# hyphens (-), colons (:), or periods (.).
|
792
|
+
# For more information, see
|
793
|
+
# [Identifying
|
794
|
+
# projects](https://cloud.google.com/resource-manager/docs/creating-managing-
|
795
|
+
# projects#identifying_projects)
|
796
|
+
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
797
|
+
# The list of available locations can be obtained by calling
|
798
|
+
# ListLocations.
|
799
|
+
# For more information, see https://cloud.google.com/about/locations/.
|
800
|
+
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
801
|
+
# hyphens (-). The maximum length is 100 characters.
|
802
|
+
# Corresponds to the JSON property `name`
|
803
|
+
# @return [String]
|
804
|
+
attr_accessor :name
|
805
|
+
|
806
|
+
# Output only. The last time this queue was purged.
|
807
|
+
# All tasks that were created before this time
|
808
|
+
# were purged.
|
809
|
+
# A queue can be purged using PurgeQueue, the
|
810
|
+
# [App Engine Task Queue SDK, or the Cloud
|
811
|
+
# Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/
|
812
|
+
# push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
|
813
|
+
# Purge time will be truncated to the nearest microsecond. Purge
|
814
|
+
# time will be unset if the queue has never been purged.
|
815
|
+
# Corresponds to the JSON property `purgeTime`
|
816
|
+
# @return [String]
|
817
|
+
attr_accessor :purge_time
|
818
|
+
|
819
|
+
# Rate limits.
|
820
|
+
# This message determines the maximum rate that tasks can be dispatched by a
|
821
|
+
# queue, regardless of whether the dispatch is a first task attempt or a retry.
|
822
|
+
# Note: The debugging command, RunTask, will run a task
|
823
|
+
# even if the queue has reached its RateLimits.
|
824
|
+
# Corresponds to the JSON property `rateLimits`
|
825
|
+
# @return [Google::Apis::CloudtasksV2::RateLimits]
|
826
|
+
attr_accessor :rate_limits
|
827
|
+
|
828
|
+
# Retry config.
|
829
|
+
# These settings determine when a failed task attempt is retried.
|
830
|
+
# Corresponds to the JSON property `retryConfig`
|
831
|
+
# @return [Google::Apis::CloudtasksV2::RetryConfig]
|
832
|
+
attr_accessor :retry_config
|
833
|
+
|
834
|
+
# Output only. The state of the queue.
|
835
|
+
# `state` can only be changed by called
|
836
|
+
# PauseQueue,
|
837
|
+
# ResumeQueue, or uploading
|
838
|
+
# [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/
|
839
|
+
# queueref).
|
840
|
+
# UpdateQueue cannot be used to change `state`.
|
841
|
+
# Corresponds to the JSON property `state`
|
842
|
+
# @return [String]
|
843
|
+
attr_accessor :state
|
844
|
+
|
845
|
+
def initialize(**args)
|
846
|
+
update!(**args)
|
847
|
+
end
|
848
|
+
|
849
|
+
# Update properties of this object
|
850
|
+
def update!(**args)
|
851
|
+
@app_engine_routing_override = args[:app_engine_routing_override] if args.key?(:app_engine_routing_override)
|
852
|
+
@name = args[:name] if args.key?(:name)
|
853
|
+
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
854
|
+
@rate_limits = args[:rate_limits] if args.key?(:rate_limits)
|
855
|
+
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
856
|
+
@state = args[:state] if args.key?(:state)
|
857
|
+
end
|
858
|
+
end
|
859
|
+
|
860
|
+
# Rate limits.
|
861
|
+
# This message determines the maximum rate that tasks can be dispatched by a
|
862
|
+
# queue, regardless of whether the dispatch is a first task attempt or a retry.
|
863
|
+
# Note: The debugging command, RunTask, will run a task
|
864
|
+
# even if the queue has reached its RateLimits.
|
865
|
+
class RateLimits
|
866
|
+
include Google::Apis::Core::Hashable
|
867
|
+
|
868
|
+
# Output only. The max burst size.
|
869
|
+
# Max burst size limits how fast tasks in queue are processed when
|
870
|
+
# many tasks are in the queue and the rate is high. This field
|
871
|
+
# allows the queue to have a high rate so processing starts shortly
|
872
|
+
# after a task is enqueued, but still limits resource usage when
|
873
|
+
# many tasks are enqueued in a short period of time.
|
874
|
+
# The [token bucket](https://wikipedia.org/wiki/Token_Bucket)
|
875
|
+
# algorithm is used to control the rate of task dispatches. Each
|
876
|
+
# queue has a token bucket that holds tokens, up to the maximum
|
877
|
+
# specified by `max_burst_size`. Each time a task is dispatched, a
|
878
|
+
# token is removed from the bucket. Tasks will be dispatched until
|
879
|
+
# the queue's bucket runs out of tokens. The bucket will be
|
880
|
+
# continuously refilled with new tokens based on
|
881
|
+
# max_dispatches_per_second.
|
882
|
+
# Cloud Tasks will pick the value of `max_burst_size` based on the
|
883
|
+
# value of
|
884
|
+
# max_dispatches_per_second.
|
885
|
+
# For App Engine queues that were created or updated using
|
886
|
+
# `queue.yaml/xml`, `max_burst_size` is equal to
|
887
|
+
# [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/
|
888
|
+
# queueref#bucket_size).
|
889
|
+
# Since `max_burst_size` is output only, if
|
890
|
+
# UpdateQueue is called on a queue
|
891
|
+
# created by `queue.yaml/xml`, `max_burst_size` will be reset based
|
892
|
+
# on the value of
|
893
|
+
# max_dispatches_per_second,
|
894
|
+
# regardless of whether
|
895
|
+
# max_dispatches_per_second
|
896
|
+
# is updated.
|
897
|
+
# Corresponds to the JSON property `maxBurstSize`
|
898
|
+
# @return [Fixnum]
|
899
|
+
attr_accessor :max_burst_size
|
900
|
+
|
901
|
+
# The maximum number of concurrent tasks that Cloud Tasks allows
|
902
|
+
# to be dispatched for this queue. After this threshold has been
|
903
|
+
# reached, Cloud Tasks stops dispatching tasks until the number of
|
904
|
+
# concurrent requests decreases.
|
905
|
+
# If unspecified when the queue is created, Cloud Tasks will pick the
|
906
|
+
# default.
|
907
|
+
# The maximum allowed value is 5,000.
|
908
|
+
# This field has the same meaning as
|
909
|
+
# [max_concurrent_requests in
|
910
|
+
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
911
|
+
# queueref#max_concurrent_requests).
|
912
|
+
# Corresponds to the JSON property `maxConcurrentDispatches`
|
913
|
+
# @return [Fixnum]
|
914
|
+
attr_accessor :max_concurrent_dispatches
|
915
|
+
|
916
|
+
# The maximum rate at which tasks are dispatched from this queue.
|
917
|
+
# If unspecified when the queue is created, Cloud Tasks will pick the
|
918
|
+
# default.
|
919
|
+
# * For App Engine queues, the maximum allowed value
|
920
|
+
# is 500.
|
921
|
+
# This field has the same meaning as
|
922
|
+
# [rate in
|
923
|
+
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
924
|
+
# queueref#rate).
|
925
|
+
# Corresponds to the JSON property `maxDispatchesPerSecond`
|
926
|
+
# @return [Float]
|
927
|
+
attr_accessor :max_dispatches_per_second
|
928
|
+
|
929
|
+
def initialize(**args)
|
930
|
+
update!(**args)
|
931
|
+
end
|
932
|
+
|
933
|
+
# Update properties of this object
|
934
|
+
def update!(**args)
|
935
|
+
@max_burst_size = args[:max_burst_size] if args.key?(:max_burst_size)
|
936
|
+
@max_concurrent_dispatches = args[:max_concurrent_dispatches] if args.key?(:max_concurrent_dispatches)
|
937
|
+
@max_dispatches_per_second = args[:max_dispatches_per_second] if args.key?(:max_dispatches_per_second)
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
# Request message for ResumeQueue.
|
942
|
+
class ResumeQueueRequest
|
943
|
+
include Google::Apis::Core::Hashable
|
944
|
+
|
945
|
+
def initialize(**args)
|
946
|
+
update!(**args)
|
947
|
+
end
|
948
|
+
|
949
|
+
# Update properties of this object
|
950
|
+
def update!(**args)
|
951
|
+
end
|
952
|
+
end
|
953
|
+
|
954
|
+
# Retry config.
|
955
|
+
# These settings determine when a failed task attempt is retried.
|
956
|
+
class RetryConfig
|
957
|
+
include Google::Apis::Core::Hashable
|
958
|
+
|
959
|
+
# Number of attempts per task.
|
960
|
+
# Cloud Tasks will attempt the task `max_attempts` times (that is, if the
|
961
|
+
# first attempt fails, then there will be `max_attempts - 1` retries). Must
|
962
|
+
# be >= -1.
|
963
|
+
# If unspecified when the queue is created, Cloud Tasks will pick the
|
964
|
+
# default.
|
965
|
+
# -1 indicates unlimited attempts.
|
966
|
+
# This field has the same meaning as
|
967
|
+
# [task_retry_limit in
|
968
|
+
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
969
|
+
# queueref#retry_parameters).
|
970
|
+
# Corresponds to the JSON property `maxAttempts`
|
971
|
+
# @return [Fixnum]
|
972
|
+
attr_accessor :max_attempts
|
973
|
+
|
974
|
+
# A task will be scheduled for retry between
|
975
|
+
# min_backoff and
|
976
|
+
# max_backoff duration after it fails,
|
977
|
+
# if the queue's RetryConfig specifies that the task should be
|
978
|
+
# retried.
|
979
|
+
# If unspecified when the queue is created, Cloud Tasks will pick the
|
980
|
+
# default.
|
981
|
+
# `max_backoff` will be truncated to the nearest second.
|
982
|
+
# This field has the same meaning as
|
983
|
+
# [max_backoff_seconds in
|
984
|
+
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
985
|
+
# queueref#retry_parameters).
|
986
|
+
# Corresponds to the JSON property `maxBackoff`
|
987
|
+
# @return [String]
|
988
|
+
attr_accessor :max_backoff
|
989
|
+
|
990
|
+
# The time between retries will double `max_doublings` times.
|
991
|
+
# A task's retry interval starts at
|
992
|
+
# min_backoff, then doubles
|
993
|
+
# `max_doublings` times, then increases linearly, and finally
|
994
|
+
# retries retries at intervals of
|
995
|
+
# max_backoff up to
|
996
|
+
# max_attempts times.
|
997
|
+
# For example, if min_backoff is 10s,
|
998
|
+
# max_backoff is 300s, and
|
999
|
+
# `max_doublings` is 3, then the a task will first be retried in
|
1000
|
+
# 10s. The retry interval will double three times, and then
|
1001
|
+
# increase linearly by 2^3 * 10s. Finally, the task will retry at
|
1002
|
+
# intervals of max_backoff until the
|
1003
|
+
# task has been attempted max_attempts
|
1004
|
+
# times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
|
1005
|
+
# 240s, 300s, 300s, ....
|
1006
|
+
# If unspecified when the queue is created, Cloud Tasks will pick the
|
1007
|
+
# default.
|
1008
|
+
# This field has the same meaning as
|
1009
|
+
# [max_doublings in
|
1010
|
+
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1011
|
+
# queueref#retry_parameters).
|
1012
|
+
# Corresponds to the JSON property `maxDoublings`
|
1013
|
+
# @return [Fixnum]
|
1014
|
+
attr_accessor :max_doublings
|
1015
|
+
|
1016
|
+
# If positive, `max_retry_duration` specifies the time limit for
|
1017
|
+
# retrying a failed task, measured from when the task was first
|
1018
|
+
# attempted. Once `max_retry_duration` time has passed *and* the
|
1019
|
+
# task has been attempted max_attempts
|
1020
|
+
# times, no further attempts will be made and the task will be
|
1021
|
+
# deleted.
|
1022
|
+
# If zero, then the task age is unlimited.
|
1023
|
+
# If unspecified when the queue is created, Cloud Tasks will pick the
|
1024
|
+
# default.
|
1025
|
+
# `max_retry_duration` will be truncated to the nearest second.
|
1026
|
+
# This field has the same meaning as
|
1027
|
+
# [task_age_limit in
|
1028
|
+
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1029
|
+
# queueref#retry_parameters).
|
1030
|
+
# Corresponds to the JSON property `maxRetryDuration`
|
1031
|
+
# @return [String]
|
1032
|
+
attr_accessor :max_retry_duration
|
1033
|
+
|
1034
|
+
# A task will be scheduled for retry between
|
1035
|
+
# min_backoff and
|
1036
|
+
# max_backoff duration after it fails,
|
1037
|
+
# if the queue's RetryConfig specifies that the task should be
|
1038
|
+
# retried.
|
1039
|
+
# If unspecified when the queue is created, Cloud Tasks will pick the
|
1040
|
+
# default.
|
1041
|
+
# `min_backoff` will be truncated to the nearest second.
|
1042
|
+
# This field has the same meaning as
|
1043
|
+
# [min_backoff_seconds in
|
1044
|
+
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1045
|
+
# queueref#retry_parameters).
|
1046
|
+
# Corresponds to the JSON property `minBackoff`
|
1047
|
+
# @return [String]
|
1048
|
+
attr_accessor :min_backoff
|
1049
|
+
|
1050
|
+
def initialize(**args)
|
1051
|
+
update!(**args)
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
# Update properties of this object
|
1055
|
+
def update!(**args)
|
1056
|
+
@max_attempts = args[:max_attempts] if args.key?(:max_attempts)
|
1057
|
+
@max_backoff = args[:max_backoff] if args.key?(:max_backoff)
|
1058
|
+
@max_doublings = args[:max_doublings] if args.key?(:max_doublings)
|
1059
|
+
@max_retry_duration = args[:max_retry_duration] if args.key?(:max_retry_duration)
|
1060
|
+
@min_backoff = args[:min_backoff] if args.key?(:min_backoff)
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# Request message for forcing a task to run now using
|
1065
|
+
# RunTask.
|
1066
|
+
class RunTaskRequest
|
1067
|
+
include Google::Apis::Core::Hashable
|
1068
|
+
|
1069
|
+
# The response_view specifies which subset of the Task will be
|
1070
|
+
# returned.
|
1071
|
+
# By default response_view is BASIC; not all
|
1072
|
+
# information is retrieved by default because some data, such as
|
1073
|
+
# payloads, might be desirable to return only when needed because
|
1074
|
+
# of its large size or because of the sensitivity of data that it
|
1075
|
+
# contains.
|
1076
|
+
# Authorization for FULL requires
|
1077
|
+
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
1078
|
+
# permission on the Task resource.
|
1079
|
+
# Corresponds to the JSON property `responseView`
|
1080
|
+
# @return [String]
|
1081
|
+
attr_accessor :response_view
|
1082
|
+
|
1083
|
+
def initialize(**args)
|
1084
|
+
update!(**args)
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
# Update properties of this object
|
1088
|
+
def update!(**args)
|
1089
|
+
@response_view = args[:response_view] if args.key?(:response_view)
|
1090
|
+
end
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
# Request message for `SetIamPolicy` method.
|
1094
|
+
class SetIamPolicyRequest
|
1095
|
+
include Google::Apis::Core::Hashable
|
1096
|
+
|
1097
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
1098
|
+
# specify access control policies for Cloud Platform resources.
|
1099
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
1100
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
1101
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
1102
|
+
# defined by IAM.
|
1103
|
+
# **JSON Example**
|
1104
|
+
# `
|
1105
|
+
# "bindings": [
|
1106
|
+
# `
|
1107
|
+
# "role": "roles/owner",
|
1108
|
+
# "members": [
|
1109
|
+
# "user:mike@example.com",
|
1110
|
+
# "group:admins@example.com",
|
1111
|
+
# "domain:google.com",
|
1112
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
1113
|
+
# ]
|
1114
|
+
# `,
|
1115
|
+
# `
|
1116
|
+
# "role": "roles/viewer",
|
1117
|
+
# "members": ["user:sean@example.com"]
|
1118
|
+
# `
|
1119
|
+
# ]
|
1120
|
+
# `
|
1121
|
+
# **YAML Example**
|
1122
|
+
# bindings:
|
1123
|
+
# - members:
|
1124
|
+
# - user:mike@example.com
|
1125
|
+
# - group:admins@example.com
|
1126
|
+
# - domain:google.com
|
1127
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
1128
|
+
# role: roles/owner
|
1129
|
+
# - members:
|
1130
|
+
# - user:sean@example.com
|
1131
|
+
# role: roles/viewer
|
1132
|
+
# For a description of IAM and its features, see the
|
1133
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
1134
|
+
# Corresponds to the JSON property `policy`
|
1135
|
+
# @return [Google::Apis::CloudtasksV2::Policy]
|
1136
|
+
attr_accessor :policy
|
1137
|
+
|
1138
|
+
def initialize(**args)
|
1139
|
+
update!(**args)
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# Update properties of this object
|
1143
|
+
def update!(**args)
|
1144
|
+
@policy = args[:policy] if args.key?(:policy)
|
1145
|
+
end
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# The `Status` type defines a logical error model that is suitable for
|
1149
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
1150
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
1151
|
+
# - Simple to use and understand for most users
|
1152
|
+
# - Flexible enough to meet unexpected needs
|
1153
|
+
# # Overview
|
1154
|
+
# The `Status` message contains three pieces of data: error code, error
|
1155
|
+
# message, and error details. The error code should be an enum value of
|
1156
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1157
|
+
# error message should be a developer-facing English message that helps
|
1158
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
1159
|
+
# error message is needed, put the localized message in the error details or
|
1160
|
+
# localize it in the client. The optional error details may contain arbitrary
|
1161
|
+
# information about the error. There is a predefined set of error detail types
|
1162
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
1163
|
+
# # Language mapping
|
1164
|
+
# The `Status` message is the logical representation of the error model, but it
|
1165
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
1166
|
+
# exposed in different client libraries and different wire protocols, it can be
|
1167
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
1168
|
+
# in Java, but more likely mapped to some error codes in C.
|
1169
|
+
# # Other uses
|
1170
|
+
# The error model and the `Status` message can be used in a variety of
|
1171
|
+
# environments, either with or without APIs, to provide a
|
1172
|
+
# consistent developer experience across different environments.
|
1173
|
+
# Example uses of this error model include:
|
1174
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
1175
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
1176
|
+
# errors.
|
1177
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1178
|
+
# have a `Status` message for error reporting.
|
1179
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
1180
|
+
# `Status` message should be used directly inside batch response, one for
|
1181
|
+
# each error sub-response.
|
1182
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1183
|
+
# results in its response, the status of those operations should be
|
1184
|
+
# represented directly using the `Status` message.
|
1185
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1186
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
1187
|
+
class Status
|
1188
|
+
include Google::Apis::Core::Hashable
|
1189
|
+
|
1190
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
1191
|
+
# Corresponds to the JSON property `code`
|
1192
|
+
# @return [Fixnum]
|
1193
|
+
attr_accessor :code
|
1194
|
+
|
1195
|
+
# A list of messages that carry the error details. There is a common set of
|
1196
|
+
# message types for APIs to use.
|
1197
|
+
# Corresponds to the JSON property `details`
|
1198
|
+
# @return [Array<Hash<String,Object>>]
|
1199
|
+
attr_accessor :details
|
1200
|
+
|
1201
|
+
# A developer-facing error message, which should be in English. Any
|
1202
|
+
# user-facing error message should be localized and sent in the
|
1203
|
+
# google.rpc.Status.details field, or localized by the client.
|
1204
|
+
# Corresponds to the JSON property `message`
|
1205
|
+
# @return [String]
|
1206
|
+
attr_accessor :message
|
1207
|
+
|
1208
|
+
def initialize(**args)
|
1209
|
+
update!(**args)
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
# Update properties of this object
|
1213
|
+
def update!(**args)
|
1214
|
+
@code = args[:code] if args.key?(:code)
|
1215
|
+
@details = args[:details] if args.key?(:details)
|
1216
|
+
@message = args[:message] if args.key?(:message)
|
1217
|
+
end
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# A unit of scheduled work.
|
1221
|
+
class Task
|
1222
|
+
include Google::Apis::Core::Hashable
|
1223
|
+
|
1224
|
+
# App Engine HTTP request.
|
1225
|
+
# The message defines the HTTP request that is sent to an App Engine app when
|
1226
|
+
# the task is dispatched.
|
1227
|
+
# Using AppEngineHttpRequest requires
|
1228
|
+
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
1229
|
+
# api/access-control)
|
1230
|
+
# Google IAM permission for the project
|
1231
|
+
# and the following scope:
|
1232
|
+
# `https://www.googleapis.com/auth/cloud-platform`
|
1233
|
+
# The task will be delivered to the App Engine app which belongs to the same
|
1234
|
+
# project as the queue. For more information, see
|
1235
|
+
# [How Requests are
|
1236
|
+
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
1237
|
+
# are-routed)
|
1238
|
+
# and how routing is affected by
|
1239
|
+
# [dispatch
|
1240
|
+
# files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
|
1241
|
+
# Traffic is encrypted during transport and never leaves Google datacenters.
|
1242
|
+
# Because this traffic is carried over a communication mechanism internal to
|
1243
|
+
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
1244
|
+
# The request to the handler, however, will appear to have used the HTTP
|
1245
|
+
# protocol.
|
1246
|
+
# The AppEngineRouting used to construct the URL that the task is
|
1247
|
+
# delivered to can be set at the queue-level or task-level:
|
1248
|
+
# * If set,
|
1249
|
+
# app_engine_routing_override
|
1250
|
+
# is used for all tasks in the queue, no matter what the setting
|
1251
|
+
# is for the
|
1252
|
+
# task-level app_engine_routing.
|
1253
|
+
# The `url` that the task will be sent to is:
|
1254
|
+
# * `url =` host `+`
|
1255
|
+
# relative_uri
|
1256
|
+
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
1257
|
+
# URIs restricted with
|
1258
|
+
# [`login:
|
1259
|
+
# admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
|
1260
|
+
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
1261
|
+
# restricted with
|
1262
|
+
# [`login:
|
1263
|
+
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
1264
|
+
# appref)
|
1265
|
+
# Task dispatches also do not follow redirects.
|
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.
|
1277
|
+
# Corresponds to the JSON property `appEngineHttpRequest`
|
1278
|
+
# @return [Google::Apis::CloudtasksV2::AppEngineHttpRequest]
|
1279
|
+
attr_accessor :app_engine_http_request
|
1280
|
+
|
1281
|
+
# Output only. The time that the task was created.
|
1282
|
+
# `create_time` will be truncated to the nearest second.
|
1283
|
+
# Corresponds to the JSON property `createTime`
|
1284
|
+
# @return [String]
|
1285
|
+
attr_accessor :create_time
|
1286
|
+
|
1287
|
+
# Output only. The number of attempts dispatched.
|
1288
|
+
# This count includes attempts which have been dispatched but haven't
|
1289
|
+
# received a response.
|
1290
|
+
# Corresponds to the JSON property `dispatchCount`
|
1291
|
+
# @return [Fixnum]
|
1292
|
+
attr_accessor :dispatch_count
|
1293
|
+
|
1294
|
+
# The deadline for requests sent to the worker. If the worker does not
|
1295
|
+
# respond by this deadline then the request is cancelled and the attempt
|
1296
|
+
# is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
|
1297
|
+
# task according to the RetryConfig.
|
1298
|
+
# Note that when the request is cancelled, Cloud Tasks will stop listing for
|
1299
|
+
# the response, but whether the worker stops processing depends on the
|
1300
|
+
# worker. For example, if the worker is stuck, it may not react to cancelled
|
1301
|
+
# requests.
|
1302
|
+
# The default and maximum values depend on the type of request:
|
1303
|
+
# * For App Engine tasks, 0 indicates that the
|
1304
|
+
# request has the default deadline. The default deadline depends on the
|
1305
|
+
# [scaling
|
1306
|
+
# type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-
|
1307
|
+
# managed#instance_scaling)
|
1308
|
+
# of the service: 10 minutes for standard apps with automatic scaling, 24
|
1309
|
+
# hours for standard apps with manual and basic scaling, and 60 minutes for
|
1310
|
+
# flex apps. If the request deadline is set, it must be in the interval [15
|
1311
|
+
# seconds, 24 hours 15 seconds]. Regardless of the task's
|
1312
|
+
# `dispatch_deadline`, the app handler will not run for longer than than
|
1313
|
+
# the service's timeout. We recommend setting the `dispatch_deadline` to
|
1314
|
+
# at most a few seconds more than the app handler's timeout. For more
|
1315
|
+
# information see
|
1316
|
+
# [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
1317
|
+
# timeouts).
|
1318
|
+
# `dispatch_deadline` will be truncated to the nearest millisecond. The
|
1319
|
+
# deadline is an approximate deadline.
|
1320
|
+
# Corresponds to the JSON property `dispatchDeadline`
|
1321
|
+
# @return [String]
|
1322
|
+
attr_accessor :dispatch_deadline
|
1323
|
+
|
1324
|
+
# The status of a task attempt.
|
1325
|
+
# Corresponds to the JSON property `firstAttempt`
|
1326
|
+
# @return [Google::Apis::CloudtasksV2::Attempt]
|
1327
|
+
attr_accessor :first_attempt
|
1328
|
+
|
1329
|
+
# The status of a task attempt.
|
1330
|
+
# Corresponds to the JSON property `lastAttempt`
|
1331
|
+
# @return [Google::Apis::CloudtasksV2::Attempt]
|
1332
|
+
attr_accessor :last_attempt
|
1333
|
+
|
1334
|
+
# Optionally caller-specified in CreateTask.
|
1335
|
+
# The task name.
|
1336
|
+
# The task name must have the following format:
|
1337
|
+
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
|
1338
|
+
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
1339
|
+
# hyphens (-), colons (:), or periods (.).
|
1340
|
+
# For more information, see
|
1341
|
+
# [Identifying
|
1342
|
+
# projects](https://cloud.google.com/resource-manager/docs/creating-managing-
|
1343
|
+
# projects#identifying_projects)
|
1344
|
+
# * `LOCATION_ID` is the canonical ID for the task's location.
|
1345
|
+
# The list of available locations can be obtained by calling
|
1346
|
+
# ListLocations.
|
1347
|
+
# For more information, see https://cloud.google.com/about/locations/.
|
1348
|
+
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1349
|
+
# hyphens (-). The maximum length is 100 characters.
|
1350
|
+
# * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
|
1351
|
+
# hyphens (-), or underscores (_). The maximum length is 500 characters.
|
1352
|
+
# Corresponds to the JSON property `name`
|
1353
|
+
# @return [String]
|
1354
|
+
attr_accessor :name
|
1355
|
+
|
1356
|
+
# Output only. The number of attempts which have received a response.
|
1357
|
+
# Corresponds to the JSON property `responseCount`
|
1358
|
+
# @return [Fixnum]
|
1359
|
+
attr_accessor :response_count
|
1360
|
+
|
1361
|
+
# The time when the task is scheduled to be attempted.
|
1362
|
+
# For App Engine queues, this is when the task will be attempted or retried.
|
1363
|
+
# `schedule_time` will be truncated to the nearest microsecond.
|
1364
|
+
# Corresponds to the JSON property `scheduleTime`
|
1365
|
+
# @return [String]
|
1366
|
+
attr_accessor :schedule_time
|
1367
|
+
|
1368
|
+
# Output only. The view specifies which subset of the Task has
|
1369
|
+
# been returned.
|
1370
|
+
# Corresponds to the JSON property `view`
|
1371
|
+
# @return [String]
|
1372
|
+
attr_accessor :view
|
1373
|
+
|
1374
|
+
def initialize(**args)
|
1375
|
+
update!(**args)
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
# Update properties of this object
|
1379
|
+
def update!(**args)
|
1380
|
+
@app_engine_http_request = args[:app_engine_http_request] if args.key?(:app_engine_http_request)
|
1381
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1382
|
+
@dispatch_count = args[:dispatch_count] if args.key?(:dispatch_count)
|
1383
|
+
@dispatch_deadline = args[:dispatch_deadline] if args.key?(:dispatch_deadline)
|
1384
|
+
@first_attempt = args[:first_attempt] if args.key?(:first_attempt)
|
1385
|
+
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
1386
|
+
@name = args[:name] if args.key?(:name)
|
1387
|
+
@response_count = args[:response_count] if args.key?(:response_count)
|
1388
|
+
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
1389
|
+
@view = args[:view] if args.key?(:view)
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
# Request message for `TestIamPermissions` method.
|
1394
|
+
class TestIamPermissionsRequest
|
1395
|
+
include Google::Apis::Core::Hashable
|
1396
|
+
|
1397
|
+
# The set of permissions to check for the `resource`. Permissions with
|
1398
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
1399
|
+
# information see
|
1400
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1401
|
+
# Corresponds to the JSON property `permissions`
|
1402
|
+
# @return [Array<String>]
|
1403
|
+
attr_accessor :permissions
|
1404
|
+
|
1405
|
+
def initialize(**args)
|
1406
|
+
update!(**args)
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
# Update properties of this object
|
1410
|
+
def update!(**args)
|
1411
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
# Response message for `TestIamPermissions` method.
|
1416
|
+
class TestIamPermissionsResponse
|
1417
|
+
include Google::Apis::Core::Hashable
|
1418
|
+
|
1419
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
1420
|
+
# allowed.
|
1421
|
+
# Corresponds to the JSON property `permissions`
|
1422
|
+
# @return [Array<String>]
|
1423
|
+
attr_accessor :permissions
|
1424
|
+
|
1425
|
+
def initialize(**args)
|
1426
|
+
update!(**args)
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# Update properties of this object
|
1430
|
+
def update!(**args)
|
1431
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
end
|
1435
|
+
end
|
1436
|
+
end
|