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