google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -22,16 +22,13 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudtasksV2beta2
|
24
24
|
|
25
|
-
# Request message for acknowledging a task using
|
26
|
-
# AcknowledgeTask.
|
25
|
+
# Request message for acknowledging a task using AcknowledgeTask.
|
27
26
|
class AcknowledgeTaskRequest
|
28
27
|
include Google::Apis::Core::Hashable
|
29
28
|
|
30
|
-
# Required. The task's current schedule time, available in the
|
31
|
-
#
|
32
|
-
#
|
33
|
-
# RenewLease response. This restriction is
|
34
|
-
# to ensure that your worker currently holds the lease.
|
29
|
+
# Required. The task's current schedule time, available in the schedule_time
|
30
|
+
# returned by LeaseTasks response or RenewLease response. This restriction is to
|
31
|
+
# ensure that your worker currently holds the lease.
|
35
32
|
# Corresponds to the JSON property `scheduleTime`
|
36
33
|
# @return [String]
|
37
34
|
attr_accessor :schedule_time
|
@@ -46,150 +43,106 @@ module Google
|
|
46
43
|
end
|
47
44
|
end
|
48
45
|
|
49
|
-
# App Engine HTTP request.
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
# Google IAM permission for the project
|
58
|
-
# and the following scope:
|
59
|
-
# `https://www.googleapis.com/auth/cloud-platform`
|
60
|
-
# The task will be delivered to the App Engine app which belongs to the same
|
61
|
-
# project as the queue. For more information, see
|
62
|
-
# [How Requests are
|
46
|
+
# App Engine HTTP request. The message defines the HTTP request that is sent to
|
47
|
+
# an App Engine app when the task is dispatched. This proto can only be used for
|
48
|
+
# tasks in a queue which has app_engine_http_target set. Using
|
49
|
+
# AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.
|
50
|
+
# google.com/appengine/docs/admin-api/access-control) Google IAM permission for
|
51
|
+
# the project and the following scope: `https://www.googleapis.com/auth/cloud-
|
52
|
+
# platform` The task will be delivered to the App Engine app which belongs to
|
53
|
+
# the same project as the queue. For more information, see [How Requests are
|
63
54
|
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
64
|
-
# are-routed)
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
# is for the
|
79
|
-
# task-level app_engine_routing.
|
80
|
-
# The `url` that the task will be sent to is:
|
81
|
-
# * `url =` host `+`
|
82
|
-
# relative_url
|
83
|
-
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
84
|
-
# URIs restricted with
|
85
|
-
# [`login:
|
86
|
-
# admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
|
87
|
-
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
88
|
-
# restricted with
|
89
|
-
# [`login:
|
55
|
+
# are-routed) and how routing is affected by [dispatch files](https://cloud.
|
56
|
+
# google.com/appengine/docs/python/config/dispatchref). Traffic is encrypted
|
57
|
+
# during transport and never leaves Google datacenters. Because this traffic is
|
58
|
+
# carried over a communication mechanism internal to Google, you cannot
|
59
|
+
# explicitly set the protocol (for example, HTTP or HTTPS). The request to the
|
60
|
+
# handler, however, will appear to have used the HTTP protocol. The
|
61
|
+
# AppEngineRouting used to construct the URL that the task is delivered to can
|
62
|
+
# be set at the queue-level or task-level: * If set, app_engine_routing_override
|
63
|
+
# is used for all tasks in the queue, no matter what the setting is for the task-
|
64
|
+
# level app_engine_routing. The `url` that the task will be sent to is: * `url =`
|
65
|
+
# host `+` relative_url Tasks can be dispatched to secure app handlers,
|
66
|
+
# unsecure app handlers, and URIs restricted with [`login: admin`](https://cloud.
|
67
|
+
# google.com/appengine/docs/standard/python/config/appref). Because tasks are
|
68
|
+
# not run as any user, they cannot be dispatched to URIs restricted with [`login:
|
90
69
|
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
91
|
-
# appref)
|
92
|
-
#
|
93
|
-
# The task attempt has
|
94
|
-
#
|
95
|
-
# the
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
102
|
-
# Requests) response from an app handler does not cause traffic congestion
|
103
|
-
# control to throttle the queue.
|
70
|
+
# appref) Task dispatches also do not follow redirects. The task attempt has
|
71
|
+
# succeeded if the app's request handler returns an HTTP response code in the
|
72
|
+
# range [`200` - `299`]. The task attempt has failed if the app's handler
|
73
|
+
# returns a non-2xx response code or Cloud Tasks does not receive response
|
74
|
+
# before the deadline. Failed tasks will be retried according to the retry
|
75
|
+
# configuration. `503` (Service Unavailable) is considered an App Engine system
|
76
|
+
# error instead of an application error and will cause Cloud Tasks' traffic
|
77
|
+
# congestion control to temporarily throttle the queue's dispatches. Unlike
|
78
|
+
# other types of task targets, a `429` (Too Many Requests) response from an app
|
79
|
+
# handler does not cause traffic congestion control to throttle the queue.
|
104
80
|
class AppEngineHttpRequest
|
105
81
|
include Google::Apis::Core::Hashable
|
106
82
|
|
107
|
-
# App Engine Routing.
|
108
|
-
#
|
109
|
-
# and
|
110
|
-
#
|
111
|
-
#
|
112
|
-
# Engine](https://
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
# engine),
|
117
|
-
# [App Engine Standard request
|
118
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
119
|
-
# are-routed),
|
120
|
-
# and [App Engine Flex request
|
121
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
122
|
-
# are-routed).
|
83
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
84
|
+
# service, version, and instance. For more information about services, versions,
|
85
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
86
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
87
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
88
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
89
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
90
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
91
|
+
# flexible/python/how-requests-are-routed).
|
123
92
|
# Corresponds to the JSON property `appEngineRouting`
|
124
93
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
|
125
94
|
attr_accessor :app_engine_routing
|
126
95
|
|
127
|
-
# HTTP request headers.
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
# Cloud Tasks
|
133
|
-
#
|
134
|
-
# `
|
135
|
-
#
|
136
|
-
# `
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
# * `
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
# * `X-Google-*`
|
150
|
-
# * `X-AppEngine-*`
|
151
|
-
# In addition, Cloud Tasks sets some headers when the task is dispatched,
|
152
|
-
# such as headers containing information about the task; see
|
153
|
-
# [request
|
154
|
-
# headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/
|
155
|
-
# creating-handlers#reading_request_headers).
|
156
|
-
# These headers are set only when the task is dispatched, so they are not
|
157
|
-
# visible when the task is returned in a Cloud Tasks response.
|
158
|
-
# Although there is no specific limit for the maximum number of headers or
|
159
|
-
# the size, there is a limit on the maximum size of the Task. For more
|
160
|
-
# information, see the CreateTask documentation.
|
96
|
+
# HTTP request headers. This map contains the header field names and values.
|
97
|
+
# Headers can be set when the task is created. Repeated headers are not
|
98
|
+
# supported but a header value can contain commas. Cloud Tasks sets some headers
|
99
|
+
# to default values: * `User-Agent`: By default, this header is `"AppEngine-
|
100
|
+
# Google; (+http://code.google.com/appengine)"`. This header can be modified,
|
101
|
+
# but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/
|
102
|
+
# appengine)"` to the modified `User-Agent`. If the task has a payload, Cloud
|
103
|
+
# Tasks sets the following headers: * `Content-Type`: By default, the `Content-
|
104
|
+
# Type` header is set to `"application/octet-stream"`. The default can be
|
105
|
+
# overridden by explicitly setting `Content-Type` to a particular media type
|
106
|
+
# when the task is created. For example, `Content-Type` can be set to `"
|
107
|
+
# application/json"`. * `Content-Length`: This is computed by Cloud Tasks. This
|
108
|
+
# value is output only. It cannot be changed. The headers below cannot be set or
|
109
|
+
# overridden: * `Host` * `X-Google-*` * `X-AppEngine-*` In addition, Cloud Tasks
|
110
|
+
# sets some headers when the task is dispatched, such as headers containing
|
111
|
+
# information about the task; see [request headers](https://cloud.google.com/
|
112
|
+
# appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers)
|
113
|
+
# . These headers are set only when the task is dispatched, so they are not
|
114
|
+
# visible when the task is returned in a Cloud Tasks response. Although there is
|
115
|
+
# no specific limit for the maximum number of headers or the size, there is a
|
116
|
+
# limit on the maximum size of the Task. For more information, see the
|
117
|
+
# CreateTask documentation.
|
161
118
|
# Corresponds to the JSON property `headers`
|
162
119
|
# @return [Hash<String,String>]
|
163
120
|
attr_accessor :headers
|
164
121
|
|
165
|
-
# The HTTP method to use for the request. The default is POST.
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
# are-handled).
|
122
|
+
# The HTTP method to use for the request. The default is POST. The app's request
|
123
|
+
# handler for the task's target URL must be able to handle HTTP requests with
|
124
|
+
# this http_method, otherwise the task attempt fails with error code 405 (Method
|
125
|
+
# Not Allowed). See [Writing a push task request handler](https://cloud.google.
|
126
|
+
# com/appengine/docs/java/taskqueue/push/creating-handlers#
|
127
|
+
# writing_a_push_task_request_handler) and the App Engine documentation for your
|
128
|
+
# runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/
|
129
|
+
# standard/python3/how-requests-are-handled).
|
174
130
|
# Corresponds to the JSON property `httpMethod`
|
175
131
|
# @return [String]
|
176
132
|
attr_accessor :http_method
|
177
133
|
|
178
|
-
# Payload.
|
179
|
-
#
|
180
|
-
#
|
181
|
-
# POST or PUT. It is an error to set a data payload on a task with
|
182
|
-
# an incompatible HttpMethod.
|
134
|
+
# Payload. The payload will be sent as the HTTP message body. A message body,
|
135
|
+
# and thus a payload, is allowed only if the HTTP method is POST or PUT. It is
|
136
|
+
# an error to set a data payload on a task with an incompatible HttpMethod.
|
183
137
|
# Corresponds to the JSON property `payload`
|
184
138
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
185
139
|
# @return [String]
|
186
140
|
attr_accessor :payload
|
187
141
|
|
188
|
-
# The relative URL.
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
# No spaces are allowed, and the maximum length allowed is 2083 characters.
|
142
|
+
# The relative URL. The relative URL must begin with "/" and must be a valid
|
143
|
+
# HTTP relative URL. It can contain a path and query string arguments. If the
|
144
|
+
# relative URL is empty, then the root path "/" will be used. No spaces are
|
145
|
+
# allowed, and the maximum length allowed is 2083 characters.
|
193
146
|
# Corresponds to the JSON property `relativeUrl`
|
194
147
|
# @return [String]
|
195
148
|
attr_accessor :relative_url
|
@@ -208,36 +161,25 @@ module Google
|
|
208
161
|
end
|
209
162
|
end
|
210
163
|
|
211
|
-
# App Engine HTTP target.
|
212
|
-
#
|
213
|
-
#
|
214
|
-
#
|
215
|
-
#
|
216
|
-
#
|
217
|
-
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
218
|
-
# api/access-control)
|
219
|
-
# Google IAM permission for the project
|
220
|
-
# and the following scope:
|
164
|
+
# App Engine HTTP target. The task will be delivered to the App Engine
|
165
|
+
# application hostname specified by its AppEngineHttpTarget and
|
166
|
+
# AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how
|
167
|
+
# the task's host URL is constructed. Using AppEngineHttpTarget requires [`
|
168
|
+
# appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
|
169
|
+
# access-control) Google IAM permission for the project and the following scope:
|
221
170
|
# `https://www.googleapis.com/auth/cloud-platform`
|
222
171
|
class AppEngineHttpTarget
|
223
172
|
include Google::Apis::Core::Hashable
|
224
173
|
|
225
|
-
# App Engine Routing.
|
226
|
-
#
|
227
|
-
# and
|
228
|
-
#
|
229
|
-
#
|
230
|
-
# Engine](https://
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
# engine),
|
235
|
-
# [App Engine Standard request
|
236
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
237
|
-
# are-routed),
|
238
|
-
# and [App Engine Flex request
|
239
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
240
|
-
# are-routed).
|
174
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
175
|
+
# service, version, and instance. For more information about services, versions,
|
176
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
177
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
178
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
179
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
180
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
181
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
182
|
+
# flexible/python/how-requests-are-routed).
|
241
183
|
# Corresponds to the JSON property `appEngineRoutingOverride`
|
242
184
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
|
243
185
|
attr_accessor :app_engine_routing_override
|
@@ -252,125 +194,76 @@ module Google
|
|
252
194
|
end
|
253
195
|
end
|
254
196
|
|
255
|
-
# App Engine Routing.
|
256
|
-
#
|
257
|
-
# and
|
258
|
-
#
|
259
|
-
#
|
260
|
-
# Engine](https://
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
# engine),
|
265
|
-
# [App Engine Standard request
|
266
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
267
|
-
# are-routed),
|
268
|
-
# and [App Engine Flex request
|
269
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
270
|
-
# are-routed).
|
197
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
198
|
+
# service, version, and instance. For more information about services, versions,
|
199
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
200
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
201
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
202
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
203
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
204
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
205
|
+
# flexible/python/how-requests-are-routed).
|
271
206
|
class AppEngineRouting
|
272
207
|
include Google::Apis::Core::Hashable
|
273
208
|
|
274
|
-
# Output only. The host that the task is sent to.
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
# * `
|
289
|
-
#
|
290
|
-
#
|
291
|
-
#
|
292
|
-
#
|
293
|
-
#
|
294
|
-
#
|
295
|
-
#
|
296
|
-
# service
|
297
|
-
# * `instance =` instance
|
298
|
-
# * `instance_dot_service =`
|
299
|
-
# instance `+ '.' +`
|
300
|
-
# service
|
301
|
-
# * `instance_dot_version =`
|
302
|
-
# instance `+ '.' +`
|
303
|
-
# version
|
304
|
-
# * `instance_dot_version_dot_service =`
|
305
|
-
# instance `+ '.' +`
|
306
|
-
# version `+ '.' +`
|
307
|
-
# service
|
308
|
-
# If service is empty, then the task will be sent
|
309
|
-
# to the service which is the default service when the task is attempted.
|
310
|
-
# If version is empty, then the task will be sent
|
311
|
-
# to the version which is the default version when the task is attempted.
|
312
|
-
# If instance is empty, then the task
|
313
|
-
# will be sent to an instance which is available when the task is
|
314
|
-
# attempted.
|
315
|
-
# If service,
|
316
|
-
# version, or
|
317
|
-
# instance is invalid, then the task
|
318
|
-
# will be sent to the default version of the default service when
|
319
|
-
# the task is attempted.
|
209
|
+
# Output only. The host that the task is sent to. For more information, see [How
|
210
|
+
# Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/
|
211
|
+
# how-requests-are-routed). The host is constructed as: * `host = [
|
212
|
+
# application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [
|
213
|
+
# version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [
|
214
|
+
# application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [
|
215
|
+
# instance_dot_service] + '.' + [application_domain_name]` `| [
|
216
|
+
# instance_dot_version] + '.' + [application_domain_name]` `| [
|
217
|
+
# instance_dot_version_dot_service] + '.' + [application_domain_name]` * `
|
218
|
+
# application_domain_name` = The domain name of the app, for example .appspot.
|
219
|
+
# com, which is associated with the queue's project ID. Some tasks which were
|
220
|
+
# created using the App Engine SDK use a custom domain name. * `service =`
|
221
|
+
# service * `version =` version * `version_dot_service =` version `+ '.' +`
|
222
|
+
# service * `instance =` instance * `instance_dot_service =` instance `+ '.' +`
|
223
|
+
# service * `instance_dot_version =` instance `+ '.' +` version * `
|
224
|
+
# instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +`
|
225
|
+
# service If service is empty, then the task will be sent to the service which
|
226
|
+
# is the default service when the task is attempted. If version is empty, then
|
227
|
+
# the task will be sent to the version which is the default version when the
|
228
|
+
# task is attempted. If instance is empty, then the task will be sent to an
|
229
|
+
# instance which is available when the task is attempted. If service, version,
|
230
|
+
# or instance is invalid, then the task will be sent to the default version of
|
231
|
+
# the default service when the task is attempted.
|
320
232
|
# Corresponds to the JSON property `host`
|
321
233
|
# @return [String]
|
322
234
|
attr_accessor :host
|
323
235
|
|
324
|
-
# App instance.
|
325
|
-
#
|
326
|
-
#
|
327
|
-
#
|
328
|
-
#
|
329
|
-
# Standard](
|
330
|
-
#
|
331
|
-
# App Engine Flex
|
332
|
-
#
|
333
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
334
|
-
# are-routed)
|
335
|
-
# and [App Engine Flex request
|
336
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
337
|
-
# are-routed).
|
236
|
+
# App instance. By default, the task is sent to an instance which is available
|
237
|
+
# when the task is attempted. Requests can only be sent to a specific instance
|
238
|
+
# if [manual scaling is used in App Engine Standard](https://cloud.google.com/
|
239
|
+
# appengine/docs/python/an-overview-of-app-engine?hl=en_US#
|
240
|
+
# scaling_types_and_instance_classes). App Engine Flex does not support
|
241
|
+
# instances. For more information, see [App Engine Standard request routing](
|
242
|
+
# https://cloud.google.com/appengine/docs/standard/python/how-requests-are-
|
243
|
+
# routed) and [App Engine Flex request routing](https://cloud.google.com/
|
244
|
+
# appengine/docs/flexible/python/how-requests-are-routed).
|
338
245
|
# Corresponds to the JSON property `instance`
|
339
246
|
# @return [String]
|
340
247
|
attr_accessor :instance
|
341
248
|
|
342
|
-
# App service.
|
343
|
-
#
|
344
|
-
#
|
345
|
-
# For some
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
# instance. For example, some tasks
|
350
|
-
# which were created using the App Engine SDK use a custom domain
|
351
|
-
# name; custom domains are not parsed by Cloud Tasks. If
|
352
|
-
# host is not parsable, then
|
353
|
-
# service,
|
354
|
-
# version, and
|
355
|
-
# instance are the empty string.
|
249
|
+
# App service. By default, the task is sent to the service which is the default
|
250
|
+
# service when the task is attempted. For some queues or tasks which were
|
251
|
+
# created using the App Engine Task Queue API, host is not parsable into service,
|
252
|
+
# version, and instance. For example, some tasks which were created using the
|
253
|
+
# App Engine SDK use a custom domain name; custom domains are not parsed by
|
254
|
+
# Cloud Tasks. If host is not parsable, then service, version, and instance are
|
255
|
+
# the empty string.
|
356
256
|
# Corresponds to the JSON property `service`
|
357
257
|
# @return [String]
|
358
258
|
attr_accessor :service
|
359
259
|
|
360
|
-
# App version.
|
361
|
-
#
|
362
|
-
#
|
363
|
-
# For some
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
# instance. For example, some tasks
|
368
|
-
# which were created using the App Engine SDK use a custom domain
|
369
|
-
# name; custom domains are not parsed by Cloud Tasks. If
|
370
|
-
# host is not parsable, then
|
371
|
-
# service,
|
372
|
-
# version, and
|
373
|
-
# instance are the empty string.
|
260
|
+
# App version. By default, the task is sent to the version which is the default
|
261
|
+
# version when the task is attempted. For some queues or tasks which were
|
262
|
+
# created using the App Engine Task Queue API, host is not parsable into service,
|
263
|
+
# version, and instance. For example, some tasks which were created using the
|
264
|
+
# App Engine SDK use a custom domain name; custom domains are not parsed by
|
265
|
+
# Cloud Tasks. If host is not parsable, then service, version, and instance are
|
266
|
+
# the empty string.
|
374
267
|
# Corresponds to the JSON property `version`
|
375
268
|
# @return [String]
|
376
269
|
attr_accessor :version
|
@@ -392,30 +285,30 @@ module Google
|
|
392
285
|
class AttemptStatus
|
393
286
|
include Google::Apis::Core::Hashable
|
394
287
|
|
395
|
-
# Output only. The time that this attempt was dispatched.
|
396
|
-
#
|
288
|
+
# Output only. The time that this attempt was dispatched. `dispatch_time` will
|
289
|
+
# be truncated to the nearest microsecond.
|
397
290
|
# Corresponds to the JSON property `dispatchTime`
|
398
291
|
# @return [String]
|
399
292
|
attr_accessor :dispatch_time
|
400
293
|
|
401
|
-
# The `Status` type defines a logical error model that is suitable for
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
294
|
+
# The `Status` type defines a logical error model that is suitable for different
|
295
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
296
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
297
|
+
# data: error code, error message, and error details. You can find out more
|
298
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
299
|
+
# //cloud.google.com/apis/design/errors).
|
407
300
|
# Corresponds to the JSON property `responseStatus`
|
408
301
|
# @return [Google::Apis::CloudtasksV2beta2::Status]
|
409
302
|
attr_accessor :response_status
|
410
303
|
|
411
|
-
# Output only. The time that this attempt response was received.
|
412
|
-
#
|
304
|
+
# Output only. The time that this attempt response was received. `response_time`
|
305
|
+
# will be truncated to the nearest microsecond.
|
413
306
|
# Corresponds to the JSON property `responseTime`
|
414
307
|
# @return [String]
|
415
308
|
attr_accessor :response_time
|
416
309
|
|
417
|
-
# Output only. The time that this attempt was scheduled.
|
418
|
-
#
|
310
|
+
# Output only. The time that this attempt was scheduled. `schedule_time` will be
|
311
|
+
# truncated to the nearest microsecond.
|
419
312
|
# Corresponds to the JSON property `scheduleTime`
|
420
313
|
# @return [String]
|
421
314
|
attr_accessor :schedule_time
|
@@ -437,69 +330,63 @@ module Google
|
|
437
330
|
class Binding
|
438
331
|
include Google::Apis::Core::Hashable
|
439
332
|
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
|
445
|
-
|
446
|
-
# expression
|
447
|
-
#
|
448
|
-
#
|
449
|
-
# description: "Determines if
|
450
|
-
# expression: "document.
|
451
|
-
#
|
452
|
-
#
|
453
|
-
# description: "Determine whether the document
|
454
|
-
# expression: "document.type != 'private' &&
|
455
|
-
# Example (Data Manipulation):
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
# documentation for additional information.
|
333
|
+
# A client-specified ID for this binding. Expected to be globally unique to
|
334
|
+
# support the internal bindings-by-ID API.
|
335
|
+
# Corresponds to the JSON property `bindingId`
|
336
|
+
# @return [String]
|
337
|
+
attr_accessor :binding_id
|
338
|
+
|
339
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
340
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
341
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
342
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
343
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
344
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
345
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
346
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
347
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
348
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
349
|
+
# string" description: "Create a notification string with a timestamp."
|
350
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
351
|
+
# exact variables and functions that may be referenced within an expression are
|
352
|
+
# determined by the service that evaluates it. See the service documentation for
|
353
|
+
# additional information.
|
462
354
|
# Corresponds to the JSON property `condition`
|
463
355
|
# @return [Google::Apis::CloudtasksV2beta2::Expr]
|
464
356
|
attr_accessor :condition
|
465
357
|
|
466
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
# * `
|
473
|
-
# account. For example, `
|
474
|
-
# * `
|
475
|
-
#
|
476
|
-
#
|
477
|
-
# For example, `
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
484
|
-
#
|
485
|
-
# deleted
|
486
|
-
#
|
487
|
-
# If the
|
488
|
-
# `
|
489
|
-
# role in the binding.
|
490
|
-
#
|
491
|
-
#
|
492
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
493
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
494
|
-
# recovered group retains the role in the binding.
|
495
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
496
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
358
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
359
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
360
|
+
# that represents anyone who is on the internet; with or without a Google
|
361
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
362
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
363
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
364
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
365
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
366
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
367
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
368
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
369
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
370
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
371
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
372
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
373
|
+
# identifier) representing a service account that has been recently deleted. For
|
374
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
375
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
376
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
377
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
378
|
+
# identifier) representing a Google group that has been recently deleted. For
|
379
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
380
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
381
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
382
|
+
# primary) that represents all the users of that domain. For example, `google.
|
383
|
+
# com` or `example.com`.
|
497
384
|
# Corresponds to the JSON property `members`
|
498
385
|
# @return [Array<String>]
|
499
386
|
attr_accessor :members
|
500
387
|
|
501
|
-
# Role that is assigned to `members`.
|
502
|
-
#
|
388
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
389
|
+
# , or `roles/owner`.
|
503
390
|
# Corresponds to the JSON property `role`
|
504
391
|
# @return [String]
|
505
392
|
attr_accessor :role
|
@@ -510,36 +397,30 @@ module Google
|
|
510
397
|
|
511
398
|
# Update properties of this object
|
512
399
|
def update!(**args)
|
400
|
+
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
513
401
|
@condition = args[:condition] if args.key?(:condition)
|
514
402
|
@members = args[:members] if args.key?(:members)
|
515
403
|
@role = args[:role] if args.key?(:role)
|
516
404
|
end
|
517
405
|
end
|
518
406
|
|
519
|
-
# Request message for canceling a lease using
|
520
|
-
# CancelLease.
|
407
|
+
# Request message for canceling a lease using CancelLease.
|
521
408
|
class CancelLeaseRequest
|
522
409
|
include Google::Apis::Core::Hashable
|
523
410
|
|
524
|
-
# The response_view specifies which subset of the Task will be
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
#
|
529
|
-
#
|
530
|
-
# contains.
|
531
|
-
# Authorization for FULL requires
|
532
|
-
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
533
|
-
# permission on the Task resource.
|
411
|
+
# The response_view specifies which subset of the Task will be returned. By
|
412
|
+
# default response_view is BASIC; not all information is retrieved by default
|
413
|
+
# because some data, such as payloads, might be desirable to return only when
|
414
|
+
# needed because of its large size or because of the sensitivity of data that it
|
415
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
416
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
534
417
|
# Corresponds to the JSON property `responseView`
|
535
418
|
# @return [String]
|
536
419
|
attr_accessor :response_view
|
537
420
|
|
538
|
-
# Required. The task's current schedule time, available in the
|
539
|
-
#
|
540
|
-
#
|
541
|
-
# RenewLease response. This restriction is
|
542
|
-
# to ensure that your worker currently holds the lease.
|
421
|
+
# Required. The task's current schedule time, available in the schedule_time
|
422
|
+
# returned by LeaseTasks response or RenewLease response. This restriction is to
|
423
|
+
# ensure that your worker currently holds the lease.
|
543
424
|
# Corresponds to the JSON property `scheduleTime`
|
544
425
|
# @return [String]
|
545
426
|
attr_accessor :schedule_time
|
@@ -559,16 +440,12 @@ module Google
|
|
559
440
|
class CreateTaskRequest
|
560
441
|
include Google::Apis::Core::Hashable
|
561
442
|
|
562
|
-
# The response_view specifies which subset of the Task will be
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
# contains.
|
569
|
-
# Authorization for FULL requires
|
570
|
-
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
571
|
-
# permission on the Task resource.
|
443
|
+
# The response_view specifies which subset of the Task will be returned. By
|
444
|
+
# default response_view is BASIC; not all information is retrieved by default
|
445
|
+
# because some data, such as payloads, might be desirable to return only when
|
446
|
+
# needed because of its large size or because of the sensitivity of data that it
|
447
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
448
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
572
449
|
# Corresponds to the JSON property `responseView`
|
573
450
|
# @return [String]
|
574
451
|
attr_accessor :response_view
|
@@ -589,13 +466,11 @@ module Google
|
|
589
466
|
end
|
590
467
|
end
|
591
468
|
|
592
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
593
|
-
#
|
594
|
-
#
|
595
|
-
#
|
596
|
-
#
|
597
|
-
# `
|
598
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
469
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
470
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
471
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
472
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
473
|
+
# `Empty` is empty JSON object ````.
|
599
474
|
class Empty
|
600
475
|
include Google::Apis::Core::Hashable
|
601
476
|
|
@@ -608,52 +483,43 @@ module Google
|
|
608
483
|
end
|
609
484
|
end
|
610
485
|
|
611
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
612
|
-
#
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
616
|
-
# description: "Determines if
|
617
|
-
# expression: "document.
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
623
|
-
#
|
624
|
-
#
|
625
|
-
#
|
626
|
-
# Example (Data Manipulation):
|
627
|
-
# title: "Notification string"
|
628
|
-
# description: "Create a notification string with a timestamp."
|
629
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
630
|
-
# The exact variables and functions that may be referenced within an expression
|
631
|
-
# are determined by the service that evaluates it. See the service
|
632
|
-
# documentation for additional information.
|
486
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
487
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
488
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
489
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
490
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
491
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
492
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
493
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
494
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
495
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
496
|
+
# string" description: "Create a notification string with a timestamp."
|
497
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
498
|
+
# exact variables and functions that may be referenced within an expression are
|
499
|
+
# determined by the service that evaluates it. See the service documentation for
|
500
|
+
# additional information.
|
633
501
|
class Expr
|
634
502
|
include Google::Apis::Core::Hashable
|
635
503
|
|
636
|
-
# Optional. Description of the expression. This is a longer text which
|
637
|
-
#
|
504
|
+
# Optional. Description of the expression. This is a longer text which describes
|
505
|
+
# the expression, e.g. when hovered over it in a UI.
|
638
506
|
# Corresponds to the JSON property `description`
|
639
507
|
# @return [String]
|
640
508
|
attr_accessor :description
|
641
509
|
|
642
|
-
# Textual representation of an expression in Common Expression Language
|
643
|
-
# syntax.
|
510
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
644
511
|
# Corresponds to the JSON property `expression`
|
645
512
|
# @return [String]
|
646
513
|
attr_accessor :expression
|
647
514
|
|
648
|
-
# Optional. String indicating the location of the expression for error
|
649
|
-
#
|
515
|
+
# Optional. String indicating the location of the expression for error reporting,
|
516
|
+
# e.g. a file name and a position in the file.
|
650
517
|
# Corresponds to the JSON property `location`
|
651
518
|
# @return [String]
|
652
519
|
attr_accessor :location
|
653
520
|
|
654
|
-
# Optional. Title for the expression, i.e. a short string describing
|
655
|
-
#
|
656
|
-
# expression.
|
521
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
522
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
657
523
|
# Corresponds to the JSON property `title`
|
658
524
|
# @return [String]
|
659
525
|
attr_accessor :title
|
@@ -694,15 +560,13 @@ module Google
|
|
694
560
|
class GetPolicyOptions
|
695
561
|
include Google::Apis::Core::Hashable
|
696
562
|
|
697
|
-
# Optional. The policy format version to be returned.
|
698
|
-
#
|
699
|
-
#
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
# [IAM
|
705
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
563
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
564
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
565
|
+
# policies with any conditional bindings must specify version 3. Policies
|
566
|
+
# without any conditional bindings may specify any valid value or leave the
|
567
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
568
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
569
|
+
# resource-policies).
|
706
570
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
707
571
|
# @return [Fixnum]
|
708
572
|
attr_accessor :requested_policy_version
|
@@ -721,72 +585,51 @@ module Google
|
|
721
585
|
class LeaseTasksRequest
|
722
586
|
include Google::Apis::Core::Hashable
|
723
587
|
|
724
|
-
# `filter` can be used to specify a subset of tasks to lease.
|
725
|
-
#
|
726
|
-
#
|
727
|
-
#
|
728
|
-
#
|
729
|
-
#
|
730
|
-
# the same tag as the
|
731
|
-
#
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
737
|
-
# oldest task (ordered by schedule time).
|
738
|
-
# SDK compatibility: Although the SDK allows tags to be either
|
739
|
-
# string or
|
740
|
-
# [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/
|
741
|
-
# google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
|
742
|
-
# only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
|
743
|
-
# aren't UTF-8 encoded can't be used in the
|
744
|
-
# filter and the task's
|
745
|
-
# tag will be displayed as empty in Cloud Tasks.
|
588
|
+
# `filter` can be used to specify a subset of tasks to lease. When `filter` is
|
589
|
+
# set to `tag=` then the response will contain only tasks whose tag is equal to `
|
590
|
+
# `. `` must be less than 500 characters. When `filter` is set to `tag_function=
|
591
|
+
# oldest_tag()`, only tasks which have the same tag as the task with the oldest
|
592
|
+
# schedule_time will be returned. Grammar Syntax: * `filter = "tag=" tag | "
|
593
|
+
# tag_function=" function` * `tag = string` * `function = "oldest_tag()"` The `
|
594
|
+
# oldest_tag()` function returns tasks which have the same tag as the oldest
|
595
|
+
# task (ordered by schedule time). SDK compatibility: Although the SDK allows
|
596
|
+
# tags to be either string or [bytes](https://cloud.google.com/appengine/docs/
|
597
|
+
# standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-
|
598
|
+
# byte:A-), only UTF-8 encoded tags can be used in Cloud Tasks. Tag which aren't
|
599
|
+
# UTF-8 encoded can't be used in the filter and the task's tag will be displayed
|
600
|
+
# as empty in Cloud Tasks.
|
746
601
|
# Corresponds to the JSON property `filter`
|
747
602
|
# @return [String]
|
748
603
|
attr_accessor :filter
|
749
604
|
|
750
|
-
# Required. The duration of the lease.
|
751
|
-
#
|
752
|
-
#
|
753
|
-
#
|
754
|
-
#
|
755
|
-
#
|
756
|
-
#
|
757
|
-
#
|
758
|
-
#
|
759
|
-
# AcknowledgeTask before the
|
760
|
-
# schedule_time. Otherwise the task will be
|
761
|
-
# returned to a later LeaseTasks call so
|
762
|
-
# that another worker can retry it.
|
763
|
-
# The maximum lease duration is 1 week.
|
764
|
-
# `lease_duration` will be truncated to the nearest second.
|
605
|
+
# Required. The duration of the lease. Each task returned in the response will
|
606
|
+
# have its schedule_time set to the current time plus the `lease_duration`. The
|
607
|
+
# task is leased until its schedule_time; thus, the task will not be returned to
|
608
|
+
# another LeaseTasks call before its schedule_time. After the worker has
|
609
|
+
# successfully finished the work associated with the task, the worker must call
|
610
|
+
# via AcknowledgeTask before the schedule_time. Otherwise the task will be
|
611
|
+
# returned to a later LeaseTasks call so that another worker can retry it. The
|
612
|
+
# maximum lease duration is 1 week. `lease_duration` will be truncated to the
|
613
|
+
# nearest second.
|
765
614
|
# Corresponds to the JSON property `leaseDuration`
|
766
615
|
# @return [String]
|
767
616
|
attr_accessor :lease_duration
|
768
617
|
|
769
|
-
# The maximum number of tasks to lease.
|
770
|
-
#
|
771
|
-
#
|
772
|
-
#
|
773
|
-
#
|
774
|
-
# 32 MB. If the sum of all task sizes requested reaches this limit,
|
775
|
-
# fewer tasks than requested are returned.
|
618
|
+
# The maximum number of tasks to lease. The system will make a best effort to
|
619
|
+
# return as close to as `max_tasks` as possible. The largest that `max_tasks`
|
620
|
+
# can be is 1000. The maximum total size of a lease tasks response is 32 MB. If
|
621
|
+
# the sum of all task sizes requested reaches this limit, fewer tasks than
|
622
|
+
# requested are returned.
|
776
623
|
# Corresponds to the JSON property `maxTasks`
|
777
624
|
# @return [Fixnum]
|
778
625
|
attr_accessor :max_tasks
|
779
626
|
|
780
|
-
# The response_view specifies which subset of the Task will be
|
781
|
-
#
|
782
|
-
#
|
783
|
-
#
|
784
|
-
#
|
785
|
-
#
|
786
|
-
# contains.
|
787
|
-
# Authorization for FULL requires
|
788
|
-
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
789
|
-
# permission on the Task resource.
|
627
|
+
# The response_view specifies which subset of the Task will be returned. By
|
628
|
+
# default response_view is BASIC; not all information is retrieved by default
|
629
|
+
# because some data, such as payloads, might be desirable to return only when
|
630
|
+
# needed because of its large size or because of the sensitivity of data that it
|
631
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
632
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
790
633
|
# Corresponds to the JSON property `responseView`
|
791
634
|
# @return [String]
|
792
635
|
attr_accessor :response_view
|
@@ -852,12 +695,9 @@ module Google
|
|
852
695
|
class ListQueuesResponse
|
853
696
|
include Google::Apis::Core::Hashable
|
854
697
|
|
855
|
-
# A token to retrieve next page of results.
|
856
|
-
#
|
857
|
-
#
|
858
|
-
# page_token.
|
859
|
-
# If the next_page_token is empty, there are no more results.
|
860
|
-
# The page token is valid for only 2 hours.
|
698
|
+
# A token to retrieve next page of results. To return the next page of results,
|
699
|
+
# call ListQueues with this value as the page_token. If the next_page_token is
|
700
|
+
# empty, there are no more results. The page token is valid for only 2 hours.
|
861
701
|
# Corresponds to the JSON property `nextPageToken`
|
862
702
|
# @return [String]
|
863
703
|
attr_accessor :next_page_token
|
@@ -882,11 +722,9 @@ module Google
|
|
882
722
|
class ListTasksResponse
|
883
723
|
include Google::Apis::Core::Hashable
|
884
724
|
|
885
|
-
# A token to retrieve next page of results.
|
886
|
-
#
|
887
|
-
#
|
888
|
-
# page_token.
|
889
|
-
# If the next_page_token is empty, there are no more results.
|
725
|
+
# A token to retrieve next page of results. To return the next page of results,
|
726
|
+
# call ListTasks with this value as the page_token. If the next_page_token is
|
727
|
+
# empty, there are no more results.
|
890
728
|
# Corresponds to the JSON property `nextPageToken`
|
891
729
|
# @return [String]
|
892
730
|
attr_accessor :next_page_token
|
@@ -911,14 +749,14 @@ module Google
|
|
911
749
|
class Location
|
912
750
|
include Google::Apis::Core::Hashable
|
913
751
|
|
914
|
-
# The friendly name for this location, typically a nearby city name.
|
915
|
-
#
|
752
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
753
|
+
# "Tokyo".
|
916
754
|
# Corresponds to the JSON property `displayName`
|
917
755
|
# @return [String]
|
918
756
|
attr_accessor :display_name
|
919
757
|
|
920
|
-
# Cross-service attributes for the location. For example
|
921
|
-
#
|
758
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
759
|
+
# region": "us-east1"`
|
922
760
|
# Corresponds to the JSON property `labels`
|
923
761
|
# @return [Hash<String,String>]
|
924
762
|
attr_accessor :labels
|
@@ -934,8 +772,8 @@ module Google
|
|
934
772
|
# @return [Hash<String,Object>]
|
935
773
|
attr_accessor :metadata
|
936
774
|
|
937
|
-
# Resource name for the location, which may vary between implementations.
|
938
|
-
#
|
775
|
+
# Resource name for the location, which may vary between implementations. For
|
776
|
+
# example: `"projects/example-project/locations/us-east1"`
|
939
777
|
# Corresponds to the JSON property `name`
|
940
778
|
# @return [String]
|
941
779
|
attr_accessor :name
|
@@ -968,111 +806,73 @@ module Google
|
|
968
806
|
end
|
969
807
|
|
970
808
|
# An Identity and Access Management (IAM) policy, which specifies access
|
971
|
-
# controls for Google Cloud resources.
|
972
|
-
# A `
|
973
|
-
#
|
974
|
-
#
|
975
|
-
#
|
976
|
-
#
|
977
|
-
#
|
978
|
-
#
|
979
|
-
#
|
980
|
-
#
|
981
|
-
#
|
982
|
-
# [
|
983
|
-
#
|
984
|
-
#
|
985
|
-
# `
|
986
|
-
# "
|
987
|
-
# `
|
988
|
-
# "
|
989
|
-
#
|
990
|
-
#
|
991
|
-
#
|
992
|
-
#
|
993
|
-
#
|
994
|
-
#
|
995
|
-
#
|
996
|
-
#
|
997
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
998
|
-
# "members": [
|
999
|
-
# "user:eve@example.com"
|
1000
|
-
# ],
|
1001
|
-
# "condition": `
|
1002
|
-
# "title": "expirable access",
|
1003
|
-
# "description": "Does not grant access after Sep 2020",
|
1004
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1005
|
-
# ",
|
1006
|
-
# `
|
1007
|
-
# `
|
1008
|
-
# ],
|
1009
|
-
# "etag": "BwWWja0YfJA=",
|
1010
|
-
# "version": 3
|
1011
|
-
# `
|
1012
|
-
# **YAML example:**
|
1013
|
-
# bindings:
|
1014
|
-
# - members:
|
1015
|
-
# - user:mike@example.com
|
1016
|
-
# - group:admins@example.com
|
1017
|
-
# - domain:google.com
|
1018
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1019
|
-
# role: roles/resourcemanager.organizationAdmin
|
1020
|
-
# - members:
|
1021
|
-
# - user:eve@example.com
|
1022
|
-
# role: roles/resourcemanager.organizationViewer
|
1023
|
-
# condition:
|
1024
|
-
# title: expirable access
|
1025
|
-
# description: Does not grant access after Sep 2020
|
1026
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1027
|
-
# - etag: BwWWja0YfJA=
|
1028
|
-
# - version: 3
|
1029
|
-
# For a description of IAM and its features, see the
|
1030
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
809
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
810
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
811
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
812
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
813
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
814
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
815
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
816
|
+
# condition can add constraints based on attributes of the request, the resource,
|
817
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
818
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
819
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
820
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
821
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
822
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
823
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
824
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
825
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
826
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
827
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
828
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
829
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
830
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
831
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
832
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
833
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
834
|
+
# google.com/iam/docs/).
|
1031
835
|
class Policy
|
1032
836
|
include Google::Apis::Core::Hashable
|
1033
837
|
|
1034
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1035
|
-
#
|
1036
|
-
#
|
838
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
839
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
840
|
+
# the `bindings` must contain at least one member.
|
1037
841
|
# Corresponds to the JSON property `bindings`
|
1038
842
|
# @return [Array<Google::Apis::CloudtasksV2beta2::Binding>]
|
1039
843
|
attr_accessor :bindings
|
1040
844
|
|
1041
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
#
|
1045
|
-
#
|
1046
|
-
#
|
1047
|
-
#
|
1048
|
-
#
|
1049
|
-
#
|
1050
|
-
#
|
1051
|
-
#
|
845
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
846
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
847
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
848
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
849
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
850
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
851
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
852
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
853
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
854
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
855
|
+
# are lost.
|
1052
856
|
# Corresponds to the JSON property `etag`
|
1053
857
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1054
858
|
# @return [String]
|
1055
859
|
attr_accessor :etag
|
1056
860
|
|
1057
|
-
# Specifies the format of the policy.
|
1058
|
-
#
|
1059
|
-
#
|
1060
|
-
#
|
1061
|
-
#
|
1062
|
-
#
|
1063
|
-
#
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
#
|
1071
|
-
#
|
1072
|
-
# specify any valid version or leave the field unset.
|
1073
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1074
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1075
|
-
# policies).
|
861
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
862
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
863
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
864
|
+
# applies to the following operations: * Getting a policy that includes a
|
865
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
866
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
867
|
+
# with or without a condition, from a policy that includes conditions **
|
868
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
869
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
870
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
871
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
872
|
+
# any conditions, operations on that policy may specify any valid version or
|
873
|
+
# leave the field unset. To learn which resources support conditions in their
|
874
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
875
|
+
# conditions/resource-policies).
|
1076
876
|
# Corresponds to the JSON property `version`
|
1077
877
|
# @return [Fixnum]
|
1078
878
|
attr_accessor :version
|
@@ -1089,9 +889,8 @@ module Google
|
|
1089
889
|
end
|
1090
890
|
end
|
1091
891
|
|
1092
|
-
# The pull message contains data that can be used by the caller of
|
1093
|
-
#
|
1094
|
-
# This proto can only be used for tasks in a queue which has
|
892
|
+
# The pull message contains data that can be used by the caller of LeaseTasks to
|
893
|
+
# process the task. This proto can only be used for tasks in a queue which has
|
1095
894
|
# pull_target set.
|
1096
895
|
class PullMessage
|
1097
896
|
include Google::Apis::Core::Hashable
|
@@ -1102,22 +901,16 @@ module Google
|
|
1102
901
|
# @return [String]
|
1103
902
|
attr_accessor :payload
|
1104
903
|
|
1105
|
-
# The task's tag.
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
#
|
1110
|
-
#
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
# SDK compatibility: Although the SDK allows tags to be either
|
1116
|
-
# string or
|
1117
|
-
# [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/
|
1118
|
-
# google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
|
1119
|
-
# only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8
|
1120
|
-
# encoded, the tag will be empty when the task is returned by Cloud Tasks.
|
904
|
+
# The task's tag. Tags allow similar tasks to be processed in a batch. If you
|
905
|
+
# label tasks with a tag, your worker can lease tasks with the same tag using
|
906
|
+
# filter. For example, if you want to aggregate the events associated with a
|
907
|
+
# specific user once a day, you could tag tasks with the user ID. The task's tag
|
908
|
+
# can only be set when the task is created. The tag must be less than 500
|
909
|
+
# characters. SDK compatibility: Although the SDK allows tags to be either
|
910
|
+
# string or [bytes](https://cloud.google.com/appengine/docs/standard/java/
|
911
|
+
# javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), only
|
912
|
+
# UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8 encoded,
|
913
|
+
# the tag will be empty when the task is returned by Cloud Tasks.
|
1121
914
|
# Corresponds to the JSON property `tag`
|
1122
915
|
# @return [String]
|
1123
916
|
attr_accessor :tag
|
@@ -1159,44 +952,34 @@ module Google
|
|
1159
952
|
end
|
1160
953
|
end
|
1161
954
|
|
1162
|
-
# A queue is a container of related tasks. Queues are configured to manage
|
1163
|
-
#
|
1164
|
-
#
|
955
|
+
# A queue is a container of related tasks. Queues are configured to manage how
|
956
|
+
# those tasks are dispatched. Configurable properties include rate limits, retry
|
957
|
+
# options, target types, and others.
|
1165
958
|
class Queue
|
1166
959
|
include Google::Apis::Core::Hashable
|
1167
960
|
|
1168
|
-
# App Engine HTTP target.
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
#
|
1173
|
-
#
|
1174
|
-
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
1175
|
-
# api/access-control)
|
1176
|
-
# Google IAM permission for the project
|
1177
|
-
# and the following scope:
|
961
|
+
# App Engine HTTP target. The task will be delivered to the App Engine
|
962
|
+
# application hostname specified by its AppEngineHttpTarget and
|
963
|
+
# AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how
|
964
|
+
# the task's host URL is constructed. Using AppEngineHttpTarget requires [`
|
965
|
+
# appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
|
966
|
+
# access-control) Google IAM permission for the project and the following scope:
|
1178
967
|
# `https://www.googleapis.com/auth/cloud-platform`
|
1179
968
|
# Corresponds to the JSON property `appEngineHttpTarget`
|
1180
969
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget]
|
1181
970
|
attr_accessor :app_engine_http_target
|
1182
971
|
|
1183
|
-
# Caller-specified and required in CreateQueue,
|
1184
|
-
#
|
1185
|
-
#
|
1186
|
-
#
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
# For more
|
1191
|
-
#
|
1192
|
-
#
|
1193
|
-
#
|
1194
|
-
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
1195
|
-
# The list of available locations can be obtained by calling
|
1196
|
-
# ListLocations.
|
1197
|
-
# For more information, see https://cloud.google.com/about/locations/.
|
1198
|
-
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1199
|
-
# hyphens (-). The maximum length is 100 characters.
|
972
|
+
# Caller-specified and required in CreateQueue, after which it becomes output
|
973
|
+
# only. The queue name. The queue name must have the following format: `projects/
|
974
|
+
# PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain
|
975
|
+
# letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.).
|
976
|
+
# For more information, see [Identifying projects](https://cloud.google.com/
|
977
|
+
# resource-manager/docs/creating-managing-projects#identifying_projects) * `
|
978
|
+
# LOCATION_ID` is the canonical ID for the queue's location. The list of
|
979
|
+
# available locations can be obtained by calling ListLocations. For more
|
980
|
+
# information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can
|
981
|
+
# contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum
|
982
|
+
# length is 100 characters.
|
1200
983
|
# Corresponds to the JSON property `name`
|
1201
984
|
# @return [String]
|
1202
985
|
attr_accessor :name
|
@@ -1206,41 +989,33 @@ module Google
|
|
1206
989
|
# @return [Google::Apis::CloudtasksV2beta2::PullTarget]
|
1207
990
|
attr_accessor :pull_target
|
1208
991
|
|
1209
|
-
# Output only. The last time this queue was purged.
|
1210
|
-
#
|
1211
|
-
#
|
1212
|
-
#
|
1213
|
-
#
|
1214
|
-
#
|
1215
|
-
# push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
|
1216
|
-
# Purge time will be truncated to the nearest microsecond. Purge
|
1217
|
-
# time will be unset if the queue has never been purged.
|
992
|
+
# Output only. The last time this queue was purged. All tasks that were created
|
993
|
+
# before this time were purged. A queue can be purged using PurgeQueue, the [App
|
994
|
+
# Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/
|
995
|
+
# appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#
|
996
|
+
# purging_all_tasks_from_a_queue). Purge time will be truncated to the nearest
|
997
|
+
# microsecond. Purge time will be unset if the queue has never been purged.
|
1218
998
|
# Corresponds to the JSON property `purgeTime`
|
1219
999
|
# @return [String]
|
1220
1000
|
attr_accessor :purge_time
|
1221
1001
|
|
1222
|
-
# Rate limits.
|
1223
|
-
#
|
1224
|
-
#
|
1225
|
-
#
|
1226
|
-
# even if the queue has reached its RateLimits.
|
1002
|
+
# Rate limits. This message determines the maximum rate that tasks can be
|
1003
|
+
# dispatched by a queue, regardless of whether the dispatch is a first task
|
1004
|
+
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
1005
|
+
# if the queue has reached its RateLimits.
|
1227
1006
|
# Corresponds to the JSON property `rateLimits`
|
1228
1007
|
# @return [Google::Apis::CloudtasksV2beta2::RateLimits]
|
1229
1008
|
attr_accessor :rate_limits
|
1230
1009
|
|
1231
|
-
# Retry config.
|
1232
|
-
# These settings determine how a failed task attempt is retried.
|
1010
|
+
# Retry config. These settings determine how a failed task attempt is retried.
|
1233
1011
|
# Corresponds to the JSON property `retryConfig`
|
1234
1012
|
# @return [Google::Apis::CloudtasksV2beta2::RetryConfig]
|
1235
1013
|
attr_accessor :retry_config
|
1236
1014
|
|
1237
|
-
# Output only. The state of the queue.
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
#
|
1241
|
-
# [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/
|
1242
|
-
# queueref).
|
1243
|
-
# UpdateQueue cannot be used to change `state`.
|
1015
|
+
# Output only. The state of the queue. `state` can only be changed by called
|
1016
|
+
# PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.
|
1017
|
+
# com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to
|
1018
|
+
# change `state`.
|
1244
1019
|
# Corresponds to the JSON property `state`
|
1245
1020
|
# @return [String]
|
1246
1021
|
attr_accessor :state
|
@@ -1261,77 +1036,55 @@ module Google
|
|
1261
1036
|
end
|
1262
1037
|
end
|
1263
1038
|
|
1264
|
-
# Rate limits.
|
1265
|
-
#
|
1266
|
-
#
|
1267
|
-
#
|
1268
|
-
# even if the queue has reached its RateLimits.
|
1039
|
+
# Rate limits. This message determines the maximum rate that tasks can be
|
1040
|
+
# dispatched by a queue, regardless of whether the dispatch is a first task
|
1041
|
+
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
1042
|
+
# if the queue has reached its RateLimits.
|
1269
1043
|
class RateLimits
|
1270
1044
|
include Google::Apis::Core::Hashable
|
1271
1045
|
|
1272
|
-
#
|
1273
|
-
#
|
1274
|
-
#
|
1275
|
-
#
|
1276
|
-
#
|
1277
|
-
#
|
1278
|
-
#
|
1279
|
-
#
|
1280
|
-
#
|
1281
|
-
#
|
1282
|
-
#
|
1283
|
-
#
|
1284
|
-
#
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
# value
|
1288
|
-
#
|
1289
|
-
#
|
1290
|
-
# `queue.yaml/xml`, `max_burst_size` is equal to
|
1291
|
-
# [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/
|
1292
|
-
# queueref#bucket_size).
|
1293
|
-
# Since `max_burst_size` is output only, if
|
1294
|
-
# UpdateQueue is called on a queue
|
1295
|
-
# created by `queue.yaml/xml`, `max_burst_size` will be reset based
|
1296
|
-
# on the value of
|
1297
|
-
# max_tasks_dispatched_per_second,
|
1298
|
-
# regardless of whether
|
1299
|
-
# max_tasks_dispatched_per_second
|
1300
|
-
# is updated.
|
1046
|
+
# The max burst size. Max burst size limits how fast tasks in queue are
|
1047
|
+
# processed when many tasks are in the queue and the rate is high. This field
|
1048
|
+
# allows the queue to have a high rate so processing starts shortly after a task
|
1049
|
+
# is enqueued, but still limits resource usage when many tasks are enqueued in a
|
1050
|
+
# short period of time. The [token bucket](https://wikipedia.org/wiki/
|
1051
|
+
# Token_Bucket) algorithm is used to control the rate of task dispatches. Each
|
1052
|
+
# queue has a token bucket that holds tokens, up to the maximum specified by `
|
1053
|
+
# max_burst_size`. Each time a task is dispatched, a token is removed from the
|
1054
|
+
# bucket. Tasks will be dispatched until the queue's bucket runs out of tokens.
|
1055
|
+
# The bucket will be continuously refilled with new tokens based on
|
1056
|
+
# max_dispatches_per_second. The default value of `max_burst_size` is picked by
|
1057
|
+
# Cloud Tasks based on the value of max_dispatches_per_second. The maximum value
|
1058
|
+
# of `max_burst_size` is 500. For App Engine queues that were created or updated
|
1059
|
+
# using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://
|
1060
|
+
# cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size).
|
1061
|
+
# If UpdateQueue is called on a queue without explicitly setting a value for `
|
1062
|
+
# max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is
|
1063
|
+
# updating max_dispatches_per_second.
|
1301
1064
|
# Corresponds to the JSON property `maxBurstSize`
|
1302
1065
|
# @return [Fixnum]
|
1303
1066
|
attr_accessor :max_burst_size
|
1304
1067
|
|
1305
|
-
# The maximum number of concurrent tasks that Cloud Tasks allows
|
1306
|
-
#
|
1307
|
-
#
|
1308
|
-
#
|
1309
|
-
#
|
1310
|
-
#
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
#
|
1314
|
-
# queue types can have `max_concurrent_tasks` set to -1.
|
1315
|
-
# This field has the same meaning as
|
1316
|
-
# [max_concurrent_requests in
|
1317
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1318
|
-
# queueref#max_concurrent_requests).
|
1068
|
+
# The maximum number of concurrent tasks that Cloud Tasks allows to be
|
1069
|
+
# dispatched for this queue. After this threshold has been reached, Cloud Tasks
|
1070
|
+
# stops dispatching tasks until the number of concurrent requests decreases. If
|
1071
|
+
# unspecified when the queue is created, Cloud Tasks will pick the default. The
|
1072
|
+
# maximum allowed value is 5,000. This field is output only for pull queues and
|
1073
|
+
# always -1, which indicates no limit. No other queue types can have `
|
1074
|
+
# max_concurrent_tasks` set to -1. This field has the same meaning as [
|
1075
|
+
# max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/
|
1076
|
+
# docs/standard/python/config/queueref#max_concurrent_requests).
|
1319
1077
|
# Corresponds to the JSON property `maxConcurrentTasks`
|
1320
1078
|
# @return [Fixnum]
|
1321
1079
|
attr_accessor :max_concurrent_tasks
|
1322
1080
|
|
1323
|
-
# The maximum rate at which tasks are dispatched from this queue.
|
1324
|
-
#
|
1325
|
-
#
|
1326
|
-
#
|
1327
|
-
#
|
1328
|
-
#
|
1329
|
-
#
|
1330
|
-
# LeaseTasks requests are allowed per pull queue.
|
1331
|
-
# This field has the same meaning as
|
1332
|
-
# [rate in
|
1333
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1334
|
-
# queueref#rate).
|
1081
|
+
# The maximum rate at which tasks are dispatched from this queue. If unspecified
|
1082
|
+
# when the queue is created, Cloud Tasks will pick the default. * For App Engine
|
1083
|
+
# queues, the maximum allowed value is 500. * This field is output only for pull
|
1084
|
+
# queues. In addition to the `max_tasks_dispatched_per_second` limit, a maximum
|
1085
|
+
# of 10 QPS of LeaseTasks requests are allowed per pull queue. This field has
|
1086
|
+
# the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/
|
1087
|
+
# appengine/docs/standard/python/config/queueref#rate).
|
1335
1088
|
# Corresponds to the JSON property `maxTasksDispatchedPerSecond`
|
1336
1089
|
# @return [Float]
|
1337
1090
|
attr_accessor :max_tasks_dispatched_per_second
|
@@ -1348,37 +1101,29 @@ module Google
|
|
1348
1101
|
end
|
1349
1102
|
end
|
1350
1103
|
|
1351
|
-
# Request message for renewing a lease using
|
1352
|
-
# RenewLease.
|
1104
|
+
# Request message for renewing a lease using RenewLease.
|
1353
1105
|
class RenewLeaseRequest
|
1354
1106
|
include Google::Apis::Core::Hashable
|
1355
1107
|
|
1356
|
-
# Required. The desired new lease duration, starting from now.
|
1357
|
-
#
|
1358
|
-
# `lease_duration` will be truncated to the nearest second.
|
1108
|
+
# Required. The desired new lease duration, starting from now. The maximum lease
|
1109
|
+
# duration is 1 week. `lease_duration` will be truncated to the nearest second.
|
1359
1110
|
# Corresponds to the JSON property `leaseDuration`
|
1360
1111
|
# @return [String]
|
1361
1112
|
attr_accessor :lease_duration
|
1362
1113
|
|
1363
|
-
# The response_view specifies which subset of the Task will be
|
1364
|
-
#
|
1365
|
-
#
|
1366
|
-
#
|
1367
|
-
#
|
1368
|
-
#
|
1369
|
-
# contains.
|
1370
|
-
# Authorization for FULL requires
|
1371
|
-
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
1372
|
-
# permission on the Task resource.
|
1114
|
+
# The response_view specifies which subset of the Task will be returned. By
|
1115
|
+
# default response_view is BASIC; not all information is retrieved by default
|
1116
|
+
# because some data, such as payloads, might be desirable to return only when
|
1117
|
+
# needed because of its large size or because of the sensitivity of data that it
|
1118
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
1119
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
1373
1120
|
# Corresponds to the JSON property `responseView`
|
1374
1121
|
# @return [String]
|
1375
1122
|
attr_accessor :response_view
|
1376
1123
|
|
1377
|
-
# Required. The task's current schedule time, available in the
|
1378
|
-
#
|
1379
|
-
#
|
1380
|
-
# RenewLease response. This restriction is
|
1381
|
-
# to ensure that your worker currently holds the lease.
|
1124
|
+
# Required. The task's current schedule time, available in the schedule_time
|
1125
|
+
# returned by LeaseTasks response or RenewLease response. This restriction is to
|
1126
|
+
# ensure that your worker currently holds the lease.
|
1382
1127
|
# Corresponds to the JSON property `scheduleTime`
|
1383
1128
|
# @return [String]
|
1384
1129
|
attr_accessor :schedule_time
|
@@ -1408,95 +1153,66 @@ module Google
|
|
1408
1153
|
end
|
1409
1154
|
end
|
1410
1155
|
|
1411
|
-
# Retry config.
|
1412
|
-
# These settings determine how a failed task attempt is retried.
|
1156
|
+
# Retry config. These settings determine how a failed task attempt is retried.
|
1413
1157
|
class RetryConfig
|
1414
1158
|
include Google::Apis::Core::Hashable
|
1415
1159
|
|
1416
|
-
# The maximum number of attempts for a task.
|
1417
|
-
#
|
1418
|
-
#
|
1419
|
-
# `max_attempts - 1` retries). Must be > 0.
|
1160
|
+
# The maximum number of attempts for a task. Cloud Tasks will attempt the task `
|
1161
|
+
# max_attempts` times (that is, if the first attempt fails, then there will be `
|
1162
|
+
# max_attempts - 1` retries). Must be > 0.
|
1420
1163
|
# Corresponds to the JSON property `maxAttempts`
|
1421
1164
|
# @return [Fixnum]
|
1422
1165
|
attr_accessor :max_attempts
|
1423
1166
|
|
1424
|
-
# A task will be scheduled for retry between
|
1425
|
-
#
|
1426
|
-
#
|
1427
|
-
#
|
1428
|
-
#
|
1429
|
-
#
|
1430
|
-
#
|
1431
|
-
# This field is output only for pull queues.
|
1432
|
-
# `max_backoff` will be truncated to the nearest second.
|
1433
|
-
# This field has the same meaning as
|
1434
|
-
# [max_backoff_seconds in
|
1435
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1436
|
-
# queueref#retry_parameters).
|
1167
|
+
# A task will be scheduled for retry between min_backoff and max_backoff
|
1168
|
+
# duration after it fails, if the queue's RetryConfig specifies that the task
|
1169
|
+
# should be retried. If unspecified when the queue is created, Cloud Tasks will
|
1170
|
+
# pick the default. This field is output only for pull queues. `max_backoff`
|
1171
|
+
# will be truncated to the nearest second. This field has the same meaning as [
|
1172
|
+
# max_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
1173
|
+
# standard/python/config/queueref#retry_parameters).
|
1437
1174
|
# Corresponds to the JSON property `maxBackoff`
|
1438
1175
|
# @return [String]
|
1439
1176
|
attr_accessor :max_backoff
|
1440
1177
|
|
1441
|
-
# The time between retries will double `max_doublings` times.
|
1442
|
-
#
|
1443
|
-
#
|
1444
|
-
#
|
1445
|
-
#
|
1446
|
-
#
|
1447
|
-
#
|
1448
|
-
#
|
1449
|
-
#
|
1450
|
-
#
|
1451
|
-
#
|
1452
|
-
#
|
1453
|
-
#
|
1454
|
-
# task has been attempted max_attempts
|
1455
|
-
# times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
|
1456
|
-
# 240s, 300s, 300s, ....
|
1457
|
-
# If unspecified when the queue is created, Cloud Tasks will pick the
|
1458
|
-
# default.
|
1459
|
-
# This field is output only for pull queues.
|
1460
|
-
# This field has the same meaning as
|
1461
|
-
# [max_doublings in
|
1462
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1463
|
-
# queueref#retry_parameters).
|
1178
|
+
# The time between retries will double `max_doublings` times. A task's retry
|
1179
|
+
# interval starts at min_backoff, then doubles `max_doublings` times, then
|
1180
|
+
# increases linearly, and finally retries at intervals of max_backoff up to
|
1181
|
+
# max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s,
|
1182
|
+
# and `max_doublings` is 3, then the a task will first be retried in 10s. The
|
1183
|
+
# retry interval will double three times, and then increase linearly by 2^3 *
|
1184
|
+
# 10s. Finally, the task will retry at intervals of max_backoff until the task
|
1185
|
+
# has been attempted max_attempts times. Thus, the requests will retry at 10s,
|
1186
|
+
# 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is
|
1187
|
+
# created, Cloud Tasks will pick the default. This field is output only for pull
|
1188
|
+
# queues. This field has the same meaning as [max_doublings in queue.yaml/xml](
|
1189
|
+
# https://cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1190
|
+
# retry_parameters).
|
1464
1191
|
# Corresponds to the JSON property `maxDoublings`
|
1465
1192
|
# @return [Fixnum]
|
1466
1193
|
attr_accessor :max_doublings
|
1467
1194
|
|
1468
|
-
# If positive, `max_retry_duration` specifies the time limit for
|
1469
|
-
#
|
1470
|
-
#
|
1471
|
-
#
|
1472
|
-
#
|
1473
|
-
#
|
1474
|
-
#
|
1475
|
-
#
|
1476
|
-
#
|
1477
|
-
#
|
1478
|
-
# `max_retry_duration` will be truncated to the nearest second.
|
1479
|
-
# This field has the same meaning as
|
1480
|
-
# [task_age_limit in
|
1481
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1482
|
-
# queueref#retry_parameters).
|
1195
|
+
# If positive, `max_retry_duration` specifies the time limit for retrying a
|
1196
|
+
# failed task, measured from when the task was first attempted. Once `
|
1197
|
+
# max_retry_duration` time has passed *and* the task has been attempted
|
1198
|
+
# max_attempts times, no further attempts will be made and the task will be
|
1199
|
+
# deleted. If zero, then the task age is unlimited. If unspecified when the
|
1200
|
+
# queue is created, Cloud Tasks will pick the default. This field is output only
|
1201
|
+
# for pull queues. `max_retry_duration` will be truncated to the nearest second.
|
1202
|
+
# This field has the same meaning as [task_age_limit in queue.yaml/xml](https://
|
1203
|
+
# cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1204
|
+
# retry_parameters).
|
1483
1205
|
# Corresponds to the JSON property `maxRetryDuration`
|
1484
1206
|
# @return [String]
|
1485
1207
|
attr_accessor :max_retry_duration
|
1486
1208
|
|
1487
|
-
# A task will be scheduled for retry between
|
1488
|
-
#
|
1489
|
-
#
|
1490
|
-
#
|
1491
|
-
#
|
1492
|
-
#
|
1493
|
-
#
|
1494
|
-
# This field is output only for pull queues.
|
1495
|
-
# `min_backoff` will be truncated to the nearest second.
|
1496
|
-
# This field has the same meaning as
|
1497
|
-
# [min_backoff_seconds in
|
1498
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1499
|
-
# queueref#retry_parameters).
|
1209
|
+
# A task will be scheduled for retry between min_backoff and max_backoff
|
1210
|
+
# duration after it fails, if the queue's RetryConfig specifies that the task
|
1211
|
+
# should be retried. If unspecified when the queue is created, Cloud Tasks will
|
1212
|
+
# pick the default. This field is output only for pull queues. `min_backoff`
|
1213
|
+
# will be truncated to the nearest second. This field has the same meaning as [
|
1214
|
+
# min_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
1215
|
+
# standard/python/config/queueref#retry_parameters).
|
1500
1216
|
# Corresponds to the JSON property `minBackoff`
|
1501
1217
|
# @return [String]
|
1502
1218
|
attr_accessor :min_backoff
|
@@ -1522,21 +1238,16 @@ module Google
|
|
1522
1238
|
end
|
1523
1239
|
end
|
1524
1240
|
|
1525
|
-
# Request message for forcing a task to run now using
|
1526
|
-
# RunTask.
|
1241
|
+
# Request message for forcing a task to run now using RunTask.
|
1527
1242
|
class RunTaskRequest
|
1528
1243
|
include Google::Apis::Core::Hashable
|
1529
1244
|
|
1530
|
-
# The response_view specifies which subset of the Task will be
|
1531
|
-
#
|
1532
|
-
#
|
1533
|
-
#
|
1534
|
-
#
|
1535
|
-
#
|
1536
|
-
# contains.
|
1537
|
-
# Authorization for FULL requires
|
1538
|
-
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
1539
|
-
# permission on the Task resource.
|
1245
|
+
# The response_view specifies which subset of the Task will be returned. By
|
1246
|
+
# default response_view is BASIC; not all information is retrieved by default
|
1247
|
+
# because some data, such as payloads, might be desirable to return only when
|
1248
|
+
# needed because of its large size or because of the sensitivity of data that it
|
1249
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
1250
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
1540
1251
|
# Corresponds to the JSON property `responseView`
|
1541
1252
|
# @return [String]
|
1542
1253
|
attr_accessor :response_view
|
@@ -1556,66 +1267,32 @@ module Google
|
|
1556
1267
|
include Google::Apis::Core::Hashable
|
1557
1268
|
|
1558
1269
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1559
|
-
# controls for Google Cloud resources.
|
1560
|
-
# A `
|
1561
|
-
#
|
1562
|
-
#
|
1563
|
-
#
|
1564
|
-
#
|
1565
|
-
#
|
1566
|
-
#
|
1567
|
-
#
|
1568
|
-
#
|
1569
|
-
#
|
1570
|
-
# [
|
1571
|
-
#
|
1572
|
-
#
|
1573
|
-
# `
|
1574
|
-
# "
|
1575
|
-
# `
|
1576
|
-
# "
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
#
|
1584
|
-
#
|
1585
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1586
|
-
# "members": [
|
1587
|
-
# "user:eve@example.com"
|
1588
|
-
# ],
|
1589
|
-
# "condition": `
|
1590
|
-
# "title": "expirable access",
|
1591
|
-
# "description": "Does not grant access after Sep 2020",
|
1592
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1593
|
-
# ",
|
1594
|
-
# `
|
1595
|
-
# `
|
1596
|
-
# ],
|
1597
|
-
# "etag": "BwWWja0YfJA=",
|
1598
|
-
# "version": 3
|
1599
|
-
# `
|
1600
|
-
# **YAML example:**
|
1601
|
-
# bindings:
|
1602
|
-
# - members:
|
1603
|
-
# - user:mike@example.com
|
1604
|
-
# - group:admins@example.com
|
1605
|
-
# - domain:google.com
|
1606
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1607
|
-
# role: roles/resourcemanager.organizationAdmin
|
1608
|
-
# - members:
|
1609
|
-
# - user:eve@example.com
|
1610
|
-
# role: roles/resourcemanager.organizationViewer
|
1611
|
-
# condition:
|
1612
|
-
# title: expirable access
|
1613
|
-
# description: Does not grant access after Sep 2020
|
1614
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1615
|
-
# - etag: BwWWja0YfJA=
|
1616
|
-
# - version: 3
|
1617
|
-
# For a description of IAM and its features, see the
|
1618
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1270
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1271
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1272
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1273
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1274
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1275
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1276
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1277
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1278
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1279
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1280
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1281
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1282
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1283
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1284
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1285
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1286
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1287
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1288
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1289
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1290
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1291
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1292
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1293
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1294
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1295
|
+
# google.com/iam/docs/).
|
1619
1296
|
# Corresponds to the JSON property `policy`
|
1620
1297
|
# @return [Google::Apis::CloudtasksV2beta2::Policy]
|
1621
1298
|
attr_accessor :policy
|
@@ -1630,12 +1307,12 @@ module Google
|
|
1630
1307
|
end
|
1631
1308
|
end
|
1632
1309
|
|
1633
|
-
# The `Status` type defines a logical error model that is suitable for
|
1634
|
-
#
|
1635
|
-
#
|
1636
|
-
#
|
1637
|
-
#
|
1638
|
-
#
|
1310
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1311
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1312
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1313
|
+
# data: error code, error message, and error details. You can find out more
|
1314
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1315
|
+
# //cloud.google.com/apis/design/errors).
|
1639
1316
|
class Status
|
1640
1317
|
include Google::Apis::Core::Hashable
|
1641
1318
|
|
@@ -1644,15 +1321,15 @@ module Google
|
|
1644
1321
|
# @return [Fixnum]
|
1645
1322
|
attr_accessor :code
|
1646
1323
|
|
1647
|
-
# A list of messages that carry the error details.
|
1324
|
+
# A list of messages that carry the error details. There is a common set of
|
1648
1325
|
# message types for APIs to use.
|
1649
1326
|
# Corresponds to the JSON property `details`
|
1650
1327
|
# @return [Array<Hash<String,Object>>]
|
1651
1328
|
attr_accessor :details
|
1652
1329
|
|
1653
|
-
# A developer-facing error message, which should be in English. Any
|
1654
|
-
#
|
1655
|
-
#
|
1330
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1331
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1332
|
+
# field, or localized by the client.
|
1656
1333
|
# Corresponds to the JSON property `message`
|
1657
1334
|
# @return [String]
|
1658
1335
|
attr_accessor :message
|
@@ -1673,108 +1350,79 @@ module Google
|
|
1673
1350
|
class Task
|
1674
1351
|
include Google::Apis::Core::Hashable
|
1675
1352
|
|
1676
|
-
# App Engine HTTP request.
|
1677
|
-
#
|
1678
|
-
#
|
1679
|
-
#
|
1680
|
-
#
|
1681
|
-
#
|
1682
|
-
#
|
1683
|
-
#
|
1684
|
-
# Google IAM permission for the project
|
1685
|
-
# and the following scope:
|
1686
|
-
# `https://www.googleapis.com/auth/cloud-platform`
|
1687
|
-
# The task will be delivered to the App Engine app which belongs to the same
|
1688
|
-
# project as the queue. For more information, see
|
1689
|
-
# [How Requests are
|
1353
|
+
# App Engine HTTP request. The message defines the HTTP request that is sent to
|
1354
|
+
# an App Engine app when the task is dispatched. This proto can only be used for
|
1355
|
+
# tasks in a queue which has app_engine_http_target set. Using
|
1356
|
+
# AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.
|
1357
|
+
# google.com/appengine/docs/admin-api/access-control) Google IAM permission for
|
1358
|
+
# the project and the following scope: `https://www.googleapis.com/auth/cloud-
|
1359
|
+
# platform` The task will be delivered to the App Engine app which belongs to
|
1360
|
+
# the same project as the queue. For more information, see [How Requests are
|
1690
1361
|
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
1691
|
-
# are-routed)
|
1692
|
-
#
|
1693
|
-
#
|
1694
|
-
#
|
1695
|
-
#
|
1696
|
-
#
|
1697
|
-
#
|
1698
|
-
#
|
1699
|
-
#
|
1700
|
-
#
|
1701
|
-
#
|
1702
|
-
#
|
1703
|
-
#
|
1704
|
-
#
|
1705
|
-
# is for the
|
1706
|
-
# task-level app_engine_routing.
|
1707
|
-
# The `url` that the task will be sent to is:
|
1708
|
-
# * `url =` host `+`
|
1709
|
-
# relative_url
|
1710
|
-
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
1711
|
-
# URIs restricted with
|
1712
|
-
# [`login:
|
1713
|
-
# admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
|
1714
|
-
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
1715
|
-
# restricted with
|
1716
|
-
# [`login:
|
1362
|
+
# are-routed) and how routing is affected by [dispatch files](https://cloud.
|
1363
|
+
# google.com/appengine/docs/python/config/dispatchref). Traffic is encrypted
|
1364
|
+
# during transport and never leaves Google datacenters. Because this traffic is
|
1365
|
+
# carried over a communication mechanism internal to Google, you cannot
|
1366
|
+
# explicitly set the protocol (for example, HTTP or HTTPS). The request to the
|
1367
|
+
# handler, however, will appear to have used the HTTP protocol. The
|
1368
|
+
# AppEngineRouting used to construct the URL that the task is delivered to can
|
1369
|
+
# be set at the queue-level or task-level: * If set, app_engine_routing_override
|
1370
|
+
# is used for all tasks in the queue, no matter what the setting is for the task-
|
1371
|
+
# level app_engine_routing. The `url` that the task will be sent to is: * `url =`
|
1372
|
+
# host `+` relative_url Tasks can be dispatched to secure app handlers,
|
1373
|
+
# unsecure app handlers, and URIs restricted with [`login: admin`](https://cloud.
|
1374
|
+
# google.com/appengine/docs/standard/python/config/appref). Because tasks are
|
1375
|
+
# not run as any user, they cannot be dispatched to URIs restricted with [`login:
|
1717
1376
|
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
1718
|
-
# appref)
|
1719
|
-
#
|
1720
|
-
# The task attempt has
|
1721
|
-
#
|
1722
|
-
# the
|
1723
|
-
#
|
1724
|
-
#
|
1725
|
-
#
|
1726
|
-
#
|
1727
|
-
#
|
1728
|
-
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
1729
|
-
# Requests) response from an app handler does not cause traffic congestion
|
1730
|
-
# control to throttle the queue.
|
1377
|
+
# appref) Task dispatches also do not follow redirects. The task attempt has
|
1378
|
+
# succeeded if the app's request handler returns an HTTP response code in the
|
1379
|
+
# range [`200` - `299`]. The task attempt has failed if the app's handler
|
1380
|
+
# returns a non-2xx response code or Cloud Tasks does not receive response
|
1381
|
+
# before the deadline. Failed tasks will be retried according to the retry
|
1382
|
+
# configuration. `503` (Service Unavailable) is considered an App Engine system
|
1383
|
+
# error instead of an application error and will cause Cloud Tasks' traffic
|
1384
|
+
# congestion control to temporarily throttle the queue's dispatches. Unlike
|
1385
|
+
# other types of task targets, a `429` (Too Many Requests) response from an app
|
1386
|
+
# handler does not cause traffic congestion control to throttle the queue.
|
1731
1387
|
# Corresponds to the JSON property `appEngineHttpRequest`
|
1732
1388
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest]
|
1733
1389
|
attr_accessor :app_engine_http_request
|
1734
1390
|
|
1735
|
-
# Output only. The time that the task was created.
|
1736
|
-
#
|
1391
|
+
# Output only. The time that the task was created. `create_time` will be
|
1392
|
+
# truncated to the nearest second.
|
1737
1393
|
# Corresponds to the JSON property `createTime`
|
1738
1394
|
# @return [String]
|
1739
1395
|
attr_accessor :create_time
|
1740
1396
|
|
1741
|
-
# Optionally caller-specified in CreateTask.
|
1742
|
-
#
|
1743
|
-
#
|
1744
|
-
#
|
1745
|
-
#
|
1746
|
-
#
|
1747
|
-
#
|
1748
|
-
#
|
1749
|
-
#
|
1750
|
-
#
|
1751
|
-
#
|
1752
|
-
#
|
1753
|
-
# ListLocations.
|
1754
|
-
# For more information, see https://cloud.google.com/about/locations/.
|
1755
|
-
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1756
|
-
# hyphens (-). The maximum length is 100 characters.
|
1757
|
-
# * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
|
1758
|
-
# hyphens (-), or underscores (_). The maximum length is 500 characters.
|
1397
|
+
# Optionally caller-specified in CreateTask. The task name. The task name must
|
1398
|
+
# have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/
|
1399
|
+
# QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers
|
1400
|
+
# ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [
|
1401
|
+
# Identifying projects](https://cloud.google.com/resource-manager/docs/creating-
|
1402
|
+
# managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID
|
1403
|
+
# for the task's location. The list of available locations can be obtained by
|
1404
|
+
# calling ListLocations. For more information, see https://cloud.google.com/
|
1405
|
+
# about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
1406
|
+
# or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain
|
1407
|
+
# only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The
|
1408
|
+
# maximum length is 500 characters.
|
1759
1409
|
# Corresponds to the JSON property `name`
|
1760
1410
|
# @return [String]
|
1761
1411
|
attr_accessor :name
|
1762
1412
|
|
1763
|
-
# The pull message contains data that can be used by the caller of
|
1764
|
-
#
|
1765
|
-
# This proto can only be used for tasks in a queue which has
|
1413
|
+
# The pull message contains data that can be used by the caller of LeaseTasks to
|
1414
|
+
# process the task. This proto can only be used for tasks in a queue which has
|
1766
1415
|
# pull_target set.
|
1767
1416
|
# Corresponds to the JSON property `pullMessage`
|
1768
1417
|
# @return [Google::Apis::CloudtasksV2beta2::PullMessage]
|
1769
1418
|
attr_accessor :pull_message
|
1770
1419
|
|
1771
|
-
# The time when the task is scheduled to be attempted.
|
1772
|
-
#
|
1773
|
-
#
|
1774
|
-
#
|
1775
|
-
# the
|
1776
|
-
#
|
1777
|
-
# `schedule_time` will be truncated to the nearest microsecond.
|
1420
|
+
# The time when the task is scheduled to be attempted. For App Engine queues,
|
1421
|
+
# this is when the task will be attempted or retried. For pull queues, this is
|
1422
|
+
# the time when the task is available to be leased; if a task is currently
|
1423
|
+
# leased, this is the time when the current lease expires, that is, the time
|
1424
|
+
# that the task was leased plus the lease_duration. `schedule_time` will be
|
1425
|
+
# truncated to the nearest microsecond.
|
1778
1426
|
# Corresponds to the JSON property `scheduleTime`
|
1779
1427
|
# @return [String]
|
1780
1428
|
attr_accessor :schedule_time
|
@@ -1784,8 +1432,7 @@ module Google
|
|
1784
1432
|
# @return [Google::Apis::CloudtasksV2beta2::TaskStatus]
|
1785
1433
|
attr_accessor :status
|
1786
1434
|
|
1787
|
-
# Output only. The view specifies which subset of the Task has
|
1788
|
-
# been returned.
|
1435
|
+
# Output only. The view specifies which subset of the Task has been returned.
|
1789
1436
|
# Corresponds to the JSON property `view`
|
1790
1437
|
# @return [String]
|
1791
1438
|
attr_accessor :view
|
@@ -1810,15 +1457,14 @@ module Google
|
|
1810
1457
|
class TaskStatus
|
1811
1458
|
include Google::Apis::Core::Hashable
|
1812
1459
|
|
1813
|
-
# Output only. The number of attempts dispatched.
|
1814
|
-
#
|
1815
|
-
# received a response.
|
1460
|
+
# Output only. The number of attempts dispatched. This count includes attempts
|
1461
|
+
# which have been dispatched but haven't received a response.
|
1816
1462
|
# Corresponds to the JSON property `attemptDispatchCount`
|
1817
1463
|
# @return [Fixnum]
|
1818
1464
|
attr_accessor :attempt_dispatch_count
|
1819
1465
|
|
1820
|
-
# Output only. The number of attempts which have received a response.
|
1821
|
-
#
|
1466
|
+
# Output only. The number of attempts which have received a response. This field
|
1467
|
+
# is not calculated for pull tasks.
|
1822
1468
|
# Corresponds to the JSON property `attemptResponseCount`
|
1823
1469
|
# @return [Fixnum]
|
1824
1470
|
attr_accessor :attempt_response_count
|
@@ -1850,10 +1496,9 @@ module Google
|
|
1850
1496
|
class TestIamPermissionsRequest
|
1851
1497
|
include Google::Apis::Core::Hashable
|
1852
1498
|
|
1853
|
-
# The set of permissions to check for the `resource`. Permissions with
|
1854
|
-
#
|
1855
|
-
#
|
1856
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1499
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1500
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
1501
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1857
1502
|
# Corresponds to the JSON property `permissions`
|
1858
1503
|
# @return [Array<String>]
|
1859
1504
|
attr_accessor :permissions
|
@@ -1872,8 +1517,7 @@ module Google
|
|
1872
1517
|
class TestIamPermissionsResponse
|
1873
1518
|
include Google::Apis::Core::Hashable
|
1874
1519
|
|
1875
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
1876
|
-
# allowed.
|
1520
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
1877
1521
|
# Corresponds to the JSON property `permissions`
|
1878
1522
|
# @return [Array<String>]
|
1879
1523
|
attr_accessor :permissions
|