google-api-client 0.43.0 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.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/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- 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_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- 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/admob_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +205 -75
- data/generated/google/apis/apigee_v1/representations.rb +51 -0
- data/generated/google/apis/apigee_v1/service.rb +133 -34
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +355 -553
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.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/bigquerydatatransfer_v1.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/bigqueryreservation_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_v1alpha2.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_v1beta1.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/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +90 -115
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.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_v1p1beta1.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_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.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/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.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/clouderrorreporting_v1beta1.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/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.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/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.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_v1beta1.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/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -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/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.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/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.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_v2.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_v2beta1.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/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +915 -965
- data/generated/google/apis/container_v1/representations.rb +53 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
- data/generated/google/apis/container_v1beta1/representations.rb +70 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -2
- data/generated/google/apis/content_v2_1/representations.rb +34 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +37 -4
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.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_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
- data/generated/google/apis/displayvideo_v1/service.rb +48 -36
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- 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_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- 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_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
- data/generated/google/apis/firebaserules_v1.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/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.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/fitness_v1.rb +85 -0
- 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 +626 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- 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_management_v1management.rb +2 -3
- 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_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/genomics_v1.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_v1alpha2.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_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +4 -3
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- 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/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +675 -853
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
- data/generated/google/apis/homegraph_v1.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/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -592
- data/generated/google/apis/iam_v1/service.rb +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.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/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/manufacturers_v1.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/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +949 -1144
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +103 -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_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +220 -322
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.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_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +226 -270
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
- data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- 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_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.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/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +39 -39
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +392 -518
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.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_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +172 -208
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +4 -3
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.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_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.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/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/script_v1.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/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_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/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_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_v1p1beta1.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_v2beta1.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/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sql_v1beta4/service.rb +51 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_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_v1beta1.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/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
- 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/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/vectortile_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/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +347 -0
- data/generated/google/apis/youtube_v3/representations.rb +176 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -31
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- 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/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/memcache_v1/representations.rb +0 -471
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
- 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.rb +0 -40
- 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
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta2
|
27
27
|
VERSION = 'V2beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200804'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -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,57 @@ module Google
|
|
437
330
|
class Binding
|
438
331
|
include Google::Apis::Core::Hashable
|
439
332
|
|
440
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
# description: "Determines if
|
446
|
-
# expression: "document.
|
447
|
-
#
|
448
|
-
#
|
449
|
-
#
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
455
|
-
# Example (Data Manipulation):
|
456
|
-
# title: "Notification string"
|
457
|
-
# description: "Create a notification string with a timestamp."
|
458
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
459
|
-
# The exact variables and functions that may be referenced within an expression
|
460
|
-
# are determined by the service that evaluates it. See the service
|
461
|
-
# documentation for additional information.
|
333
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
334
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
335
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
336
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
337
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
338
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
339
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
340
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
341
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
342
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
343
|
+
# string" description: "Create a notification string with a timestamp."
|
344
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
345
|
+
# exact variables and functions that may be referenced within an expression are
|
346
|
+
# determined by the service that evaluates it. See the service documentation for
|
347
|
+
# additional information.
|
462
348
|
# Corresponds to the JSON property `condition`
|
463
349
|
# @return [Google::Apis::CloudtasksV2beta2::Expr]
|
464
350
|
attr_accessor :condition
|
465
351
|
|
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`.
|
352
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
353
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
354
|
+
# that represents anyone who is on the internet; with or without a Google
|
355
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
356
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
357
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
358
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
359
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
360
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
361
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
362
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
363
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
364
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
365
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
366
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
367
|
+
# identifier) representing a service account that has been recently deleted. For
|
368
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
369
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
370
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
371
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
372
|
+
# identifier) representing a Google group that has been recently deleted. For
|
373
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
374
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
375
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
376
|
+
# primary) that represents all the users of that domain. For example, `google.
|
377
|
+
# com` or `example.com`.
|
497
378
|
# Corresponds to the JSON property `members`
|
498
379
|
# @return [Array<String>]
|
499
380
|
attr_accessor :members
|
500
381
|
|
501
|
-
# Role that is assigned to `members`.
|
502
|
-
#
|
382
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
383
|
+
# , or `roles/owner`.
|
503
384
|
# Corresponds to the JSON property `role`
|
504
385
|
# @return [String]
|
505
386
|
attr_accessor :role
|
@@ -516,30 +397,23 @@ module Google
|
|
516
397
|
end
|
517
398
|
end
|
518
399
|
|
519
|
-
# Request message for canceling a lease using
|
520
|
-
# CancelLease.
|
400
|
+
# Request message for canceling a lease using CancelLease.
|
521
401
|
class CancelLeaseRequest
|
522
402
|
include Google::Apis::Core::Hashable
|
523
403
|
|
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.
|
404
|
+
# The response_view specifies which subset of the Task will be returned. By
|
405
|
+
# default response_view is BASIC; not all information is retrieved by default
|
406
|
+
# because some data, such as payloads, might be desirable to return only when
|
407
|
+
# needed because of its large size or because of the sensitivity of data that it
|
408
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
409
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
534
410
|
# Corresponds to the JSON property `responseView`
|
535
411
|
# @return [String]
|
536
412
|
attr_accessor :response_view
|
537
413
|
|
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.
|
414
|
+
# Required. The task's current schedule time, available in the schedule_time
|
415
|
+
# returned by LeaseTasks response or RenewLease response. This restriction is to
|
416
|
+
# ensure that your worker currently holds the lease.
|
543
417
|
# Corresponds to the JSON property `scheduleTime`
|
544
418
|
# @return [String]
|
545
419
|
attr_accessor :schedule_time
|
@@ -559,16 +433,12 @@ module Google
|
|
559
433
|
class CreateTaskRequest
|
560
434
|
include Google::Apis::Core::Hashable
|
561
435
|
|
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.
|
436
|
+
# The response_view specifies which subset of the Task will be returned. By
|
437
|
+
# default response_view is BASIC; not all information is retrieved by default
|
438
|
+
# because some data, such as payloads, might be desirable to return only when
|
439
|
+
# needed because of its large size or because of the sensitivity of data that it
|
440
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
441
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
572
442
|
# Corresponds to the JSON property `responseView`
|
573
443
|
# @return [String]
|
574
444
|
attr_accessor :response_view
|
@@ -589,13 +459,11 @@ module Google
|
|
589
459
|
end
|
590
460
|
end
|
591
461
|
|
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 ````.
|
462
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
463
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
464
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
465
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
466
|
+
# `Empty` is empty JSON object ````.
|
599
467
|
class Empty
|
600
468
|
include Google::Apis::Core::Hashable
|
601
469
|
|
@@ -608,52 +476,43 @@ module Google
|
|
608
476
|
end
|
609
477
|
end
|
610
478
|
|
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.
|
479
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
480
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
481
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
482
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
483
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
484
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
485
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
486
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
487
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
488
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
489
|
+
# string" description: "Create a notification string with a timestamp."
|
490
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
491
|
+
# exact variables and functions that may be referenced within an expression are
|
492
|
+
# determined by the service that evaluates it. See the service documentation for
|
493
|
+
# additional information.
|
633
494
|
class Expr
|
634
495
|
include Google::Apis::Core::Hashable
|
635
496
|
|
636
|
-
# Optional. Description of the expression. This is a longer text which
|
637
|
-
#
|
497
|
+
# Optional. Description of the expression. This is a longer text which describes
|
498
|
+
# the expression, e.g. when hovered over it in a UI.
|
638
499
|
# Corresponds to the JSON property `description`
|
639
500
|
# @return [String]
|
640
501
|
attr_accessor :description
|
641
502
|
|
642
|
-
# Textual representation of an expression in Common Expression Language
|
643
|
-
# syntax.
|
503
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
644
504
|
# Corresponds to the JSON property `expression`
|
645
505
|
# @return [String]
|
646
506
|
attr_accessor :expression
|
647
507
|
|
648
|
-
# Optional. String indicating the location of the expression for error
|
649
|
-
#
|
508
|
+
# Optional. String indicating the location of the expression for error reporting,
|
509
|
+
# e.g. a file name and a position in the file.
|
650
510
|
# Corresponds to the JSON property `location`
|
651
511
|
# @return [String]
|
652
512
|
attr_accessor :location
|
653
513
|
|
654
|
-
# Optional. Title for the expression, i.e. a short string describing
|
655
|
-
#
|
656
|
-
# expression.
|
514
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
515
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
657
516
|
# Corresponds to the JSON property `title`
|
658
517
|
# @return [String]
|
659
518
|
attr_accessor :title
|
@@ -694,15 +553,13 @@ module Google
|
|
694
553
|
class GetPolicyOptions
|
695
554
|
include Google::Apis::Core::Hashable
|
696
555
|
|
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).
|
556
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
557
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
558
|
+
# policies with any conditional bindings must specify version 3. Policies
|
559
|
+
# without any conditional bindings may specify any valid value or leave the
|
560
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
561
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
562
|
+
# resource-policies).
|
706
563
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
707
564
|
# @return [Fixnum]
|
708
565
|
attr_accessor :requested_policy_version
|
@@ -721,72 +578,51 @@ module Google
|
|
721
578
|
class LeaseTasksRequest
|
722
579
|
include Google::Apis::Core::Hashable
|
723
580
|
|
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.
|
581
|
+
# `filter` can be used to specify a subset of tasks to lease. When `filter` is
|
582
|
+
# set to `tag=` then the response will contain only tasks whose tag is equal to `
|
583
|
+
# `. `` must be less than 500 characters. When `filter` is set to `tag_function=
|
584
|
+
# oldest_tag()`, only tasks which have the same tag as the task with the oldest
|
585
|
+
# schedule_time will be returned. Grammar Syntax: * `filter = "tag=" tag | "
|
586
|
+
# tag_function=" function` * `tag = string` * `function = "oldest_tag()"` The `
|
587
|
+
# oldest_tag()` function returns tasks which have the same tag as the oldest
|
588
|
+
# task (ordered by schedule time). SDK compatibility: Although the SDK allows
|
589
|
+
# tags to be either string or [bytes](https://cloud.google.com/appengine/docs/
|
590
|
+
# standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-
|
591
|
+
# byte:A-), only UTF-8 encoded tags can be used in Cloud Tasks. Tag which aren't
|
592
|
+
# UTF-8 encoded can't be used in the filter and the task's tag will be displayed
|
593
|
+
# as empty in Cloud Tasks.
|
746
594
|
# Corresponds to the JSON property `filter`
|
747
595
|
# @return [String]
|
748
596
|
attr_accessor :filter
|
749
597
|
|
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.
|
598
|
+
# Required. The duration of the lease. Each task returned in the response will
|
599
|
+
# have its schedule_time set to the current time plus the `lease_duration`. The
|
600
|
+
# task is leased until its schedule_time; thus, the task will not be returned to
|
601
|
+
# another LeaseTasks call before its schedule_time. After the worker has
|
602
|
+
# successfully finished the work associated with the task, the worker must call
|
603
|
+
# via AcknowledgeTask before the schedule_time. Otherwise the task will be
|
604
|
+
# returned to a later LeaseTasks call so that another worker can retry it. The
|
605
|
+
# maximum lease duration is 1 week. `lease_duration` will be truncated to the
|
606
|
+
# nearest second.
|
765
607
|
# Corresponds to the JSON property `leaseDuration`
|
766
608
|
# @return [String]
|
767
609
|
attr_accessor :lease_duration
|
768
610
|
|
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.
|
611
|
+
# The maximum number of tasks to lease. The system will make a best effort to
|
612
|
+
# return as close to as `max_tasks` as possible. The largest that `max_tasks`
|
613
|
+
# can be is 1000. The maximum total size of a lease tasks response is 32 MB. If
|
614
|
+
# the sum of all task sizes requested reaches this limit, fewer tasks than
|
615
|
+
# requested are returned.
|
776
616
|
# Corresponds to the JSON property `maxTasks`
|
777
617
|
# @return [Fixnum]
|
778
618
|
attr_accessor :max_tasks
|
779
619
|
|
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.
|
620
|
+
# The response_view specifies which subset of the Task will be returned. By
|
621
|
+
# default response_view is BASIC; not all information is retrieved by default
|
622
|
+
# because some data, such as payloads, might be desirable to return only when
|
623
|
+
# needed because of its large size or because of the sensitivity of data that it
|
624
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
625
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
790
626
|
# Corresponds to the JSON property `responseView`
|
791
627
|
# @return [String]
|
792
628
|
attr_accessor :response_view
|
@@ -852,12 +688,9 @@ module Google
|
|
852
688
|
class ListQueuesResponse
|
853
689
|
include Google::Apis::Core::Hashable
|
854
690
|
|
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.
|
691
|
+
# A token to retrieve next page of results. To return the next page of results,
|
692
|
+
# call ListQueues with this value as the page_token. If the next_page_token is
|
693
|
+
# empty, there are no more results. The page token is valid for only 2 hours.
|
861
694
|
# Corresponds to the JSON property `nextPageToken`
|
862
695
|
# @return [String]
|
863
696
|
attr_accessor :next_page_token
|
@@ -882,11 +715,9 @@ module Google
|
|
882
715
|
class ListTasksResponse
|
883
716
|
include Google::Apis::Core::Hashable
|
884
717
|
|
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.
|
718
|
+
# A token to retrieve next page of results. To return the next page of results,
|
719
|
+
# call ListTasks with this value as the page_token. If the next_page_token is
|
720
|
+
# empty, there are no more results.
|
890
721
|
# Corresponds to the JSON property `nextPageToken`
|
891
722
|
# @return [String]
|
892
723
|
attr_accessor :next_page_token
|
@@ -911,14 +742,14 @@ module Google
|
|
911
742
|
class Location
|
912
743
|
include Google::Apis::Core::Hashable
|
913
744
|
|
914
|
-
# The friendly name for this location, typically a nearby city name.
|
915
|
-
#
|
745
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
746
|
+
# "Tokyo".
|
916
747
|
# Corresponds to the JSON property `displayName`
|
917
748
|
# @return [String]
|
918
749
|
attr_accessor :display_name
|
919
750
|
|
920
|
-
# Cross-service attributes for the location. For example
|
921
|
-
#
|
751
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
752
|
+
# region": "us-east1"`
|
922
753
|
# Corresponds to the JSON property `labels`
|
923
754
|
# @return [Hash<String,String>]
|
924
755
|
attr_accessor :labels
|
@@ -934,8 +765,8 @@ module Google
|
|
934
765
|
# @return [Hash<String,Object>]
|
935
766
|
attr_accessor :metadata
|
936
767
|
|
937
|
-
# Resource name for the location, which may vary between implementations.
|
938
|
-
#
|
768
|
+
# Resource name for the location, which may vary between implementations. For
|
769
|
+
# example: `"projects/example-project/locations/us-east1"`
|
939
770
|
# Corresponds to the JSON property `name`
|
940
771
|
# @return [String]
|
941
772
|
attr_accessor :name
|
@@ -968,111 +799,73 @@ module Google
|
|
968
799
|
end
|
969
800
|
|
970
801
|
# 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/).
|
802
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
803
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
804
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
805
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
806
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
807
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
808
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
809
|
+
# condition can add constraints based on attributes of the request, the resource,
|
810
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
811
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
812
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
813
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
814
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
815
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
816
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
817
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
818
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
819
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
820
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
821
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
822
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
823
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
824
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
825
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
826
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
827
|
+
# google.com/iam/docs/).
|
1031
828
|
class Policy
|
1032
829
|
include Google::Apis::Core::Hashable
|
1033
830
|
|
1034
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1035
|
-
#
|
1036
|
-
#
|
831
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
832
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
833
|
+
# the `bindings` must contain at least one member.
|
1037
834
|
# Corresponds to the JSON property `bindings`
|
1038
835
|
# @return [Array<Google::Apis::CloudtasksV2beta2::Binding>]
|
1039
836
|
attr_accessor :bindings
|
1040
837
|
|
1041
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
#
|
1045
|
-
#
|
1046
|
-
#
|
1047
|
-
#
|
1048
|
-
#
|
1049
|
-
#
|
1050
|
-
#
|
1051
|
-
#
|
838
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
839
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
840
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
841
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
842
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
843
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
844
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
845
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
846
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
847
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
848
|
+
# are lost.
|
1052
849
|
# Corresponds to the JSON property `etag`
|
1053
850
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1054
851
|
# @return [String]
|
1055
852
|
attr_accessor :etag
|
1056
853
|
|
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).
|
854
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
855
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
856
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
857
|
+
# applies to the following operations: * Getting a policy that includes a
|
858
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
859
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
860
|
+
# with or without a condition, from a policy that includes conditions **
|
861
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
862
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
863
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
864
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
865
|
+
# any conditions, operations on that policy may specify any valid version or
|
866
|
+
# leave the field unset. To learn which resources support conditions in their
|
867
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
868
|
+
# conditions/resource-policies).
|
1076
869
|
# Corresponds to the JSON property `version`
|
1077
870
|
# @return [Fixnum]
|
1078
871
|
attr_accessor :version
|
@@ -1089,9 +882,8 @@ module Google
|
|
1089
882
|
end
|
1090
883
|
end
|
1091
884
|
|
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
|
885
|
+
# The pull message contains data that can be used by the caller of LeaseTasks to
|
886
|
+
# process the task. This proto can only be used for tasks in a queue which has
|
1095
887
|
# pull_target set.
|
1096
888
|
class PullMessage
|
1097
889
|
include Google::Apis::Core::Hashable
|
@@ -1102,22 +894,16 @@ module Google
|
|
1102
894
|
# @return [String]
|
1103
895
|
attr_accessor :payload
|
1104
896
|
|
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.
|
897
|
+
# The task's tag. Tags allow similar tasks to be processed in a batch. If you
|
898
|
+
# label tasks with a tag, your worker can lease tasks with the same tag using
|
899
|
+
# filter. For example, if you want to aggregate the events associated with a
|
900
|
+
# specific user once a day, you could tag tasks with the user ID. The task's tag
|
901
|
+
# can only be set when the task is created. The tag must be less than 500
|
902
|
+
# characters. SDK compatibility: Although the SDK allows tags to be either
|
903
|
+
# string or [bytes](https://cloud.google.com/appengine/docs/standard/java/
|
904
|
+
# javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), only
|
905
|
+
# UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8 encoded,
|
906
|
+
# the tag will be empty when the task is returned by Cloud Tasks.
|
1121
907
|
# Corresponds to the JSON property `tag`
|
1122
908
|
# @return [String]
|
1123
909
|
attr_accessor :tag
|
@@ -1159,44 +945,34 @@ module Google
|
|
1159
945
|
end
|
1160
946
|
end
|
1161
947
|
|
1162
|
-
# A queue is a container of related tasks. Queues are configured to manage
|
1163
|
-
#
|
1164
|
-
#
|
948
|
+
# A queue is a container of related tasks. Queues are configured to manage how
|
949
|
+
# those tasks are dispatched. Configurable properties include rate limits, retry
|
950
|
+
# options, target types, and others.
|
1165
951
|
class Queue
|
1166
952
|
include Google::Apis::Core::Hashable
|
1167
953
|
|
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:
|
954
|
+
# App Engine HTTP target. The task will be delivered to the App Engine
|
955
|
+
# application hostname specified by its AppEngineHttpTarget and
|
956
|
+
# AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how
|
957
|
+
# the task's host URL is constructed. Using AppEngineHttpTarget requires [`
|
958
|
+
# appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
|
959
|
+
# access-control) Google IAM permission for the project and the following scope:
|
1178
960
|
# `https://www.googleapis.com/auth/cloud-platform`
|
1179
961
|
# Corresponds to the JSON property `appEngineHttpTarget`
|
1180
962
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget]
|
1181
963
|
attr_accessor :app_engine_http_target
|
1182
964
|
|
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.
|
965
|
+
# Caller-specified and required in CreateQueue, after which it becomes output
|
966
|
+
# only. The queue name. The queue name must have the following format: `projects/
|
967
|
+
# PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain
|
968
|
+
# letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.).
|
969
|
+
# For more information, see [Identifying projects](https://cloud.google.com/
|
970
|
+
# resource-manager/docs/creating-managing-projects#identifying_projects) * `
|
971
|
+
# LOCATION_ID` is the canonical ID for the queue's location. The list of
|
972
|
+
# available locations can be obtained by calling ListLocations. For more
|
973
|
+
# information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can
|
974
|
+
# contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum
|
975
|
+
# length is 100 characters.
|
1200
976
|
# Corresponds to the JSON property `name`
|
1201
977
|
# @return [String]
|
1202
978
|
attr_accessor :name
|
@@ -1206,41 +982,33 @@ module Google
|
|
1206
982
|
# @return [Google::Apis::CloudtasksV2beta2::PullTarget]
|
1207
983
|
attr_accessor :pull_target
|
1208
984
|
|
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.
|
985
|
+
# Output only. The last time this queue was purged. All tasks that were created
|
986
|
+
# before this time were purged. A queue can be purged using PurgeQueue, the [App
|
987
|
+
# Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/
|
988
|
+
# appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#
|
989
|
+
# purging_all_tasks_from_a_queue). Purge time will be truncated to the nearest
|
990
|
+
# microsecond. Purge time will be unset if the queue has never been purged.
|
1218
991
|
# Corresponds to the JSON property `purgeTime`
|
1219
992
|
# @return [String]
|
1220
993
|
attr_accessor :purge_time
|
1221
994
|
|
1222
|
-
# Rate limits.
|
1223
|
-
#
|
1224
|
-
#
|
1225
|
-
#
|
1226
|
-
# even if the queue has reached its RateLimits.
|
995
|
+
# Rate limits. This message determines the maximum rate that tasks can be
|
996
|
+
# dispatched by a queue, regardless of whether the dispatch is a first task
|
997
|
+
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
998
|
+
# if the queue has reached its RateLimits.
|
1227
999
|
# Corresponds to the JSON property `rateLimits`
|
1228
1000
|
# @return [Google::Apis::CloudtasksV2beta2::RateLimits]
|
1229
1001
|
attr_accessor :rate_limits
|
1230
1002
|
|
1231
|
-
# Retry config.
|
1232
|
-
# These settings determine how a failed task attempt is retried.
|
1003
|
+
# Retry config. These settings determine how a failed task attempt is retried.
|
1233
1004
|
# Corresponds to the JSON property `retryConfig`
|
1234
1005
|
# @return [Google::Apis::CloudtasksV2beta2::RetryConfig]
|
1235
1006
|
attr_accessor :retry_config
|
1236
1007
|
|
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`.
|
1008
|
+
# Output only. The state of the queue. `state` can only be changed by called
|
1009
|
+
# PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.
|
1010
|
+
# com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to
|
1011
|
+
# change `state`.
|
1244
1012
|
# Corresponds to the JSON property `state`
|
1245
1013
|
# @return [String]
|
1246
1014
|
attr_accessor :state
|
@@ -1261,77 +1029,56 @@ module Google
|
|
1261
1029
|
end
|
1262
1030
|
end
|
1263
1031
|
|
1264
|
-
# Rate limits.
|
1265
|
-
#
|
1266
|
-
#
|
1267
|
-
#
|
1268
|
-
# even if the queue has reached its RateLimits.
|
1032
|
+
# Rate limits. This message determines the maximum rate that tasks can be
|
1033
|
+
# dispatched by a queue, regardless of whether the dispatch is a first task
|
1034
|
+
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
1035
|
+
# if the queue has reached its RateLimits.
|
1269
1036
|
class RateLimits
|
1270
1037
|
include Google::Apis::Core::Hashable
|
1271
1038
|
|
1272
|
-
# Output only. The max burst size.
|
1273
|
-
#
|
1274
|
-
#
|
1275
|
-
#
|
1276
|
-
#
|
1277
|
-
#
|
1278
|
-
#
|
1279
|
-
#
|
1280
|
-
#
|
1281
|
-
#
|
1282
|
-
#
|
1283
|
-
#
|
1284
|
-
#
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
#
|
1289
|
-
#
|
1290
|
-
#
|
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.
|
1039
|
+
# Output only. The max burst size. Max burst size limits how fast tasks in queue
|
1040
|
+
# are processed when many tasks are in the queue and the rate is high. This
|
1041
|
+
# field allows the queue to have a high rate so processing starts shortly after
|
1042
|
+
# a task is enqueued, but still limits resource usage when many tasks are
|
1043
|
+
# enqueued in a short period of time. The [token bucket](https://wikipedia.org/
|
1044
|
+
# wiki/Token_Bucket) algorithm is used to control the rate of task dispatches.
|
1045
|
+
# Each queue has a token bucket that holds tokens, up to the maximum specified
|
1046
|
+
# by `max_burst_size`. Each time a task is dispatched, a token is removed from
|
1047
|
+
# the bucket. Tasks will be dispatched until the queue's bucket runs out of
|
1048
|
+
# tokens. The bucket will be continuously refilled with new tokens based on
|
1049
|
+
# max_tasks_dispatched_per_second. Cloud Tasks will pick the value of `
|
1050
|
+
# max_burst_size` based on the value of max_tasks_dispatched_per_second. For App
|
1051
|
+
# Engine queues that were created or updated using `queue.yaml/xml`, `
|
1052
|
+
# max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/
|
1053
|
+
# docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is
|
1054
|
+
# output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `
|
1055
|
+
# max_burst_size` will be reset based on the value of
|
1056
|
+
# max_tasks_dispatched_per_second, regardless of whether
|
1057
|
+
# max_tasks_dispatched_per_second is updated.
|
1301
1058
|
# Corresponds to the JSON property `maxBurstSize`
|
1302
1059
|
# @return [Fixnum]
|
1303
1060
|
attr_accessor :max_burst_size
|
1304
1061
|
|
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).
|
1062
|
+
# The maximum number of concurrent tasks that Cloud Tasks allows to be
|
1063
|
+
# dispatched for this queue. After this threshold has been reached, Cloud Tasks
|
1064
|
+
# stops dispatching tasks until the number of concurrent requests decreases. If
|
1065
|
+
# unspecified when the queue is created, Cloud Tasks will pick the default. The
|
1066
|
+
# maximum allowed value is 5,000. This field is output only for pull queues and
|
1067
|
+
# always -1, which indicates no limit. No other queue types can have `
|
1068
|
+
# max_concurrent_tasks` set to -1. This field has the same meaning as [
|
1069
|
+
# max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/
|
1070
|
+
# docs/standard/python/config/queueref#max_concurrent_requests).
|
1319
1071
|
# Corresponds to the JSON property `maxConcurrentTasks`
|
1320
1072
|
# @return [Fixnum]
|
1321
1073
|
attr_accessor :max_concurrent_tasks
|
1322
1074
|
|
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).
|
1075
|
+
# The maximum rate at which tasks are dispatched from this queue. If unspecified
|
1076
|
+
# when the queue is created, Cloud Tasks will pick the default. * For App Engine
|
1077
|
+
# queues, the maximum allowed value is 500. * This field is output only for pull
|
1078
|
+
# queues. In addition to the `max_tasks_dispatched_per_second` limit, a maximum
|
1079
|
+
# of 10 QPS of LeaseTasks requests are allowed per pull queue. This field has
|
1080
|
+
# the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/
|
1081
|
+
# appengine/docs/standard/python/config/queueref#rate).
|
1335
1082
|
# Corresponds to the JSON property `maxTasksDispatchedPerSecond`
|
1336
1083
|
# @return [Float]
|
1337
1084
|
attr_accessor :max_tasks_dispatched_per_second
|
@@ -1348,37 +1095,29 @@ module Google
|
|
1348
1095
|
end
|
1349
1096
|
end
|
1350
1097
|
|
1351
|
-
# Request message for renewing a lease using
|
1352
|
-
# RenewLease.
|
1098
|
+
# Request message for renewing a lease using RenewLease.
|
1353
1099
|
class RenewLeaseRequest
|
1354
1100
|
include Google::Apis::Core::Hashable
|
1355
1101
|
|
1356
|
-
# Required. The desired new lease duration, starting from now.
|
1357
|
-
#
|
1358
|
-
# `lease_duration` will be truncated to the nearest second.
|
1102
|
+
# Required. The desired new lease duration, starting from now. The maximum lease
|
1103
|
+
# duration is 1 week. `lease_duration` will be truncated to the nearest second.
|
1359
1104
|
# Corresponds to the JSON property `leaseDuration`
|
1360
1105
|
# @return [String]
|
1361
1106
|
attr_accessor :lease_duration
|
1362
1107
|
|
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.
|
1108
|
+
# The response_view specifies which subset of the Task will be returned. By
|
1109
|
+
# default response_view is BASIC; not all information is retrieved by default
|
1110
|
+
# because some data, such as payloads, might be desirable to return only when
|
1111
|
+
# needed because of its large size or because of the sensitivity of data that it
|
1112
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
1113
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
1373
1114
|
# Corresponds to the JSON property `responseView`
|
1374
1115
|
# @return [String]
|
1375
1116
|
attr_accessor :response_view
|
1376
1117
|
|
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.
|
1118
|
+
# Required. The task's current schedule time, available in the schedule_time
|
1119
|
+
# returned by LeaseTasks response or RenewLease response. This restriction is to
|
1120
|
+
# ensure that your worker currently holds the lease.
|
1382
1121
|
# Corresponds to the JSON property `scheduleTime`
|
1383
1122
|
# @return [String]
|
1384
1123
|
attr_accessor :schedule_time
|
@@ -1408,95 +1147,66 @@ module Google
|
|
1408
1147
|
end
|
1409
1148
|
end
|
1410
1149
|
|
1411
|
-
# Retry config.
|
1412
|
-
# These settings determine how a failed task attempt is retried.
|
1150
|
+
# Retry config. These settings determine how a failed task attempt is retried.
|
1413
1151
|
class RetryConfig
|
1414
1152
|
include Google::Apis::Core::Hashable
|
1415
1153
|
|
1416
|
-
# The maximum number of attempts for a task.
|
1417
|
-
#
|
1418
|
-
#
|
1419
|
-
# `max_attempts - 1` retries). Must be > 0.
|
1154
|
+
# The maximum number of attempts for a task. Cloud Tasks will attempt the task `
|
1155
|
+
# max_attempts` times (that is, if the first attempt fails, then there will be `
|
1156
|
+
# max_attempts - 1` retries). Must be > 0.
|
1420
1157
|
# Corresponds to the JSON property `maxAttempts`
|
1421
1158
|
# @return [Fixnum]
|
1422
1159
|
attr_accessor :max_attempts
|
1423
1160
|
|
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).
|
1161
|
+
# A task will be scheduled for retry between min_backoff and max_backoff
|
1162
|
+
# duration after it fails, if the queue's RetryConfig specifies that the task
|
1163
|
+
# should be retried. If unspecified when the queue is created, Cloud Tasks will
|
1164
|
+
# pick the default. This field is output only for pull queues. `max_backoff`
|
1165
|
+
# will be truncated to the nearest second. This field has the same meaning as [
|
1166
|
+
# max_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
1167
|
+
# standard/python/config/queueref#retry_parameters).
|
1437
1168
|
# Corresponds to the JSON property `maxBackoff`
|
1438
1169
|
# @return [String]
|
1439
1170
|
attr_accessor :max_backoff
|
1440
1171
|
|
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).
|
1172
|
+
# The time between retries will double `max_doublings` times. A task's retry
|
1173
|
+
# interval starts at min_backoff, then doubles `max_doublings` times, then
|
1174
|
+
# increases linearly, and finally retries at intervals of max_backoff up to
|
1175
|
+
# max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s,
|
1176
|
+
# and `max_doublings` is 3, then the a task will first be retried in 10s. The
|
1177
|
+
# retry interval will double three times, and then increase linearly by 2^3 *
|
1178
|
+
# 10s. Finally, the task will retry at intervals of max_backoff until the task
|
1179
|
+
# has been attempted max_attempts times. Thus, the requests will retry at 10s,
|
1180
|
+
# 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is
|
1181
|
+
# created, Cloud Tasks will pick the default. This field is output only for pull
|
1182
|
+
# queues. This field has the same meaning as [max_doublings in queue.yaml/xml](
|
1183
|
+
# https://cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1184
|
+
# retry_parameters).
|
1464
1185
|
# Corresponds to the JSON property `maxDoublings`
|
1465
1186
|
# @return [Fixnum]
|
1466
1187
|
attr_accessor :max_doublings
|
1467
1188
|
|
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).
|
1189
|
+
# If positive, `max_retry_duration` specifies the time limit for retrying a
|
1190
|
+
# failed task, measured from when the task was first attempted. Once `
|
1191
|
+
# max_retry_duration` time has passed *and* the task has been attempted
|
1192
|
+
# max_attempts times, no further attempts will be made and the task will be
|
1193
|
+
# deleted. If zero, then the task age is unlimited. If unspecified when the
|
1194
|
+
# queue is created, Cloud Tasks will pick the default. This field is output only
|
1195
|
+
# for pull queues. `max_retry_duration` will be truncated to the nearest second.
|
1196
|
+
# This field has the same meaning as [task_age_limit in queue.yaml/xml](https://
|
1197
|
+
# cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1198
|
+
# retry_parameters).
|
1483
1199
|
# Corresponds to the JSON property `maxRetryDuration`
|
1484
1200
|
# @return [String]
|
1485
1201
|
attr_accessor :max_retry_duration
|
1486
1202
|
|
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).
|
1203
|
+
# A task will be scheduled for retry between min_backoff and max_backoff
|
1204
|
+
# duration after it fails, if the queue's RetryConfig specifies that the task
|
1205
|
+
# should be retried. If unspecified when the queue is created, Cloud Tasks will
|
1206
|
+
# pick the default. This field is output only for pull queues. `min_backoff`
|
1207
|
+
# will be truncated to the nearest second. This field has the same meaning as [
|
1208
|
+
# min_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
1209
|
+
# standard/python/config/queueref#retry_parameters).
|
1500
1210
|
# Corresponds to the JSON property `minBackoff`
|
1501
1211
|
# @return [String]
|
1502
1212
|
attr_accessor :min_backoff
|
@@ -1522,21 +1232,16 @@ module Google
|
|
1522
1232
|
end
|
1523
1233
|
end
|
1524
1234
|
|
1525
|
-
# Request message for forcing a task to run now using
|
1526
|
-
# RunTask.
|
1235
|
+
# Request message for forcing a task to run now using RunTask.
|
1527
1236
|
class RunTaskRequest
|
1528
1237
|
include Google::Apis::Core::Hashable
|
1529
1238
|
|
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.
|
1239
|
+
# The response_view specifies which subset of the Task will be returned. By
|
1240
|
+
# default response_view is BASIC; not all information is retrieved by default
|
1241
|
+
# because some data, such as payloads, might be desirable to return only when
|
1242
|
+
# needed because of its large size or because of the sensitivity of data that it
|
1243
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
1244
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
1540
1245
|
# Corresponds to the JSON property `responseView`
|
1541
1246
|
# @return [String]
|
1542
1247
|
attr_accessor :response_view
|
@@ -1556,66 +1261,32 @@ module Google
|
|
1556
1261
|
include Google::Apis::Core::Hashable
|
1557
1262
|
|
1558
1263
|
# 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/).
|
1264
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1265
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1266
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1267
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1268
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1269
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1270
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1271
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1272
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1273
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1274
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1275
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1276
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1277
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1278
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1279
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1280
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1281
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1282
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1283
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1284
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1285
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1286
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1287
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1288
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1289
|
+
# google.com/iam/docs/).
|
1619
1290
|
# Corresponds to the JSON property `policy`
|
1620
1291
|
# @return [Google::Apis::CloudtasksV2beta2::Policy]
|
1621
1292
|
attr_accessor :policy
|
@@ -1630,12 +1301,12 @@ module Google
|
|
1630
1301
|
end
|
1631
1302
|
end
|
1632
1303
|
|
1633
|
-
# The `Status` type defines a logical error model that is suitable for
|
1634
|
-
#
|
1635
|
-
#
|
1636
|
-
#
|
1637
|
-
#
|
1638
|
-
#
|
1304
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1305
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1306
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1307
|
+
# data: error code, error message, and error details. You can find out more
|
1308
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1309
|
+
# //cloud.google.com/apis/design/errors).
|
1639
1310
|
class Status
|
1640
1311
|
include Google::Apis::Core::Hashable
|
1641
1312
|
|
@@ -1644,15 +1315,15 @@ module Google
|
|
1644
1315
|
# @return [Fixnum]
|
1645
1316
|
attr_accessor :code
|
1646
1317
|
|
1647
|
-
# A list of messages that carry the error details.
|
1318
|
+
# A list of messages that carry the error details. There is a common set of
|
1648
1319
|
# message types for APIs to use.
|
1649
1320
|
# Corresponds to the JSON property `details`
|
1650
1321
|
# @return [Array<Hash<String,Object>>]
|
1651
1322
|
attr_accessor :details
|
1652
1323
|
|
1653
|
-
# A developer-facing error message, which should be in English. Any
|
1654
|
-
#
|
1655
|
-
#
|
1324
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1325
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1326
|
+
# field, or localized by the client.
|
1656
1327
|
# Corresponds to the JSON property `message`
|
1657
1328
|
# @return [String]
|
1658
1329
|
attr_accessor :message
|
@@ -1673,108 +1344,79 @@ module Google
|
|
1673
1344
|
class Task
|
1674
1345
|
include Google::Apis::Core::Hashable
|
1675
1346
|
|
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
|
1347
|
+
# App Engine HTTP request. The message defines the HTTP request that is sent to
|
1348
|
+
# an App Engine app when the task is dispatched. This proto can only be used for
|
1349
|
+
# tasks in a queue which has app_engine_http_target set. Using
|
1350
|
+
# AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.
|
1351
|
+
# google.com/appengine/docs/admin-api/access-control) Google IAM permission for
|
1352
|
+
# the project and the following scope: `https://www.googleapis.com/auth/cloud-
|
1353
|
+
# platform` The task will be delivered to the App Engine app which belongs to
|
1354
|
+
# the same project as the queue. For more information, see [How Requests are
|
1690
1355
|
# 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:
|
1356
|
+
# are-routed) and how routing is affected by [dispatch files](https://cloud.
|
1357
|
+
# google.com/appengine/docs/python/config/dispatchref). Traffic is encrypted
|
1358
|
+
# during transport and never leaves Google datacenters. Because this traffic is
|
1359
|
+
# carried over a communication mechanism internal to Google, you cannot
|
1360
|
+
# explicitly set the protocol (for example, HTTP or HTTPS). The request to the
|
1361
|
+
# handler, however, will appear to have used the HTTP protocol. The
|
1362
|
+
# AppEngineRouting used to construct the URL that the task is delivered to can
|
1363
|
+
# be set at the queue-level or task-level: * If set, app_engine_routing_override
|
1364
|
+
# is used for all tasks in the queue, no matter what the setting is for the task-
|
1365
|
+
# level app_engine_routing. The `url` that the task will be sent to is: * `url =`
|
1366
|
+
# host `+` relative_url Tasks can be dispatched to secure app handlers,
|
1367
|
+
# unsecure app handlers, and URIs restricted with [`login: admin`](https://cloud.
|
1368
|
+
# google.com/appengine/docs/standard/python/config/appref). Because tasks are
|
1369
|
+
# not run as any user, they cannot be dispatched to URIs restricted with [`login:
|
1717
1370
|
# 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.
|
1371
|
+
# appref) Task dispatches also do not follow redirects. The task attempt has
|
1372
|
+
# succeeded if the app's request handler returns an HTTP response code in the
|
1373
|
+
# range [`200` - `299`]. The task attempt has failed if the app's handler
|
1374
|
+
# returns a non-2xx response code or Cloud Tasks does not receive response
|
1375
|
+
# before the deadline. Failed tasks will be retried according to the retry
|
1376
|
+
# configuration. `503` (Service Unavailable) is considered an App Engine system
|
1377
|
+
# error instead of an application error and will cause Cloud Tasks' traffic
|
1378
|
+
# congestion control to temporarily throttle the queue's dispatches. Unlike
|
1379
|
+
# other types of task targets, a `429` (Too Many Requests) response from an app
|
1380
|
+
# handler does not cause traffic congestion control to throttle the queue.
|
1731
1381
|
# Corresponds to the JSON property `appEngineHttpRequest`
|
1732
1382
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest]
|
1733
1383
|
attr_accessor :app_engine_http_request
|
1734
1384
|
|
1735
|
-
# Output only. The time that the task was created.
|
1736
|
-
#
|
1385
|
+
# Output only. The time that the task was created. `create_time` will be
|
1386
|
+
# truncated to the nearest second.
|
1737
1387
|
# Corresponds to the JSON property `createTime`
|
1738
1388
|
# @return [String]
|
1739
1389
|
attr_accessor :create_time
|
1740
1390
|
|
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.
|
1391
|
+
# Optionally caller-specified in CreateTask. The task name. The task name must
|
1392
|
+
# have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/
|
1393
|
+
# QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers
|
1394
|
+
# ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [
|
1395
|
+
# Identifying projects](https://cloud.google.com/resource-manager/docs/creating-
|
1396
|
+
# managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID
|
1397
|
+
# for the task's location. The list of available locations can be obtained by
|
1398
|
+
# calling ListLocations. For more information, see https://cloud.google.com/
|
1399
|
+
# about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
1400
|
+
# or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain
|
1401
|
+
# only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The
|
1402
|
+
# maximum length is 500 characters.
|
1759
1403
|
# Corresponds to the JSON property `name`
|
1760
1404
|
# @return [String]
|
1761
1405
|
attr_accessor :name
|
1762
1406
|
|
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
|
1407
|
+
# The pull message contains data that can be used by the caller of LeaseTasks to
|
1408
|
+
# process the task. This proto can only be used for tasks in a queue which has
|
1766
1409
|
# pull_target set.
|
1767
1410
|
# Corresponds to the JSON property `pullMessage`
|
1768
1411
|
# @return [Google::Apis::CloudtasksV2beta2::PullMessage]
|
1769
1412
|
attr_accessor :pull_message
|
1770
1413
|
|
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.
|
1414
|
+
# The time when the task is scheduled to be attempted. For App Engine queues,
|
1415
|
+
# this is when the task will be attempted or retried. For pull queues, this is
|
1416
|
+
# the time when the task is available to be leased; if a task is currently
|
1417
|
+
# leased, this is the time when the current lease expires, that is, the time
|
1418
|
+
# that the task was leased plus the lease_duration. `schedule_time` will be
|
1419
|
+
# truncated to the nearest microsecond.
|
1778
1420
|
# Corresponds to the JSON property `scheduleTime`
|
1779
1421
|
# @return [String]
|
1780
1422
|
attr_accessor :schedule_time
|
@@ -1784,8 +1426,7 @@ module Google
|
|
1784
1426
|
# @return [Google::Apis::CloudtasksV2beta2::TaskStatus]
|
1785
1427
|
attr_accessor :status
|
1786
1428
|
|
1787
|
-
# Output only. The view specifies which subset of the Task has
|
1788
|
-
# been returned.
|
1429
|
+
# Output only. The view specifies which subset of the Task has been returned.
|
1789
1430
|
# Corresponds to the JSON property `view`
|
1790
1431
|
# @return [String]
|
1791
1432
|
attr_accessor :view
|
@@ -1810,15 +1451,14 @@ module Google
|
|
1810
1451
|
class TaskStatus
|
1811
1452
|
include Google::Apis::Core::Hashable
|
1812
1453
|
|
1813
|
-
# Output only. The number of attempts dispatched.
|
1814
|
-
#
|
1815
|
-
# received a response.
|
1454
|
+
# Output only. The number of attempts dispatched. This count includes attempts
|
1455
|
+
# which have been dispatched but haven't received a response.
|
1816
1456
|
# Corresponds to the JSON property `attemptDispatchCount`
|
1817
1457
|
# @return [Fixnum]
|
1818
1458
|
attr_accessor :attempt_dispatch_count
|
1819
1459
|
|
1820
|
-
# Output only. The number of attempts which have received a response.
|
1821
|
-
#
|
1460
|
+
# Output only. The number of attempts which have received a response. This field
|
1461
|
+
# is not calculated for pull tasks.
|
1822
1462
|
# Corresponds to the JSON property `attemptResponseCount`
|
1823
1463
|
# @return [Fixnum]
|
1824
1464
|
attr_accessor :attempt_response_count
|
@@ -1850,10 +1490,9 @@ module Google
|
|
1850
1490
|
class TestIamPermissionsRequest
|
1851
1491
|
include Google::Apis::Core::Hashable
|
1852
1492
|
|
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).
|
1493
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1494
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
1495
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1857
1496
|
# Corresponds to the JSON property `permissions`
|
1858
1497
|
# @return [Array<String>]
|
1859
1498
|
attr_accessor :permissions
|
@@ -1872,8 +1511,7 @@ module Google
|
|
1872
1511
|
class TestIamPermissionsResponse
|
1873
1512
|
include Google::Apis::Core::Hashable
|
1874
1513
|
|
1875
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
1876
|
-
# allowed.
|
1514
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
1877
1515
|
# Corresponds to the JSON property `permissions`
|
1878
1516
|
# @return [Array<String>]
|
1879
1517
|
attr_accessor :permissions
|