google-api-client 0.42.1 → 0.44.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +550 -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 +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- 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 +181 -240
- 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/{accessapproval_v1beta1.rb → apigateway_v1alpha1.rb} +9 -9
- 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/{cloudfunctions_v1beta2.rb → apigateway_v1beta.rb} +9 -9
- 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 +925 -1226
- data/generated/google/apis/apigee_v1/representations.rb +66 -2
- data/generated/google/apis/apigee_v1/service.rb +1000 -1142
- 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 -44
- 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 -43
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +564 -541
- data/generated/google/apis/bigquery_v2/representations.rb +86 -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 +350 -65
- data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +746 -543
- data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +386 -141
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- 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/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- 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 +109 -115
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +65 -38
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- 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 +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
- 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 +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
- 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 -538
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- 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 +893 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +342 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +802 -61
- 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 +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +510 -754
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +197 -246
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +265 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +134 -175
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +265 -414
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +265 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- 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 +281 -381
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- 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 +66 -72
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +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 +1066 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +76 -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 +20 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +122 -5
- data/generated/google/apis/content_v2_1/representations.rb +36 -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 -488
- 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 +389 -570
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +143 -94
- 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 +249 -327
- 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 +272 -322
- 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_v2.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 +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1381 -1563
- data/generated/google/apis/dialogflow_v2/representations.rb +68 -15
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1462 -1643
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +68 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -988
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8192 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/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 +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1287 -924
- 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/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
- 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/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- 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 -381
- 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 +526 -145
- 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 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- 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 +8 -8
- 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 +37 -38
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +77 -84
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +86 -92
- 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 -287
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -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 +843 -843
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1150 -1108
- 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 +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +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/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 +121 -38
- 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 +253 -337
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +126 -144
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +227 -179
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- 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 +400 -409
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +493 -403
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- 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 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +11 -29
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +304 -313
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +407 -512
- data/generated/google/apis/pubsub_v1/representations.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsublite_v1.rb +34 -0
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/pubsublite_v1/service.rb +525 -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 +477 -116
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- 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 +481 -120
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +837 -1249
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +210 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- 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 +128 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- 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 +1120 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -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 +523 -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 +1075 -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 +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
- data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sql_v1beta4/service.rb +49 -54
- 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 +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +374 -376
- data/generated/google/apis/testing_v1/representations.rb +34 -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 +678 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- 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 +4 -6
- 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/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1290 -1175
- data/generated/google/apis/youtube_v3/representations.rb +177 -0
- data/generated/google/apis/youtube_v3/service.rb +1159 -1390
- 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 +94 -32
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- 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/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
@@ -49,18 +49,16 @@ module Google
|
|
49
49
|
end
|
50
50
|
|
51
51
|
# Attempts to allocate quota for the specified consumer. It should be called
|
52
|
-
# before the operation is executed.
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
# reliability, the server may inject these errors to prohibit any hard
|
59
|
-
# dependency on the quota functionality.
|
52
|
+
# before the operation is executed. This method requires the `servicemanagement.
|
53
|
+
# services.quota` permission on the specified service. For more information, see
|
54
|
+
# [Cloud IAM](https://cloud.google.com/iam). **NOTE:** The client **must** fail-
|
55
|
+
# open on server errors `INTERNAL`, `UNKNOWN`, `DEADLINE_EXCEEDED`, and `
|
56
|
+
# UNAVAILABLE`. To ensure system reliability, the server may inject these errors
|
57
|
+
# to prohibit any hard dependency on the quota functionality.
|
60
58
|
# @param [String] service_name
|
61
|
-
# Name of the service as specified in the service configuration. For example,
|
62
|
-
#
|
63
|
-
#
|
59
|
+
# Name of the service as specified in the service configuration. For example, `"
|
60
|
+
# pubsub.googleapis.com"`. See google.api.Service for the definition of a
|
61
|
+
# service name.
|
64
62
|
# @param [Google::Apis::ServicecontrolV1::AllocateQuotaRequest] allocate_quota_request_object
|
65
63
|
# @param [String] fields
|
66
64
|
# Selector specifying which fields to include in a partial response.
|
@@ -91,26 +89,22 @@ module Google
|
|
91
89
|
execute_or_queue_command(command, &block)
|
92
90
|
end
|
93
91
|
|
94
|
-
# Checks whether an operation on a service should be allowed to proceed
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
# cached results for much longer time to avoid outage.
|
92
|
+
# Checks whether an operation on a service should be allowed to proceed based on
|
93
|
+
# the configuration of the service and related policies. It must be called
|
94
|
+
# before the operation is executed. If feasible, the client should cache the
|
95
|
+
# check results and reuse them for 60 seconds. In case of any server errors, the
|
96
|
+
# client should rely on the cached results for much longer time to avoid outage.
|
100
97
|
# WARNING: There is general 60s delay for the configuration and policy
|
101
98
|
# propagation, therefore callers MUST NOT depend on the `Check` method having
|
102
|
-
# the latest policy information.
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
# [Cloud IAM](https://cloud.google.com/iam).
|
99
|
+
# the latest policy information. NOTE: the CheckRequest has the size limit of
|
100
|
+
# 64KB. This method requires the `servicemanagement.services.check` permission
|
101
|
+
# on the specified service. For more information, see [Cloud IAM](https://cloud.
|
102
|
+
# google.com/iam).
|
107
103
|
# @param [String] service_name
|
108
|
-
# The service name as specified in its service configuration. For example,
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
# google.api#google.api.Service)
|
113
|
-
# for the definition of a service name.
|
104
|
+
# The service name as specified in its service configuration. For example, `"
|
105
|
+
# pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/
|
106
|
+
# service-management/reference/rpc/google.api#google.api.Service) for the
|
107
|
+
# definition of a service name.
|
114
108
|
# @param [Google::Apis::ServicecontrolV1::CheckRequest] check_request_object
|
115
109
|
# @param [String] fields
|
116
110
|
# Selector specifying which fields to include in a partial response.
|
@@ -141,25 +135,21 @@ module Google
|
|
141
135
|
execute_or_queue_command(command, &block)
|
142
136
|
end
|
143
137
|
|
144
|
-
# Reports operation results to Google Service Control, such as logs and
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
# on the specified service. For more information, see
|
155
|
-
# [Google Cloud IAM](https://cloud.google.com/iam).
|
138
|
+
# Reports operation results to Google Service Control, such as logs and metrics.
|
139
|
+
# It should be called after an operation is completed. If feasible, the client
|
140
|
+
# should aggregate reporting data for up to 5 seconds to reduce API traffic.
|
141
|
+
# Limiting aggregation to 5 seconds is to reduce data loss during client crashes.
|
142
|
+
# Clients should carefully choose the aggregation time window to avoid data
|
143
|
+
# loss risk more than 0.01% for business and compliance reasons. NOTE: the
|
144
|
+
# ReportRequest has the size limit (wire-format byte size) of 1MB. This method
|
145
|
+
# requires the `servicemanagement.services.report` permission on the specified
|
146
|
+
# service. For more information, see [Google Cloud IAM](https://cloud.google.com/
|
147
|
+
# iam).
|
156
148
|
# @param [String] service_name
|
157
|
-
# The service name as specified in its service configuration. For example,
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
# google.api#google.api.Service)
|
162
|
-
# for the definition of a service name.
|
149
|
+
# The service name as specified in its service configuration. For example, `"
|
150
|
+
# pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/
|
151
|
+
# service-management/reference/rpc/google.api#google.api.Service) for the
|
152
|
+
# definition of a service name.
|
163
153
|
# @param [Google::Apis::ServicecontrolV1::ReportRequest] report_request_object
|
164
154
|
# @param [String] fields
|
165
155
|
# Selector specifying which fields to include in a partial response.
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/servicecontrol_v2/service.rb'
|
16
|
+
require 'google/apis/servicecontrol_v2/classes.rb'
|
17
|
+
require 'google/apis/servicecontrol_v2/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Service Control API
|
22
|
+
#
|
23
|
+
# Provides control plane functionality to managed services, such as logging,
|
24
|
+
# monitoring, and status checks.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/service-control/
|
27
|
+
module ServicecontrolV2
|
28
|
+
VERSION = 'V2'
|
29
|
+
REVISION = '20200808'
|
30
|
+
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
+
|
34
|
+
# Manage your Google Service Control data
|
35
|
+
AUTH_SERVICECONTROL = 'https://www.googleapis.com/auth/servicecontrol'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,1075 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ServicecontrolV2
|
24
|
+
|
25
|
+
# This message defines attributes associated with API operations, such as a
|
26
|
+
# network API request. The terminology is based on the conventions used by
|
27
|
+
# Google APIs, Istio, and OpenAPI.
|
28
|
+
class Api
|
29
|
+
include Google::Apis::Core::Hashable
|
30
|
+
|
31
|
+
# The API operation name. For gRPC requests, it is the fully qualified API
|
32
|
+
# method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
|
33
|
+
# requests, it is the `operationId`, such as "getPet".
|
34
|
+
# Corresponds to the JSON property `operation`
|
35
|
+
# @return [String]
|
36
|
+
attr_accessor :operation
|
37
|
+
|
38
|
+
# The API protocol used for sending the request, such as "http", "https", "grpc",
|
39
|
+
# or "internal".
|
40
|
+
# Corresponds to the JSON property `protocol`
|
41
|
+
# @return [String]
|
42
|
+
attr_accessor :protocol
|
43
|
+
|
44
|
+
# The API service name. It is a logical identifier for a networked API, such as "
|
45
|
+
# pubsub.googleapis.com". The naming syntax depends on the API management system
|
46
|
+
# being used for handling the request.
|
47
|
+
# Corresponds to the JSON property `service`
|
48
|
+
# @return [String]
|
49
|
+
attr_accessor :service
|
50
|
+
|
51
|
+
# The API version associated with the API operation above, such as "v1" or "
|
52
|
+
# v1alpha1".
|
53
|
+
# Corresponds to the JSON property `version`
|
54
|
+
# @return [String]
|
55
|
+
attr_accessor :version
|
56
|
+
|
57
|
+
def initialize(**args)
|
58
|
+
update!(**args)
|
59
|
+
end
|
60
|
+
|
61
|
+
# Update properties of this object
|
62
|
+
def update!(**args)
|
63
|
+
@operation = args[:operation] if args.key?(:operation)
|
64
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
65
|
+
@service = args[:service] if args.key?(:service)
|
66
|
+
@version = args[:version] if args.key?(:version)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# This message defines the standard attribute vocabulary for Google APIs. An
|
71
|
+
# attribute is a piece of metadata that describes an activity on a network
|
72
|
+
# service. For example, the size of an HTTP request, or the status code of an
|
73
|
+
# HTTP response. Each attribute has a type and a name, which is logically
|
74
|
+
# defined as a proto message field in `AttributeContext`. The field type becomes
|
75
|
+
# the attribute type, and the field path becomes the attribute name. For example,
|
76
|
+
# the attribute `source.ip` maps to field `AttributeContext.source.ip`. This
|
77
|
+
# message definition is guaranteed not to have any wire breaking change. So you
|
78
|
+
# can use it directly for passing attributes across different systems. NOTE:
|
79
|
+
# Different system may generate different subset of attributes. Please verify
|
80
|
+
# the system specification before relying on an attribute generated a system.
|
81
|
+
class AttributeContext
|
82
|
+
include Google::Apis::Core::Hashable
|
83
|
+
|
84
|
+
# This message defines attributes associated with API operations, such as a
|
85
|
+
# network API request. The terminology is based on the conventions used by
|
86
|
+
# Google APIs, Istio, and OpenAPI.
|
87
|
+
# Corresponds to the JSON property `api`
|
88
|
+
# @return [Google::Apis::ServicecontrolV2::Api]
|
89
|
+
attr_accessor :api
|
90
|
+
|
91
|
+
# This message defines attributes for a node that handles a network request. The
|
92
|
+
# node can be either a service or an application that sends, forwards, or
|
93
|
+
# receives the request. Service peers should fill in `principal` and `labels` as
|
94
|
+
# appropriate.
|
95
|
+
# Corresponds to the JSON property `destination`
|
96
|
+
# @return [Google::Apis::ServicecontrolV2::Peer]
|
97
|
+
attr_accessor :destination
|
98
|
+
|
99
|
+
# Supports extensions for advanced use cases, such as logs and metrics.
|
100
|
+
# Corresponds to the JSON property `extensions`
|
101
|
+
# @return [Array<Hash<String,Object>>]
|
102
|
+
attr_accessor :extensions
|
103
|
+
|
104
|
+
# This message defines attributes for a node that handles a network request. The
|
105
|
+
# node can be either a service or an application that sends, forwards, or
|
106
|
+
# receives the request. Service peers should fill in `principal` and `labels` as
|
107
|
+
# appropriate.
|
108
|
+
# Corresponds to the JSON property `origin`
|
109
|
+
# @return [Google::Apis::ServicecontrolV2::Peer]
|
110
|
+
attr_accessor :origin
|
111
|
+
|
112
|
+
# This message defines attributes for an HTTP request. If the actual request is
|
113
|
+
# not an HTTP request, the runtime system should try to map the actual request
|
114
|
+
# to an equivalent HTTP request.
|
115
|
+
# Corresponds to the JSON property `request`
|
116
|
+
# @return [Google::Apis::ServicecontrolV2::Request]
|
117
|
+
attr_accessor :request
|
118
|
+
|
119
|
+
# This message defines core attributes for a resource. A resource is an
|
120
|
+
# addressable (named) entity provided by the destination service. For example, a
|
121
|
+
# file stored on a network storage service.
|
122
|
+
# Corresponds to the JSON property `resource`
|
123
|
+
# @return [Google::Apis::ServicecontrolV2::Resource]
|
124
|
+
attr_accessor :resource
|
125
|
+
|
126
|
+
# This message defines attributes for a typical network response. It generally
|
127
|
+
# models semantics of an HTTP response.
|
128
|
+
# Corresponds to the JSON property `response`
|
129
|
+
# @return [Google::Apis::ServicecontrolV2::Response]
|
130
|
+
attr_accessor :response
|
131
|
+
|
132
|
+
# This message defines attributes for a node that handles a network request. The
|
133
|
+
# node can be either a service or an application that sends, forwards, or
|
134
|
+
# receives the request. Service peers should fill in `principal` and `labels` as
|
135
|
+
# appropriate.
|
136
|
+
# Corresponds to the JSON property `source`
|
137
|
+
# @return [Google::Apis::ServicecontrolV2::Peer]
|
138
|
+
attr_accessor :source
|
139
|
+
|
140
|
+
def initialize(**args)
|
141
|
+
update!(**args)
|
142
|
+
end
|
143
|
+
|
144
|
+
# Update properties of this object
|
145
|
+
def update!(**args)
|
146
|
+
@api = args[:api] if args.key?(:api)
|
147
|
+
@destination = args[:destination] if args.key?(:destination)
|
148
|
+
@extensions = args[:extensions] if args.key?(:extensions)
|
149
|
+
@origin = args[:origin] if args.key?(:origin)
|
150
|
+
@request = args[:request] if args.key?(:request)
|
151
|
+
@resource = args[:resource] if args.key?(:resource)
|
152
|
+
@response = args[:response] if args.key?(:response)
|
153
|
+
@source = args[:source] if args.key?(:source)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# Common audit log format for Google Cloud Platform API operations.
|
158
|
+
class AuditLog
|
159
|
+
include Google::Apis::Core::Hashable
|
160
|
+
|
161
|
+
# Authentication information for the operation.
|
162
|
+
# Corresponds to the JSON property `authenticationInfo`
|
163
|
+
# @return [Google::Apis::ServicecontrolV2::AuthenticationInfo]
|
164
|
+
attr_accessor :authentication_info
|
165
|
+
|
166
|
+
# Authorization information. If there are multiple resources or permissions
|
167
|
+
# involved, then there is one AuthorizationInfo element for each `resource,
|
168
|
+
# permission` tuple.
|
169
|
+
# Corresponds to the JSON property `authorizationInfo`
|
170
|
+
# @return [Array<Google::Apis::ServicecontrolV2::AuthorizationInfo>]
|
171
|
+
attr_accessor :authorization_info
|
172
|
+
|
173
|
+
# Other service-specific data about the request, response, and other information
|
174
|
+
# associated with the current audited event.
|
175
|
+
# Corresponds to the JSON property `metadata`
|
176
|
+
# @return [Hash<String,Object>]
|
177
|
+
attr_accessor :metadata
|
178
|
+
|
179
|
+
# The name of the service method or operation. For API calls, this should be the
|
180
|
+
# name of the API method. For example, "google.cloud.bigquery.v2.TableService.
|
181
|
+
# InsertTable" "google.logging.v2.ConfigServiceV2.CreateSink"
|
182
|
+
# Corresponds to the JSON property `methodName`
|
183
|
+
# @return [String]
|
184
|
+
attr_accessor :method_name
|
185
|
+
|
186
|
+
# The number of items returned from a List or Query API method, if applicable.
|
187
|
+
# Corresponds to the JSON property `numResponseItems`
|
188
|
+
# @return [Fixnum]
|
189
|
+
attr_accessor :num_response_items
|
190
|
+
|
191
|
+
# The operation request. This may not include all request parameters, such as
|
192
|
+
# those that are too large, privacy-sensitive, or duplicated elsewhere in the
|
193
|
+
# log record. It should never include user-generated data, such as file contents.
|
194
|
+
# When the JSON object represented here has a proto equivalent, the proto name
|
195
|
+
# will be indicated in the `@type` property.
|
196
|
+
# Corresponds to the JSON property `request`
|
197
|
+
# @return [Hash<String,Object>]
|
198
|
+
attr_accessor :request
|
199
|
+
|
200
|
+
# Metadata about the request.
|
201
|
+
# Corresponds to the JSON property `requestMetadata`
|
202
|
+
# @return [Google::Apis::ServicecontrolV2::RequestMetadata]
|
203
|
+
attr_accessor :request_metadata
|
204
|
+
|
205
|
+
# Location information about a resource.
|
206
|
+
# Corresponds to the JSON property `resourceLocation`
|
207
|
+
# @return [Google::Apis::ServicecontrolV2::ResourceLocation]
|
208
|
+
attr_accessor :resource_location
|
209
|
+
|
210
|
+
# The resource or collection that is the target of the operation. The name is a
|
211
|
+
# scheme-less URI, not including the API service name. For example: "projects/
|
212
|
+
# PROJECT_ID/zones/us-central1-a/instances" "projects/PROJECT_ID/datasets/
|
213
|
+
# DATASET_ID"
|
214
|
+
# Corresponds to the JSON property `resourceName`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :resource_name
|
217
|
+
|
218
|
+
# The resource's original state before mutation. Present only for operations
|
219
|
+
# which have successfully modified the targeted resource(s). In general, this
|
220
|
+
# field should contain all changed fields, except those that are already been
|
221
|
+
# included in `request`, `response`, `metadata` or `service_data` fields. When
|
222
|
+
# the JSON object represented here has a proto equivalent, the proto name will
|
223
|
+
# be indicated in the `@type` property.
|
224
|
+
# Corresponds to the JSON property `resourceOriginalState`
|
225
|
+
# @return [Hash<String,Object>]
|
226
|
+
attr_accessor :resource_original_state
|
227
|
+
|
228
|
+
# The operation response. This may not include all response elements, such as
|
229
|
+
# those that are too large, privacy-sensitive, or duplicated elsewhere in the
|
230
|
+
# log record. It should never include user-generated data, such as file contents.
|
231
|
+
# When the JSON object represented here has a proto equivalent, the proto name
|
232
|
+
# will be indicated in the `@type` property.
|
233
|
+
# Corresponds to the JSON property `response`
|
234
|
+
# @return [Hash<String,Object>]
|
235
|
+
attr_accessor :response
|
236
|
+
|
237
|
+
# Deprecated. Use the `metadata` field instead. Other service-specific data
|
238
|
+
# about the request, response, and other activities.
|
239
|
+
# Corresponds to the JSON property `serviceData`
|
240
|
+
# @return [Hash<String,Object>]
|
241
|
+
attr_accessor :service_data
|
242
|
+
|
243
|
+
# The name of the API service performing the operation. For example, `"compute.
|
244
|
+
# googleapis.com"`.
|
245
|
+
# Corresponds to the JSON property `serviceName`
|
246
|
+
# @return [String]
|
247
|
+
attr_accessor :service_name
|
248
|
+
|
249
|
+
# The `Status` type defines a logical error model that is suitable for different
|
250
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
251
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
252
|
+
# data: error code, error message, and error details. You can find out more
|
253
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
254
|
+
# //cloud.google.com/apis/design/errors).
|
255
|
+
# Corresponds to the JSON property `status`
|
256
|
+
# @return [Google::Apis::ServicecontrolV2::Status]
|
257
|
+
attr_accessor :status
|
258
|
+
|
259
|
+
def initialize(**args)
|
260
|
+
update!(**args)
|
261
|
+
end
|
262
|
+
|
263
|
+
# Update properties of this object
|
264
|
+
def update!(**args)
|
265
|
+
@authentication_info = args[:authentication_info] if args.key?(:authentication_info)
|
266
|
+
@authorization_info = args[:authorization_info] if args.key?(:authorization_info)
|
267
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
268
|
+
@method_name = args[:method_name] if args.key?(:method_name)
|
269
|
+
@num_response_items = args[:num_response_items] if args.key?(:num_response_items)
|
270
|
+
@request = args[:request] if args.key?(:request)
|
271
|
+
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
272
|
+
@resource_location = args[:resource_location] if args.key?(:resource_location)
|
273
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
274
|
+
@resource_original_state = args[:resource_original_state] if args.key?(:resource_original_state)
|
275
|
+
@response = args[:response] if args.key?(:response)
|
276
|
+
@service_data = args[:service_data] if args.key?(:service_data)
|
277
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
278
|
+
@status = args[:status] if args.key?(:status)
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
# This message defines request authentication attributes. Terminology is based
|
283
|
+
# on the JSON Web Token (JWT) standard, but the terms also correlate to concepts
|
284
|
+
# in other standards.
|
285
|
+
class Auth
|
286
|
+
include Google::Apis::Core::Hashable
|
287
|
+
|
288
|
+
# A list of access level resource names that allow resources to be accessed by
|
289
|
+
# authenticated requester. It is part of Secure GCP processing for the incoming
|
290
|
+
# request. An access level string has the format: "//`api_service_name`/
|
291
|
+
# accessPolicies/`policy_id`/accessLevels/`short_name`" Example: "//
|
292
|
+
# accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/
|
293
|
+
# MY_LEVEL"
|
294
|
+
# Corresponds to the JSON property `accessLevels`
|
295
|
+
# @return [Array<String>]
|
296
|
+
attr_accessor :access_levels
|
297
|
+
|
298
|
+
# The intended audience(s) for this authentication information. Reflects the
|
299
|
+
# audience (`aud`) claim within a JWT. The audience value(s) depends on the `
|
300
|
+
# issuer`, but typically include one or more of the following pieces of
|
301
|
+
# information: * The services intended to receive the credential. For example, ["
|
302
|
+
# https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * A set
|
303
|
+
# of service-based scopes. For example, ["https://www.googleapis.com/auth/cloud-
|
304
|
+
# platform"]. * The client id of an app, such as the Firebase project id for
|
305
|
+
# JWTs from Firebase Auth. Consult the documentation for the credential issuer
|
306
|
+
# to determine the information provided.
|
307
|
+
# Corresponds to the JSON property `audiences`
|
308
|
+
# @return [Array<String>]
|
309
|
+
attr_accessor :audiences
|
310
|
+
|
311
|
+
# Structured claims presented with the credential. JWTs include ``key: value``
|
312
|
+
# pairs for standard and private claims. The following is a subset of the
|
313
|
+
# standard required and optional claims that would typically be presented for a
|
314
|
+
# Google-based JWT: `'iss': 'accounts.google.com', 'sub': '113289723416554971153'
|
315
|
+
# , 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.
|
316
|
+
# googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp'
|
317
|
+
# : 1353604926` SAML assertions are similarly specified, but with an identity
|
318
|
+
# provider dependent structure.
|
319
|
+
# Corresponds to the JSON property `claims`
|
320
|
+
# @return [Hash<String,Object>]
|
321
|
+
attr_accessor :claims
|
322
|
+
|
323
|
+
# The authorized presenter of the credential. Reflects the optional Authorized
|
324
|
+
# Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a
|
325
|
+
# Google Cloud Platform client id looks as follows: "123456789012.apps.
|
326
|
+
# googleusercontent.com".
|
327
|
+
# Corresponds to the JSON property `presenter`
|
328
|
+
# @return [String]
|
329
|
+
attr_accessor :presenter
|
330
|
+
|
331
|
+
# The authenticated principal. Reflects the issuer (`iss`) and subject (`sub`)
|
332
|
+
# claims within a JWT. The issuer and subject should be `/` delimited, with `/`
|
333
|
+
# percent-encoded within the subject fragment. For Google accounts, the
|
334
|
+
# principal format is: "https://accounts.google.com/`id`"
|
335
|
+
# Corresponds to the JSON property `principal`
|
336
|
+
# @return [String]
|
337
|
+
attr_accessor :principal
|
338
|
+
|
339
|
+
def initialize(**args)
|
340
|
+
update!(**args)
|
341
|
+
end
|
342
|
+
|
343
|
+
# Update properties of this object
|
344
|
+
def update!(**args)
|
345
|
+
@access_levels = args[:access_levels] if args.key?(:access_levels)
|
346
|
+
@audiences = args[:audiences] if args.key?(:audiences)
|
347
|
+
@claims = args[:claims] if args.key?(:claims)
|
348
|
+
@presenter = args[:presenter] if args.key?(:presenter)
|
349
|
+
@principal = args[:principal] if args.key?(:principal)
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# Authentication information for the operation.
|
354
|
+
class AuthenticationInfo
|
355
|
+
include Google::Apis::Core::Hashable
|
356
|
+
|
357
|
+
# The authority selector specified by the requestor, if any. It is not
|
358
|
+
# guaranteed that the principal was allowed to use this authority.
|
359
|
+
# Corresponds to the JSON property `authoritySelector`
|
360
|
+
# @return [String]
|
361
|
+
attr_accessor :authority_selector
|
362
|
+
|
363
|
+
# The email address of the authenticated user (or service account on behalf of
|
364
|
+
# third party principal) making the request. For privacy reasons, the principal
|
365
|
+
# email address is redacted for all read-only operations that fail with a "
|
366
|
+
# permission denied" error.
|
367
|
+
# Corresponds to the JSON property `principalEmail`
|
368
|
+
# @return [String]
|
369
|
+
attr_accessor :principal_email
|
370
|
+
|
371
|
+
# String representation of identity of requesting party. Populated for both
|
372
|
+
# first and third party identities.
|
373
|
+
# Corresponds to the JSON property `principalSubject`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :principal_subject
|
376
|
+
|
377
|
+
# Identity delegation history of an authenticated service account that makes the
|
378
|
+
# request. It contains information on the real authorities that try to access
|
379
|
+
# GCP resources by delegating on a service account. When multiple authorities
|
380
|
+
# present, they are guaranteed to be sorted based on the original ordering of
|
381
|
+
# the identity delegation events.
|
382
|
+
# Corresponds to the JSON property `serviceAccountDelegationInfo`
|
383
|
+
# @return [Array<Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo>]
|
384
|
+
attr_accessor :service_account_delegation_info
|
385
|
+
|
386
|
+
# The name of the service account key used to create or exchange credentials for
|
387
|
+
# authenticating the service account making the request. This is a scheme-less
|
388
|
+
# URI full resource name. For example: "//iam.googleapis.com/projects/`
|
389
|
+
# PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key`"
|
390
|
+
# Corresponds to the JSON property `serviceAccountKeyName`
|
391
|
+
# @return [String]
|
392
|
+
attr_accessor :service_account_key_name
|
393
|
+
|
394
|
+
# The third party identification (if any) of the authenticated user making the
|
395
|
+
# request. When the JSON object represented here has a proto equivalent, the
|
396
|
+
# proto name will be indicated in the `@type` property.
|
397
|
+
# Corresponds to the JSON property `thirdPartyPrincipal`
|
398
|
+
# @return [Hash<String,Object>]
|
399
|
+
attr_accessor :third_party_principal
|
400
|
+
|
401
|
+
def initialize(**args)
|
402
|
+
update!(**args)
|
403
|
+
end
|
404
|
+
|
405
|
+
# Update properties of this object
|
406
|
+
def update!(**args)
|
407
|
+
@authority_selector = args[:authority_selector] if args.key?(:authority_selector)
|
408
|
+
@principal_email = args[:principal_email] if args.key?(:principal_email)
|
409
|
+
@principal_subject = args[:principal_subject] if args.key?(:principal_subject)
|
410
|
+
@service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
|
411
|
+
@service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
|
412
|
+
@third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
# Authorization information for the operation.
|
417
|
+
class AuthorizationInfo
|
418
|
+
include Google::Apis::Core::Hashable
|
419
|
+
|
420
|
+
# Whether or not authorization for `resource` and `permission` was granted.
|
421
|
+
# Corresponds to the JSON property `granted`
|
422
|
+
# @return [Boolean]
|
423
|
+
attr_accessor :granted
|
424
|
+
alias_method :granted?, :granted
|
425
|
+
|
426
|
+
# The required IAM permission.
|
427
|
+
# Corresponds to the JSON property `permission`
|
428
|
+
# @return [String]
|
429
|
+
attr_accessor :permission
|
430
|
+
|
431
|
+
# The resource being accessed, as a REST-style string. For example: bigquery.
|
432
|
+
# googleapis.com/projects/PROJECTID/datasets/DATASETID
|
433
|
+
# Corresponds to the JSON property `resource`
|
434
|
+
# @return [String]
|
435
|
+
attr_accessor :resource
|
436
|
+
|
437
|
+
# This message defines core attributes for a resource. A resource is an
|
438
|
+
# addressable (named) entity provided by the destination service. For example, a
|
439
|
+
# file stored on a network storage service.
|
440
|
+
# Corresponds to the JSON property `resourceAttributes`
|
441
|
+
# @return [Google::Apis::ServicecontrolV2::Resource]
|
442
|
+
attr_accessor :resource_attributes
|
443
|
+
|
444
|
+
def initialize(**args)
|
445
|
+
update!(**args)
|
446
|
+
end
|
447
|
+
|
448
|
+
# Update properties of this object
|
449
|
+
def update!(**args)
|
450
|
+
@granted = args[:granted] if args.key?(:granted)
|
451
|
+
@permission = args[:permission] if args.key?(:permission)
|
452
|
+
@resource = args[:resource] if args.key?(:resource)
|
453
|
+
@resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
# Request message for the Check method.
|
458
|
+
class CheckRequest
|
459
|
+
include Google::Apis::Core::Hashable
|
460
|
+
|
461
|
+
# This message defines the standard attribute vocabulary for Google APIs. An
|
462
|
+
# attribute is a piece of metadata that describes an activity on a network
|
463
|
+
# service. For example, the size of an HTTP request, or the status code of an
|
464
|
+
# HTTP response. Each attribute has a type and a name, which is logically
|
465
|
+
# defined as a proto message field in `AttributeContext`. The field type becomes
|
466
|
+
# the attribute type, and the field path becomes the attribute name. For example,
|
467
|
+
# the attribute `source.ip` maps to field `AttributeContext.source.ip`. This
|
468
|
+
# message definition is guaranteed not to have any wire breaking change. So you
|
469
|
+
# can use it directly for passing attributes across different systems. NOTE:
|
470
|
+
# Different system may generate different subset of attributes. Please verify
|
471
|
+
# the system specification before relying on an attribute generated a system.
|
472
|
+
# Corresponds to the JSON property `attributes`
|
473
|
+
# @return [Google::Apis::ServicecontrolV2::AttributeContext]
|
474
|
+
attr_accessor :attributes
|
475
|
+
|
476
|
+
# Describes the resources and the policies applied to each resource.
|
477
|
+
# Corresponds to the JSON property `resources`
|
478
|
+
# @return [Array<Google::Apis::ServicecontrolV2::ResourceInfo>]
|
479
|
+
attr_accessor :resources
|
480
|
+
|
481
|
+
# Specifies the version of the service configuration that should be used to
|
482
|
+
# process the request. Must not be empty. Set this field to 'latest' to specify
|
483
|
+
# using the latest configuration.
|
484
|
+
# Corresponds to the JSON property `serviceConfigId`
|
485
|
+
# @return [String]
|
486
|
+
attr_accessor :service_config_id
|
487
|
+
|
488
|
+
def initialize(**args)
|
489
|
+
update!(**args)
|
490
|
+
end
|
491
|
+
|
492
|
+
# Update properties of this object
|
493
|
+
def update!(**args)
|
494
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
495
|
+
@resources = args[:resources] if args.key?(:resources)
|
496
|
+
@service_config_id = args[:service_config_id] if args.key?(:service_config_id)
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
# Response message for the Check method.
|
501
|
+
class CheckResponse
|
502
|
+
include Google::Apis::Core::Hashable
|
503
|
+
|
504
|
+
# Returns a set of request contexts generated from the `CheckRequest`.
|
505
|
+
# Corresponds to the JSON property `headers`
|
506
|
+
# @return [Hash<String,String>]
|
507
|
+
attr_accessor :headers
|
508
|
+
|
509
|
+
# The `Status` type defines a logical error model that is suitable for different
|
510
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
511
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
512
|
+
# data: error code, error message, and error details. You can find out more
|
513
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
514
|
+
# //cloud.google.com/apis/design/errors).
|
515
|
+
# Corresponds to the JSON property `status`
|
516
|
+
# @return [Google::Apis::ServicecontrolV2::Status]
|
517
|
+
attr_accessor :status
|
518
|
+
|
519
|
+
def initialize(**args)
|
520
|
+
update!(**args)
|
521
|
+
end
|
522
|
+
|
523
|
+
# Update properties of this object
|
524
|
+
def update!(**args)
|
525
|
+
@headers = args[:headers] if args.key?(:headers)
|
526
|
+
@status = args[:status] if args.key?(:status)
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
530
|
+
# First party identity principal.
|
531
|
+
class FirstPartyPrincipal
|
532
|
+
include Google::Apis::Core::Hashable
|
533
|
+
|
534
|
+
# The email address of a Google account. .
|
535
|
+
# Corresponds to the JSON property `principalEmail`
|
536
|
+
# @return [String]
|
537
|
+
attr_accessor :principal_email
|
538
|
+
|
539
|
+
# Metadata about the service that uses the service account. .
|
540
|
+
# Corresponds to the JSON property `serviceMetadata`
|
541
|
+
# @return [Hash<String,Object>]
|
542
|
+
attr_accessor :service_metadata
|
543
|
+
|
544
|
+
def initialize(**args)
|
545
|
+
update!(**args)
|
546
|
+
end
|
547
|
+
|
548
|
+
# Update properties of this object
|
549
|
+
def update!(**args)
|
550
|
+
@principal_email = args[:principal_email] if args.key?(:principal_email)
|
551
|
+
@service_metadata = args[:service_metadata] if args.key?(:service_metadata)
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
555
|
+
# This message defines attributes for a node that handles a network request. The
|
556
|
+
# node can be either a service or an application that sends, forwards, or
|
557
|
+
# receives the request. Service peers should fill in `principal` and `labels` as
|
558
|
+
# appropriate.
|
559
|
+
class Peer
|
560
|
+
include Google::Apis::Core::Hashable
|
561
|
+
|
562
|
+
# The IP address of the peer.
|
563
|
+
# Corresponds to the JSON property `ip`
|
564
|
+
# @return [String]
|
565
|
+
attr_accessor :ip
|
566
|
+
|
567
|
+
# The labels associated with the peer.
|
568
|
+
# Corresponds to the JSON property `labels`
|
569
|
+
# @return [Hash<String,String>]
|
570
|
+
attr_accessor :labels
|
571
|
+
|
572
|
+
# The network port of the peer.
|
573
|
+
# Corresponds to the JSON property `port`
|
574
|
+
# @return [Fixnum]
|
575
|
+
attr_accessor :port
|
576
|
+
|
577
|
+
# The identity of this peer. Similar to `Request.auth.principal`, but relative
|
578
|
+
# to the peer instead of the request. For example, the idenity associated with a
|
579
|
+
# load balancer that forwared the request.
|
580
|
+
# Corresponds to the JSON property `principal`
|
581
|
+
# @return [String]
|
582
|
+
attr_accessor :principal
|
583
|
+
|
584
|
+
# The CLDR country/region code associated with the above IP address. If the IP
|
585
|
+
# address is private, the `region_code` should reflect the physical location
|
586
|
+
# where this peer is running.
|
587
|
+
# Corresponds to the JSON property `regionCode`
|
588
|
+
# @return [String]
|
589
|
+
attr_accessor :region_code
|
590
|
+
|
591
|
+
def initialize(**args)
|
592
|
+
update!(**args)
|
593
|
+
end
|
594
|
+
|
595
|
+
# Update properties of this object
|
596
|
+
def update!(**args)
|
597
|
+
@ip = args[:ip] if args.key?(:ip)
|
598
|
+
@labels = args[:labels] if args.key?(:labels)
|
599
|
+
@port = args[:port] if args.key?(:port)
|
600
|
+
@principal = args[:principal] if args.key?(:principal)
|
601
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
# Request message for the Report method.
|
606
|
+
class ReportRequest
|
607
|
+
include Google::Apis::Core::Hashable
|
608
|
+
|
609
|
+
# Describes the list of operations to be reported. Each operation is represented
|
610
|
+
# as an AttributeContext, and contains all attributes around an API access.
|
611
|
+
# Corresponds to the JSON property `operations`
|
612
|
+
# @return [Array<Google::Apis::ServicecontrolV2::AttributeContext>]
|
613
|
+
attr_accessor :operations
|
614
|
+
|
615
|
+
# Specifies the version of the service configuration that should be used to
|
616
|
+
# process the request. Must not be empty. Set this field to 'latest' to specify
|
617
|
+
# using the latest configuration.
|
618
|
+
# Corresponds to the JSON property `serviceConfigId`
|
619
|
+
# @return [String]
|
620
|
+
attr_accessor :service_config_id
|
621
|
+
|
622
|
+
def initialize(**args)
|
623
|
+
update!(**args)
|
624
|
+
end
|
625
|
+
|
626
|
+
# Update properties of this object
|
627
|
+
def update!(**args)
|
628
|
+
@operations = args[:operations] if args.key?(:operations)
|
629
|
+
@service_config_id = args[:service_config_id] if args.key?(:service_config_id)
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
# Response message for the Report method. If the request contains any invalid
|
634
|
+
# data, the server returns an RPC error.
|
635
|
+
class ReportResponse
|
636
|
+
include Google::Apis::Core::Hashable
|
637
|
+
|
638
|
+
def initialize(**args)
|
639
|
+
update!(**args)
|
640
|
+
end
|
641
|
+
|
642
|
+
# Update properties of this object
|
643
|
+
def update!(**args)
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
# This message defines attributes for an HTTP request. If the actual request is
|
648
|
+
# not an HTTP request, the runtime system should try to map the actual request
|
649
|
+
# to an equivalent HTTP request.
|
650
|
+
class Request
|
651
|
+
include Google::Apis::Core::Hashable
|
652
|
+
|
653
|
+
# This message defines request authentication attributes. Terminology is based
|
654
|
+
# on the JSON Web Token (JWT) standard, but the terms also correlate to concepts
|
655
|
+
# in other standards.
|
656
|
+
# Corresponds to the JSON property `auth`
|
657
|
+
# @return [Google::Apis::ServicecontrolV2::Auth]
|
658
|
+
attr_accessor :auth
|
659
|
+
|
660
|
+
# The HTTP request headers. If multiple headers share the same key, they must be
|
661
|
+
# merged according to the HTTP spec. All header keys must be lowercased, because
|
662
|
+
# HTTP header keys are case-insensitive.
|
663
|
+
# Corresponds to the JSON property `headers`
|
664
|
+
# @return [Hash<String,String>]
|
665
|
+
attr_accessor :headers
|
666
|
+
|
667
|
+
# The HTTP request `Host` header value.
|
668
|
+
# Corresponds to the JSON property `host`
|
669
|
+
# @return [String]
|
670
|
+
attr_accessor :host
|
671
|
+
|
672
|
+
# The unique ID for a request, which can be propagated to downstream systems.
|
673
|
+
# The ID should have low probability of collision within a single day for a
|
674
|
+
# specific service.
|
675
|
+
# Corresponds to the JSON property `id`
|
676
|
+
# @return [String]
|
677
|
+
attr_accessor :id
|
678
|
+
|
679
|
+
# The HTTP request method, such as `GET`, `POST`.
|
680
|
+
# Corresponds to the JSON property `method`
|
681
|
+
# @return [String]
|
682
|
+
attr_accessor :method_prop
|
683
|
+
|
684
|
+
# The HTTP URL path.
|
685
|
+
# Corresponds to the JSON property `path`
|
686
|
+
# @return [String]
|
687
|
+
attr_accessor :path
|
688
|
+
|
689
|
+
# The network protocol used with the request, such as "http/1.1", "spdy/3", "h2",
|
690
|
+
# "h2c", "webrtc", "tcp", "udp", "quic". See https://www.iana.org/assignments/
|
691
|
+
# tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for
|
692
|
+
# details.
|
693
|
+
# Corresponds to the JSON property `protocol`
|
694
|
+
# @return [String]
|
695
|
+
attr_accessor :protocol
|
696
|
+
|
697
|
+
# The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears
|
698
|
+
# in the first line of the HTTP request. No decoding is performed.
|
699
|
+
# Corresponds to the JSON property `query`
|
700
|
+
# @return [String]
|
701
|
+
attr_accessor :query
|
702
|
+
|
703
|
+
# A special parameter for request reason. It is used by security systems to
|
704
|
+
# associate auditing information with a request.
|
705
|
+
# Corresponds to the JSON property `reason`
|
706
|
+
# @return [String]
|
707
|
+
attr_accessor :reason
|
708
|
+
|
709
|
+
# The HTTP URL scheme, such as `http` and `https`.
|
710
|
+
# Corresponds to the JSON property `scheme`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :scheme
|
713
|
+
|
714
|
+
# The HTTP request size in bytes. If unknown, it must be -1.
|
715
|
+
# Corresponds to the JSON property `size`
|
716
|
+
# @return [Fixnum]
|
717
|
+
attr_accessor :size
|
718
|
+
|
719
|
+
# The timestamp when the `destination` service receives the first byte of the
|
720
|
+
# request.
|
721
|
+
# Corresponds to the JSON property `time`
|
722
|
+
# @return [String]
|
723
|
+
attr_accessor :time
|
724
|
+
|
725
|
+
def initialize(**args)
|
726
|
+
update!(**args)
|
727
|
+
end
|
728
|
+
|
729
|
+
# Update properties of this object
|
730
|
+
def update!(**args)
|
731
|
+
@auth = args[:auth] if args.key?(:auth)
|
732
|
+
@headers = args[:headers] if args.key?(:headers)
|
733
|
+
@host = args[:host] if args.key?(:host)
|
734
|
+
@id = args[:id] if args.key?(:id)
|
735
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
736
|
+
@path = args[:path] if args.key?(:path)
|
737
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
738
|
+
@query = args[:query] if args.key?(:query)
|
739
|
+
@reason = args[:reason] if args.key?(:reason)
|
740
|
+
@scheme = args[:scheme] if args.key?(:scheme)
|
741
|
+
@size = args[:size] if args.key?(:size)
|
742
|
+
@time = args[:time] if args.key?(:time)
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
# Metadata about the request.
|
747
|
+
class RequestMetadata
|
748
|
+
include Google::Apis::Core::Hashable
|
749
|
+
|
750
|
+
# The IP address of the caller. For caller from internet, this will be public
|
751
|
+
# IPv4 or IPv6 address. For caller from a Compute Engine VM with external IP
|
752
|
+
# address, this will be the VM's external IP address. For caller from a Compute
|
753
|
+
# Engine VM without external IP address, if the VM is in the same organization (
|
754
|
+
# or project) as the accessed resource, `caller_ip` will be the VM's internal
|
755
|
+
# IPv4 address, otherwise the `caller_ip` will be redacted to "gce-internal-ip".
|
756
|
+
# See https://cloud.google.com/compute/docs/vpc/ for more information.
|
757
|
+
# Corresponds to the JSON property `callerIp`
|
758
|
+
# @return [String]
|
759
|
+
attr_accessor :caller_ip
|
760
|
+
|
761
|
+
# The network of the caller. Set only if the network host project is part of the
|
762
|
+
# same GCP organization (or project) as the accessed resource. See https://cloud.
|
763
|
+
# google.com/compute/docs/vpc/ for more information. This is a scheme-less URI
|
764
|
+
# full resource name. For example: "//compute.googleapis.com/projects/PROJECT_ID/
|
765
|
+
# global/networks/NETWORK_ID"
|
766
|
+
# Corresponds to the JSON property `callerNetwork`
|
767
|
+
# @return [String]
|
768
|
+
attr_accessor :caller_network
|
769
|
+
|
770
|
+
# The user agent of the caller. This information is not authenticated and should
|
771
|
+
# be treated accordingly. For example: + `google-api-python-client/1.4.0`: The
|
772
|
+
# request was made by the Google API client for Python. + `Cloud SDK Command
|
773
|
+
# Line Tool apitools-client/1.0 gcloud/0.9.62`: The request was made by the
|
774
|
+
# Google Cloud SDK CLI (gcloud). + `AppEngine-Google; (+http://code.google.com/
|
775
|
+
# appengine; appid: s~my-project`: The request was made from the `my-project`
|
776
|
+
# App Engine app. NOLINT
|
777
|
+
# Corresponds to the JSON property `callerSuppliedUserAgent`
|
778
|
+
# @return [String]
|
779
|
+
attr_accessor :caller_supplied_user_agent
|
780
|
+
|
781
|
+
# This message defines attributes for a node that handles a network request. The
|
782
|
+
# node can be either a service or an application that sends, forwards, or
|
783
|
+
# receives the request. Service peers should fill in `principal` and `labels` as
|
784
|
+
# appropriate.
|
785
|
+
# Corresponds to the JSON property `destinationAttributes`
|
786
|
+
# @return [Google::Apis::ServicecontrolV2::Peer]
|
787
|
+
attr_accessor :destination_attributes
|
788
|
+
|
789
|
+
# This message defines attributes for an HTTP request. If the actual request is
|
790
|
+
# not an HTTP request, the runtime system should try to map the actual request
|
791
|
+
# to an equivalent HTTP request.
|
792
|
+
# Corresponds to the JSON property `requestAttributes`
|
793
|
+
# @return [Google::Apis::ServicecontrolV2::Request]
|
794
|
+
attr_accessor :request_attributes
|
795
|
+
|
796
|
+
def initialize(**args)
|
797
|
+
update!(**args)
|
798
|
+
end
|
799
|
+
|
800
|
+
# Update properties of this object
|
801
|
+
def update!(**args)
|
802
|
+
@caller_ip = args[:caller_ip] if args.key?(:caller_ip)
|
803
|
+
@caller_network = args[:caller_network] if args.key?(:caller_network)
|
804
|
+
@caller_supplied_user_agent = args[:caller_supplied_user_agent] if args.key?(:caller_supplied_user_agent)
|
805
|
+
@destination_attributes = args[:destination_attributes] if args.key?(:destination_attributes)
|
806
|
+
@request_attributes = args[:request_attributes] if args.key?(:request_attributes)
|
807
|
+
end
|
808
|
+
end
|
809
|
+
|
810
|
+
# This message defines core attributes for a resource. A resource is an
|
811
|
+
# addressable (named) entity provided by the destination service. For example, a
|
812
|
+
# file stored on a network storage service.
|
813
|
+
class Resource
|
814
|
+
include Google::Apis::Core::Hashable
|
815
|
+
|
816
|
+
# The labels or tags on the resource, such as AWS resource tags and Kubernetes
|
817
|
+
# resource labels.
|
818
|
+
# Corresponds to the JSON property `labels`
|
819
|
+
# @return [Hash<String,String>]
|
820
|
+
attr_accessor :labels
|
821
|
+
|
822
|
+
# The stable identifier (name) of a resource on the `service`. A resource can be
|
823
|
+
# logically identified as "//`resource.service`/`resource.name`". The
|
824
|
+
# differences between a resource name and a URI are: * Resource name is a
|
825
|
+
# logical identifier, independent of network protocol and API version. For
|
826
|
+
# example, `//pubsub.googleapis.com/projects/123/topics/news-feed`. * URI often
|
827
|
+
# includes protocol and version information, so it can be used directly by
|
828
|
+
# applications. For example, `https://pubsub.googleapis.com/v1/projects/123/
|
829
|
+
# topics/news-feed`. See https://cloud.google.com/apis/design/resource_names for
|
830
|
+
# details.
|
831
|
+
# Corresponds to the JSON property `name`
|
832
|
+
# @return [String]
|
833
|
+
attr_accessor :name
|
834
|
+
|
835
|
+
# The name of the service that this resource belongs to, such as `pubsub.
|
836
|
+
# googleapis.com`. The service may be different from the DNS hostname that
|
837
|
+
# actually serves the request.
|
838
|
+
# Corresponds to the JSON property `service`
|
839
|
+
# @return [String]
|
840
|
+
attr_accessor :service
|
841
|
+
|
842
|
+
# The type of the resource. The syntax is platform-specific because different
|
843
|
+
# platforms define their resources differently. For Google APIs, the type format
|
844
|
+
# must be "`service`/`kind`".
|
845
|
+
# Corresponds to the JSON property `type`
|
846
|
+
# @return [String]
|
847
|
+
attr_accessor :type
|
848
|
+
|
849
|
+
def initialize(**args)
|
850
|
+
update!(**args)
|
851
|
+
end
|
852
|
+
|
853
|
+
# Update properties of this object
|
854
|
+
def update!(**args)
|
855
|
+
@labels = args[:labels] if args.key?(:labels)
|
856
|
+
@name = args[:name] if args.key?(:name)
|
857
|
+
@service = args[:service] if args.key?(:service)
|
858
|
+
@type = args[:type] if args.key?(:type)
|
859
|
+
end
|
860
|
+
end
|
861
|
+
|
862
|
+
# Describes a resource referenced in the request.
|
863
|
+
class ResourceInfo
|
864
|
+
include Google::Apis::Core::Hashable
|
865
|
+
|
866
|
+
# The name of the resource referenced in the request.
|
867
|
+
# Corresponds to the JSON property `name`
|
868
|
+
# @return [String]
|
869
|
+
attr_accessor :name
|
870
|
+
|
871
|
+
# The resource permission needed for this request. The format must be "`service`/
|
872
|
+
# `plural`.`verb`".
|
873
|
+
# Corresponds to the JSON property `permission`
|
874
|
+
# @return [String]
|
875
|
+
attr_accessor :permission
|
876
|
+
|
877
|
+
# The resource type in the format of "`service`/`kind`".
|
878
|
+
# Corresponds to the JSON property `type`
|
879
|
+
# @return [String]
|
880
|
+
attr_accessor :type
|
881
|
+
|
882
|
+
def initialize(**args)
|
883
|
+
update!(**args)
|
884
|
+
end
|
885
|
+
|
886
|
+
# Update properties of this object
|
887
|
+
def update!(**args)
|
888
|
+
@name = args[:name] if args.key?(:name)
|
889
|
+
@permission = args[:permission] if args.key?(:permission)
|
890
|
+
@type = args[:type] if args.key?(:type)
|
891
|
+
end
|
892
|
+
end
|
893
|
+
|
894
|
+
# Location information about a resource.
|
895
|
+
class ResourceLocation
|
896
|
+
include Google::Apis::Core::Hashable
|
897
|
+
|
898
|
+
# The locations of a resource after the execution of the operation. Requests to
|
899
|
+
# create or delete a location based resource must populate the '
|
900
|
+
# current_locations' field and not the 'original_locations' field. For example: "
|
901
|
+
# europe-west1-a" "us-east1" "nam3"
|
902
|
+
# Corresponds to the JSON property `currentLocations`
|
903
|
+
# @return [Array<String>]
|
904
|
+
attr_accessor :current_locations
|
905
|
+
|
906
|
+
# The locations of a resource prior to the execution of the operation. Requests
|
907
|
+
# that mutate the resource's location must populate both the 'original_locations'
|
908
|
+
# as well as the 'current_locations' fields. For example: "europe-west1-a" "us-
|
909
|
+
# east1" "nam3"
|
910
|
+
# Corresponds to the JSON property `originalLocations`
|
911
|
+
# @return [Array<String>]
|
912
|
+
attr_accessor :original_locations
|
913
|
+
|
914
|
+
def initialize(**args)
|
915
|
+
update!(**args)
|
916
|
+
end
|
917
|
+
|
918
|
+
# Update properties of this object
|
919
|
+
def update!(**args)
|
920
|
+
@current_locations = args[:current_locations] if args.key?(:current_locations)
|
921
|
+
@original_locations = args[:original_locations] if args.key?(:original_locations)
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
925
|
+
# This message defines attributes for a typical network response. It generally
|
926
|
+
# models semantics of an HTTP response.
|
927
|
+
class Response
|
928
|
+
include Google::Apis::Core::Hashable
|
929
|
+
|
930
|
+
# The HTTP response status code, such as `200` and `404`.
|
931
|
+
# Corresponds to the JSON property `code`
|
932
|
+
# @return [Fixnum]
|
933
|
+
attr_accessor :code
|
934
|
+
|
935
|
+
# The HTTP response headers. If multiple headers share the same key, they must
|
936
|
+
# be merged according to HTTP spec. All header keys must be lowercased, because
|
937
|
+
# HTTP header keys are case-insensitive.
|
938
|
+
# Corresponds to the JSON property `headers`
|
939
|
+
# @return [Hash<String,String>]
|
940
|
+
attr_accessor :headers
|
941
|
+
|
942
|
+
# The HTTP response size in bytes. If unknown, it must be -1.
|
943
|
+
# Corresponds to the JSON property `size`
|
944
|
+
# @return [Fixnum]
|
945
|
+
attr_accessor :size
|
946
|
+
|
947
|
+
# The timestamp when the `destination` service generates the first byte of the
|
948
|
+
# response.
|
949
|
+
# Corresponds to the JSON property `time`
|
950
|
+
# @return [String]
|
951
|
+
attr_accessor :time
|
952
|
+
|
953
|
+
def initialize(**args)
|
954
|
+
update!(**args)
|
955
|
+
end
|
956
|
+
|
957
|
+
# Update properties of this object
|
958
|
+
def update!(**args)
|
959
|
+
@code = args[:code] if args.key?(:code)
|
960
|
+
@headers = args[:headers] if args.key?(:headers)
|
961
|
+
@size = args[:size] if args.key?(:size)
|
962
|
+
@time = args[:time] if args.key?(:time)
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
966
|
+
# Identity delegation history of an authenticated service account.
|
967
|
+
class ServiceAccountDelegationInfo
|
968
|
+
include Google::Apis::Core::Hashable
|
969
|
+
|
970
|
+
# First party identity principal.
|
971
|
+
# Corresponds to the JSON property `firstPartyPrincipal`
|
972
|
+
# @return [Google::Apis::ServicecontrolV2::FirstPartyPrincipal]
|
973
|
+
attr_accessor :first_party_principal
|
974
|
+
|
975
|
+
# Third party identity principal.
|
976
|
+
# Corresponds to the JSON property `thirdPartyPrincipal`
|
977
|
+
# @return [Google::Apis::ServicecontrolV2::ThirdPartyPrincipal]
|
978
|
+
attr_accessor :third_party_principal
|
979
|
+
|
980
|
+
def initialize(**args)
|
981
|
+
update!(**args)
|
982
|
+
end
|
983
|
+
|
984
|
+
# Update properties of this object
|
985
|
+
def update!(**args)
|
986
|
+
@first_party_principal = args[:first_party_principal] if args.key?(:first_party_principal)
|
987
|
+
@third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
|
988
|
+
end
|
989
|
+
end
|
990
|
+
|
991
|
+
# The context of a span, attached to Exemplars in Distribution values during
|
992
|
+
# aggregation. It contains the name of a span with format: projects/[
|
993
|
+
# PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
|
994
|
+
class SpanContext
|
995
|
+
include Google::Apis::Core::Hashable
|
996
|
+
|
997
|
+
# The resource name of the span. The format is: projects/[PROJECT_ID_OR_NUMBER]/
|
998
|
+
# traces/[TRACE_ID]/spans/[SPAN_ID] `[TRACE_ID]` is a unique identifier for a
|
999
|
+
# trace within a project; it is a 32-character hexadecimal encoding of a 16-byte
|
1000
|
+
# array. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a
|
1001
|
+
# 16-character hexadecimal encoding of an 8-byte array.
|
1002
|
+
# Corresponds to the JSON property `spanName`
|
1003
|
+
# @return [String]
|
1004
|
+
attr_accessor :span_name
|
1005
|
+
|
1006
|
+
def initialize(**args)
|
1007
|
+
update!(**args)
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
# Update properties of this object
|
1011
|
+
def update!(**args)
|
1012
|
+
@span_name = args[:span_name] if args.key?(:span_name)
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1017
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1018
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1019
|
+
# data: error code, error message, and error details. You can find out more
|
1020
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1021
|
+
# //cloud.google.com/apis/design/errors).
|
1022
|
+
class Status
|
1023
|
+
include Google::Apis::Core::Hashable
|
1024
|
+
|
1025
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
1026
|
+
# Corresponds to the JSON property `code`
|
1027
|
+
# @return [Fixnum]
|
1028
|
+
attr_accessor :code
|
1029
|
+
|
1030
|
+
# A list of messages that carry the error details. There is a common set of
|
1031
|
+
# message types for APIs to use.
|
1032
|
+
# Corresponds to the JSON property `details`
|
1033
|
+
# @return [Array<Hash<String,Object>>]
|
1034
|
+
attr_accessor :details
|
1035
|
+
|
1036
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1037
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1038
|
+
# field, or localized by the client.
|
1039
|
+
# Corresponds to the JSON property `message`
|
1040
|
+
# @return [String]
|
1041
|
+
attr_accessor :message
|
1042
|
+
|
1043
|
+
def initialize(**args)
|
1044
|
+
update!(**args)
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
# Update properties of this object
|
1048
|
+
def update!(**args)
|
1049
|
+
@code = args[:code] if args.key?(:code)
|
1050
|
+
@details = args[:details] if args.key?(:details)
|
1051
|
+
@message = args[:message] if args.key?(:message)
|
1052
|
+
end
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
# Third party identity principal.
|
1056
|
+
class ThirdPartyPrincipal
|
1057
|
+
include Google::Apis::Core::Hashable
|
1058
|
+
|
1059
|
+
# Metadata about third party identity.
|
1060
|
+
# Corresponds to the JSON property `thirdPartyClaims`
|
1061
|
+
# @return [Hash<String,Object>]
|
1062
|
+
attr_accessor :third_party_claims
|
1063
|
+
|
1064
|
+
def initialize(**args)
|
1065
|
+
update!(**args)
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# Update properties of this object
|
1069
|
+
def update!(**args)
|
1070
|
+
@third_party_claims = args[:third_party_claims] if args.key?(:third_party_claims)
|
1071
|
+
end
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
end
|