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
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/shell/docs/
|
27
27
|
module CloudshellV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200803'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudshellV1alpha1
|
24
24
|
|
25
|
-
# Request message for
|
26
|
-
# AuthorizeEnvironment.
|
25
|
+
# Request message for AuthorizeEnvironment.
|
27
26
|
class AuthorizeEnvironmentRequest
|
28
27
|
include Google::Apis::Core::Hashable
|
29
28
|
|
@@ -55,8 +54,7 @@ module Google
|
|
55
54
|
end
|
56
55
|
end
|
57
56
|
|
58
|
-
# Request message for
|
59
|
-
# CreatePublicKey.
|
57
|
+
# Request message for CreatePublicKey.
|
60
58
|
class CreatePublicKeyRequest
|
61
59
|
include Google::Apis::Core::Hashable
|
62
60
|
|
@@ -75,13 +73,11 @@ module Google
|
|
75
73
|
end
|
76
74
|
end
|
77
75
|
|
78
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
# `
|
84
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
76
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
77
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
78
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
79
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
80
|
+
# `Empty` is empty JSON object ````.
|
85
81
|
class Empty
|
86
82
|
include Google::Apis::Core::Hashable
|
87
83
|
|
@@ -101,8 +97,8 @@ module Google
|
|
101
97
|
class Environment
|
102
98
|
include Google::Apis::Core::Hashable
|
103
99
|
|
104
|
-
# Required. Full path to the Docker image used to run this environment, e.g.
|
105
|
-
#
|
100
|
+
# Required. Full path to the Docker image used to run this environment, e.g. "
|
101
|
+
# gcr.io/dev-con/cloud-devshell:latest".
|
106
102
|
# Corresponds to the JSON property `dockerImage`
|
107
103
|
# @return [String]
|
108
104
|
attr_accessor :docker_image
|
@@ -113,39 +109,38 @@ module Google
|
|
113
109
|
# @return [String]
|
114
110
|
attr_accessor :id
|
115
111
|
|
116
|
-
# Output only. Full name of this resource, in the format
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
112
|
+
# Output only. Full name of this resource, in the format `users/`owner_email`/
|
113
|
+
# environments/`environment_id``. ``owner_email`` is the email address of the
|
114
|
+
# user to whom this environment belongs, and ``environment_id`` is the
|
115
|
+
# identifier of this environment. For example, `users/someone@example.com/
|
116
|
+
# environments/default`.
|
121
117
|
# Corresponds to the JSON property `name`
|
122
118
|
# @return [String]
|
123
119
|
attr_accessor :name
|
124
120
|
|
125
|
-
# Output only. Public keys associated with the environment. Clients can
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
# methods.
|
121
|
+
# Output only. Public keys associated with the environment. Clients can connect
|
122
|
+
# to this environment via SSH only if they possess a private key corresponding
|
123
|
+
# to at least one of these public keys. Keys can be added to or removed from the
|
124
|
+
# environment using the CreatePublicKey and DeletePublicKey methods.
|
130
125
|
# Corresponds to the JSON property `publicKeys`
|
131
126
|
# @return [Array<Google::Apis::CloudshellV1alpha1::PublicKey>]
|
132
127
|
attr_accessor :public_keys
|
133
128
|
|
134
|
-
# Indicates the size of the backing VM running the environment.
|
135
|
-
# something other than DEFAULT, it will be reverted to the default VM size
|
136
|
-
#
|
129
|
+
# Indicates the size of the backing VM running the environment. If set to
|
130
|
+
# something other than DEFAULT, it will be reverted to the default VM size after
|
131
|
+
# vm_size_expire_time.
|
137
132
|
# Corresponds to the JSON property `size`
|
138
133
|
# @return [String]
|
139
134
|
attr_accessor :size
|
140
135
|
|
141
|
-
# Output only. Host to which clients can connect to initiate SSH sessions
|
142
|
-
#
|
136
|
+
# Output only. Host to which clients can connect to initiate SSH sessions with
|
137
|
+
# the environment.
|
143
138
|
# Corresponds to the JSON property `sshHost`
|
144
139
|
# @return [String]
|
145
140
|
attr_accessor :ssh_host
|
146
141
|
|
147
|
-
# Output only. Port to which clients can connect to initiate SSH sessions
|
148
|
-
#
|
142
|
+
# Output only. Port to which clients can connect to initiate SSH sessions with
|
143
|
+
# the environment.
|
149
144
|
# Corresponds to the JSON property `sshPort`
|
150
145
|
# @return [Fixnum]
|
151
146
|
attr_accessor :ssh_port
|
@@ -161,8 +156,8 @@ module Google
|
|
161
156
|
# @return [String]
|
162
157
|
attr_accessor :state
|
163
158
|
|
164
|
-
# Output only. The time when the Environment will expire back to the default
|
165
|
-
#
|
159
|
+
# Output only. The time when the Environment will expire back to the default VM
|
160
|
+
# size.
|
166
161
|
# Corresponds to the JSON property `vmSizeExpireTime`
|
167
162
|
# @return [String]
|
168
163
|
attr_accessor :vm_size_expire_time
|
@@ -205,47 +200,45 @@ module Google
|
|
205
200
|
class Operation
|
206
201
|
include Google::Apis::Core::Hashable
|
207
202
|
|
208
|
-
# If the value is `false`, it means the operation is still in progress.
|
209
|
-
#
|
210
|
-
# available.
|
203
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
204
|
+
# , the operation is completed, and either `error` or `response` is available.
|
211
205
|
# Corresponds to the JSON property `done`
|
212
206
|
# @return [Boolean]
|
213
207
|
attr_accessor :done
|
214
208
|
alias_method :done?, :done
|
215
209
|
|
216
|
-
# The `Status` type defines a logical error model that is suitable for
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
#
|
210
|
+
# The `Status` type defines a logical error model that is suitable for different
|
211
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
212
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
213
|
+
# data: error code, error message, and error details. You can find out more
|
214
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
215
|
+
# //cloud.google.com/apis/design/errors).
|
222
216
|
# Corresponds to the JSON property `error`
|
223
217
|
# @return [Google::Apis::CloudshellV1alpha1::Status]
|
224
218
|
attr_accessor :error
|
225
219
|
|
226
|
-
# Service-specific metadata associated with the operation.
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
220
|
+
# Service-specific metadata associated with the operation. It typically contains
|
221
|
+
# progress information and common metadata such as create time. Some services
|
222
|
+
# might not provide such metadata. Any method that returns a long-running
|
223
|
+
# operation should document the metadata type, if any.
|
230
224
|
# Corresponds to the JSON property `metadata`
|
231
225
|
# @return [Hash<String,Object>]
|
232
226
|
attr_accessor :metadata
|
233
227
|
|
234
228
|
# The server-assigned name, which is only unique within the same service that
|
235
|
-
# originally returns it. If you use the default HTTP mapping, the
|
236
|
-
#
|
229
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
230
|
+
# be a resource name ending with `operations/`unique_id``.
|
237
231
|
# Corresponds to the JSON property `name`
|
238
232
|
# @return [String]
|
239
233
|
attr_accessor :name
|
240
234
|
|
241
|
-
# The normal response of the operation in case of success.
|
242
|
-
# method returns no data on success, such as `Delete`, the response is
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
# `TakeSnapshotResponse`.
|
235
|
+
# The normal response of the operation in case of success. If the original
|
236
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
237
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
238
|
+
# the response should be the resource. For other methods, the response should
|
239
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
240
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
241
|
+
# response type is `TakeSnapshotResponse`.
|
249
242
|
# Corresponds to the JSON property `response`
|
250
243
|
# @return [Hash<String,Object>]
|
251
244
|
attr_accessor :response
|
@@ -279,12 +272,12 @@ module Google
|
|
279
272
|
# @return [String]
|
280
273
|
attr_accessor :key
|
281
274
|
|
282
|
-
# Output only. Full name of this resource, in the format
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
275
|
+
# Output only. Full name of this resource, in the format `users/`owner_email`/
|
276
|
+
# environments/`environment_id`/publicKeys/`key_id``. ``owner_email`` is the
|
277
|
+
# email address of the user to whom the key belongs. ``environment_id`` is the
|
278
|
+
# identifier of the environment to which the key grants access. ``key_id`` is
|
279
|
+
# the unique identifier of the key. For example, `users/someone@example.com/
|
280
|
+
# environments/default/publicKeys/myKey`.
|
288
281
|
# Corresponds to the JSON property `name`
|
289
282
|
# @return [String]
|
290
283
|
attr_accessor :name
|
@@ -321,15 +314,14 @@ module Google
|
|
321
314
|
end
|
322
315
|
end
|
323
316
|
|
324
|
-
# Request message for
|
325
|
-
# StartEnvironment.
|
317
|
+
# Request message for StartEnvironment.
|
326
318
|
class StartEnvironmentRequest
|
327
319
|
include Google::Apis::Core::Hashable
|
328
320
|
|
329
321
|
# The initial access token passed to the environment. If this is present and
|
330
|
-
# valid, the environment will be pre-authenticated with gcloud so that the
|
331
|
-
#
|
332
|
-
#
|
322
|
+
# valid, the environment will be pre-authenticated with gcloud so that the user
|
323
|
+
# can run gcloud commands in Cloud Shell without having to log in. This code can
|
324
|
+
# be updated later by calling AuthorizeEnvironment.
|
333
325
|
# Corresponds to the JSON property `accessToken`
|
334
326
|
# @return [String]
|
335
327
|
attr_accessor :access_token
|
@@ -351,8 +343,7 @@ module Google
|
|
351
343
|
end
|
352
344
|
|
353
345
|
# Message included in the response field of operations returned from
|
354
|
-
# StartEnvironment
|
355
|
-
# once the operation is complete.
|
346
|
+
# StartEnvironment once the operation is complete.
|
356
347
|
class StartEnvironmentResponse
|
357
348
|
include Google::Apis::Core::Hashable
|
358
349
|
|
@@ -374,12 +365,12 @@ module Google
|
|
374
365
|
end
|
375
366
|
end
|
376
367
|
|
377
|
-
# The `Status` type defines a logical error model that is suitable for
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
368
|
+
# The `Status` type defines a logical error model that is suitable for different
|
369
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
370
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
371
|
+
# data: error code, error message, and error details. You can find out more
|
372
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
373
|
+
# //cloud.google.com/apis/design/errors).
|
383
374
|
class Status
|
384
375
|
include Google::Apis::Core::Hashable
|
385
376
|
|
@@ -388,15 +379,15 @@ module Google
|
|
388
379
|
# @return [Fixnum]
|
389
380
|
attr_accessor :code
|
390
381
|
|
391
|
-
# A list of messages that carry the error details.
|
382
|
+
# A list of messages that carry the error details. There is a common set of
|
392
383
|
# message types for APIs to use.
|
393
384
|
# Corresponds to the JSON property `details`
|
394
385
|
# @return [Array<Hash<String,Object>>]
|
395
386
|
attr_accessor :details
|
396
387
|
|
397
|
-
# A developer-facing error message, which should be in English. Any
|
398
|
-
#
|
399
|
-
#
|
388
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
389
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
390
|
+
# field, or localized by the client.
|
400
391
|
# Corresponds to the JSON property `message`
|
401
392
|
# @return [String]
|
402
393
|
attr_accessor :message
|
@@ -49,13 +49,11 @@ module Google
|
|
49
49
|
end
|
50
50
|
|
51
51
|
# Sends OAuth credentials to a running environment on behalf of a user. When
|
52
|
-
# this completes, the environment will be authorized to run various Google
|
53
|
-
#
|
54
|
-
# authenticate.
|
52
|
+
# this completes, the environment will be authorized to run various Google Cloud
|
53
|
+
# command line tools without requiring the user to manually authenticate.
|
55
54
|
# @param [String] name
|
56
|
-
# Name of the resource that should receive the credentials, for example
|
57
|
-
#
|
58
|
-
# `users/someone@example.com/environments/default`.
|
55
|
+
# Name of the resource that should receive the credentials, for example `users/
|
56
|
+
# me/environments/default` or `users/someone@example.com/environments/default`.
|
59
57
|
# @param [Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest] authorize_environment_request_object
|
60
58
|
# @param [String] fields
|
61
59
|
# Selector specifying which fields to include in a partial response.
|
@@ -88,8 +86,8 @@ module Google
|
|
88
86
|
|
89
87
|
# Gets an environment. Returns NOT_FOUND if the environment does not exist.
|
90
88
|
# @param [String] name
|
91
|
-
# Name of the requested resource, for example `users/me/environments/default`
|
92
|
-
#
|
89
|
+
# Name of the requested resource, for example `users/me/environments/default` or
|
90
|
+
# `users/someone@example.com/environments/default`.
|
93
91
|
# @param [String] fields
|
94
92
|
# Selector specifying which fields to include in a partial response.
|
95
93
|
# @param [String] quota_user
|
@@ -119,9 +117,8 @@ module Google
|
|
119
117
|
|
120
118
|
# Updates an existing environment.
|
121
119
|
# @param [String] name
|
122
|
-
# Name of the resource to be updated, for example
|
123
|
-
# `users/
|
124
|
-
# `users/someone@example.com/environments/default`.
|
120
|
+
# Name of the resource to be updated, for example `users/me/environments/default`
|
121
|
+
# or `users/someone@example.com/environments/default`.
|
125
122
|
# @param [Google::Apis::CloudshellV1alpha1::Environment] environment_object
|
126
123
|
# @param [String] update_mask
|
127
124
|
# Mask specifying which fields in the environment should be updated.
|
@@ -156,15 +153,14 @@ module Google
|
|
156
153
|
end
|
157
154
|
|
158
155
|
# Starts an existing environment, allowing clients to connect to it. The
|
159
|
-
# returned operation will contain an instance of StartEnvironmentMetadata in
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
156
|
+
# returned operation will contain an instance of StartEnvironmentMetadata in its
|
157
|
+
# metadata field. Users can wait for the environment to start by polling this
|
158
|
+
# operation via GetOperation. Once the environment has finished starting and is
|
159
|
+
# ready to accept connections, the operation will contain a
|
163
160
|
# StartEnvironmentResponse in its response field.
|
164
161
|
# @param [String] name
|
165
|
-
# Name of the resource that should be started, for example
|
166
|
-
# `users/
|
167
|
-
# `users/someone@example.com/environments/default`.
|
162
|
+
# Name of the resource that should be started, for example `users/me/
|
163
|
+
# environments/default` or `users/someone@example.com/environments/default`.
|
168
164
|
# @param [Google::Apis::CloudshellV1alpha1::StartEnvironmentRequest] start_environment_request_object
|
169
165
|
# @param [String] fields
|
170
166
|
# Selector specifying which fields to include in a partial response.
|
@@ -197,8 +193,8 @@ module Google
|
|
197
193
|
|
198
194
|
# Adds a public SSH key to an environment, allowing clients with the
|
199
195
|
# corresponding private key to connect to that environment via SSH. If a key
|
200
|
-
# with the same format and content already exists, this will return the
|
201
|
-
#
|
196
|
+
# with the same format and content already exists, this will return the existing
|
197
|
+
# key.
|
202
198
|
# @param [String] parent
|
203
199
|
# Parent resource name, e.g. `users/me/environments/default`.
|
204
200
|
# @param [Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest] create_public_key_request_object
|
@@ -231,11 +227,11 @@ module Google
|
|
231
227
|
execute_or_queue_command(command, &block)
|
232
228
|
end
|
233
229
|
|
234
|
-
# Removes a public SSH key from an environment. Clients will no longer be
|
235
|
-
#
|
230
|
+
# Removes a public SSH key from an environment. Clients will no longer be able
|
231
|
+
# to connect to the environment using the corresponding private key.
|
236
232
|
# @param [String] name
|
237
|
-
# Name of the resource to be deleted, e.g.
|
238
|
-
#
|
233
|
+
# Name of the resource to be deleted, e.g. `users/me/environments/default/
|
234
|
+
# publicKeys/my-key`.
|
239
235
|
# @param [String] fields
|
240
236
|
# Selector specifying which fields to include in a partial response.
|
241
237
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '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,152 +22,106 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudtasksV2
|
24
24
|
|
25
|
-
# App Engine HTTP request.
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# and
|
33
|
-
#
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
# URIs restricted with
|
59
|
-
# [`login:
|
60
|
-
# admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
|
61
|
-
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
62
|
-
# restricted with
|
63
|
-
# [`login:
|
64
|
-
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
65
|
-
# appref)
|
66
|
-
# Task dispatches also do not follow redirects.
|
67
|
-
# The task attempt has succeeded if the app's request handler returns an HTTP
|
68
|
-
# response code in the range [`200` - `299`]. The task attempt has failed if
|
69
|
-
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
70
|
-
# not receive response before the deadline. Failed
|
71
|
-
# tasks will be retried according to the
|
72
|
-
# retry configuration. `503` (Service Unavailable) is
|
73
|
-
# considered an App Engine system error instead of an application error and
|
74
|
-
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
75
|
-
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
76
|
-
# Requests) response from an app handler does not cause traffic congestion
|
77
|
-
# control to throttle the queue.
|
25
|
+
# App Engine HTTP request. The message defines the HTTP request that is sent to
|
26
|
+
# an App Engine app when the task is dispatched. Using AppEngineHttpRequest
|
27
|
+
# requires [`appengine.applications.get`](https://cloud.google.com/appengine/
|
28
|
+
# docs/admin-api/access-control) Google IAM permission for the project and the
|
29
|
+
# following scope: `https://www.googleapis.com/auth/cloud-platform` The task
|
30
|
+
# will be delivered to the App Engine app which belongs to the same project as
|
31
|
+
# the queue. For more information, see [How Requests are Routed](https://cloud.
|
32
|
+
# google.com/appengine/docs/standard/python/how-requests-are-routed) and how
|
33
|
+
# routing is affected by [dispatch files](https://cloud.google.com/appengine/
|
34
|
+
# docs/python/config/dispatchref). Traffic is encrypted during transport and
|
35
|
+
# never leaves Google datacenters. Because this traffic is carried over a
|
36
|
+
# communication mechanism internal to Google, you cannot explicitly set the
|
37
|
+
# protocol (for example, HTTP or HTTPS). The request to the handler, however,
|
38
|
+
# will appear to have used the HTTP protocol. The AppEngineRouting used to
|
39
|
+
# construct the URL that the task is delivered to can be set at the queue-level
|
40
|
+
# or task-level: * If app_engine_routing_override is set on the queue, this
|
41
|
+
# value is used for all tasks in the queue, no matter what the setting is for
|
42
|
+
# the task-level app_engine_routing. The `url` that the task will be sent to is:
|
43
|
+
# * `url =` host `+` relative_uri Tasks can be dispatched to secure app handlers,
|
44
|
+
# unsecure app handlers, and URIs restricted with [`login: admin`](https://
|
45
|
+
# cloud.google.com/appengine/docs/standard/python/config/appref). Because tasks
|
46
|
+
# are not run as any user, they cannot be dispatched to URIs restricted with [`
|
47
|
+
# login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
48
|
+
# config/appref) Task dispatches also do not follow redirects. The task attempt
|
49
|
+
# has succeeded if the app's request handler returns an HTTP response code in
|
50
|
+
# the range [`200` - `299`]. The task attempt has failed if the app's handler
|
51
|
+
# returns a non-2xx response code or Cloud Tasks does not receive response
|
52
|
+
# before the deadline. Failed tasks will be retried according to the retry
|
53
|
+
# configuration. `503` (Service Unavailable) is considered an App Engine system
|
54
|
+
# error instead of an application error and will cause Cloud Tasks' traffic
|
55
|
+
# congestion control to temporarily throttle the queue's dispatches. Unlike
|
56
|
+
# other types of task targets, a `429` (Too Many Requests) response from an app
|
57
|
+
# handler does not cause traffic congestion control to throttle the queue.
|
78
58
|
class AppEngineHttpRequest
|
79
59
|
include Google::Apis::Core::Hashable
|
80
60
|
|
81
|
-
# App Engine Routing.
|
82
|
-
#
|
83
|
-
# and
|
84
|
-
#
|
85
|
-
#
|
86
|
-
# Engine](https://
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
93
|
-
# are-routed),
|
94
|
-
# and [App Engine Flex request
|
95
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
96
|
-
# are-routed).
|
97
|
-
# Using AppEngineRouting requires
|
98
|
-
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
99
|
-
# api/access-control)
|
100
|
-
# Google IAM permission for the project
|
101
|
-
# and the following scope:
|
61
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
62
|
+
# service, version, and instance. For more information about services, versions,
|
63
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
64
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
65
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
66
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
67
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
68
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
69
|
+
# flexible/python/how-requests-are-routed). Using AppEngineRouting requires [`
|
70
|
+
# appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
|
71
|
+
# access-control) Google IAM permission for the project and the following scope:
|
102
72
|
# `https://www.googleapis.com/auth/cloud-platform`
|
103
73
|
# Corresponds to the JSON property `appEngineRouting`
|
104
74
|
# @return [Google::Apis::CloudtasksV2::AppEngineRouting]
|
105
75
|
attr_accessor :app_engine_routing
|
106
76
|
|
107
|
-
# HTTP request body.
|
108
|
-
#
|
109
|
-
# an error to set a body on a task with an incompatible HttpMethod.
|
77
|
+
# HTTP request body. A request body is allowed only if the HTTP method is POST
|
78
|
+
# or PUT. It is an error to set a body on a task with an incompatible HttpMethod.
|
110
79
|
# Corresponds to the JSON property `body`
|
111
80
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
112
81
|
# @return [String]
|
113
82
|
attr_accessor :body
|
114
83
|
|
115
|
-
# HTTP request headers.
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
# Cloud Tasks
|
121
|
-
#
|
122
|
-
# `
|
123
|
-
#
|
124
|
-
# `
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# * `
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
# * `Host`
|
137
|
-
# * `X-Google-*`
|
138
|
-
# * `X-AppEngine-*`
|
139
|
-
# In addition, Cloud Tasks sets some headers when the task is dispatched,
|
140
|
-
# such as headers containing information about the task; see
|
141
|
-
# [request
|
142
|
-
# headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
143
|
-
# reading_request_headers).
|
144
|
-
# These headers are set only when the task is dispatched, so they are not
|
145
|
-
# visible when the task is returned in a Cloud Tasks response.
|
146
|
-
# Although there is no specific limit for the maximum number of headers or
|
147
|
-
# the size, there is a limit on the maximum size of the Task. For more
|
148
|
-
# information, see the CreateTask documentation.
|
84
|
+
# HTTP request headers. This map contains the header field names and values.
|
85
|
+
# Headers can be set when the task is created. Repeated headers are not
|
86
|
+
# supported but a header value can contain commas. Cloud Tasks sets some headers
|
87
|
+
# to default values: * `User-Agent`: By default, this header is `"AppEngine-
|
88
|
+
# Google; (+http://code.google.com/appengine)"`. This header can be modified,
|
89
|
+
# but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/
|
90
|
+
# appengine)"` to the modified `User-Agent`. If the task has a body, Cloud Tasks
|
91
|
+
# sets the following headers: * `Content-Type`: By default, the `Content-Type`
|
92
|
+
# header is set to `"application/octet-stream"`. The default can be overridden
|
93
|
+
# by explicitly setting `Content-Type` to a particular media type when the task
|
94
|
+
# is created. For example, `Content-Type` can be set to `"application/json"`. * `
|
95
|
+
# Content-Length`: This is computed by Cloud Tasks. This value is output only.
|
96
|
+
# It cannot be changed. The headers below cannot be set or overridden: * `Host` *
|
97
|
+
# `X-Google-*` * `X-AppEngine-*` In addition, Cloud Tasks sets some headers
|
98
|
+
# when the task is dispatched, such as headers containing information about the
|
99
|
+
# task; see [request headers](https://cloud.google.com/tasks/docs/creating-
|
100
|
+
# appengine-handlers#reading_request_headers). These headers are set only when
|
101
|
+
# the task is dispatched, so they are not visible when the task is returned in a
|
102
|
+
# Cloud Tasks response. Although there is no specific limit for the maximum
|
103
|
+
# number of headers or the size, there is a limit on the maximum size of the
|
104
|
+
# Task. For more information, see the CreateTask documentation.
|
149
105
|
# Corresponds to the JSON property `headers`
|
150
106
|
# @return [Hash<String,String>]
|
151
107
|
attr_accessor :headers
|
152
108
|
|
153
|
-
# The HTTP method to use for the request. The default is POST.
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
# are-handled).
|
109
|
+
# The HTTP method to use for the request. The default is POST. The app's request
|
110
|
+
# handler for the task's target URL must be able to handle HTTP requests with
|
111
|
+
# this http_method, otherwise the task attempt fails with error code 405 (Method
|
112
|
+
# Not Allowed). See [Writing a push task request handler](https://cloud.google.
|
113
|
+
# com/appengine/docs/java/taskqueue/push/creating-handlers#
|
114
|
+
# writing_a_push_task_request_handler) and the App Engine documentation for your
|
115
|
+
# runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/
|
116
|
+
# standard/python3/how-requests-are-handled).
|
162
117
|
# Corresponds to the JSON property `httpMethod`
|
163
118
|
# @return [String]
|
164
119
|
attr_accessor :http_method
|
165
120
|
|
166
|
-
# The relative URI.
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
170
|
-
# No spaces are allowed, and the maximum length allowed is 2083 characters.
|
121
|
+
# The relative URI. The relative URI must begin with "/" and must be a valid
|
122
|
+
# HTTP relative URI. It can contain a path and query string arguments. If the
|
123
|
+
# relative URI is empty, then the root path "/" will be used. No spaces are
|
124
|
+
# allowed, and the maximum length allowed is 2083 characters.
|
171
125
|
# Corresponds to the JSON property `relativeUri`
|
172
126
|
# @return [String]
|
173
127
|
attr_accessor :relative_uri
|
@@ -186,95 +140,62 @@ module Google
|
|
186
140
|
end
|
187
141
|
end
|
188
142
|
|
189
|
-
# App Engine Routing.
|
190
|
-
#
|
191
|
-
# and
|
192
|
-
#
|
193
|
-
#
|
194
|
-
# Engine](https://
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
201
|
-
# are-routed),
|
202
|
-
# and [App Engine Flex request
|
203
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
204
|
-
# are-routed).
|
205
|
-
# Using AppEngineRouting requires
|
206
|
-
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
207
|
-
# api/access-control)
|
208
|
-
# Google IAM permission for the project
|
209
|
-
# and the following scope:
|
143
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
144
|
+
# service, version, and instance. For more information about services, versions,
|
145
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
146
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
147
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
148
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
149
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
150
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
151
|
+
# flexible/python/how-requests-are-routed). Using AppEngineRouting requires [`
|
152
|
+
# appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
|
153
|
+
# access-control) Google IAM permission for the project and the following scope:
|
210
154
|
# `https://www.googleapis.com/auth/cloud-platform`
|
211
155
|
class AppEngineRouting
|
212
156
|
include Google::Apis::Core::Hashable
|
213
157
|
|
214
|
-
# Output only. The host that the task is sent to.
|
215
|
-
#
|
216
|
-
#
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
# For more information, see
|
221
|
-
# [How Requests are
|
222
|
-
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
223
|
-
# are-routed).
|
158
|
+
# Output only. The host that the task is sent to. The host is constructed from
|
159
|
+
# the domain name of the app associated with the queue's project ID (for example
|
160
|
+
# .appspot.com), and the service, version, and instance. Tasks which were
|
161
|
+
# created using the App Engine SDK might have a custom domain name. For more
|
162
|
+
# information, see [How Requests are Routed](https://cloud.google.com/appengine/
|
163
|
+
# docs/standard/python/how-requests-are-routed).
|
224
164
|
# Corresponds to the JSON property `host`
|
225
165
|
# @return [String]
|
226
166
|
attr_accessor :host
|
227
167
|
|
228
|
-
# App instance.
|
229
|
-
#
|
230
|
-
#
|
231
|
-
#
|
232
|
-
#
|
233
|
-
# Standard](
|
234
|
-
#
|
235
|
-
# App Engine Flex
|
236
|
-
#
|
237
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
238
|
-
# are-routed)
|
239
|
-
# and [App Engine Flex request
|
240
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
241
|
-
# are-routed).
|
168
|
+
# App instance. By default, the task is sent to an instance which is available
|
169
|
+
# when the task is attempted. Requests can only be sent to a specific instance
|
170
|
+
# if [manual scaling is used in App Engine Standard](https://cloud.google.com/
|
171
|
+
# appengine/docs/python/an-overview-of-app-engine?hl=en_US#
|
172
|
+
# scaling_types_and_instance_classes). App Engine Flex does not support
|
173
|
+
# instances. For more information, see [App Engine Standard request routing](
|
174
|
+
# https://cloud.google.com/appengine/docs/standard/python/how-requests-are-
|
175
|
+
# routed) and [App Engine Flex request routing](https://cloud.google.com/
|
176
|
+
# appengine/docs/flexible/python/how-requests-are-routed).
|
242
177
|
# Corresponds to the JSON property `instance`
|
243
178
|
# @return [String]
|
244
179
|
attr_accessor :instance
|
245
180
|
|
246
|
-
# App service.
|
247
|
-
#
|
248
|
-
#
|
249
|
-
# For some
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
# instance. For example, some tasks
|
254
|
-
# which were created using the App Engine SDK use a custom domain
|
255
|
-
# name; custom domains are not parsed by Cloud Tasks. If
|
256
|
-
# host is not parsable, then
|
257
|
-
# service,
|
258
|
-
# version, and
|
259
|
-
# instance are the empty string.
|
181
|
+
# App service. By default, the task is sent to the service which is the default
|
182
|
+
# service when the task is attempted. For some queues or tasks which were
|
183
|
+
# created using the App Engine Task Queue API, host is not parsable into service,
|
184
|
+
# version, and instance. For example, some tasks which were created using the
|
185
|
+
# App Engine SDK use a custom domain name; custom domains are not parsed by
|
186
|
+
# Cloud Tasks. If host is not parsable, then service, version, and instance are
|
187
|
+
# the empty string.
|
260
188
|
# Corresponds to the JSON property `service`
|
261
189
|
# @return [String]
|
262
190
|
attr_accessor :service
|
263
191
|
|
264
|
-
# App version.
|
265
|
-
#
|
266
|
-
#
|
267
|
-
# For some
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
# instance. For example, some tasks
|
272
|
-
# which were created using the App Engine SDK use a custom domain
|
273
|
-
# name; custom domains are not parsed by Cloud Tasks. If
|
274
|
-
# host is not parsable, then
|
275
|
-
# service,
|
276
|
-
# version, and
|
277
|
-
# instance are the empty string.
|
192
|
+
# App version. By default, the task is sent to the version which is the default
|
193
|
+
# version when the task is attempted. For some queues or tasks which were
|
194
|
+
# created using the App Engine Task Queue API, host is not parsable into service,
|
195
|
+
# version, and instance. For example, some tasks which were created using the
|
196
|
+
# App Engine SDK use a custom domain name; custom domains are not parsed by
|
197
|
+
# Cloud Tasks. If host is not parsable, then service, version, and instance are
|
198
|
+
# the empty string.
|
278
199
|
# Corresponds to the JSON property `version`
|
279
200
|
# @return [String]
|
280
201
|
attr_accessor :version
|
@@ -296,30 +217,30 @@ module Google
|
|
296
217
|
class Attempt
|
297
218
|
include Google::Apis::Core::Hashable
|
298
219
|
|
299
|
-
# Output only. The time that this attempt was dispatched.
|
300
|
-
#
|
220
|
+
# Output only. The time that this attempt was dispatched. `dispatch_time` will
|
221
|
+
# be truncated to the nearest microsecond.
|
301
222
|
# Corresponds to the JSON property `dispatchTime`
|
302
223
|
# @return [String]
|
303
224
|
attr_accessor :dispatch_time
|
304
225
|
|
305
|
-
# The `Status` type defines a logical error model that is suitable for
|
306
|
-
#
|
307
|
-
#
|
308
|
-
#
|
309
|
-
#
|
310
|
-
#
|
226
|
+
# The `Status` type defines a logical error model that is suitable for different
|
227
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
228
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
229
|
+
# data: error code, error message, and error details. You can find out more
|
230
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
231
|
+
# //cloud.google.com/apis/design/errors).
|
311
232
|
# Corresponds to the JSON property `responseStatus`
|
312
233
|
# @return [Google::Apis::CloudtasksV2::Status]
|
313
234
|
attr_accessor :response_status
|
314
235
|
|
315
|
-
# Output only. The time that this attempt response was received.
|
316
|
-
#
|
236
|
+
# Output only. The time that this attempt response was received. `response_time`
|
237
|
+
# will be truncated to the nearest microsecond.
|
317
238
|
# Corresponds to the JSON property `responseTime`
|
318
239
|
# @return [String]
|
319
240
|
attr_accessor :response_time
|
320
241
|
|
321
|
-
# Output only. The time that this attempt was scheduled.
|
322
|
-
#
|
242
|
+
# Output only. The time that this attempt was scheduled. `schedule_time` will be
|
243
|
+
# truncated to the nearest microsecond.
|
323
244
|
# Corresponds to the JSON property `scheduleTime`
|
324
245
|
# @return [String]
|
325
246
|
attr_accessor :schedule_time
|
@@ -341,69 +262,57 @@ module Google
|
|
341
262
|
class Binding
|
342
263
|
include Google::Apis::Core::Hashable
|
343
264
|
|
344
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
# description: "Determines if
|
350
|
-
# expression: "document.
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
# Example (Data Manipulation):
|
360
|
-
# title: "Notification string"
|
361
|
-
# description: "Create a notification string with a timestamp."
|
362
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
363
|
-
# The exact variables and functions that may be referenced within an expression
|
364
|
-
# are determined by the service that evaluates it. See the service
|
365
|
-
# documentation for additional information.
|
265
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
266
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
267
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
268
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
269
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
270
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
271
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
272
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
273
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
274
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
275
|
+
# string" description: "Create a notification string with a timestamp."
|
276
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
277
|
+
# exact variables and functions that may be referenced within an expression are
|
278
|
+
# determined by the service that evaluates it. See the service documentation for
|
279
|
+
# additional information.
|
366
280
|
# Corresponds to the JSON property `condition`
|
367
281
|
# @return [Google::Apis::CloudtasksV2::Expr]
|
368
282
|
attr_accessor :condition
|
369
283
|
|
370
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
# * `
|
377
|
-
# account. For example, `
|
378
|
-
# * `
|
379
|
-
#
|
380
|
-
#
|
381
|
-
# For example, `
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
# deleted
|
390
|
-
#
|
391
|
-
# If the
|
392
|
-
# `
|
393
|
-
# role in the binding.
|
394
|
-
#
|
395
|
-
#
|
396
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
397
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
398
|
-
# recovered group retains the role in the binding.
|
399
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
400
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
284
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
285
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
286
|
+
# that represents anyone who is on the internet; with or without a Google
|
287
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
288
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
289
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
290
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
291
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
292
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
293
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
294
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
295
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
296
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
297
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
298
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
299
|
+
# identifier) representing a service account that has been recently deleted. For
|
300
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
301
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
302
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
303
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
304
|
+
# identifier) representing a Google group that has been recently deleted. For
|
305
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
306
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
307
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
308
|
+
# primary) that represents all the users of that domain. For example, `google.
|
309
|
+
# com` or `example.com`.
|
401
310
|
# Corresponds to the JSON property `members`
|
402
311
|
# @return [Array<String>]
|
403
312
|
attr_accessor :members
|
404
313
|
|
405
|
-
# Role that is assigned to `members`.
|
406
|
-
#
|
314
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
315
|
+
# , or `roles/owner`.
|
407
316
|
# Corresponds to the JSON property `role`
|
408
317
|
# @return [String]
|
409
318
|
attr_accessor :role
|
@@ -424,16 +333,12 @@ module Google
|
|
424
333
|
class CreateTaskRequest
|
425
334
|
include Google::Apis::Core::Hashable
|
426
335
|
|
427
|
-
# The response_view specifies which subset of the Task will be
|
428
|
-
#
|
429
|
-
#
|
430
|
-
#
|
431
|
-
#
|
432
|
-
#
|
433
|
-
# contains.
|
434
|
-
# Authorization for FULL requires
|
435
|
-
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
436
|
-
# permission on the Task resource.
|
336
|
+
# The response_view specifies which subset of the Task will be returned. By
|
337
|
+
# default response_view is BASIC; not all information is retrieved by default
|
338
|
+
# because some data, such as payloads, might be desirable to return only when
|
339
|
+
# needed because of its large size or because of the sensitivity of data that it
|
340
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
341
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
437
342
|
# Corresponds to the JSON property `responseView`
|
438
343
|
# @return [String]
|
439
344
|
attr_accessor :response_view
|
@@ -454,13 +359,11 @@ module Google
|
|
454
359
|
end
|
455
360
|
end
|
456
361
|
|
457
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
# `
|
463
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
362
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
363
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
364
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
365
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
366
|
+
# `Empty` is empty JSON object ````.
|
464
367
|
class Empty
|
465
368
|
include Google::Apis::Core::Hashable
|
466
369
|
|
@@ -473,52 +376,43 @@ module Google
|
|
473
376
|
end
|
474
377
|
end
|
475
378
|
|
476
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
# description: "Determines if
|
482
|
-
# expression: "document.
|
483
|
-
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
# Example (Data Manipulation):
|
492
|
-
# title: "Notification string"
|
493
|
-
# description: "Create a notification string with a timestamp."
|
494
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
495
|
-
# The exact variables and functions that may be referenced within an expression
|
496
|
-
# are determined by the service that evaluates it. See the service
|
497
|
-
# documentation for additional information.
|
379
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
380
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
381
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
382
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
383
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
384
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
385
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
386
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
387
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
388
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
389
|
+
# string" description: "Create a notification string with a timestamp."
|
390
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
391
|
+
# exact variables and functions that may be referenced within an expression are
|
392
|
+
# determined by the service that evaluates it. See the service documentation for
|
393
|
+
# additional information.
|
498
394
|
class Expr
|
499
395
|
include Google::Apis::Core::Hashable
|
500
396
|
|
501
|
-
# Optional. Description of the expression. This is a longer text which
|
502
|
-
#
|
397
|
+
# Optional. Description of the expression. This is a longer text which describes
|
398
|
+
# the expression, e.g. when hovered over it in a UI.
|
503
399
|
# Corresponds to the JSON property `description`
|
504
400
|
# @return [String]
|
505
401
|
attr_accessor :description
|
506
402
|
|
507
|
-
# Textual representation of an expression in Common Expression Language
|
508
|
-
# syntax.
|
403
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
509
404
|
# Corresponds to the JSON property `expression`
|
510
405
|
# @return [String]
|
511
406
|
attr_accessor :expression
|
512
407
|
|
513
|
-
# Optional. String indicating the location of the expression for error
|
514
|
-
#
|
408
|
+
# Optional. String indicating the location of the expression for error reporting,
|
409
|
+
# e.g. a file name and a position in the file.
|
515
410
|
# Corresponds to the JSON property `location`
|
516
411
|
# @return [String]
|
517
412
|
attr_accessor :location
|
518
413
|
|
519
|
-
# Optional. Title for the expression, i.e. a short string describing
|
520
|
-
#
|
521
|
-
# expression.
|
414
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
415
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
522
416
|
# Corresponds to the JSON property `title`
|
523
417
|
# @return [String]
|
524
418
|
attr_accessor :title
|
@@ -559,15 +453,13 @@ module Google
|
|
559
453
|
class GetPolicyOptions
|
560
454
|
include Google::Apis::Core::Hashable
|
561
455
|
|
562
|
-
# Optional. The policy format version to be returned.
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
#
|
569
|
-
# [IAM
|
570
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
456
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
457
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
458
|
+
# policies with any conditional bindings must specify version 3. Policies
|
459
|
+
# without any conditional bindings may specify any valid value or leave the
|
460
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
461
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
462
|
+
# resource-policies).
|
571
463
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
572
464
|
# @return [Fixnum]
|
573
465
|
attr_accessor :requested_policy_version
|
@@ -582,61 +474,48 @@ module Google
|
|
582
474
|
end
|
583
475
|
end
|
584
476
|
|
585
|
-
# HTTP request.
|
586
|
-
#
|
587
|
-
#
|
588
|
-
#
|
589
|
-
#
|
590
|
-
#
|
591
|
-
# * User-specified throttling: retry configuration,
|
592
|
-
# rate limits, and the queue's state.
|
477
|
+
# HTTP request. The task will be pushed to the worker as an HTTP request. If the
|
478
|
+
# worker or the redirected worker acknowledges the task by returning a
|
479
|
+
# successful HTTP response code ([`200` - `299`]), the task will be removed from
|
480
|
+
# the queue. If any other HTTP response code is returned or no response is
|
481
|
+
# received, the task will be retried according to the following: * User-
|
482
|
+
# specified throttling: retry configuration, rate limits, and the queue's state.
|
593
483
|
# * System throttling: To prevent the worker from overloading, Cloud Tasks may
|
594
|
-
# temporarily reduce the queue's effective rate. User-specified settings
|
595
|
-
#
|
596
|
-
#
|
597
|
-
#
|
598
|
-
# rate
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
605
|
-
# spikes in create task rates, the queue being unpaused, or many tasks
|
606
|
-
# that are scheduled at the same time).
|
484
|
+
# temporarily reduce the queue's effective rate. User-specified settings will
|
485
|
+
# not be changed. System throttling happens because: * Cloud Tasks backs off on
|
486
|
+
# all errors. Normally the backoff specified in rate limits will be used. But if
|
487
|
+
# the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or
|
488
|
+
# the rate of errors is high, Cloud Tasks will use a higher backoff rate. The
|
489
|
+
# retry specified in the `Retry-After` HTTP response header is considered. * To
|
490
|
+
# prevent traffic spikes and to smooth sudden increases in traffic, dispatches
|
491
|
+
# ramp up slowly when the queue is newly created or idle and if large numbers of
|
492
|
+
# tasks suddenly become available to dispatch (due to spikes in create task
|
493
|
+
# rates, the queue being unpaused, or many tasks that are scheduled at the same
|
494
|
+
# time).
|
607
495
|
class HttpRequest
|
608
496
|
include Google::Apis::Core::Hashable
|
609
497
|
|
610
|
-
# HTTP request body.
|
611
|
-
#
|
612
|
-
#
|
613
|
-
# error to set body on a task with an incompatible HttpMethod.
|
498
|
+
# HTTP request body. A request body is allowed only if the HTTP method is POST,
|
499
|
+
# PUT, or PATCH. It is an error to set body on a task with an incompatible
|
500
|
+
# HttpMethod.
|
614
501
|
# Corresponds to the JSON property `body`
|
615
502
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
616
503
|
# @return [String]
|
617
504
|
attr_accessor :body
|
618
505
|
|
619
|
-
# HTTP request headers.
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
623
|
-
#
|
624
|
-
#
|
625
|
-
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
# `Content-Type` won't be set by Cloud Tasks. You can explicitly set
|
633
|
-
# `Content-Type` to a media type when the
|
634
|
-
# task is created.
|
635
|
-
# For example, `Content-Type` can be set to `"application/octet-stream"` or
|
636
|
-
# `"application/json"`.
|
637
|
-
# Headers which can have multiple values (according to RFC2616) can be
|
638
|
-
# specified using comma-separated values.
|
639
|
-
# The size of the headers must be less than 80KB.
|
506
|
+
# HTTP request headers. This map contains the header field names and values.
|
507
|
+
# Headers can be set when the task is created. These headers represent a subset
|
508
|
+
# of the headers that will accompany the task's HTTP request. Some HTTP request
|
509
|
+
# headers will be ignored or replaced. A partial list of headers that will be
|
510
|
+
# ignored or replaced is: * Host: This will be computed by Cloud Tasks and
|
511
|
+
# derived from HttpRequest.url. * Content-Length: This will be computed by Cloud
|
512
|
+
# Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * X-Google-*:
|
513
|
+
# Google use only. * X-AppEngine-*: Google use only. `Content-Type` won't be set
|
514
|
+
# by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the
|
515
|
+
# task is created. For example, `Content-Type` can be set to `"application/octet-
|
516
|
+
# stream"` or `"application/json"`. Headers which can have multiple values (
|
517
|
+
# according to RFC2616) can be specified using comma-separated values. The size
|
518
|
+
# of the headers must be less than 80KB.
|
640
519
|
# Corresponds to the JSON property `headers`
|
641
520
|
# @return [Hash<String,String>]
|
642
521
|
attr_accessor :headers
|
@@ -646,31 +525,28 @@ module Google
|
|
646
525
|
# @return [String]
|
647
526
|
attr_accessor :http_method
|
648
527
|
|
649
|
-
# Contains information needed for generating an
|
650
|
-
#
|
651
|
-
#
|
652
|
-
# APIs hosted on *.googleapis.com.
|
528
|
+
# Contains information needed for generating an [OAuth token](https://developers.
|
529
|
+
# google.com/identity/protocols/OAuth2). This type of authorization should
|
530
|
+
# generally only be used when calling Google APIs hosted on *.googleapis.com.
|
653
531
|
# Corresponds to the JSON property `oauthToken`
|
654
532
|
# @return [Google::Apis::CloudtasksV2::OAuthToken]
|
655
533
|
attr_accessor :oauth_token
|
656
534
|
|
657
|
-
# Contains information needed for generating an
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
# calling Cloud Run, or endpoints where you intend to validate the token
|
662
|
-
# yourself.
|
535
|
+
# Contains information needed for generating an [OpenID Connect token](https://
|
536
|
+
# developers.google.com/identity/protocols/OpenIDConnect). This type of
|
537
|
+
# authorization can be used for many scenarios, including calling Cloud Run, or
|
538
|
+
# endpoints where you intend to validate the token yourself.
|
663
539
|
# Corresponds to the JSON property `oidcToken`
|
664
540
|
# @return [Google::Apis::CloudtasksV2::OidcToken]
|
665
541
|
attr_accessor :oidc_token
|
666
542
|
|
667
|
-
# Required. The full url path that the request will be sent to.
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
543
|
+
# Required. The full url path that the request will be sent to. This string must
|
544
|
+
# begin with either "http://" or "https://". Some examples are: `http://acme.com`
|
545
|
+
# and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters
|
546
|
+
# for safety and compatibility. The maximum allowed URL length is 2083
|
547
|
+
# characters after encoding. The `Location` header response from a redirect
|
548
|
+
# response [`300` - `399`] may be followed. The redirect is not counted as a
|
549
|
+
# separate attempt.
|
674
550
|
# Corresponds to the JSON property `url`
|
675
551
|
# @return [String]
|
676
552
|
attr_accessor :url
|
@@ -719,12 +595,9 @@ module Google
|
|
719
595
|
class ListQueuesResponse
|
720
596
|
include Google::Apis::Core::Hashable
|
721
597
|
|
722
|
-
# A token to retrieve next page of results.
|
723
|
-
#
|
724
|
-
#
|
725
|
-
# page_token.
|
726
|
-
# If the next_page_token is empty, there are no more results.
|
727
|
-
# The page token is valid for only 2 hours.
|
598
|
+
# A token to retrieve next page of results. To return the next page of results,
|
599
|
+
# call ListQueues with this value as the page_token. If the next_page_token is
|
600
|
+
# empty, there are no more results. The page token is valid for only 2 hours.
|
728
601
|
# Corresponds to the JSON property `nextPageToken`
|
729
602
|
# @return [String]
|
730
603
|
attr_accessor :next_page_token
|
@@ -749,11 +622,9 @@ module Google
|
|
749
622
|
class ListTasksResponse
|
750
623
|
include Google::Apis::Core::Hashable
|
751
624
|
|
752
|
-
# A token to retrieve next page of results.
|
753
|
-
#
|
754
|
-
#
|
755
|
-
# page_token.
|
756
|
-
# If the next_page_token is empty, there are no more results.
|
625
|
+
# A token to retrieve next page of results. To return the next page of results,
|
626
|
+
# call ListTasks with this value as the page_token. If the next_page_token is
|
627
|
+
# empty, there are no more results.
|
757
628
|
# Corresponds to the JSON property `nextPageToken`
|
758
629
|
# @return [String]
|
759
630
|
attr_accessor :next_page_token
|
@@ -778,14 +649,14 @@ module Google
|
|
778
649
|
class Location
|
779
650
|
include Google::Apis::Core::Hashable
|
780
651
|
|
781
|
-
# The friendly name for this location, typically a nearby city name.
|
782
|
-
#
|
652
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
653
|
+
# "Tokyo".
|
783
654
|
# Corresponds to the JSON property `displayName`
|
784
655
|
# @return [String]
|
785
656
|
attr_accessor :display_name
|
786
657
|
|
787
|
-
# Cross-service attributes for the location. For example
|
788
|
-
#
|
658
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
659
|
+
# region": "us-east1"`
|
789
660
|
# Corresponds to the JSON property `labels`
|
790
661
|
# @return [Hash<String,String>]
|
791
662
|
attr_accessor :labels
|
@@ -801,8 +672,8 @@ module Google
|
|
801
672
|
# @return [Hash<String,Object>]
|
802
673
|
attr_accessor :metadata
|
803
674
|
|
804
|
-
# Resource name for the location, which may vary between implementations.
|
805
|
-
#
|
675
|
+
# Resource name for the location, which may vary between implementations. For
|
676
|
+
# example: `"projects/example-project/locations/us-east1"`
|
806
677
|
# Corresponds to the JSON property `name`
|
807
678
|
# @return [String]
|
808
679
|
attr_accessor :name
|
@@ -821,25 +692,22 @@ module Google
|
|
821
692
|
end
|
822
693
|
end
|
823
694
|
|
824
|
-
# Contains information needed for generating an
|
825
|
-
#
|
826
|
-
#
|
827
|
-
# APIs hosted on *.googleapis.com.
|
695
|
+
# Contains information needed for generating an [OAuth token](https://developers.
|
696
|
+
# google.com/identity/protocols/OAuth2). This type of authorization should
|
697
|
+
# generally only be used when calling Google APIs hosted on *.googleapis.com.
|
828
698
|
class OAuthToken
|
829
699
|
include Google::Apis::Core::Hashable
|
830
700
|
|
831
|
-
# OAuth scope to be used for generating OAuth access token.
|
832
|
-
#
|
833
|
-
# will be used.
|
701
|
+
# OAuth scope to be used for generating OAuth access token. If not specified, "
|
702
|
+
# https://www.googleapis.com/auth/cloud-platform" will be used.
|
834
703
|
# Corresponds to the JSON property `scope`
|
835
704
|
# @return [String]
|
836
705
|
attr_accessor :scope
|
837
706
|
|
838
|
-
# [Service account email](https://cloud.google.com/iam/docs/service-accounts)
|
839
|
-
#
|
840
|
-
#
|
841
|
-
#
|
842
|
-
# account.
|
707
|
+
# [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
|
708
|
+
# be used for generating OAuth token. The service account must be within the
|
709
|
+
# same project as the queue. The caller must have iam.serviceAccounts.actAs
|
710
|
+
# permission for the service account.
|
843
711
|
# Corresponds to the JSON property `serviceAccountEmail`
|
844
712
|
# @return [String]
|
845
713
|
attr_accessor :service_account_email
|
@@ -855,12 +723,10 @@ module Google
|
|
855
723
|
end
|
856
724
|
end
|
857
725
|
|
858
|
-
# Contains information needed for generating an
|
859
|
-
#
|
860
|
-
#
|
861
|
-
#
|
862
|
-
# calling Cloud Run, or endpoints where you intend to validate the token
|
863
|
-
# yourself.
|
726
|
+
# Contains information needed for generating an [OpenID Connect token](https://
|
727
|
+
# developers.google.com/identity/protocols/OpenIDConnect). This type of
|
728
|
+
# authorization can be used for many scenarios, including calling Cloud Run, or
|
729
|
+
# endpoints where you intend to validate the token yourself.
|
864
730
|
class OidcToken
|
865
731
|
include Google::Apis::Core::Hashable
|
866
732
|
|
@@ -870,11 +736,10 @@ module Google
|
|
870
736
|
# @return [String]
|
871
737
|
attr_accessor :audience
|
872
738
|
|
873
|
-
# [Service account email](https://cloud.google.com/iam/docs/service-accounts)
|
874
|
-
#
|
875
|
-
#
|
876
|
-
#
|
877
|
-
# account.
|
739
|
+
# [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
|
740
|
+
# be used for generating OIDC token. The service account must be within the same
|
741
|
+
# project as the queue. The caller must have iam.serviceAccounts.actAs
|
742
|
+
# permission for the service account.
|
878
743
|
# Corresponds to the JSON property `serviceAccountEmail`
|
879
744
|
# @return [String]
|
880
745
|
attr_accessor :service_account_email
|
@@ -904,111 +769,73 @@ module Google
|
|
904
769
|
end
|
905
770
|
|
906
771
|
# An Identity and Access Management (IAM) policy, which specifies access
|
907
|
-
# controls for Google Cloud resources.
|
908
|
-
# A `
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
912
|
-
#
|
913
|
-
#
|
914
|
-
#
|
915
|
-
#
|
916
|
-
#
|
917
|
-
#
|
918
|
-
# [
|
919
|
-
#
|
920
|
-
#
|
921
|
-
# `
|
922
|
-
# "
|
923
|
-
# `
|
924
|
-
# "
|
925
|
-
#
|
926
|
-
#
|
927
|
-
#
|
928
|
-
#
|
929
|
-
#
|
930
|
-
#
|
931
|
-
#
|
932
|
-
#
|
933
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
934
|
-
# "members": [
|
935
|
-
# "user:eve@example.com"
|
936
|
-
# ],
|
937
|
-
# "condition": `
|
938
|
-
# "title": "expirable access",
|
939
|
-
# "description": "Does not grant access after Sep 2020",
|
940
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
941
|
-
# ",
|
942
|
-
# `
|
943
|
-
# `
|
944
|
-
# ],
|
945
|
-
# "etag": "BwWWja0YfJA=",
|
946
|
-
# "version": 3
|
947
|
-
# `
|
948
|
-
# **YAML example:**
|
949
|
-
# bindings:
|
950
|
-
# - members:
|
951
|
-
# - user:mike@example.com
|
952
|
-
# - group:admins@example.com
|
953
|
-
# - domain:google.com
|
954
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
955
|
-
# role: roles/resourcemanager.organizationAdmin
|
956
|
-
# - members:
|
957
|
-
# - user:eve@example.com
|
958
|
-
# role: roles/resourcemanager.organizationViewer
|
959
|
-
# condition:
|
960
|
-
# title: expirable access
|
961
|
-
# description: Does not grant access after Sep 2020
|
962
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
963
|
-
# - etag: BwWWja0YfJA=
|
964
|
-
# - version: 3
|
965
|
-
# For a description of IAM and its features, see the
|
966
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
772
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
773
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
774
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
775
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
776
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
777
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
778
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
779
|
+
# condition can add constraints based on attributes of the request, the resource,
|
780
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
781
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
782
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
783
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
784
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
785
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
786
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
787
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
788
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
789
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
790
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
791
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
792
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
793
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
794
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
795
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
796
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
797
|
+
# google.com/iam/docs/).
|
967
798
|
class Policy
|
968
799
|
include Google::Apis::Core::Hashable
|
969
800
|
|
970
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
971
|
-
#
|
972
|
-
#
|
801
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
802
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
803
|
+
# the `bindings` must contain at least one member.
|
973
804
|
# Corresponds to the JSON property `bindings`
|
974
805
|
# @return [Array<Google::Apis::CloudtasksV2::Binding>]
|
975
806
|
attr_accessor :bindings
|
976
807
|
|
977
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
978
|
-
#
|
979
|
-
#
|
980
|
-
#
|
981
|
-
#
|
982
|
-
#
|
983
|
-
#
|
984
|
-
#
|
985
|
-
#
|
986
|
-
#
|
987
|
-
#
|
808
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
809
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
810
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
811
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
812
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
813
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
814
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
815
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
816
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
817
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
818
|
+
# are lost.
|
988
819
|
# Corresponds to the JSON property `etag`
|
989
820
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
990
821
|
# @return [String]
|
991
822
|
attr_accessor :etag
|
992
823
|
|
993
|
-
# Specifies the format of the policy.
|
994
|
-
#
|
995
|
-
#
|
996
|
-
#
|
997
|
-
#
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
#
|
1001
|
-
#
|
1002
|
-
#
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
#
|
1006
|
-
#
|
1007
|
-
#
|
1008
|
-
# specify any valid version or leave the field unset.
|
1009
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1010
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1011
|
-
# policies).
|
824
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
825
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
826
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
827
|
+
# applies to the following operations: * Getting a policy that includes a
|
828
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
829
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
830
|
+
# with or without a condition, from a policy that includes conditions **
|
831
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
832
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
833
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
834
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
835
|
+
# any conditions, operations on that policy may specify any valid version or
|
836
|
+
# leave the field unset. To learn which resources support conditions in their
|
837
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
838
|
+
# conditions/resource-policies).
|
1012
839
|
# Corresponds to the JSON property `version`
|
1013
840
|
# @return [Fixnum]
|
1014
841
|
attr_accessor :version
|
@@ -1038,100 +865,76 @@ module Google
|
|
1038
865
|
end
|
1039
866
|
end
|
1040
867
|
|
1041
|
-
# A queue is a container of related tasks. Queues are configured to manage
|
1042
|
-
#
|
1043
|
-
#
|
868
|
+
# A queue is a container of related tasks. Queues are configured to manage how
|
869
|
+
# those tasks are dispatched. Configurable properties include rate limits, retry
|
870
|
+
# options, queue types, and others.
|
1044
871
|
class Queue
|
1045
872
|
include Google::Apis::Core::Hashable
|
1046
873
|
|
1047
|
-
# App Engine Routing.
|
1048
|
-
#
|
1049
|
-
# and
|
1050
|
-
#
|
1051
|
-
#
|
1052
|
-
# Engine](https://
|
1053
|
-
#
|
1054
|
-
#
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
1059
|
-
# are-routed),
|
1060
|
-
# and [App Engine Flex request
|
1061
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
1062
|
-
# are-routed).
|
1063
|
-
# Using AppEngineRouting requires
|
1064
|
-
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
1065
|
-
# api/access-control)
|
1066
|
-
# Google IAM permission for the project
|
1067
|
-
# and the following scope:
|
874
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
875
|
+
# service, version, and instance. For more information about services, versions,
|
876
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
877
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
878
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
879
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
880
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
881
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
882
|
+
# flexible/python/how-requests-are-routed). Using AppEngineRouting requires [`
|
883
|
+
# appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
|
884
|
+
# access-control) Google IAM permission for the project and the following scope:
|
1068
885
|
# `https://www.googleapis.com/auth/cloud-platform`
|
1069
886
|
# Corresponds to the JSON property `appEngineRoutingOverride`
|
1070
887
|
# @return [Google::Apis::CloudtasksV2::AppEngineRouting]
|
1071
888
|
attr_accessor :app_engine_routing_override
|
1072
889
|
|
1073
|
-
# Caller-specified and required in CreateQueue,
|
1074
|
-
#
|
1075
|
-
#
|
1076
|
-
#
|
1077
|
-
#
|
1078
|
-
#
|
1079
|
-
#
|
1080
|
-
# For more
|
1081
|
-
#
|
1082
|
-
#
|
1083
|
-
#
|
1084
|
-
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
1085
|
-
# The list of available locations can be obtained by calling
|
1086
|
-
# ListLocations.
|
1087
|
-
# For more information, see https://cloud.google.com/about/locations/.
|
1088
|
-
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1089
|
-
# hyphens (-). The maximum length is 100 characters.
|
890
|
+
# Caller-specified and required in CreateQueue, after which it becomes output
|
891
|
+
# only. The queue name. The queue name must have the following format: `projects/
|
892
|
+
# PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain
|
893
|
+
# letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.).
|
894
|
+
# For more information, see [Identifying projects](https://cloud.google.com/
|
895
|
+
# resource-manager/docs/creating-managing-projects#identifying_projects) * `
|
896
|
+
# LOCATION_ID` is the canonical ID for the queue's location. The list of
|
897
|
+
# available locations can be obtained by calling ListLocations. For more
|
898
|
+
# information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can
|
899
|
+
# contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum
|
900
|
+
# length is 100 characters.
|
1090
901
|
# Corresponds to the JSON property `name`
|
1091
902
|
# @return [String]
|
1092
903
|
attr_accessor :name
|
1093
904
|
|
1094
|
-
# Output only. The last time this queue was purged.
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
#
|
1098
|
-
#
|
1099
|
-
#
|
1100
|
-
# push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
|
1101
|
-
# Purge time will be truncated to the nearest microsecond. Purge
|
1102
|
-
# time will be unset if the queue has never been purged.
|
905
|
+
# Output only. The last time this queue was purged. All tasks that were created
|
906
|
+
# before this time were purged. A queue can be purged using PurgeQueue, the [App
|
907
|
+
# Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/
|
908
|
+
# appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#
|
909
|
+
# purging_all_tasks_from_a_queue). Purge time will be truncated to the nearest
|
910
|
+
# microsecond. Purge time will be unset if the queue has never been purged.
|
1103
911
|
# Corresponds to the JSON property `purgeTime`
|
1104
912
|
# @return [String]
|
1105
913
|
attr_accessor :purge_time
|
1106
914
|
|
1107
|
-
# Rate limits.
|
1108
|
-
#
|
1109
|
-
#
|
1110
|
-
#
|
1111
|
-
# even if the queue has reached its RateLimits.
|
915
|
+
# Rate limits. This message determines the maximum rate that tasks can be
|
916
|
+
# dispatched by a queue, regardless of whether the dispatch is a first task
|
917
|
+
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
918
|
+
# if the queue has reached its RateLimits.
|
1112
919
|
# Corresponds to the JSON property `rateLimits`
|
1113
920
|
# @return [Google::Apis::CloudtasksV2::RateLimits]
|
1114
921
|
attr_accessor :rate_limits
|
1115
922
|
|
1116
|
-
# Retry config.
|
1117
|
-
# These settings determine when a failed task attempt is retried.
|
923
|
+
# Retry config. These settings determine when a failed task attempt is retried.
|
1118
924
|
# Corresponds to the JSON property `retryConfig`
|
1119
925
|
# @return [Google::Apis::CloudtasksV2::RetryConfig]
|
1120
926
|
attr_accessor :retry_config
|
1121
927
|
|
1122
|
-
# Configuration options for writing logs to
|
1123
|
-
#
|
928
|
+
# Configuration options for writing logs to [Stackdriver Logging](https://cloud.
|
929
|
+
# google.com/logging/docs/).
|
1124
930
|
# Corresponds to the JSON property `stackdriverLoggingConfig`
|
1125
931
|
# @return [Google::Apis::CloudtasksV2::StackdriverLoggingConfig]
|
1126
932
|
attr_accessor :stackdriver_logging_config
|
1127
933
|
|
1128
|
-
# Output only. The state of the queue.
|
1129
|
-
#
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
# [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/
|
1133
|
-
# queueref).
|
1134
|
-
# UpdateQueue cannot be used to change `state`.
|
934
|
+
# Output only. The state of the queue. `state` can only be changed by called
|
935
|
+
# PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.
|
936
|
+
# com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to
|
937
|
+
# change `state`.
|
1135
938
|
# Corresponds to the JSON property `state`
|
1136
939
|
# @return [String]
|
1137
940
|
attr_accessor :state
|
@@ -1152,70 +955,51 @@ module Google
|
|
1152
955
|
end
|
1153
956
|
end
|
1154
957
|
|
1155
|
-
# Rate limits.
|
1156
|
-
#
|
1157
|
-
#
|
1158
|
-
#
|
1159
|
-
# even if the queue has reached its RateLimits.
|
958
|
+
# Rate limits. This message determines the maximum rate that tasks can be
|
959
|
+
# dispatched by a queue, regardless of whether the dispatch is a first task
|
960
|
+
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
961
|
+
# if the queue has reached its RateLimits.
|
1160
962
|
class RateLimits
|
1161
963
|
include Google::Apis::Core::Hashable
|
1162
964
|
|
1163
|
-
# Output only. The max burst size.
|
1164
|
-
#
|
1165
|
-
#
|
1166
|
-
#
|
1167
|
-
#
|
1168
|
-
#
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
#
|
1173
|
-
#
|
1174
|
-
#
|
1175
|
-
#
|
1176
|
-
#
|
1177
|
-
#
|
1178
|
-
#
|
1179
|
-
# max_dispatches_per_second
|
1180
|
-
#
|
1181
|
-
# `queue.yaml/xml`, `max_burst_size` is equal to
|
1182
|
-
# [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/
|
1183
|
-
# queueref#bucket_size).
|
1184
|
-
# Since `max_burst_size` is output only, if
|
1185
|
-
# UpdateQueue is called on a queue
|
1186
|
-
# created by `queue.yaml/xml`, `max_burst_size` will be reset based
|
1187
|
-
# on the value of
|
1188
|
-
# max_dispatches_per_second,
|
1189
|
-
# regardless of whether
|
1190
|
-
# max_dispatches_per_second
|
1191
|
-
# is updated.
|
965
|
+
# Output only. The max burst size. Max burst size limits how fast tasks in queue
|
966
|
+
# are processed when many tasks are in the queue and the rate is high. This
|
967
|
+
# field allows the queue to have a high rate so processing starts shortly after
|
968
|
+
# a task is enqueued, but still limits resource usage when many tasks are
|
969
|
+
# enqueued in a short period of time. The [token bucket](https://wikipedia.org/
|
970
|
+
# wiki/Token_Bucket) algorithm is used to control the rate of task dispatches.
|
971
|
+
# Each queue has a token bucket that holds tokens, up to the maximum specified
|
972
|
+
# by `max_burst_size`. Each time a task is dispatched, a token is removed from
|
973
|
+
# the bucket. Tasks will be dispatched until the queue's bucket runs out of
|
974
|
+
# tokens. The bucket will be continuously refilled with new tokens based on
|
975
|
+
# max_dispatches_per_second. Cloud Tasks will pick the value of `max_burst_size`
|
976
|
+
# based on the value of max_dispatches_per_second. For queues that were created
|
977
|
+
# or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](
|
978
|
+
# https://cloud.google.com/appengine/docs/standard/python/config/queueref#
|
979
|
+
# bucket_size). Since `max_burst_size` is output only, if UpdateQueue is called
|
980
|
+
# on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset based
|
981
|
+
# on the value of max_dispatches_per_second, regardless of whether
|
982
|
+
# max_dispatches_per_second is updated.
|
1192
983
|
# Corresponds to the JSON property `maxBurstSize`
|
1193
984
|
# @return [Fixnum]
|
1194
985
|
attr_accessor :max_burst_size
|
1195
986
|
|
1196
|
-
# The maximum number of concurrent tasks that Cloud Tasks allows
|
1197
|
-
#
|
1198
|
-
#
|
1199
|
-
#
|
1200
|
-
#
|
1201
|
-
#
|
1202
|
-
#
|
1203
|
-
# This field has the same meaning as
|
1204
|
-
# [max_concurrent_requests in
|
1205
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1206
|
-
# queueref#max_concurrent_requests).
|
987
|
+
# The maximum number of concurrent tasks that Cloud Tasks allows to be
|
988
|
+
# dispatched for this queue. After this threshold has been reached, Cloud Tasks
|
989
|
+
# stops dispatching tasks until the number of concurrent requests decreases. If
|
990
|
+
# unspecified when the queue is created, Cloud Tasks will pick the default. The
|
991
|
+
# maximum allowed value is 5,000. This field has the same meaning as [
|
992
|
+
# max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/
|
993
|
+
# docs/standard/python/config/queueref#max_concurrent_requests).
|
1207
994
|
# Corresponds to the JSON property `maxConcurrentDispatches`
|
1208
995
|
# @return [Fixnum]
|
1209
996
|
attr_accessor :max_concurrent_dispatches
|
1210
997
|
|
1211
|
-
# The maximum rate at which tasks are dispatched from this queue.
|
1212
|
-
#
|
1213
|
-
#
|
1214
|
-
#
|
1215
|
-
#
|
1216
|
-
# [rate in
|
1217
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1218
|
-
# queueref#rate).
|
998
|
+
# The maximum rate at which tasks are dispatched from this queue. If unspecified
|
999
|
+
# when the queue is created, Cloud Tasks will pick the default. * The maximum
|
1000
|
+
# allowed value is 500. This field has the same meaning as [rate in queue.yaml/
|
1001
|
+
# xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1002
|
+
# rate).
|
1219
1003
|
# Corresponds to the JSON property `maxDispatchesPerSecond`
|
1220
1004
|
# @return [Float]
|
1221
1005
|
attr_accessor :max_dispatches_per_second
|
@@ -1245,98 +1029,67 @@ module Google
|
|
1245
1029
|
end
|
1246
1030
|
end
|
1247
1031
|
|
1248
|
-
# Retry config.
|
1249
|
-
# These settings determine when a failed task attempt is retried.
|
1032
|
+
# Retry config. These settings determine when a failed task attempt is retried.
|
1250
1033
|
class RetryConfig
|
1251
1034
|
include Google::Apis::Core::Hashable
|
1252
1035
|
|
1253
|
-
# Number of attempts per task.
|
1254
|
-
#
|
1255
|
-
#
|
1256
|
-
#
|
1257
|
-
#
|
1258
|
-
#
|
1259
|
-
# -1 indicates unlimited attempts.
|
1260
|
-
# This field has the same meaning as
|
1261
|
-
# [task_retry_limit in
|
1262
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1263
|
-
# queueref#retry_parameters).
|
1036
|
+
# Number of attempts per task. Cloud Tasks will attempt the task `max_attempts`
|
1037
|
+
# times (that is, if the first attempt fails, then there will be `max_attempts -
|
1038
|
+
# 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud
|
1039
|
+
# Tasks will pick the default. -1 indicates unlimited attempts. This field has
|
1040
|
+
# the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.
|
1041
|
+
# com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
1264
1042
|
# Corresponds to the JSON property `maxAttempts`
|
1265
1043
|
# @return [Fixnum]
|
1266
1044
|
attr_accessor :max_attempts
|
1267
1045
|
|
1268
|
-
# A task will be scheduled for retry between
|
1269
|
-
#
|
1270
|
-
#
|
1271
|
-
#
|
1272
|
-
#
|
1273
|
-
#
|
1274
|
-
#
|
1275
|
-
# `max_backoff` will be truncated to the nearest second.
|
1276
|
-
# This field has the same meaning as
|
1277
|
-
# [max_backoff_seconds in
|
1278
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1279
|
-
# queueref#retry_parameters).
|
1046
|
+
# A task will be scheduled for retry between min_backoff and max_backoff
|
1047
|
+
# duration after it fails, if the queue's RetryConfig specifies that the task
|
1048
|
+
# should be retried. If unspecified when the queue is created, Cloud Tasks will
|
1049
|
+
# pick the default. `max_backoff` will be truncated to the nearest second. This
|
1050
|
+
# field has the same meaning as [max_backoff_seconds in queue.yaml/xml](https://
|
1051
|
+
# cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1052
|
+
# retry_parameters).
|
1280
1053
|
# Corresponds to the JSON property `maxBackoff`
|
1281
1054
|
# @return [String]
|
1282
1055
|
attr_accessor :max_backoff
|
1283
1056
|
|
1284
|
-
# The time between retries will double `max_doublings` times.
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
#
|
1289
|
-
#
|
1290
|
-
#
|
1291
|
-
#
|
1292
|
-
#
|
1293
|
-
#
|
1294
|
-
#
|
1295
|
-
#
|
1296
|
-
# intervals of max_backoff until the
|
1297
|
-
# task has been attempted max_attempts
|
1298
|
-
# times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
|
1299
|
-
# 240s, 300s, 300s, ....
|
1300
|
-
# If unspecified when the queue is created, Cloud Tasks will pick the
|
1301
|
-
# default.
|
1302
|
-
# This field has the same meaning as
|
1303
|
-
# [max_doublings in
|
1304
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1305
|
-
# queueref#retry_parameters).
|
1057
|
+
# The time between retries will double `max_doublings` times. A task's retry
|
1058
|
+
# interval starts at min_backoff, then doubles `max_doublings` times, then
|
1059
|
+
# increases linearly, and finally retries at intervals of max_backoff up to
|
1060
|
+
# max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s,
|
1061
|
+
# and `max_doublings` is 3, then the a task will first be retried in 10s. The
|
1062
|
+
# retry interval will double three times, and then increase linearly by 2^3 *
|
1063
|
+
# 10s. Finally, the task will retry at intervals of max_backoff until the task
|
1064
|
+
# has been attempted max_attempts times. Thus, the requests will retry at 10s,
|
1065
|
+
# 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is
|
1066
|
+
# created, Cloud Tasks will pick the default. This field has the same meaning as
|
1067
|
+
# [max_doublings in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
1068
|
+
# standard/python/config/queueref#retry_parameters).
|
1306
1069
|
# Corresponds to the JSON property `maxDoublings`
|
1307
1070
|
# @return [Fixnum]
|
1308
1071
|
attr_accessor :max_doublings
|
1309
1072
|
|
1310
|
-
# If positive, `max_retry_duration` specifies the time limit for
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
#
|
1314
|
-
#
|
1315
|
-
#
|
1316
|
-
#
|
1317
|
-
#
|
1318
|
-
#
|
1319
|
-
# `max_retry_duration` will be truncated to the nearest second.
|
1320
|
-
# This field has the same meaning as
|
1321
|
-
# [task_age_limit in
|
1322
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1323
|
-
# queueref#retry_parameters).
|
1073
|
+
# If positive, `max_retry_duration` specifies the time limit for retrying a
|
1074
|
+
# failed task, measured from when the task was first attempted. Once `
|
1075
|
+
# max_retry_duration` time has passed *and* the task has been attempted
|
1076
|
+
# max_attempts times, no further attempts will be made and the task will be
|
1077
|
+
# deleted. If zero, then the task age is unlimited. If unspecified when the
|
1078
|
+
# queue is created, Cloud Tasks will pick the default. `max_retry_duration` will
|
1079
|
+
# be truncated to the nearest second. This field has the same meaning as [
|
1080
|
+
# task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
1081
|
+
# standard/python/config/queueref#retry_parameters).
|
1324
1082
|
# Corresponds to the JSON property `maxRetryDuration`
|
1325
1083
|
# @return [String]
|
1326
1084
|
attr_accessor :max_retry_duration
|
1327
1085
|
|
1328
|
-
# A task will be scheduled for retry between
|
1329
|
-
#
|
1330
|
-
#
|
1331
|
-
#
|
1332
|
-
#
|
1333
|
-
#
|
1334
|
-
#
|
1335
|
-
# `min_backoff` will be truncated to the nearest second.
|
1336
|
-
# This field has the same meaning as
|
1337
|
-
# [min_backoff_seconds in
|
1338
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1339
|
-
# queueref#retry_parameters).
|
1086
|
+
# A task will be scheduled for retry between min_backoff and max_backoff
|
1087
|
+
# duration after it fails, if the queue's RetryConfig specifies that the task
|
1088
|
+
# should be retried. If unspecified when the queue is created, Cloud Tasks will
|
1089
|
+
# pick the default. `min_backoff` will be truncated to the nearest second. This
|
1090
|
+
# field has the same meaning as [min_backoff_seconds in queue.yaml/xml](https://
|
1091
|
+
# cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1092
|
+
# retry_parameters).
|
1340
1093
|
# Corresponds to the JSON property `minBackoff`
|
1341
1094
|
# @return [String]
|
1342
1095
|
attr_accessor :min_backoff
|
@@ -1355,21 +1108,16 @@ module Google
|
|
1355
1108
|
end
|
1356
1109
|
end
|
1357
1110
|
|
1358
|
-
# Request message for forcing a task to run now using
|
1359
|
-
# RunTask.
|
1111
|
+
# Request message for forcing a task to run now using RunTask.
|
1360
1112
|
class RunTaskRequest
|
1361
1113
|
include Google::Apis::Core::Hashable
|
1362
1114
|
|
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.
|
1115
|
+
# The response_view specifies which subset of the Task will be returned. By
|
1116
|
+
# default response_view is BASIC; not all information is retrieved by default
|
1117
|
+
# because some data, such as payloads, might be desirable to return only when
|
1118
|
+
# needed because of its large size or because of the sensitivity of data that it
|
1119
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
1120
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
1373
1121
|
# Corresponds to the JSON property `responseView`
|
1374
1122
|
# @return [String]
|
1375
1123
|
attr_accessor :response_view
|
@@ -1389,66 +1137,32 @@ module Google
|
|
1389
1137
|
include Google::Apis::Core::Hashable
|
1390
1138
|
|
1391
1139
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1392
|
-
# controls for Google Cloud resources.
|
1393
|
-
# A `
|
1394
|
-
#
|
1395
|
-
#
|
1396
|
-
#
|
1397
|
-
#
|
1398
|
-
#
|
1399
|
-
#
|
1400
|
-
#
|
1401
|
-
#
|
1402
|
-
#
|
1403
|
-
# [
|
1404
|
-
#
|
1405
|
-
#
|
1406
|
-
# `
|
1407
|
-
# "
|
1408
|
-
# `
|
1409
|
-
# "
|
1410
|
-
#
|
1411
|
-
#
|
1412
|
-
#
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1416
|
-
#
|
1417
|
-
#
|
1418
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1419
|
-
# "members": [
|
1420
|
-
# "user:eve@example.com"
|
1421
|
-
# ],
|
1422
|
-
# "condition": `
|
1423
|
-
# "title": "expirable access",
|
1424
|
-
# "description": "Does not grant access after Sep 2020",
|
1425
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1426
|
-
# ",
|
1427
|
-
# `
|
1428
|
-
# `
|
1429
|
-
# ],
|
1430
|
-
# "etag": "BwWWja0YfJA=",
|
1431
|
-
# "version": 3
|
1432
|
-
# `
|
1433
|
-
# **YAML example:**
|
1434
|
-
# bindings:
|
1435
|
-
# - members:
|
1436
|
-
# - user:mike@example.com
|
1437
|
-
# - group:admins@example.com
|
1438
|
-
# - domain:google.com
|
1439
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1440
|
-
# role: roles/resourcemanager.organizationAdmin
|
1441
|
-
# - members:
|
1442
|
-
# - user:eve@example.com
|
1443
|
-
# role: roles/resourcemanager.organizationViewer
|
1444
|
-
# condition:
|
1445
|
-
# title: expirable access
|
1446
|
-
# description: Does not grant access after Sep 2020
|
1447
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1448
|
-
# - etag: BwWWja0YfJA=
|
1449
|
-
# - version: 3
|
1450
|
-
# For a description of IAM and its features, see the
|
1451
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1140
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1141
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1142
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1143
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1144
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1145
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1146
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1147
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1148
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1149
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1150
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1151
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1152
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1153
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1154
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1155
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1156
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1157
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1158
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1159
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1160
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1161
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1162
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1163
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1164
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1165
|
+
# google.com/iam/docs/).
|
1452
1166
|
# Corresponds to the JSON property `policy`
|
1453
1167
|
# @return [Google::Apis::CloudtasksV2::Policy]
|
1454
1168
|
attr_accessor :policy
|
@@ -1463,15 +1177,14 @@ module Google
|
|
1463
1177
|
end
|
1464
1178
|
end
|
1465
1179
|
|
1466
|
-
# Configuration options for writing logs to
|
1467
|
-
#
|
1180
|
+
# Configuration options for writing logs to [Stackdriver Logging](https://cloud.
|
1181
|
+
# google.com/logging/docs/).
|
1468
1182
|
class StackdriverLoggingConfig
|
1469
1183
|
include Google::Apis::Core::Hashable
|
1470
1184
|
|
1471
|
-
# Specifies the fraction of operations to write to
|
1472
|
-
#
|
1473
|
-
#
|
1474
|
-
# 0.0 is the default and means that no operations are logged.
|
1185
|
+
# Specifies the fraction of operations to write to [Stackdriver Logging](https://
|
1186
|
+
# cloud.google.com/logging/docs/). This field may contain any value between 0.0
|
1187
|
+
# and 1.0, inclusive. 0.0 is the default and means that no operations are logged.
|
1475
1188
|
# Corresponds to the JSON property `samplingRatio`
|
1476
1189
|
# @return [Float]
|
1477
1190
|
attr_accessor :sampling_ratio
|
@@ -1486,12 +1199,12 @@ module Google
|
|
1486
1199
|
end
|
1487
1200
|
end
|
1488
1201
|
|
1489
|
-
# The `Status` type defines a logical error model that is suitable for
|
1490
|
-
#
|
1491
|
-
#
|
1492
|
-
#
|
1493
|
-
#
|
1494
|
-
#
|
1202
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1203
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1204
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1205
|
+
# data: error code, error message, and error details. You can find out more
|
1206
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1207
|
+
# //cloud.google.com/apis/design/errors).
|
1495
1208
|
class Status
|
1496
1209
|
include Google::Apis::Core::Hashable
|
1497
1210
|
|
@@ -1500,15 +1213,15 @@ module Google
|
|
1500
1213
|
# @return [Fixnum]
|
1501
1214
|
attr_accessor :code
|
1502
1215
|
|
1503
|
-
# A list of messages that carry the error details.
|
1216
|
+
# A list of messages that carry the error details. There is a common set of
|
1504
1217
|
# message types for APIs to use.
|
1505
1218
|
# Corresponds to the JSON property `details`
|
1506
1219
|
# @return [Array<Hash<String,Object>>]
|
1507
1220
|
attr_accessor :details
|
1508
1221
|
|
1509
|
-
# A developer-facing error message, which should be in English. Any
|
1510
|
-
#
|
1511
|
-
#
|
1222
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1223
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1224
|
+
# field, or localized by the client.
|
1512
1225
|
# Corresponds to the JSON property `message`
|
1513
1226
|
# @return [String]
|
1514
1227
|
attr_accessor :message
|
@@ -1529,104 +1242,76 @@ module Google
|
|
1529
1242
|
class Task
|
1530
1243
|
include Google::Apis::Core::Hashable
|
1531
1244
|
|
1532
|
-
# App Engine HTTP request.
|
1533
|
-
#
|
1534
|
-
#
|
1535
|
-
#
|
1536
|
-
#
|
1537
|
-
#
|
1538
|
-
#
|
1539
|
-
# and
|
1540
|
-
#
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
#
|
1544
|
-
#
|
1545
|
-
#
|
1546
|
-
#
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
#
|
1550
|
-
#
|
1551
|
-
#
|
1552
|
-
#
|
1553
|
-
#
|
1554
|
-
#
|
1555
|
-
#
|
1556
|
-
#
|
1557
|
-
#
|
1558
|
-
#
|
1559
|
-
#
|
1560
|
-
#
|
1561
|
-
#
|
1562
|
-
#
|
1563
|
-
#
|
1564
|
-
#
|
1565
|
-
# URIs restricted with
|
1566
|
-
# [`login:
|
1567
|
-
# admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
|
1568
|
-
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
1569
|
-
# restricted with
|
1570
|
-
# [`login:
|
1571
|
-
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
1572
|
-
# appref)
|
1573
|
-
# Task dispatches also do not follow redirects.
|
1574
|
-
# The task attempt has succeeded if the app's request handler returns an HTTP
|
1575
|
-
# response code in the range [`200` - `299`]. The task attempt has failed if
|
1576
|
-
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
1577
|
-
# not receive response before the deadline. Failed
|
1578
|
-
# tasks will be retried according to the
|
1579
|
-
# retry configuration. `503` (Service Unavailable) is
|
1580
|
-
# considered an App Engine system error instead of an application error and
|
1581
|
-
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
1582
|
-
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
1583
|
-
# Requests) response from an app handler does not cause traffic congestion
|
1584
|
-
# control to throttle the queue.
|
1245
|
+
# App Engine HTTP request. The message defines the HTTP request that is sent to
|
1246
|
+
# an App Engine app when the task is dispatched. Using AppEngineHttpRequest
|
1247
|
+
# requires [`appengine.applications.get`](https://cloud.google.com/appengine/
|
1248
|
+
# docs/admin-api/access-control) Google IAM permission for the project and the
|
1249
|
+
# following scope: `https://www.googleapis.com/auth/cloud-platform` The task
|
1250
|
+
# will be delivered to the App Engine app which belongs to the same project as
|
1251
|
+
# the queue. For more information, see [How Requests are Routed](https://cloud.
|
1252
|
+
# google.com/appengine/docs/standard/python/how-requests-are-routed) and how
|
1253
|
+
# routing is affected by [dispatch files](https://cloud.google.com/appengine/
|
1254
|
+
# docs/python/config/dispatchref). Traffic is encrypted during transport and
|
1255
|
+
# never leaves Google datacenters. Because this traffic is carried over a
|
1256
|
+
# communication mechanism internal to Google, you cannot explicitly set the
|
1257
|
+
# protocol (for example, HTTP or HTTPS). The request to the handler, however,
|
1258
|
+
# will appear to have used the HTTP protocol. The AppEngineRouting used to
|
1259
|
+
# construct the URL that the task is delivered to can be set at the queue-level
|
1260
|
+
# or task-level: * If app_engine_routing_override is set on the queue, this
|
1261
|
+
# value is used for all tasks in the queue, no matter what the setting is for
|
1262
|
+
# the task-level app_engine_routing. The `url` that the task will be sent to is:
|
1263
|
+
# * `url =` host `+` relative_uri Tasks can be dispatched to secure app handlers,
|
1264
|
+
# unsecure app handlers, and URIs restricted with [`login: admin`](https://
|
1265
|
+
# cloud.google.com/appengine/docs/standard/python/config/appref). Because tasks
|
1266
|
+
# are not run as any user, they cannot be dispatched to URIs restricted with [`
|
1267
|
+
# login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
1268
|
+
# config/appref) Task dispatches also do not follow redirects. The task attempt
|
1269
|
+
# has succeeded if the app's request handler returns an HTTP response code in
|
1270
|
+
# the range [`200` - `299`]. The task attempt has failed if the app's handler
|
1271
|
+
# returns a non-2xx response code or Cloud Tasks does not receive response
|
1272
|
+
# before the deadline. Failed tasks will be retried according to the retry
|
1273
|
+
# configuration. `503` (Service Unavailable) is considered an App Engine system
|
1274
|
+
# error instead of an application error and will cause Cloud Tasks' traffic
|
1275
|
+
# congestion control to temporarily throttle the queue's dispatches. Unlike
|
1276
|
+
# other types of task targets, a `429` (Too Many Requests) response from an app
|
1277
|
+
# handler does not cause traffic congestion control to throttle the queue.
|
1585
1278
|
# Corresponds to the JSON property `appEngineHttpRequest`
|
1586
1279
|
# @return [Google::Apis::CloudtasksV2::AppEngineHttpRequest]
|
1587
1280
|
attr_accessor :app_engine_http_request
|
1588
1281
|
|
1589
|
-
# Output only. The time that the task was created.
|
1590
|
-
#
|
1282
|
+
# Output only. The time that the task was created. `create_time` will be
|
1283
|
+
# truncated to the nearest second.
|
1591
1284
|
# Corresponds to the JSON property `createTime`
|
1592
1285
|
# @return [String]
|
1593
1286
|
attr_accessor :create_time
|
1594
1287
|
|
1595
|
-
# Output only. The number of attempts dispatched.
|
1596
|
-
#
|
1597
|
-
# received a response.
|
1288
|
+
# Output only. The number of attempts dispatched. This count includes attempts
|
1289
|
+
# which have been dispatched but haven't received a response.
|
1598
1290
|
# Corresponds to the JSON property `dispatchCount`
|
1599
1291
|
# @return [Fixnum]
|
1600
1292
|
attr_accessor :dispatch_count
|
1601
1293
|
|
1602
|
-
# The deadline for requests sent to the worker. If the worker does not
|
1603
|
-
#
|
1604
|
-
#
|
1605
|
-
#
|
1606
|
-
#
|
1607
|
-
#
|
1608
|
-
#
|
1609
|
-
#
|
1610
|
-
#
|
1611
|
-
#
|
1612
|
-
#
|
1613
|
-
#
|
1614
|
-
#
|
1615
|
-
#
|
1616
|
-
#
|
1617
|
-
#
|
1618
|
-
#
|
1619
|
-
#
|
1620
|
-
#
|
1621
|
-
#
|
1622
|
-
#
|
1623
|
-
# the service's timeout. We recommend setting the `dispatch_deadline` to
|
1624
|
-
# at most a few seconds more than the app handler's timeout. For more
|
1625
|
-
# information see
|
1626
|
-
# [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
1627
|
-
# timeouts).
|
1628
|
-
# `dispatch_deadline` will be truncated to the nearest millisecond. The
|
1629
|
-
# deadline is an approximate deadline.
|
1294
|
+
# The deadline for requests sent to the worker. If the worker does not respond
|
1295
|
+
# by this deadline then the request is cancelled and the attempt is marked as a `
|
1296
|
+
# DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the
|
1297
|
+
# RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop
|
1298
|
+
# listening for the response, but whether the worker stops processing depends on
|
1299
|
+
# the worker. For example, if the worker is stuck, it may not react to cancelled
|
1300
|
+
# requests. The default and maximum values depend on the type of request: * For
|
1301
|
+
# HTTP tasks, the default is 10 minutes. The deadline must be in the interval [
|
1302
|
+
# 15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request
|
1303
|
+
# has the default deadline. The default deadline depends on the [scaling type](
|
1304
|
+
# https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#
|
1305
|
+
# instance_scaling) of the service: 10 minutes for standard apps with automatic
|
1306
|
+
# scaling, 24 hours for standard apps with manual and basic scaling, and 60
|
1307
|
+
# minutes for flex apps. If the request deadline is set, it must be in the
|
1308
|
+
# interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `
|
1309
|
+
# dispatch_deadline`, the app handler will not run for longer than than the
|
1310
|
+
# service's timeout. We recommend setting the `dispatch_deadline` to at most a
|
1311
|
+
# few seconds more than the app handler's timeout. For more information see [
|
1312
|
+
# Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
1313
|
+
# timeouts). `dispatch_deadline` will be truncated to the nearest millisecond.
|
1314
|
+
# The deadline is an approximate deadline.
|
1630
1315
|
# Corresponds to the JSON property `dispatchDeadline`
|
1631
1316
|
# @return [String]
|
1632
1317
|
attr_accessor :dispatch_deadline
|
@@ -1636,28 +1321,24 @@ module Google
|
|
1636
1321
|
# @return [Google::Apis::CloudtasksV2::Attempt]
|
1637
1322
|
attr_accessor :first_attempt
|
1638
1323
|
|
1639
|
-
# HTTP request.
|
1640
|
-
#
|
1641
|
-
#
|
1642
|
-
#
|
1643
|
-
#
|
1644
|
-
#
|
1645
|
-
# * User-specified throttling: retry configuration,
|
1646
|
-
# rate limits, and the queue's state.
|
1324
|
+
# HTTP request. The task will be pushed to the worker as an HTTP request. If the
|
1325
|
+
# worker or the redirected worker acknowledges the task by returning a
|
1326
|
+
# successful HTTP response code ([`200` - `299`]), the task will be removed from
|
1327
|
+
# the queue. If any other HTTP response code is returned or no response is
|
1328
|
+
# received, the task will be retried according to the following: * User-
|
1329
|
+
# specified throttling: retry configuration, rate limits, and the queue's state.
|
1647
1330
|
# * System throttling: To prevent the worker from overloading, Cloud Tasks may
|
1648
|
-
# temporarily reduce the queue's effective rate. User-specified settings
|
1649
|
-
#
|
1650
|
-
#
|
1651
|
-
#
|
1652
|
-
# rate
|
1653
|
-
#
|
1654
|
-
#
|
1655
|
-
#
|
1656
|
-
#
|
1657
|
-
#
|
1658
|
-
#
|
1659
|
-
# spikes in create task rates, the queue being unpaused, or many tasks
|
1660
|
-
# that are scheduled at the same time).
|
1331
|
+
# temporarily reduce the queue's effective rate. User-specified settings will
|
1332
|
+
# not be changed. System throttling happens because: * Cloud Tasks backs off on
|
1333
|
+
# all errors. Normally the backoff specified in rate limits will be used. But if
|
1334
|
+
# the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or
|
1335
|
+
# the rate of errors is high, Cloud Tasks will use a higher backoff rate. The
|
1336
|
+
# retry specified in the `Retry-After` HTTP response header is considered. * To
|
1337
|
+
# prevent traffic spikes and to smooth sudden increases in traffic, dispatches
|
1338
|
+
# ramp up slowly when the queue is newly created or idle and if large numbers of
|
1339
|
+
# tasks suddenly become available to dispatch (due to spikes in create task
|
1340
|
+
# rates, the queue being unpaused, or many tasks that are scheduled at the same
|
1341
|
+
# time).
|
1661
1342
|
# Corresponds to the JSON property `httpRequest`
|
1662
1343
|
# @return [Google::Apis::CloudtasksV2::HttpRequest]
|
1663
1344
|
attr_accessor :http_request
|
@@ -1667,24 +1348,18 @@ module Google
|
|
1667
1348
|
# @return [Google::Apis::CloudtasksV2::Attempt]
|
1668
1349
|
attr_accessor :last_attempt
|
1669
1350
|
|
1670
|
-
# Optionally caller-specified in CreateTask.
|
1671
|
-
#
|
1672
|
-
#
|
1673
|
-
#
|
1674
|
-
#
|
1675
|
-
#
|
1676
|
-
#
|
1677
|
-
#
|
1678
|
-
#
|
1679
|
-
#
|
1680
|
-
#
|
1681
|
-
#
|
1682
|
-
# ListLocations.
|
1683
|
-
# For more information, see https://cloud.google.com/about/locations/.
|
1684
|
-
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1685
|
-
# hyphens (-). The maximum length is 100 characters.
|
1686
|
-
# * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
|
1687
|
-
# hyphens (-), or underscores (_). The maximum length is 500 characters.
|
1351
|
+
# Optionally caller-specified in CreateTask. The task name. The task name must
|
1352
|
+
# have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/
|
1353
|
+
# QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers
|
1354
|
+
# ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [
|
1355
|
+
# Identifying projects](https://cloud.google.com/resource-manager/docs/creating-
|
1356
|
+
# managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID
|
1357
|
+
# for the task's location. The list of available locations can be obtained by
|
1358
|
+
# calling ListLocations. For more information, see https://cloud.google.com/
|
1359
|
+
# about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
1360
|
+
# or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain
|
1361
|
+
# only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The
|
1362
|
+
# maximum length is 500 characters.
|
1688
1363
|
# Corresponds to the JSON property `name`
|
1689
1364
|
# @return [String]
|
1690
1365
|
attr_accessor :name
|
@@ -1694,14 +1369,13 @@ module Google
|
|
1694
1369
|
# @return [Fixnum]
|
1695
1370
|
attr_accessor :response_count
|
1696
1371
|
|
1697
|
-
# The time when the task is scheduled to be attempted or retried.
|
1698
|
-
#
|
1372
|
+
# The time when the task is scheduled to be attempted or retried. `schedule_time`
|
1373
|
+
# will be truncated to the nearest microsecond.
|
1699
1374
|
# Corresponds to the JSON property `scheduleTime`
|
1700
1375
|
# @return [String]
|
1701
1376
|
attr_accessor :schedule_time
|
1702
1377
|
|
1703
|
-
# Output only. The view specifies which subset of the Task has
|
1704
|
-
# been returned.
|
1378
|
+
# Output only. The view specifies which subset of the Task has been returned.
|
1705
1379
|
# Corresponds to the JSON property `view`
|
1706
1380
|
# @return [String]
|
1707
1381
|
attr_accessor :view
|
@@ -1730,10 +1404,9 @@ module Google
|
|
1730
1404
|
class TestIamPermissionsRequest
|
1731
1405
|
include Google::Apis::Core::Hashable
|
1732
1406
|
|
1733
|
-
# The set of permissions to check for the `resource`. Permissions with
|
1734
|
-
#
|
1735
|
-
#
|
1736
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1407
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1408
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
1409
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1737
1410
|
# Corresponds to the JSON property `permissions`
|
1738
1411
|
# @return [Array<String>]
|
1739
1412
|
attr_accessor :permissions
|
@@ -1752,8 +1425,7 @@ module Google
|
|
1752
1425
|
class TestIamPermissionsResponse
|
1753
1426
|
include Google::Apis::Core::Hashable
|
1754
1427
|
|
1755
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
1756
|
-
# allowed.
|
1428
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
1757
1429
|
# Corresponds to the JSON property `permissions`
|
1758
1430
|
# @return [Array<String>]
|
1759
1431
|
attr_accessor :permissions
|