google-api-client 0.43.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +205 -75
- data/generated/google/apis/apigee_v1/representations.rb +51 -0
- data/generated/google/apis/apigee_v1/service.rb +133 -34
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +355 -553
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +90 -115
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +915 -965
- data/generated/google/apis/container_v1/representations.rb +53 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
- data/generated/google/apis/container_v1beta1/representations.rb +70 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -2
- data/generated/google/apis/content_v2_1/representations.rb +34 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +37 -4
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
- data/generated/google/apis/displayvideo_v1/service.rb +48 -36
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +4 -3
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +675 -853
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -592
- data/generated/google/apis/iam_v1/service.rb +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +949 -1144
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +103 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +220 -322
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +226 -270
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
- data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +39 -39
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +392 -518
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +172 -208
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +4 -3
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sql_v1beta4/service.rb +51 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +347 -0
- data/generated/google/apis/youtube_v3/representations.rb +176 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -31
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/memcache_v1/representations.rb +0 -471
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta3
|
27
27
|
VERSION = 'V2beta3'
|
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,36 +22,25 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudtasksV2beta3
|
24
24
|
|
25
|
-
# App Engine HTTP queue.
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
32
|
-
# api/access-control)
|
33
|
-
# Google IAM permission for the project
|
34
|
-
# and the following scope:
|
25
|
+
# App Engine HTTP queue. The task will be delivered to the App Engine
|
26
|
+
# application hostname specified by its AppEngineHttpQueue and
|
27
|
+
# AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how
|
28
|
+
# the task's host URL is constructed. Using AppEngineHttpQueue requires [`
|
29
|
+
# appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
|
30
|
+
# access-control) Google IAM permission for the project and the following scope:
|
35
31
|
# `https://www.googleapis.com/auth/cloud-platform`
|
36
32
|
class AppEngineHttpQueue
|
37
33
|
include Google::Apis::Core::Hashable
|
38
34
|
|
39
|
-
# App Engine Routing.
|
40
|
-
#
|
41
|
-
# and
|
42
|
-
#
|
43
|
-
#
|
44
|
-
# Engine](https://
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
# engine),
|
49
|
-
# [App Engine Standard request
|
50
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
51
|
-
# are-routed),
|
52
|
-
# and [App Engine Flex request
|
53
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
54
|
-
# are-routed).
|
35
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
36
|
+
# service, version, and instance. For more information about services, versions,
|
37
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
38
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
39
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
40
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
41
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
42
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
43
|
+
# flexible/python/how-requests-are-routed).
|
55
44
|
# Corresponds to the JSON property `appEngineRoutingOverride`
|
56
45
|
# @return [Google::Apis::CloudtasksV2beta3::AppEngineRouting]
|
57
46
|
attr_accessor :app_engine_routing_override
|
@@ -66,146 +55,103 @@ module Google
|
|
66
55
|
end
|
67
56
|
end
|
68
57
|
|
69
|
-
# App Engine HTTP request.
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
# and
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
# Because this traffic is carried over a communication mechanism internal to
|
88
|
-
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
89
|
-
# The request to the handler, however, will appear to have used the HTTP
|
90
|
-
# protocol.
|
91
|
-
# The AppEngineRouting used to construct the URL that the task is
|
92
|
-
# delivered to can be set at the queue-level or task-level:
|
93
|
-
# * If set,
|
94
|
-
# app_engine_routing_override
|
95
|
-
# is used for all tasks in the queue, no matter what the setting
|
96
|
-
# is for the
|
97
|
-
# task-level app_engine_routing.
|
98
|
-
# The `url` that the task will be sent to is:
|
99
|
-
# * `url =` host `+`
|
100
|
-
# relative_uri
|
58
|
+
# App Engine HTTP request. The message defines the HTTP request that is sent to
|
59
|
+
# an App Engine app when the task is dispatched. Using AppEngineHttpRequest
|
60
|
+
# requires [`appengine.applications.get`](https://cloud.google.com/appengine/
|
61
|
+
# docs/admin-api/access-control) Google IAM permission for the project and the
|
62
|
+
# following scope: `https://www.googleapis.com/auth/cloud-platform` The task
|
63
|
+
# will be delivered to the App Engine app which belongs to the same project as
|
64
|
+
# the queue. For more information, see [How Requests are Routed](https://cloud.
|
65
|
+
# google.com/appengine/docs/standard/python/how-requests-are-routed) and how
|
66
|
+
# routing is affected by [dispatch files](https://cloud.google.com/appengine/
|
67
|
+
# docs/python/config/dispatchref). Traffic is encrypted during transport and
|
68
|
+
# never leaves Google datacenters. Because this traffic is carried over a
|
69
|
+
# communication mechanism internal to Google, you cannot explicitly set the
|
70
|
+
# protocol (for example, HTTP or HTTPS). The request to the handler, however,
|
71
|
+
# will appear to have used the HTTP protocol. The AppEngineRouting used to
|
72
|
+
# construct the URL that the task is delivered to can be set at the queue-level
|
73
|
+
# or task-level: * If set, app_engine_routing_override is used for all tasks in
|
74
|
+
# the queue, no matter what the setting is for the task-level app_engine_routing.
|
75
|
+
# The `url` that the task will be sent to is: * `url =` host `+` relative_uri
|
101
76
|
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
102
|
-
# URIs restricted with
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
# [`
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
# not receive response before the deadline. Failed
|
115
|
-
# tasks will be retried according to the
|
116
|
-
# retry configuration. `503` (Service Unavailable) is
|
117
|
-
# considered an App Engine system error instead of an application error and
|
118
|
-
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
119
|
-
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
77
|
+
# URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/
|
78
|
+
# standard/python/config/appref). Because tasks are not run as any user, they
|
79
|
+
# cannot be dispatched to URIs restricted with [`login: required`](https://cloud.
|
80
|
+
# google.com/appengine/docs/standard/python/config/appref) Task dispatches also
|
81
|
+
# do not follow redirects. The task attempt has succeeded if the app's request
|
82
|
+
# handler returns an HTTP response code in the range [`200` - `299`]. The task
|
83
|
+
# attempt has failed if the app's handler returns a non-2xx response code or
|
84
|
+
# Cloud Tasks does not receive response before the deadline. Failed tasks will
|
85
|
+
# be retried according to the retry configuration. `503` (Service Unavailable)
|
86
|
+
# is considered an App Engine system error instead of an application error and
|
87
|
+
# will cause Cloud Tasks' traffic congestion control to temporarily throttle the
|
88
|
+
# queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
120
89
|
# Requests) response from an app handler does not cause traffic congestion
|
121
90
|
# control to throttle the queue.
|
122
91
|
class AppEngineHttpRequest
|
123
92
|
include Google::Apis::Core::Hashable
|
124
93
|
|
125
|
-
# App Engine Routing.
|
126
|
-
#
|
127
|
-
# and
|
128
|
-
#
|
129
|
-
#
|
130
|
-
# Engine](https://
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
# engine),
|
135
|
-
# [App Engine Standard request
|
136
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
137
|
-
# are-routed),
|
138
|
-
# and [App Engine Flex request
|
139
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
140
|
-
# are-routed).
|
94
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
95
|
+
# service, version, and instance. For more information about services, versions,
|
96
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
97
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
98
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
99
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
100
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
101
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
102
|
+
# flexible/python/how-requests-are-routed).
|
141
103
|
# Corresponds to the JSON property `appEngineRouting`
|
142
104
|
# @return [Google::Apis::CloudtasksV2beta3::AppEngineRouting]
|
143
105
|
attr_accessor :app_engine_routing
|
144
106
|
|
145
|
-
# HTTP request body.
|
146
|
-
#
|
147
|
-
# an error to set a body on a task with an incompatible HttpMethod.
|
107
|
+
# HTTP request body. A request body is allowed only if the HTTP method is POST
|
108
|
+
# or PUT. It is an error to set a body on a task with an incompatible HttpMethod.
|
148
109
|
# Corresponds to the JSON property `body`
|
149
110
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
150
111
|
# @return [String]
|
151
112
|
attr_accessor :body
|
152
113
|
|
153
|
-
# HTTP request headers.
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
# Cloud Tasks
|
159
|
-
#
|
160
|
-
# `
|
161
|
-
#
|
162
|
-
# `
|
163
|
-
#
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# * `
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
# * `Host`
|
175
|
-
# * `X-Google-*`
|
176
|
-
# * `X-AppEngine-*`
|
177
|
-
# In addition, Cloud Tasks sets some headers when the task is dispatched,
|
178
|
-
# such as headers containing information about the task; see
|
179
|
-
# [request
|
180
|
-
# headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
181
|
-
# reading_request_headers).
|
182
|
-
# These headers are set only when the task is dispatched, so they are not
|
183
|
-
# visible when the task is returned in a Cloud Tasks response.
|
184
|
-
# Although there is no specific limit for the maximum number of headers or
|
185
|
-
# the size, there is a limit on the maximum size of the Task. For more
|
186
|
-
# information, see the CreateTask documentation.
|
114
|
+
# HTTP request headers. This map contains the header field names and values.
|
115
|
+
# Headers can be set when the task is created. Repeated headers are not
|
116
|
+
# supported but a header value can contain commas. Cloud Tasks sets some headers
|
117
|
+
# to default values: * `User-Agent`: By default, this header is `"AppEngine-
|
118
|
+
# Google; (+http://code.google.com/appengine)"`. This header can be modified,
|
119
|
+
# but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/
|
120
|
+
# appengine)"` to the modified `User-Agent`. If the task has a body, Cloud Tasks
|
121
|
+
# sets the following headers: * `Content-Type`: By default, the `Content-Type`
|
122
|
+
# header is set to `"application/octet-stream"`. The default can be overridden
|
123
|
+
# by explicitly setting `Content-Type` to a particular media type when the task
|
124
|
+
# is created. For example, `Content-Type` can be set to `"application/json"`. * `
|
125
|
+
# Content-Length`: This is computed by Cloud Tasks. This value is output only.
|
126
|
+
# It cannot be changed. The headers below cannot be set or overridden: * `Host` *
|
127
|
+
# `X-Google-*` * `X-AppEngine-*` In addition, Cloud Tasks sets some headers
|
128
|
+
# when the task is dispatched, such as headers containing information about the
|
129
|
+
# task; see [request headers](https://cloud.google.com/tasks/docs/creating-
|
130
|
+
# appengine-handlers#reading_request_headers). These headers are set only when
|
131
|
+
# the task is dispatched, so they are not visible when the task is returned in a
|
132
|
+
# Cloud Tasks response. Although there is no specific limit for the maximum
|
133
|
+
# number of headers or the size, there is a limit on the maximum size of the
|
134
|
+
# Task. For more information, see the CreateTask documentation.
|
187
135
|
# Corresponds to the JSON property `headers`
|
188
136
|
# @return [Hash<String,String>]
|
189
137
|
attr_accessor :headers
|
190
138
|
|
191
|
-
# The HTTP method to use for the request. The default is POST.
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
199
|
-
# are-handled).
|
139
|
+
# The HTTP method to use for the request. The default is POST. The app's request
|
140
|
+
# handler for the task's target URL must be able to handle HTTP requests with
|
141
|
+
# this http_method, otherwise the task attempt fails with error code 405 (Method
|
142
|
+
# Not Allowed). See [Writing a push task request handler](https://cloud.google.
|
143
|
+
# com/appengine/docs/java/taskqueue/push/creating-handlers#
|
144
|
+
# writing_a_push_task_request_handler) and the App Engine documentation for your
|
145
|
+
# runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/
|
146
|
+
# standard/python3/how-requests-are-handled).
|
200
147
|
# Corresponds to the JSON property `httpMethod`
|
201
148
|
# @return [String]
|
202
149
|
attr_accessor :http_method
|
203
150
|
|
204
|
-
# The relative URI.
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
# No spaces are allowed, and the maximum length allowed is 2083 characters.
|
151
|
+
# The relative URI. The relative URI must begin with "/" and must be a valid
|
152
|
+
# HTTP relative URI. It can contain a path and query string arguments. If the
|
153
|
+
# relative URI is empty, then the root path "/" will be used. No spaces are
|
154
|
+
# allowed, and the maximum length allowed is 2083 characters.
|
209
155
|
# Corresponds to the JSON property `relativeUri`
|
210
156
|
# @return [String]
|
211
157
|
attr_accessor :relative_uri
|
@@ -224,89 +170,59 @@ module Google
|
|
224
170
|
end
|
225
171
|
end
|
226
172
|
|
227
|
-
# App Engine Routing.
|
228
|
-
#
|
229
|
-
# and
|
230
|
-
#
|
231
|
-
#
|
232
|
-
# Engine](https://
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
# engine),
|
237
|
-
# [App Engine Standard request
|
238
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
239
|
-
# are-routed),
|
240
|
-
# and [App Engine Flex request
|
241
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
242
|
-
# are-routed).
|
173
|
+
# App Engine Routing. Defines routing characteristics specific to App Engine -
|
174
|
+
# service, version, and instance. For more information about services, versions,
|
175
|
+
# and instances see [An Overview of App Engine](https://cloud.google.com/
|
176
|
+
# appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
|
177
|
+
# on Google App Engine](https://cloud.google.com/appengine/docs/python/
|
178
|
+
# microservices-on-app-engine), [App Engine Standard request routing](https://
|
179
|
+
# cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
|
180
|
+
# App Engine Flex request routing](https://cloud.google.com/appengine/docs/
|
181
|
+
# flexible/python/how-requests-are-routed).
|
243
182
|
class AppEngineRouting
|
244
183
|
include Google::Apis::Core::Hashable
|
245
184
|
|
246
|
-
# Output only. The host that the task is sent to.
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
# For more information, see
|
253
|
-
# [How Requests are
|
254
|
-
# Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
255
|
-
# are-routed).
|
185
|
+
# Output only. The host that the task is sent to. The host is constructed from
|
186
|
+
# the domain name of the app associated with the queue's project ID (for example
|
187
|
+
# .appspot.com), and the service, version, and instance. Tasks which were
|
188
|
+
# created using the App Engine SDK might have a custom domain name. For more
|
189
|
+
# information, see [How Requests are Routed](https://cloud.google.com/appengine/
|
190
|
+
# docs/standard/python/how-requests-are-routed).
|
256
191
|
# Corresponds to the JSON property `host`
|
257
192
|
# @return [String]
|
258
193
|
attr_accessor :host
|
259
194
|
|
260
|
-
# App instance.
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
# Standard](
|
266
|
-
#
|
267
|
-
# App Engine Flex
|
268
|
-
#
|
269
|
-
# routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
|
270
|
-
# are-routed)
|
271
|
-
# and [App Engine Flex request
|
272
|
-
# routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
|
273
|
-
# are-routed).
|
195
|
+
# App instance. By default, the task is sent to an instance which is available
|
196
|
+
# when the task is attempted. Requests can only be sent to a specific instance
|
197
|
+
# if [manual scaling is used in App Engine Standard](https://cloud.google.com/
|
198
|
+
# appengine/docs/python/an-overview-of-app-engine?hl=en_US#
|
199
|
+
# scaling_types_and_instance_classes). App Engine Flex does not support
|
200
|
+
# instances. For more information, see [App Engine Standard request routing](
|
201
|
+
# https://cloud.google.com/appengine/docs/standard/python/how-requests-are-
|
202
|
+
# routed) and [App Engine Flex request routing](https://cloud.google.com/
|
203
|
+
# appengine/docs/flexible/python/how-requests-are-routed).
|
274
204
|
# Corresponds to the JSON property `instance`
|
275
205
|
# @return [String]
|
276
206
|
attr_accessor :instance
|
277
207
|
|
278
|
-
# App service.
|
279
|
-
#
|
280
|
-
#
|
281
|
-
# For some
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
# instance. For example, some tasks
|
286
|
-
# which were created using the App Engine SDK use a custom domain
|
287
|
-
# name; custom domains are not parsed by Cloud Tasks. If
|
288
|
-
# host is not parsable, then
|
289
|
-
# service,
|
290
|
-
# version, and
|
291
|
-
# instance are the empty string.
|
208
|
+
# App service. By default, the task is sent to the service which is the default
|
209
|
+
# service when the task is attempted. For some queues or tasks which were
|
210
|
+
# created using the App Engine Task Queue API, host is not parsable into service,
|
211
|
+
# version, and instance. For example, some tasks which were created using the
|
212
|
+
# App Engine SDK use a custom domain name; custom domains are not parsed by
|
213
|
+
# Cloud Tasks. If host is not parsable, then service, version, and instance are
|
214
|
+
# the empty string.
|
292
215
|
# Corresponds to the JSON property `service`
|
293
216
|
# @return [String]
|
294
217
|
attr_accessor :service
|
295
218
|
|
296
|
-
# App version.
|
297
|
-
#
|
298
|
-
#
|
299
|
-
# For some
|
300
|
-
#
|
301
|
-
#
|
302
|
-
#
|
303
|
-
# instance. For example, some tasks
|
304
|
-
# which were created using the App Engine SDK use a custom domain
|
305
|
-
# name; custom domains are not parsed by Cloud Tasks. If
|
306
|
-
# host is not parsable, then
|
307
|
-
# service,
|
308
|
-
# version, and
|
309
|
-
# instance are the empty string.
|
219
|
+
# App version. By default, the task is sent to the version which is the default
|
220
|
+
# version when the task is attempted. For some queues or tasks which were
|
221
|
+
# created using the App Engine Task Queue API, host is not parsable into service,
|
222
|
+
# version, and instance. For example, some tasks which were created using the
|
223
|
+
# App Engine SDK use a custom domain name; custom domains are not parsed by
|
224
|
+
# Cloud Tasks. If host is not parsable, then service, version, and instance are
|
225
|
+
# the empty string.
|
310
226
|
# Corresponds to the JSON property `version`
|
311
227
|
# @return [String]
|
312
228
|
attr_accessor :version
|
@@ -328,30 +244,30 @@ module Google
|
|
328
244
|
class Attempt
|
329
245
|
include Google::Apis::Core::Hashable
|
330
246
|
|
331
|
-
# Output only. The time that this attempt was dispatched.
|
332
|
-
#
|
247
|
+
# Output only. The time that this attempt was dispatched. `dispatch_time` will
|
248
|
+
# be truncated to the nearest microsecond.
|
333
249
|
# Corresponds to the JSON property `dispatchTime`
|
334
250
|
# @return [String]
|
335
251
|
attr_accessor :dispatch_time
|
336
252
|
|
337
|
-
# The `Status` type defines a logical error model that is suitable for
|
338
|
-
#
|
339
|
-
#
|
340
|
-
#
|
341
|
-
#
|
342
|
-
#
|
253
|
+
# The `Status` type defines a logical error model that is suitable for different
|
254
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
255
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
256
|
+
# data: error code, error message, and error details. You can find out more
|
257
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
258
|
+
# //cloud.google.com/apis/design/errors).
|
343
259
|
# Corresponds to the JSON property `responseStatus`
|
344
260
|
# @return [Google::Apis::CloudtasksV2beta3::Status]
|
345
261
|
attr_accessor :response_status
|
346
262
|
|
347
|
-
# Output only. The time that this attempt response was received.
|
348
|
-
#
|
263
|
+
# Output only. The time that this attempt response was received. `response_time`
|
264
|
+
# will be truncated to the nearest microsecond.
|
349
265
|
# Corresponds to the JSON property `responseTime`
|
350
266
|
# @return [String]
|
351
267
|
attr_accessor :response_time
|
352
268
|
|
353
|
-
# Output only. The time that this attempt was scheduled.
|
354
|
-
#
|
269
|
+
# Output only. The time that this attempt was scheduled. `schedule_time` will be
|
270
|
+
# truncated to the nearest microsecond.
|
355
271
|
# Corresponds to the JSON property `scheduleTime`
|
356
272
|
# @return [String]
|
357
273
|
attr_accessor :schedule_time
|
@@ -373,69 +289,57 @@ module Google
|
|
373
289
|
class Binding
|
374
290
|
include Google::Apis::Core::Hashable
|
375
291
|
|
376
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
# description: "Determines if
|
382
|
-
# expression: "document.
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
391
|
-
# Example (Data Manipulation):
|
392
|
-
# title: "Notification string"
|
393
|
-
# description: "Create a notification string with a timestamp."
|
394
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
395
|
-
# The exact variables and functions that may be referenced within an expression
|
396
|
-
# are determined by the service that evaluates it. See the service
|
397
|
-
# documentation for additional information.
|
292
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
293
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
294
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
295
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
296
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
297
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
298
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
299
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
300
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
301
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
302
|
+
# string" description: "Create a notification string with a timestamp."
|
303
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
304
|
+
# exact variables and functions that may be referenced within an expression are
|
305
|
+
# determined by the service that evaluates it. See the service documentation for
|
306
|
+
# additional information.
|
398
307
|
# Corresponds to the JSON property `condition`
|
399
308
|
# @return [Google::Apis::CloudtasksV2beta3::Expr]
|
400
309
|
attr_accessor :condition
|
401
310
|
|
402
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
408
|
-
# * `
|
409
|
-
# account. For example, `
|
410
|
-
# * `
|
411
|
-
#
|
412
|
-
#
|
413
|
-
# For example, `
|
414
|
-
#
|
415
|
-
#
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
# deleted
|
422
|
-
#
|
423
|
-
# If the
|
424
|
-
# `
|
425
|
-
# role in the binding.
|
426
|
-
#
|
427
|
-
#
|
428
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
429
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
430
|
-
# recovered group retains the role in the binding.
|
431
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
432
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
311
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
312
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
313
|
+
# that represents anyone who is on the internet; with or without a Google
|
314
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
315
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
316
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
317
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
318
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
319
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
320
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
321
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
322
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
323
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
324
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
325
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
326
|
+
# identifier) representing a service account that has been recently deleted. For
|
327
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
328
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
329
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
330
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
331
|
+
# identifier) representing a Google group that has been recently deleted. For
|
332
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
333
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
334
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
335
|
+
# primary) that represents all the users of that domain. For example, `google.
|
336
|
+
# com` or `example.com`.
|
433
337
|
# Corresponds to the JSON property `members`
|
434
338
|
# @return [Array<String>]
|
435
339
|
attr_accessor :members
|
436
340
|
|
437
|
-
# Role that is assigned to `members`.
|
438
|
-
#
|
341
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
342
|
+
# , or `roles/owner`.
|
439
343
|
# Corresponds to the JSON property `role`
|
440
344
|
# @return [String]
|
441
345
|
attr_accessor :role
|
@@ -456,16 +360,12 @@ module Google
|
|
456
360
|
class CreateTaskRequest
|
457
361
|
include Google::Apis::Core::Hashable
|
458
362
|
|
459
|
-
# The response_view specifies which subset of the Task will be
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
#
|
464
|
-
#
|
465
|
-
# contains.
|
466
|
-
# Authorization for FULL requires
|
467
|
-
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
468
|
-
# permission on the Task resource.
|
363
|
+
# The response_view specifies which subset of the Task will be returned. By
|
364
|
+
# default response_view is BASIC; not all information is retrieved by default
|
365
|
+
# because some data, such as payloads, might be desirable to return only when
|
366
|
+
# needed because of its large size or because of the sensitivity of data that it
|
367
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
368
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
469
369
|
# Corresponds to the JSON property `responseView`
|
470
370
|
# @return [String]
|
471
371
|
attr_accessor :response_view
|
@@ -486,13 +386,11 @@ module Google
|
|
486
386
|
end
|
487
387
|
end
|
488
388
|
|
489
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
# `
|
495
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
389
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
390
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
391
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
392
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
393
|
+
# `Empty` is empty JSON object ````.
|
496
394
|
class Empty
|
497
395
|
include Google::Apis::Core::Hashable
|
498
396
|
|
@@ -505,52 +403,43 @@ module Google
|
|
505
403
|
end
|
506
404
|
end
|
507
405
|
|
508
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
509
|
-
#
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
# description: "Determines if
|
514
|
-
# expression: "document.
|
515
|
-
#
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
#
|
523
|
-
# Example (Data Manipulation):
|
524
|
-
# title: "Notification string"
|
525
|
-
# description: "Create a notification string with a timestamp."
|
526
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
527
|
-
# The exact variables and functions that may be referenced within an expression
|
528
|
-
# are determined by the service that evaluates it. See the service
|
529
|
-
# documentation for additional information.
|
406
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
407
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
408
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
409
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
410
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
411
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
412
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
413
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
414
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
415
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
416
|
+
# string" description: "Create a notification string with a timestamp."
|
417
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
418
|
+
# exact variables and functions that may be referenced within an expression are
|
419
|
+
# determined by the service that evaluates it. See the service documentation for
|
420
|
+
# additional information.
|
530
421
|
class Expr
|
531
422
|
include Google::Apis::Core::Hashable
|
532
423
|
|
533
|
-
# Optional. Description of the expression. This is a longer text which
|
534
|
-
#
|
424
|
+
# Optional. Description of the expression. This is a longer text which describes
|
425
|
+
# the expression, e.g. when hovered over it in a UI.
|
535
426
|
# Corresponds to the JSON property `description`
|
536
427
|
# @return [String]
|
537
428
|
attr_accessor :description
|
538
429
|
|
539
|
-
# Textual representation of an expression in Common Expression Language
|
540
|
-
# syntax.
|
430
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
541
431
|
# Corresponds to the JSON property `expression`
|
542
432
|
# @return [String]
|
543
433
|
attr_accessor :expression
|
544
434
|
|
545
|
-
# Optional. String indicating the location of the expression for error
|
546
|
-
#
|
435
|
+
# Optional. String indicating the location of the expression for error reporting,
|
436
|
+
# e.g. a file name and a position in the file.
|
547
437
|
# Corresponds to the JSON property `location`
|
548
438
|
# @return [String]
|
549
439
|
attr_accessor :location
|
550
440
|
|
551
|
-
# Optional. Title for the expression, i.e. a short string describing
|
552
|
-
#
|
553
|
-
# expression.
|
441
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
442
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
554
443
|
# Corresponds to the JSON property `title`
|
555
444
|
# @return [String]
|
556
445
|
attr_accessor :title
|
@@ -591,15 +480,13 @@ module Google
|
|
591
480
|
class GetPolicyOptions
|
592
481
|
include Google::Apis::Core::Hashable
|
593
482
|
|
594
|
-
# Optional. The policy format version to be returned.
|
595
|
-
#
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
# [IAM
|
602
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
483
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
484
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
485
|
+
# policies with any conditional bindings must specify version 3. Policies
|
486
|
+
# without any conditional bindings may specify any valid value or leave the
|
487
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
488
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
489
|
+
# resource-policies).
|
603
490
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
604
491
|
# @return [Fixnum]
|
605
492
|
attr_accessor :requested_policy_version
|
@@ -614,61 +501,48 @@ module Google
|
|
614
501
|
end
|
615
502
|
end
|
616
503
|
|
617
|
-
# HTTP request.
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
623
|
-
# * User-specified throttling: retry configuration,
|
624
|
-
# rate limits, and the queue's state.
|
504
|
+
# HTTP request. The task will be pushed to the worker as an HTTP request. If the
|
505
|
+
# worker or the redirected worker acknowledges the task by returning a
|
506
|
+
# successful HTTP response code ([`200` - `299`]), the task will be removed from
|
507
|
+
# the queue. If any other HTTP response code is returned or no response is
|
508
|
+
# received, the task will be retried according to the following: * User-
|
509
|
+
# specified throttling: retry configuration, rate limits, and the queue's state.
|
625
510
|
# * System throttling: To prevent the worker from overloading, Cloud Tasks may
|
626
|
-
# temporarily reduce the queue's effective rate. User-specified settings
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
# rate
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
# spikes in create task rates, the queue being unpaused, or many tasks
|
638
|
-
# that are scheduled at the same time).
|
511
|
+
# temporarily reduce the queue's effective rate. User-specified settings will
|
512
|
+
# not be changed. System throttling happens because: * Cloud Tasks backs off on
|
513
|
+
# all errors. Normally the backoff specified in rate limits will be used. But if
|
514
|
+
# the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or
|
515
|
+
# the rate of errors is high, Cloud Tasks will use a higher backoff rate. The
|
516
|
+
# retry specified in the `Retry-After` HTTP response header is considered. * To
|
517
|
+
# prevent traffic spikes and to smooth sudden increases in traffic, dispatches
|
518
|
+
# ramp up slowly when the queue is newly created or idle and if large numbers of
|
519
|
+
# tasks suddenly become available to dispatch (due to spikes in create task
|
520
|
+
# rates, the queue being unpaused, or many tasks that are scheduled at the same
|
521
|
+
# time).
|
639
522
|
class HttpRequest
|
640
523
|
include Google::Apis::Core::Hashable
|
641
524
|
|
642
|
-
# HTTP request body.
|
643
|
-
#
|
644
|
-
#
|
645
|
-
# error to set body on a task with an incompatible HttpMethod.
|
525
|
+
# HTTP request body. A request body is allowed only if the HTTP method is POST,
|
526
|
+
# PUT, or PATCH. It is an error to set body on a task with an incompatible
|
527
|
+
# HttpMethod.
|
646
528
|
# Corresponds to the JSON property `body`
|
647
529
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
648
530
|
# @return [String]
|
649
531
|
attr_accessor :body
|
650
532
|
|
651
|
-
# HTTP request headers.
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
# `Content-Type` won't be set by Cloud Tasks. You can explicitly set
|
665
|
-
# `Content-Type` to a media type when the
|
666
|
-
# task is created.
|
667
|
-
# For example, `Content-Type` can be set to `"application/octet-stream"` or
|
668
|
-
# `"application/json"`.
|
669
|
-
# Headers which can have multiple values (according to RFC2616) can be
|
670
|
-
# specified using comma-separated values.
|
671
|
-
# The size of the headers must be less than 80KB.
|
533
|
+
# HTTP request headers. This map contains the header field names and values.
|
534
|
+
# Headers can be set when the task is created. These headers represent a subset
|
535
|
+
# of the headers that will accompany the task's HTTP request. Some HTTP request
|
536
|
+
# headers will be ignored or replaced. A partial list of headers that will be
|
537
|
+
# ignored or replaced is: * Host: This will be computed by Cloud Tasks and
|
538
|
+
# derived from HttpRequest.url. * Content-Length: This will be computed by Cloud
|
539
|
+
# Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * X-Google-*:
|
540
|
+
# Google use only. * X-AppEngine-*: Google use only. `Content-Type` won't be set
|
541
|
+
# by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the
|
542
|
+
# task is created. For example, `Content-Type` can be set to `"application/octet-
|
543
|
+
# stream"` or `"application/json"`. Headers which can have multiple values (
|
544
|
+
# according to RFC2616) can be specified using comma-separated values. The size
|
545
|
+
# of the headers must be less than 80KB.
|
672
546
|
# Corresponds to the JSON property `headers`
|
673
547
|
# @return [Hash<String,String>]
|
674
548
|
attr_accessor :headers
|
@@ -678,31 +552,28 @@ module Google
|
|
678
552
|
# @return [String]
|
679
553
|
attr_accessor :http_method
|
680
554
|
|
681
|
-
# Contains information needed for generating an
|
682
|
-
#
|
683
|
-
#
|
684
|
-
# APIs hosted on *.googleapis.com.
|
555
|
+
# Contains information needed for generating an [OAuth token](https://developers.
|
556
|
+
# google.com/identity/protocols/OAuth2). This type of authorization should
|
557
|
+
# generally only be used when calling Google APIs hosted on *.googleapis.com.
|
685
558
|
# Corresponds to the JSON property `oauthToken`
|
686
559
|
# @return [Google::Apis::CloudtasksV2beta3::OAuthToken]
|
687
560
|
attr_accessor :oauth_token
|
688
561
|
|
689
|
-
# Contains information needed for generating an
|
690
|
-
#
|
691
|
-
#
|
692
|
-
#
|
693
|
-
# calling Cloud Run, or endpoints where you intend to validate the token
|
694
|
-
# yourself.
|
562
|
+
# Contains information needed for generating an [OpenID Connect token](https://
|
563
|
+
# developers.google.com/identity/protocols/OpenIDConnect). This type of
|
564
|
+
# authorization can be used for many scenarios, including calling Cloud Run, or
|
565
|
+
# endpoints where you intend to validate the token yourself.
|
695
566
|
# Corresponds to the JSON property `oidcToken`
|
696
567
|
# @return [Google::Apis::CloudtasksV2beta3::OidcToken]
|
697
568
|
attr_accessor :oidc_token
|
698
569
|
|
699
|
-
# Required. The full url path that the request will be sent to.
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
#
|
705
|
-
#
|
570
|
+
# Required. The full url path that the request will be sent to. This string must
|
571
|
+
# begin with either "http://" or "https://". Some examples are: `http://acme.com`
|
572
|
+
# and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters
|
573
|
+
# for safety and compatibility. The maximum allowed URL length is 2083
|
574
|
+
# characters after encoding. The `Location` header response from a redirect
|
575
|
+
# response [`300` - `399`] may be followed. The redirect is not counted as a
|
576
|
+
# separate attempt.
|
706
577
|
# Corresponds to the JSON property `url`
|
707
578
|
# @return [String]
|
708
579
|
attr_accessor :url
|
@@ -751,12 +622,9 @@ module Google
|
|
751
622
|
class ListQueuesResponse
|
752
623
|
include Google::Apis::Core::Hashable
|
753
624
|
|
754
|
-
# A token to retrieve next page of results.
|
755
|
-
#
|
756
|
-
#
|
757
|
-
# page_token.
|
758
|
-
# If the next_page_token is empty, there are no more results.
|
759
|
-
# The page token is valid for only 2 hours.
|
625
|
+
# A token to retrieve next page of results. To return the next page of results,
|
626
|
+
# call ListQueues with this value as the page_token. If the next_page_token is
|
627
|
+
# empty, there are no more results. The page token is valid for only 2 hours.
|
760
628
|
# Corresponds to the JSON property `nextPageToken`
|
761
629
|
# @return [String]
|
762
630
|
attr_accessor :next_page_token
|
@@ -781,11 +649,9 @@ module Google
|
|
781
649
|
class ListTasksResponse
|
782
650
|
include Google::Apis::Core::Hashable
|
783
651
|
|
784
|
-
# A token to retrieve next page of results.
|
785
|
-
#
|
786
|
-
#
|
787
|
-
# page_token.
|
788
|
-
# If the next_page_token is empty, there are no more results.
|
652
|
+
# A token to retrieve next page of results. To return the next page of results,
|
653
|
+
# call ListTasks with this value as the page_token. If the next_page_token is
|
654
|
+
# empty, there are no more results.
|
789
655
|
# Corresponds to the JSON property `nextPageToken`
|
790
656
|
# @return [String]
|
791
657
|
attr_accessor :next_page_token
|
@@ -810,14 +676,14 @@ module Google
|
|
810
676
|
class Location
|
811
677
|
include Google::Apis::Core::Hashable
|
812
678
|
|
813
|
-
# The friendly name for this location, typically a nearby city name.
|
814
|
-
#
|
679
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
680
|
+
# "Tokyo".
|
815
681
|
# Corresponds to the JSON property `displayName`
|
816
682
|
# @return [String]
|
817
683
|
attr_accessor :display_name
|
818
684
|
|
819
|
-
# Cross-service attributes for the location. For example
|
820
|
-
#
|
685
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
686
|
+
# region": "us-east1"`
|
821
687
|
# Corresponds to the JSON property `labels`
|
822
688
|
# @return [Hash<String,String>]
|
823
689
|
attr_accessor :labels
|
@@ -833,8 +699,8 @@ module Google
|
|
833
699
|
# @return [Hash<String,Object>]
|
834
700
|
attr_accessor :metadata
|
835
701
|
|
836
|
-
# Resource name for the location, which may vary between implementations.
|
837
|
-
#
|
702
|
+
# Resource name for the location, which may vary between implementations. For
|
703
|
+
# example: `"projects/example-project/locations/us-east1"`
|
838
704
|
# Corresponds to the JSON property `name`
|
839
705
|
# @return [String]
|
840
706
|
attr_accessor :name
|
@@ -853,25 +719,22 @@ module Google
|
|
853
719
|
end
|
854
720
|
end
|
855
721
|
|
856
|
-
# Contains information needed for generating an
|
857
|
-
#
|
858
|
-
#
|
859
|
-
# APIs hosted on *.googleapis.com.
|
722
|
+
# Contains information needed for generating an [OAuth token](https://developers.
|
723
|
+
# google.com/identity/protocols/OAuth2). This type of authorization should
|
724
|
+
# generally only be used when calling Google APIs hosted on *.googleapis.com.
|
860
725
|
class OAuthToken
|
861
726
|
include Google::Apis::Core::Hashable
|
862
727
|
|
863
|
-
# OAuth scope to be used for generating OAuth access token.
|
864
|
-
#
|
865
|
-
# will be used.
|
728
|
+
# OAuth scope to be used for generating OAuth access token. If not specified, "
|
729
|
+
# https://www.googleapis.com/auth/cloud-platform" will be used.
|
866
730
|
# Corresponds to the JSON property `scope`
|
867
731
|
# @return [String]
|
868
732
|
attr_accessor :scope
|
869
733
|
|
870
|
-
# [Service account email](https://cloud.google.com/iam/docs/service-accounts)
|
871
|
-
#
|
872
|
-
#
|
873
|
-
#
|
874
|
-
# account.
|
734
|
+
# [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
|
735
|
+
# be used for generating OAuth token. The service account must be within the
|
736
|
+
# same project as the queue. The caller must have iam.serviceAccounts.actAs
|
737
|
+
# permission for the service account.
|
875
738
|
# Corresponds to the JSON property `serviceAccountEmail`
|
876
739
|
# @return [String]
|
877
740
|
attr_accessor :service_account_email
|
@@ -887,12 +750,10 @@ module Google
|
|
887
750
|
end
|
888
751
|
end
|
889
752
|
|
890
|
-
# Contains information needed for generating an
|
891
|
-
#
|
892
|
-
#
|
893
|
-
#
|
894
|
-
# calling Cloud Run, or endpoints where you intend to validate the token
|
895
|
-
# yourself.
|
753
|
+
# Contains information needed for generating an [OpenID Connect token](https://
|
754
|
+
# developers.google.com/identity/protocols/OpenIDConnect). This type of
|
755
|
+
# authorization can be used for many scenarios, including calling Cloud Run, or
|
756
|
+
# endpoints where you intend to validate the token yourself.
|
896
757
|
class OidcToken
|
897
758
|
include Google::Apis::Core::Hashable
|
898
759
|
|
@@ -902,11 +763,10 @@ module Google
|
|
902
763
|
# @return [String]
|
903
764
|
attr_accessor :audience
|
904
765
|
|
905
|
-
# [Service account email](https://cloud.google.com/iam/docs/service-accounts)
|
906
|
-
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
# account.
|
766
|
+
# [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
|
767
|
+
# be used for generating OIDC token. The service account must be within the same
|
768
|
+
# project as the queue. The caller must have iam.serviceAccounts.actAs
|
769
|
+
# permission for the service account.
|
910
770
|
# Corresponds to the JSON property `serviceAccountEmail`
|
911
771
|
# @return [String]
|
912
772
|
attr_accessor :service_account_email
|
@@ -936,111 +796,73 @@ module Google
|
|
936
796
|
end
|
937
797
|
|
938
798
|
# An Identity and Access Management (IAM) policy, which specifies access
|
939
|
-
# controls for Google Cloud resources.
|
940
|
-
# A `
|
941
|
-
#
|
942
|
-
#
|
943
|
-
#
|
944
|
-
#
|
945
|
-
#
|
946
|
-
#
|
947
|
-
#
|
948
|
-
#
|
949
|
-
#
|
950
|
-
# [
|
951
|
-
#
|
952
|
-
#
|
953
|
-
# `
|
954
|
-
# "
|
955
|
-
# `
|
956
|
-
# "
|
957
|
-
#
|
958
|
-
#
|
959
|
-
#
|
960
|
-
#
|
961
|
-
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
966
|
-
# "members": [
|
967
|
-
# "user:eve@example.com"
|
968
|
-
# ],
|
969
|
-
# "condition": `
|
970
|
-
# "title": "expirable access",
|
971
|
-
# "description": "Does not grant access after Sep 2020",
|
972
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
973
|
-
# ",
|
974
|
-
# `
|
975
|
-
# `
|
976
|
-
# ],
|
977
|
-
# "etag": "BwWWja0YfJA=",
|
978
|
-
# "version": 3
|
979
|
-
# `
|
980
|
-
# **YAML example:**
|
981
|
-
# bindings:
|
982
|
-
# - members:
|
983
|
-
# - user:mike@example.com
|
984
|
-
# - group:admins@example.com
|
985
|
-
# - domain:google.com
|
986
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
987
|
-
# role: roles/resourcemanager.organizationAdmin
|
988
|
-
# - members:
|
989
|
-
# - user:eve@example.com
|
990
|
-
# role: roles/resourcemanager.organizationViewer
|
991
|
-
# condition:
|
992
|
-
# title: expirable access
|
993
|
-
# description: Does not grant access after Sep 2020
|
994
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
995
|
-
# - etag: BwWWja0YfJA=
|
996
|
-
# - version: 3
|
997
|
-
# For a description of IAM and its features, see the
|
998
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
799
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
800
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
801
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
802
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
803
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
804
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
805
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
806
|
+
# condition can add constraints based on attributes of the request, the resource,
|
807
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
808
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
809
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
810
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
811
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
812
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
813
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
814
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
815
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
816
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
817
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
818
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
819
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
820
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
821
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
822
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
823
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
824
|
+
# google.com/iam/docs/).
|
999
825
|
class Policy
|
1000
826
|
include Google::Apis::Core::Hashable
|
1001
827
|
|
1002
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1003
|
-
#
|
1004
|
-
#
|
828
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
829
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
830
|
+
# the `bindings` must contain at least one member.
|
1005
831
|
# Corresponds to the JSON property `bindings`
|
1006
832
|
# @return [Array<Google::Apis::CloudtasksV2beta3::Binding>]
|
1007
833
|
attr_accessor :bindings
|
1008
834
|
|
1009
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1010
|
-
#
|
1011
|
-
#
|
1012
|
-
#
|
1013
|
-
#
|
1014
|
-
#
|
1015
|
-
#
|
1016
|
-
#
|
1017
|
-
#
|
1018
|
-
#
|
1019
|
-
#
|
835
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
836
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
837
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
838
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
839
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
840
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
841
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
842
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
843
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
844
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
845
|
+
# are lost.
|
1020
846
|
# Corresponds to the JSON property `etag`
|
1021
847
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1022
848
|
# @return [String]
|
1023
849
|
attr_accessor :etag
|
1024
850
|
|
1025
|
-
# Specifies the format of the policy.
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
#
|
1029
|
-
#
|
1030
|
-
#
|
1031
|
-
#
|
1032
|
-
#
|
1033
|
-
#
|
1034
|
-
#
|
1035
|
-
#
|
1036
|
-
#
|
1037
|
-
#
|
1038
|
-
#
|
1039
|
-
#
|
1040
|
-
# specify any valid version or leave the field unset.
|
1041
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1042
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1043
|
-
# policies).
|
851
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
852
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
853
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
854
|
+
# applies to the following operations: * Getting a policy that includes a
|
855
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
856
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
857
|
+
# with or without a condition, from a policy that includes conditions **
|
858
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
859
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
860
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
861
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
862
|
+
# any conditions, operations on that policy may specify any valid version or
|
863
|
+
# leave the field unset. To learn which resources support conditions in their
|
864
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
865
|
+
# conditions/resource-policies).
|
1044
866
|
# Corresponds to the JSON property `version`
|
1045
867
|
# @return [Fixnum]
|
1046
868
|
attr_accessor :version
|
@@ -1070,97 +892,78 @@ module Google
|
|
1070
892
|
end
|
1071
893
|
end
|
1072
894
|
|
1073
|
-
# A queue is a container of related tasks. Queues are configured to manage
|
1074
|
-
#
|
1075
|
-
#
|
895
|
+
# A queue is a container of related tasks. Queues are configured to manage how
|
896
|
+
# those tasks are dispatched. Configurable properties include rate limits, retry
|
897
|
+
# options, queue types, and others.
|
1076
898
|
class Queue
|
1077
899
|
include Google::Apis::Core::Hashable
|
1078
900
|
|
1079
|
-
# App Engine HTTP queue.
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
#
|
1083
|
-
#
|
1084
|
-
#
|
1085
|
-
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
1086
|
-
# api/access-control)
|
1087
|
-
# Google IAM permission for the project
|
1088
|
-
# and the following scope:
|
901
|
+
# App Engine HTTP queue. The task will be delivered to the App Engine
|
902
|
+
# application hostname specified by its AppEngineHttpQueue and
|
903
|
+
# AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how
|
904
|
+
# the task's host URL is constructed. Using AppEngineHttpQueue requires [`
|
905
|
+
# appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
|
906
|
+
# access-control) Google IAM permission for the project and the following scope:
|
1089
907
|
# `https://www.googleapis.com/auth/cloud-platform`
|
1090
908
|
# Corresponds to the JSON property `appEngineHttpQueue`
|
1091
909
|
# @return [Google::Apis::CloudtasksV2beta3::AppEngineHttpQueue]
|
1092
910
|
attr_accessor :app_engine_http_queue
|
1093
911
|
|
1094
|
-
# Caller-specified and required in CreateQueue,
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
#
|
1098
|
-
#
|
1099
|
-
#
|
1100
|
-
#
|
1101
|
-
# For more
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
#
|
1105
|
-
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
1106
|
-
# The list of available locations can be obtained by calling
|
1107
|
-
# ListLocations.
|
1108
|
-
# For more information, see https://cloud.google.com/about/locations/.
|
1109
|
-
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1110
|
-
# hyphens (-). The maximum length is 100 characters.
|
912
|
+
# Caller-specified and required in CreateQueue, after which it becomes output
|
913
|
+
# only. The queue name. The queue name must have the following format: `projects/
|
914
|
+
# PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain
|
915
|
+
# letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.).
|
916
|
+
# For more information, see [Identifying projects](https://cloud.google.com/
|
917
|
+
# resource-manager/docs/creating-managing-projects#identifying_projects) * `
|
918
|
+
# LOCATION_ID` is the canonical ID for the queue's location. The list of
|
919
|
+
# available locations can be obtained by calling ListLocations. For more
|
920
|
+
# information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can
|
921
|
+
# contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum
|
922
|
+
# length is 100 characters.
|
1111
923
|
# Corresponds to the JSON property `name`
|
1112
924
|
# @return [String]
|
1113
925
|
attr_accessor :name
|
1114
926
|
|
1115
|
-
# Output only. The last time this queue was purged.
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
# push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
|
1122
|
-
# Purge time will be truncated to the nearest microsecond. Purge
|
1123
|
-
# time will be unset if the queue has never been purged.
|
927
|
+
# Output only. The last time this queue was purged. All tasks that were created
|
928
|
+
# before this time were purged. A queue can be purged using PurgeQueue, the [App
|
929
|
+
# Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/
|
930
|
+
# appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#
|
931
|
+
# purging_all_tasks_from_a_queue). Purge time will be truncated to the nearest
|
932
|
+
# microsecond. Purge time will be unset if the queue has never been purged.
|
1124
933
|
# Corresponds to the JSON property `purgeTime`
|
1125
934
|
# @return [String]
|
1126
935
|
attr_accessor :purge_time
|
1127
936
|
|
1128
|
-
# Rate limits.
|
1129
|
-
#
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
# even if the queue has reached its RateLimits.
|
937
|
+
# Rate limits. This message determines the maximum rate that tasks can be
|
938
|
+
# dispatched by a queue, regardless of whether the dispatch is a first task
|
939
|
+
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
940
|
+
# if the queue has reached its RateLimits.
|
1133
941
|
# Corresponds to the JSON property `rateLimits`
|
1134
942
|
# @return [Google::Apis::CloudtasksV2beta3::RateLimits]
|
1135
943
|
attr_accessor :rate_limits
|
1136
944
|
|
1137
|
-
# Retry config.
|
1138
|
-
# These settings determine when a failed task attempt is retried.
|
945
|
+
# Retry config. These settings determine when a failed task attempt is retried.
|
1139
946
|
# Corresponds to the JSON property `retryConfig`
|
1140
947
|
# @return [Google::Apis::CloudtasksV2beta3::RetryConfig]
|
1141
948
|
attr_accessor :retry_config
|
1142
949
|
|
1143
|
-
# Configuration options for writing logs to
|
1144
|
-
#
|
950
|
+
# Configuration options for writing logs to [Stackdriver Logging](https://cloud.
|
951
|
+
# google.com/logging/docs/).
|
1145
952
|
# Corresponds to the JSON property `stackdriverLoggingConfig`
|
1146
953
|
# @return [Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig]
|
1147
954
|
attr_accessor :stackdriver_logging_config
|
1148
955
|
|
1149
|
-
# Output only. The state of the queue.
|
1150
|
-
#
|
1151
|
-
#
|
1152
|
-
#
|
1153
|
-
# [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/
|
1154
|
-
# queueref).
|
1155
|
-
# UpdateQueue cannot be used to change `state`.
|
956
|
+
# Output only. The state of the queue. `state` can only be changed by called
|
957
|
+
# PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.
|
958
|
+
# com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to
|
959
|
+
# change `state`.
|
1156
960
|
# Corresponds to the JSON property `state`
|
1157
961
|
# @return [String]
|
1158
962
|
attr_accessor :state
|
1159
963
|
|
1160
|
-
# Immutable. The type of a queue (push or pull).
|
1161
|
-
#
|
1162
|
-
#
|
1163
|
-
# selected.
|
964
|
+
# Immutable. The type of a queue (push or pull). `Queue.type` is an immutable
|
965
|
+
# property of the queue that is set at the queue creation time. When left
|
966
|
+
# unspecified, the default value of `PUSH` is selected.
|
1164
967
|
# Corresponds to the JSON property `type`
|
1165
968
|
# @return [String]
|
1166
969
|
attr_accessor :type
|
@@ -1182,71 +985,51 @@ module Google
|
|
1182
985
|
end
|
1183
986
|
end
|
1184
987
|
|
1185
|
-
# Rate limits.
|
1186
|
-
#
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
# even if the queue has reached its RateLimits.
|
988
|
+
# Rate limits. This message determines the maximum rate that tasks can be
|
989
|
+
# dispatched by a queue, regardless of whether the dispatch is a first task
|
990
|
+
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
991
|
+
# if the queue has reached its RateLimits.
|
1190
992
|
class RateLimits
|
1191
993
|
include Google::Apis::Core::Hashable
|
1192
994
|
|
1193
|
-
# Output only. The max burst size.
|
1194
|
-
#
|
1195
|
-
#
|
1196
|
-
#
|
1197
|
-
#
|
1198
|
-
#
|
1199
|
-
#
|
1200
|
-
#
|
1201
|
-
#
|
1202
|
-
#
|
1203
|
-
#
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
#
|
1207
|
-
#
|
1208
|
-
#
|
1209
|
-
# max_dispatches_per_second
|
1210
|
-
#
|
1211
|
-
# `queue.yaml/xml`, `max_burst_size` is equal to
|
1212
|
-
# [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/
|
1213
|
-
# queueref#bucket_size).
|
1214
|
-
# Since `max_burst_size` is output only, if
|
1215
|
-
# UpdateQueue is called on a queue
|
1216
|
-
# created by `queue.yaml/xml`, `max_burst_size` will be reset based
|
1217
|
-
# on the value of
|
1218
|
-
# max_dispatches_per_second,
|
1219
|
-
# regardless of whether
|
1220
|
-
# max_dispatches_per_second
|
1221
|
-
# is updated.
|
995
|
+
# Output only. The max burst size. Max burst size limits how fast tasks in queue
|
996
|
+
# are processed when many tasks are in the queue and the rate is high. This
|
997
|
+
# field allows the queue to have a high rate so processing starts shortly after
|
998
|
+
# a task is enqueued, but still limits resource usage when many tasks are
|
999
|
+
# enqueued in a short period of time. The [token bucket](https://wikipedia.org/
|
1000
|
+
# wiki/Token_Bucket) algorithm is used to control the rate of task dispatches.
|
1001
|
+
# Each queue has a token bucket that holds tokens, up to the maximum specified
|
1002
|
+
# by `max_burst_size`. Each time a task is dispatched, a token is removed from
|
1003
|
+
# the bucket. Tasks will be dispatched until the queue's bucket runs out of
|
1004
|
+
# tokens. The bucket will be continuously refilled with new tokens based on
|
1005
|
+
# max_dispatches_per_second. Cloud Tasks will pick the value of `max_burst_size`
|
1006
|
+
# based on the value of max_dispatches_per_second. For App Engine queues that
|
1007
|
+
# were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [
|
1008
|
+
# bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/
|
1009
|
+
# queueref#bucket_size). Since `max_burst_size` is output only, if UpdateQueue
|
1010
|
+
# is called on a queue created by `queue.yaml/xml`, `max_burst_size` will be
|
1011
|
+
# reset based on the value of max_dispatches_per_second, regardless of whether
|
1012
|
+
# max_dispatches_per_second is updated.
|
1222
1013
|
# Corresponds to the JSON property `maxBurstSize`
|
1223
1014
|
# @return [Fixnum]
|
1224
1015
|
attr_accessor :max_burst_size
|
1225
1016
|
|
1226
|
-
# The maximum number of concurrent tasks that Cloud Tasks allows
|
1227
|
-
#
|
1228
|
-
#
|
1229
|
-
#
|
1230
|
-
#
|
1231
|
-
#
|
1232
|
-
#
|
1233
|
-
# This field has the same meaning as
|
1234
|
-
# [max_concurrent_requests in
|
1235
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1236
|
-
# queueref#max_concurrent_requests).
|
1017
|
+
# The maximum number of concurrent tasks that Cloud Tasks allows to be
|
1018
|
+
# dispatched for this queue. After this threshold has been reached, Cloud Tasks
|
1019
|
+
# stops dispatching tasks until the number of concurrent requests decreases. If
|
1020
|
+
# unspecified when the queue is created, Cloud Tasks will pick the default. The
|
1021
|
+
# maximum allowed value is 5,000. This field has the same meaning as [
|
1022
|
+
# max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/
|
1023
|
+
# docs/standard/python/config/queueref#max_concurrent_requests).
|
1237
1024
|
# Corresponds to the JSON property `maxConcurrentDispatches`
|
1238
1025
|
# @return [Fixnum]
|
1239
1026
|
attr_accessor :max_concurrent_dispatches
|
1240
1027
|
|
1241
|
-
# The maximum rate at which tasks are dispatched from this queue.
|
1242
|
-
#
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
# This field has the same meaning as
|
1247
|
-
# [rate in
|
1248
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1249
|
-
# queueref#rate).
|
1028
|
+
# The maximum rate at which tasks are dispatched from this queue. If unspecified
|
1029
|
+
# when the queue is created, Cloud Tasks will pick the default. * For App Engine
|
1030
|
+
# queues, the maximum allowed value is 500. This field has the same meaning as [
|
1031
|
+
# rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/
|
1032
|
+
# python/config/queueref#rate).
|
1250
1033
|
# Corresponds to the JSON property `maxDispatchesPerSecond`
|
1251
1034
|
# @return [Float]
|
1252
1035
|
attr_accessor :max_dispatches_per_second
|
@@ -1276,98 +1059,67 @@ module Google
|
|
1276
1059
|
end
|
1277
1060
|
end
|
1278
1061
|
|
1279
|
-
# Retry config.
|
1280
|
-
# These settings determine when a failed task attempt is retried.
|
1062
|
+
# Retry config. These settings determine when a failed task attempt is retried.
|
1281
1063
|
class RetryConfig
|
1282
1064
|
include Google::Apis::Core::Hashable
|
1283
1065
|
|
1284
|
-
# Number of attempts per task.
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
#
|
1289
|
-
#
|
1290
|
-
# -1 indicates unlimited attempts.
|
1291
|
-
# This field has the same meaning as
|
1292
|
-
# [task_retry_limit in
|
1293
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1294
|
-
# queueref#retry_parameters).
|
1066
|
+
# Number of attempts per task. Cloud Tasks will attempt the task `max_attempts`
|
1067
|
+
# times (that is, if the first attempt fails, then there will be `max_attempts -
|
1068
|
+
# 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud
|
1069
|
+
# Tasks will pick the default. -1 indicates unlimited attempts. This field has
|
1070
|
+
# the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.
|
1071
|
+
# com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
1295
1072
|
# Corresponds to the JSON property `maxAttempts`
|
1296
1073
|
# @return [Fixnum]
|
1297
1074
|
attr_accessor :max_attempts
|
1298
1075
|
|
1299
|
-
# A task will be scheduled for retry between
|
1300
|
-
#
|
1301
|
-
#
|
1302
|
-
#
|
1303
|
-
#
|
1304
|
-
#
|
1305
|
-
#
|
1306
|
-
# `max_backoff` will be truncated to the nearest second.
|
1307
|
-
# This field has the same meaning as
|
1308
|
-
# [max_backoff_seconds in
|
1309
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1310
|
-
# queueref#retry_parameters).
|
1076
|
+
# A task will be scheduled for retry between min_backoff and max_backoff
|
1077
|
+
# duration after it fails, if the queue's RetryConfig specifies that the task
|
1078
|
+
# should be retried. If unspecified when the queue is created, Cloud Tasks will
|
1079
|
+
# pick the default. `max_backoff` will be truncated to the nearest second. This
|
1080
|
+
# field has the same meaning as [max_backoff_seconds in queue.yaml/xml](https://
|
1081
|
+
# cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1082
|
+
# retry_parameters).
|
1311
1083
|
# Corresponds to the JSON property `maxBackoff`
|
1312
1084
|
# @return [String]
|
1313
1085
|
attr_accessor :max_backoff
|
1314
1086
|
|
1315
|
-
# The time between retries will double `max_doublings` times.
|
1316
|
-
#
|
1317
|
-
#
|
1318
|
-
#
|
1319
|
-
#
|
1320
|
-
#
|
1321
|
-
#
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
#
|
1325
|
-
#
|
1326
|
-
#
|
1327
|
-
# intervals of max_backoff until the
|
1328
|
-
# task has been attempted max_attempts
|
1329
|
-
# times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
|
1330
|
-
# 240s, 300s, 300s, ....
|
1331
|
-
# If unspecified when the queue is created, Cloud Tasks will pick the
|
1332
|
-
# default.
|
1333
|
-
# This field has the same meaning as
|
1334
|
-
# [max_doublings in
|
1335
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1336
|
-
# queueref#retry_parameters).
|
1087
|
+
# The time between retries will double `max_doublings` times. A task's retry
|
1088
|
+
# interval starts at min_backoff, then doubles `max_doublings` times, then
|
1089
|
+
# increases linearly, and finally retries at intervals of max_backoff up to
|
1090
|
+
# max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s,
|
1091
|
+
# and `max_doublings` is 3, then the a task will first be retried in 10s. The
|
1092
|
+
# retry interval will double three times, and then increase linearly by 2^3 *
|
1093
|
+
# 10s. Finally, the task will retry at intervals of max_backoff until the task
|
1094
|
+
# has been attempted max_attempts times. Thus, the requests will retry at 10s,
|
1095
|
+
# 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is
|
1096
|
+
# created, Cloud Tasks will pick the default. This field has the same meaning as
|
1097
|
+
# [max_doublings in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
1098
|
+
# standard/python/config/queueref#retry_parameters).
|
1337
1099
|
# Corresponds to the JSON property `maxDoublings`
|
1338
1100
|
# @return [Fixnum]
|
1339
1101
|
attr_accessor :max_doublings
|
1340
1102
|
|
1341
|
-
# If positive, `max_retry_duration` specifies the time limit for
|
1342
|
-
#
|
1343
|
-
#
|
1344
|
-
#
|
1345
|
-
#
|
1346
|
-
#
|
1347
|
-
#
|
1348
|
-
#
|
1349
|
-
#
|
1350
|
-
# `max_retry_duration` will be truncated to the nearest second.
|
1351
|
-
# This field has the same meaning as
|
1352
|
-
# [task_age_limit in
|
1353
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1354
|
-
# queueref#retry_parameters).
|
1103
|
+
# If positive, `max_retry_duration` specifies the time limit for retrying a
|
1104
|
+
# failed task, measured from when the task was first attempted. Once `
|
1105
|
+
# max_retry_duration` time has passed *and* the task has been attempted
|
1106
|
+
# max_attempts times, no further attempts will be made and the task will be
|
1107
|
+
# deleted. If zero, then the task age is unlimited. If unspecified when the
|
1108
|
+
# queue is created, Cloud Tasks will pick the default. `max_retry_duration` will
|
1109
|
+
# be truncated to the nearest second. This field has the same meaning as [
|
1110
|
+
# task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/
|
1111
|
+
# standard/python/config/queueref#retry_parameters).
|
1355
1112
|
# Corresponds to the JSON property `maxRetryDuration`
|
1356
1113
|
# @return [String]
|
1357
1114
|
attr_accessor :max_retry_duration
|
1358
1115
|
|
1359
|
-
# A task will be scheduled for retry between
|
1360
|
-
#
|
1361
|
-
#
|
1362
|
-
#
|
1363
|
-
#
|
1364
|
-
#
|
1365
|
-
#
|
1366
|
-
# `min_backoff` will be truncated to the nearest second.
|
1367
|
-
# This field has the same meaning as
|
1368
|
-
# [min_backoff_seconds in
|
1369
|
-
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
|
1370
|
-
# queueref#retry_parameters).
|
1116
|
+
# A task will be scheduled for retry between min_backoff and max_backoff
|
1117
|
+
# duration after it fails, if the queue's RetryConfig specifies that the task
|
1118
|
+
# should be retried. If unspecified when the queue is created, Cloud Tasks will
|
1119
|
+
# pick the default. `min_backoff` will be truncated to the nearest second. This
|
1120
|
+
# field has the same meaning as [min_backoff_seconds in queue.yaml/xml](https://
|
1121
|
+
# cloud.google.com/appengine/docs/standard/python/config/queueref#
|
1122
|
+
# retry_parameters).
|
1371
1123
|
# Corresponds to the JSON property `minBackoff`
|
1372
1124
|
# @return [String]
|
1373
1125
|
attr_accessor :min_backoff
|
@@ -1386,21 +1138,16 @@ module Google
|
|
1386
1138
|
end
|
1387
1139
|
end
|
1388
1140
|
|
1389
|
-
# Request message for forcing a task to run now using
|
1390
|
-
# RunTask.
|
1141
|
+
# Request message for forcing a task to run now using RunTask.
|
1391
1142
|
class RunTaskRequest
|
1392
1143
|
include Google::Apis::Core::Hashable
|
1393
1144
|
|
1394
|
-
# The response_view specifies which subset of the Task will be
|
1395
|
-
#
|
1396
|
-
#
|
1397
|
-
#
|
1398
|
-
#
|
1399
|
-
#
|
1400
|
-
# contains.
|
1401
|
-
# Authorization for FULL requires
|
1402
|
-
# `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
|
1403
|
-
# permission on the Task resource.
|
1145
|
+
# The response_view specifies which subset of the Task will be returned. By
|
1146
|
+
# default response_view is BASIC; not all information is retrieved by default
|
1147
|
+
# because some data, such as payloads, might be desirable to return only when
|
1148
|
+
# needed because of its large size or because of the sensitivity of data that it
|
1149
|
+
# contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
|
1150
|
+
# IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
1404
1151
|
# Corresponds to the JSON property `responseView`
|
1405
1152
|
# @return [String]
|
1406
1153
|
attr_accessor :response_view
|
@@ -1420,66 +1167,32 @@ module Google
|
|
1420
1167
|
include Google::Apis::Core::Hashable
|
1421
1168
|
|
1422
1169
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1423
|
-
# controls for Google Cloud resources.
|
1424
|
-
# A `
|
1425
|
-
#
|
1426
|
-
#
|
1427
|
-
#
|
1428
|
-
#
|
1429
|
-
#
|
1430
|
-
#
|
1431
|
-
#
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
# [
|
1435
|
-
#
|
1436
|
-
#
|
1437
|
-
# `
|
1438
|
-
# "
|
1439
|
-
# `
|
1440
|
-
# "
|
1441
|
-
#
|
1442
|
-
#
|
1443
|
-
#
|
1444
|
-
#
|
1445
|
-
#
|
1446
|
-
#
|
1447
|
-
#
|
1448
|
-
#
|
1449
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1450
|
-
# "members": [
|
1451
|
-
# "user:eve@example.com"
|
1452
|
-
# ],
|
1453
|
-
# "condition": `
|
1454
|
-
# "title": "expirable access",
|
1455
|
-
# "description": "Does not grant access after Sep 2020",
|
1456
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1457
|
-
# ",
|
1458
|
-
# `
|
1459
|
-
# `
|
1460
|
-
# ],
|
1461
|
-
# "etag": "BwWWja0YfJA=",
|
1462
|
-
# "version": 3
|
1463
|
-
# `
|
1464
|
-
# **YAML example:**
|
1465
|
-
# bindings:
|
1466
|
-
# - members:
|
1467
|
-
# - user:mike@example.com
|
1468
|
-
# - group:admins@example.com
|
1469
|
-
# - domain:google.com
|
1470
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1471
|
-
# role: roles/resourcemanager.organizationAdmin
|
1472
|
-
# - members:
|
1473
|
-
# - user:eve@example.com
|
1474
|
-
# role: roles/resourcemanager.organizationViewer
|
1475
|
-
# condition:
|
1476
|
-
# title: expirable access
|
1477
|
-
# description: Does not grant access after Sep 2020
|
1478
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1479
|
-
# - etag: BwWWja0YfJA=
|
1480
|
-
# - version: 3
|
1481
|
-
# For a description of IAM and its features, see the
|
1482
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1170
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1171
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1172
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1173
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1174
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1175
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1176
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1177
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1178
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1179
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1180
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1181
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1182
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1183
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1184
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1185
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1186
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1187
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1188
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1189
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1190
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1191
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1192
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1193
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1194
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1195
|
+
# google.com/iam/docs/).
|
1483
1196
|
# Corresponds to the JSON property `policy`
|
1484
1197
|
# @return [Google::Apis::CloudtasksV2beta3::Policy]
|
1485
1198
|
attr_accessor :policy
|
@@ -1494,15 +1207,14 @@ module Google
|
|
1494
1207
|
end
|
1495
1208
|
end
|
1496
1209
|
|
1497
|
-
# Configuration options for writing logs to
|
1498
|
-
#
|
1210
|
+
# Configuration options for writing logs to [Stackdriver Logging](https://cloud.
|
1211
|
+
# google.com/logging/docs/).
|
1499
1212
|
class StackdriverLoggingConfig
|
1500
1213
|
include Google::Apis::Core::Hashable
|
1501
1214
|
|
1502
|
-
# Specifies the fraction of operations to write to
|
1503
|
-
#
|
1504
|
-
#
|
1505
|
-
# 0.0 is the default and means that no operations are logged.
|
1215
|
+
# Specifies the fraction of operations to write to [Stackdriver Logging](https://
|
1216
|
+
# cloud.google.com/logging/docs/). This field may contain any value between 0.0
|
1217
|
+
# and 1.0, inclusive. 0.0 is the default and means that no operations are logged.
|
1506
1218
|
# Corresponds to the JSON property `samplingRatio`
|
1507
1219
|
# @return [Float]
|
1508
1220
|
attr_accessor :sampling_ratio
|
@@ -1517,12 +1229,12 @@ module Google
|
|
1517
1229
|
end
|
1518
1230
|
end
|
1519
1231
|
|
1520
|
-
# The `Status` type defines a logical error model that is suitable for
|
1521
|
-
#
|
1522
|
-
#
|
1523
|
-
#
|
1524
|
-
#
|
1525
|
-
#
|
1232
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1233
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1234
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1235
|
+
# data: error code, error message, and error details. You can find out more
|
1236
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1237
|
+
# //cloud.google.com/apis/design/errors).
|
1526
1238
|
class Status
|
1527
1239
|
include Google::Apis::Core::Hashable
|
1528
1240
|
|
@@ -1531,15 +1243,15 @@ module Google
|
|
1531
1243
|
# @return [Fixnum]
|
1532
1244
|
attr_accessor :code
|
1533
1245
|
|
1534
|
-
# A list of messages that carry the error details.
|
1246
|
+
# A list of messages that carry the error details. There is a common set of
|
1535
1247
|
# message types for APIs to use.
|
1536
1248
|
# Corresponds to the JSON property `details`
|
1537
1249
|
# @return [Array<Hash<String,Object>>]
|
1538
1250
|
attr_accessor :details
|
1539
1251
|
|
1540
|
-
# A developer-facing error message, which should be in English. Any
|
1541
|
-
#
|
1542
|
-
#
|
1252
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1253
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1254
|
+
# field, or localized by the client.
|
1543
1255
|
# Corresponds to the JSON property `message`
|
1544
1256
|
# @return [String]
|
1545
1257
|
attr_accessor :message
|
@@ -1560,104 +1272,76 @@ module Google
|
|
1560
1272
|
class Task
|
1561
1273
|
include Google::Apis::Core::Hashable
|
1562
1274
|
|
1563
|
-
# App Engine HTTP request.
|
1564
|
-
#
|
1565
|
-
#
|
1566
|
-
#
|
1567
|
-
#
|
1568
|
-
#
|
1569
|
-
#
|
1570
|
-
# and
|
1571
|
-
#
|
1572
|
-
#
|
1573
|
-
#
|
1574
|
-
#
|
1575
|
-
#
|
1576
|
-
#
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
# Because this traffic is carried over a communication mechanism internal to
|
1582
|
-
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
1583
|
-
# The request to the handler, however, will appear to have used the HTTP
|
1584
|
-
# protocol.
|
1585
|
-
# The AppEngineRouting used to construct the URL that the task is
|
1586
|
-
# delivered to can be set at the queue-level or task-level:
|
1587
|
-
# * If set,
|
1588
|
-
# app_engine_routing_override
|
1589
|
-
# is used for all tasks in the queue, no matter what the setting
|
1590
|
-
# is for the
|
1591
|
-
# task-level app_engine_routing.
|
1592
|
-
# The `url` that the task will be sent to is:
|
1593
|
-
# * `url =` host `+`
|
1594
|
-
# relative_uri
|
1275
|
+
# App Engine HTTP request. The message defines the HTTP request that is sent to
|
1276
|
+
# an App Engine app when the task is dispatched. Using AppEngineHttpRequest
|
1277
|
+
# requires [`appengine.applications.get`](https://cloud.google.com/appengine/
|
1278
|
+
# docs/admin-api/access-control) Google IAM permission for the project and the
|
1279
|
+
# following scope: `https://www.googleapis.com/auth/cloud-platform` The task
|
1280
|
+
# will be delivered to the App Engine app which belongs to the same project as
|
1281
|
+
# the queue. For more information, see [How Requests are Routed](https://cloud.
|
1282
|
+
# google.com/appengine/docs/standard/python/how-requests-are-routed) and how
|
1283
|
+
# routing is affected by [dispatch files](https://cloud.google.com/appengine/
|
1284
|
+
# docs/python/config/dispatchref). Traffic is encrypted during transport and
|
1285
|
+
# never leaves Google datacenters. Because this traffic is carried over a
|
1286
|
+
# communication mechanism internal to Google, you cannot explicitly set the
|
1287
|
+
# protocol (for example, HTTP or HTTPS). The request to the handler, however,
|
1288
|
+
# will appear to have used the HTTP protocol. The AppEngineRouting used to
|
1289
|
+
# construct the URL that the task is delivered to can be set at the queue-level
|
1290
|
+
# or task-level: * If set, app_engine_routing_override is used for all tasks in
|
1291
|
+
# the queue, no matter what the setting is for the task-level app_engine_routing.
|
1292
|
+
# The `url` that the task will be sent to is: * `url =` host `+` relative_uri
|
1595
1293
|
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
1596
|
-
# URIs restricted with
|
1597
|
-
#
|
1598
|
-
#
|
1599
|
-
#
|
1600
|
-
#
|
1601
|
-
# [`
|
1602
|
-
#
|
1603
|
-
#
|
1604
|
-
#
|
1605
|
-
#
|
1606
|
-
#
|
1607
|
-
#
|
1608
|
-
# not receive response before the deadline. Failed
|
1609
|
-
# tasks will be retried according to the
|
1610
|
-
# retry configuration. `503` (Service Unavailable) is
|
1611
|
-
# considered an App Engine system error instead of an application error and
|
1612
|
-
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
1613
|
-
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
1294
|
+
# URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/
|
1295
|
+
# standard/python/config/appref). Because tasks are not run as any user, they
|
1296
|
+
# cannot be dispatched to URIs restricted with [`login: required`](https://cloud.
|
1297
|
+
# google.com/appengine/docs/standard/python/config/appref) Task dispatches also
|
1298
|
+
# do not follow redirects. The task attempt has succeeded if the app's request
|
1299
|
+
# handler returns an HTTP response code in the range [`200` - `299`]. The task
|
1300
|
+
# attempt has failed if the app's handler returns a non-2xx response code or
|
1301
|
+
# Cloud Tasks does not receive response before the deadline. Failed tasks will
|
1302
|
+
# be retried according to the retry configuration. `503` (Service Unavailable)
|
1303
|
+
# is considered an App Engine system error instead of an application error and
|
1304
|
+
# will cause Cloud Tasks' traffic congestion control to temporarily throttle the
|
1305
|
+
# queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
1614
1306
|
# Requests) response from an app handler does not cause traffic congestion
|
1615
1307
|
# control to throttle the queue.
|
1616
1308
|
# Corresponds to the JSON property `appEngineHttpRequest`
|
1617
1309
|
# @return [Google::Apis::CloudtasksV2beta3::AppEngineHttpRequest]
|
1618
1310
|
attr_accessor :app_engine_http_request
|
1619
1311
|
|
1620
|
-
# Output only. The time that the task was created.
|
1621
|
-
#
|
1312
|
+
# Output only. The time that the task was created. `create_time` will be
|
1313
|
+
# truncated to the nearest second.
|
1622
1314
|
# Corresponds to the JSON property `createTime`
|
1623
1315
|
# @return [String]
|
1624
1316
|
attr_accessor :create_time
|
1625
1317
|
|
1626
|
-
# Output only. The number of attempts dispatched.
|
1627
|
-
#
|
1628
|
-
# received a response.
|
1318
|
+
# Output only. The number of attempts dispatched. This count includes attempts
|
1319
|
+
# which have been dispatched but haven't received a response.
|
1629
1320
|
# Corresponds to the JSON property `dispatchCount`
|
1630
1321
|
# @return [Fixnum]
|
1631
1322
|
attr_accessor :dispatch_count
|
1632
1323
|
|
1633
|
-
# The deadline for requests sent to the worker. If the worker does not
|
1634
|
-
#
|
1635
|
-
#
|
1636
|
-
#
|
1637
|
-
#
|
1638
|
-
#
|
1639
|
-
#
|
1640
|
-
#
|
1641
|
-
#
|
1642
|
-
#
|
1643
|
-
#
|
1644
|
-
#
|
1645
|
-
#
|
1646
|
-
#
|
1647
|
-
#
|
1648
|
-
#
|
1649
|
-
#
|
1650
|
-
#
|
1651
|
-
#
|
1652
|
-
#
|
1653
|
-
#
|
1654
|
-
# the service's timeout. We recommend setting the `dispatch_deadline` to
|
1655
|
-
# at most a few seconds more than the app handler's timeout. For more
|
1656
|
-
# information see
|
1657
|
-
# [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
1658
|
-
# timeouts).
|
1659
|
-
# `dispatch_deadline` will be truncated to the nearest millisecond. The
|
1660
|
-
# deadline is an approximate deadline.
|
1324
|
+
# The deadline for requests sent to the worker. If the worker does not respond
|
1325
|
+
# by this deadline then the request is cancelled and the attempt is marked as a `
|
1326
|
+
# DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the
|
1327
|
+
# RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop
|
1328
|
+
# listening for the response, but whether the worker stops processing depends on
|
1329
|
+
# the worker. For example, if the worker is stuck, it may not react to cancelled
|
1330
|
+
# requests. The default and maximum values depend on the type of request: * For
|
1331
|
+
# HTTP tasks, the default is 10 minutes. The deadline must be in the interval [
|
1332
|
+
# 15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request
|
1333
|
+
# has the default deadline. The default deadline depends on the [scaling type](
|
1334
|
+
# https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#
|
1335
|
+
# instance_scaling) of the service: 10 minutes for standard apps with automatic
|
1336
|
+
# scaling, 24 hours for standard apps with manual and basic scaling, and 60
|
1337
|
+
# minutes for flex apps. If the request deadline is set, it must be in the
|
1338
|
+
# interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `
|
1339
|
+
# dispatch_deadline`, the app handler will not run for longer than than the
|
1340
|
+
# service's timeout. We recommend setting the `dispatch_deadline` to at most a
|
1341
|
+
# few seconds more than the app handler's timeout. For more information see [
|
1342
|
+
# Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
1343
|
+
# timeouts). `dispatch_deadline` will be truncated to the nearest millisecond.
|
1344
|
+
# The deadline is an approximate deadline.
|
1661
1345
|
# Corresponds to the JSON property `dispatchDeadline`
|
1662
1346
|
# @return [String]
|
1663
1347
|
attr_accessor :dispatch_deadline
|
@@ -1667,28 +1351,24 @@ module Google
|
|
1667
1351
|
# @return [Google::Apis::CloudtasksV2beta3::Attempt]
|
1668
1352
|
attr_accessor :first_attempt
|
1669
1353
|
|
1670
|
-
# HTTP request.
|
1671
|
-
#
|
1672
|
-
#
|
1673
|
-
#
|
1674
|
-
#
|
1675
|
-
#
|
1676
|
-
# * User-specified throttling: retry configuration,
|
1677
|
-
# rate limits, and the queue's state.
|
1354
|
+
# HTTP request. The task will be pushed to the worker as an HTTP request. If the
|
1355
|
+
# worker or the redirected worker acknowledges the task by returning a
|
1356
|
+
# successful HTTP response code ([`200` - `299`]), the task will be removed from
|
1357
|
+
# the queue. If any other HTTP response code is returned or no response is
|
1358
|
+
# received, the task will be retried according to the following: * User-
|
1359
|
+
# specified throttling: retry configuration, rate limits, and the queue's state.
|
1678
1360
|
# * System throttling: To prevent the worker from overloading, Cloud Tasks may
|
1679
|
-
# temporarily reduce the queue's effective rate. User-specified settings
|
1680
|
-
#
|
1681
|
-
#
|
1682
|
-
#
|
1683
|
-
# rate
|
1684
|
-
#
|
1685
|
-
#
|
1686
|
-
#
|
1687
|
-
#
|
1688
|
-
#
|
1689
|
-
#
|
1690
|
-
# spikes in create task rates, the queue being unpaused, or many tasks
|
1691
|
-
# that are scheduled at the same time).
|
1361
|
+
# temporarily reduce the queue's effective rate. User-specified settings will
|
1362
|
+
# not be changed. System throttling happens because: * Cloud Tasks backs off on
|
1363
|
+
# all errors. Normally the backoff specified in rate limits will be used. But if
|
1364
|
+
# the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or
|
1365
|
+
# the rate of errors is high, Cloud Tasks will use a higher backoff rate. The
|
1366
|
+
# retry specified in the `Retry-After` HTTP response header is considered. * To
|
1367
|
+
# prevent traffic spikes and to smooth sudden increases in traffic, dispatches
|
1368
|
+
# ramp up slowly when the queue is newly created or idle and if large numbers of
|
1369
|
+
# tasks suddenly become available to dispatch (due to spikes in create task
|
1370
|
+
# rates, the queue being unpaused, or many tasks that are scheduled at the same
|
1371
|
+
# time).
|
1692
1372
|
# Corresponds to the JSON property `httpRequest`
|
1693
1373
|
# @return [Google::Apis::CloudtasksV2beta3::HttpRequest]
|
1694
1374
|
attr_accessor :http_request
|
@@ -1698,24 +1378,18 @@ module Google
|
|
1698
1378
|
# @return [Google::Apis::CloudtasksV2beta3::Attempt]
|
1699
1379
|
attr_accessor :last_attempt
|
1700
1380
|
|
1701
|
-
# Optionally caller-specified in CreateTask.
|
1702
|
-
#
|
1703
|
-
#
|
1704
|
-
#
|
1705
|
-
#
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
#
|
1710
|
-
#
|
1711
|
-
#
|
1712
|
-
#
|
1713
|
-
# ListLocations.
|
1714
|
-
# For more information, see https://cloud.google.com/about/locations/.
|
1715
|
-
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1716
|
-
# hyphens (-). The maximum length is 100 characters.
|
1717
|
-
# * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
|
1718
|
-
# hyphens (-), or underscores (_). The maximum length is 500 characters.
|
1381
|
+
# Optionally caller-specified in CreateTask. The task name. The task name must
|
1382
|
+
# have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/
|
1383
|
+
# QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers
|
1384
|
+
# ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [
|
1385
|
+
# Identifying projects](https://cloud.google.com/resource-manager/docs/creating-
|
1386
|
+
# managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID
|
1387
|
+
# for the task's location. The list of available locations can be obtained by
|
1388
|
+
# calling ListLocations. For more information, see https://cloud.google.com/
|
1389
|
+
# about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
1390
|
+
# or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain
|
1391
|
+
# only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The
|
1392
|
+
# maximum length is 500 characters.
|
1719
1393
|
# Corresponds to the JSON property `name`
|
1720
1394
|
# @return [String]
|
1721
1395
|
attr_accessor :name
|
@@ -1725,15 +1399,14 @@ module Google
|
|
1725
1399
|
# @return [Fixnum]
|
1726
1400
|
attr_accessor :response_count
|
1727
1401
|
|
1728
|
-
# The time when the task is scheduled to be attempted.
|
1729
|
-
#
|
1730
|
-
#
|
1402
|
+
# The time when the task is scheduled to be attempted. For App Engine queues,
|
1403
|
+
# this is when the task will be attempted or retried. `schedule_time` will be
|
1404
|
+
# truncated to the nearest microsecond.
|
1731
1405
|
# Corresponds to the JSON property `scheduleTime`
|
1732
1406
|
# @return [String]
|
1733
1407
|
attr_accessor :schedule_time
|
1734
1408
|
|
1735
|
-
# Output only. The view specifies which subset of the Task has
|
1736
|
-
# been returned.
|
1409
|
+
# Output only. The view specifies which subset of the Task has been returned.
|
1737
1410
|
# Corresponds to the JSON property `view`
|
1738
1411
|
# @return [String]
|
1739
1412
|
attr_accessor :view
|
@@ -1762,10 +1435,9 @@ module Google
|
|
1762
1435
|
class TestIamPermissionsRequest
|
1763
1436
|
include Google::Apis::Core::Hashable
|
1764
1437
|
|
1765
|
-
# The set of permissions to check for the `resource`. Permissions with
|
1766
|
-
#
|
1767
|
-
#
|
1768
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1438
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1439
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
1440
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1769
1441
|
# Corresponds to the JSON property `permissions`
|
1770
1442
|
# @return [Array<String>]
|
1771
1443
|
attr_accessor :permissions
|
@@ -1784,8 +1456,7 @@ module Google
|
|
1784
1456
|
class TestIamPermissionsResponse
|
1785
1457
|
include Google::Apis::Core::Hashable
|
1786
1458
|
|
1787
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
1788
|
-
# allowed.
|
1459
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
1789
1460
|
# Corresponds to the JSON property `permissions`
|
1790
1461
|
# @return [Array<String>]
|
1791
1462
|
attr_accessor :permissions
|