google-api-client 0.43.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.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/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- 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_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- 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/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.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/bigqueryconnection_v1beta1.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/bigquerydatatransfer_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_v1.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_v1alpha2.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/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.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_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.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_v1alpha1.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/cloudbuild_v1alpha2.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/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -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/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.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/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.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_v1.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_v2.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/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.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_v1alpha1.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/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.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/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.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_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- 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_v1beta.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_v1beta2.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/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.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/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -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_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.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/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.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/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.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_v1.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_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- 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/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- 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 +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- 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_v1.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/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.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/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.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/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.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_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- 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_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.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/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.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_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -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/runtimeconfig_v1beta1.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/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.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/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -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_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -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/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.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/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_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/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_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_v1.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_v1p1beta1.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/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -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_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_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_v1.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/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- 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/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_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/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- 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 -69
- data/generated/google/apis/workflowexecutions_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 +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- 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/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
|
@@ -22,13 +22,13 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ServicemanagementV1
|
|
24
24
|
|
|
25
|
-
# Generated advice about this change, used for providing more
|
|
26
|
-
#
|
|
25
|
+
# Generated advice about this change, used for providing more information about
|
|
26
|
+
# how a change will affect the existing service.
|
|
27
27
|
class Advice
|
|
28
28
|
include Google::Apis::Core::Hashable
|
|
29
29
|
|
|
30
|
-
# Useful description for why this advice was applied and what actions should
|
|
31
|
-
#
|
|
30
|
+
# Useful description for why this advice was applied and what actions should be
|
|
31
|
+
# taken to mitigate any implied risks.
|
|
32
32
|
# Corresponds to the JSON property `description`
|
|
33
33
|
# @return [String]
|
|
34
34
|
attr_accessor :description
|
|
@@ -43,14 +43,13 @@ module Google
|
|
|
43
43
|
end
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
# Api is a light-weight descriptor for an API Interface.
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
#
|
|
50
|
-
#
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
# detailed terminology.
|
|
46
|
+
# Api is a light-weight descriptor for an API Interface. Interfaces are also
|
|
47
|
+
# described as "protocol buffer services" in some contexts, such as by the "
|
|
48
|
+
# service" keyword in a .proto file, but they are different from API Services,
|
|
49
|
+
# which represent a concrete implementation of an interface as opposed to simply
|
|
50
|
+
# a description of methods and bindings. They are also sometimes simply referred
|
|
51
|
+
# to as "APIs" in other contexts, such as the name of this message itself. See
|
|
52
|
+
# https://cloud.google.com/apis/design/glossary for detailed terminology.
|
|
54
53
|
class Api
|
|
55
54
|
include Google::Apis::Core::Hashable
|
|
56
55
|
|
|
@@ -64,8 +63,8 @@ module Google
|
|
|
64
63
|
# @return [Array<Google::Apis::ServicemanagementV1::Mixin>]
|
|
65
64
|
attr_accessor :mixins
|
|
66
65
|
|
|
67
|
-
# The fully qualified name of this interface, including package name
|
|
68
|
-
#
|
|
66
|
+
# The fully qualified name of this interface, including package name followed by
|
|
67
|
+
# the interface's simple name.
|
|
69
68
|
# Corresponds to the JSON property `name`
|
|
70
69
|
# @return [String]
|
|
71
70
|
attr_accessor :name
|
|
@@ -75,8 +74,8 @@ module Google
|
|
|
75
74
|
# @return [Array<Google::Apis::ServicemanagementV1::Option>]
|
|
76
75
|
attr_accessor :options
|
|
77
76
|
|
|
78
|
-
# `SourceContext` represents information about the source of a
|
|
79
|
-
#
|
|
77
|
+
# `SourceContext` represents information about the source of a protobuf element,
|
|
78
|
+
# like the file in which it is defined.
|
|
80
79
|
# Corresponds to the JSON property `sourceContext`
|
|
81
80
|
# @return [Google::Apis::ServicemanagementV1::SourceContext]
|
|
82
81
|
attr_accessor :source_context
|
|
@@ -86,23 +85,19 @@ module Google
|
|
|
86
85
|
# @return [String]
|
|
87
86
|
attr_accessor :syntax
|
|
88
87
|
|
|
89
|
-
# A version string for this interface. If specified, must have the form
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
#
|
|
93
|
-
#
|
|
94
|
-
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
#
|
|
98
|
-
#
|
|
99
|
-
#
|
|
100
|
-
#
|
|
101
|
-
#
|
|
102
|
-
# interface, which must end in `v<major-version>`, as in
|
|
103
|
-
# `google.feature.v1`. For major versions 0 and 1, the suffix can
|
|
104
|
-
# be omitted. Zero major versions must only be used for
|
|
105
|
-
# experimental, non-GA interfaces.
|
|
88
|
+
# A version string for this interface. If specified, must have the form `major-
|
|
89
|
+
# version.minor-version`, as in `1.10`. If the minor version is omitted, it
|
|
90
|
+
# defaults to zero. If the entire version field is empty, the major version is
|
|
91
|
+
# derived from the package name, as outlined below. If the field is not empty,
|
|
92
|
+
# the version in the package name will be verified to be consistent with what is
|
|
93
|
+
# provided here. The versioning schema uses [semantic versioning](http://semver.
|
|
94
|
+
# org) where the major version number indicates a breaking change and the minor
|
|
95
|
+
# version an additive, non-breaking change. Both version numbers are signals to
|
|
96
|
+
# users what to expect from different versions, and should be carefully chosen
|
|
97
|
+
# based on the product plan. The major version is also reflected in the package
|
|
98
|
+
# name of the interface, which must end in `v`, as in `google.feature.v1`. For
|
|
99
|
+
# major versions 0 and 1, the suffix can be omitted. Zero major versions must
|
|
100
|
+
# only be used for experimental, non-GA interfaces.
|
|
106
101
|
# Corresponds to the JSON property `version`
|
|
107
102
|
# @return [String]
|
|
108
103
|
attr_accessor :version
|
|
@@ -123,53 +118,21 @@ module Google
|
|
|
123
118
|
end
|
|
124
119
|
end
|
|
125
120
|
|
|
126
|
-
# Specifies the audit configuration for a service.
|
|
127
|
-
#
|
|
128
|
-
#
|
|
129
|
-
#
|
|
130
|
-
#
|
|
131
|
-
#
|
|
132
|
-
#
|
|
133
|
-
#
|
|
134
|
-
#
|
|
135
|
-
# `
|
|
136
|
-
# "
|
|
137
|
-
# `
|
|
138
|
-
#
|
|
139
|
-
#
|
|
140
|
-
#
|
|
141
|
-
# "log_type": "DATA_READ",
|
|
142
|
-
# "exempted_members": [
|
|
143
|
-
# "user:jose@example.com"
|
|
144
|
-
# ]
|
|
145
|
-
# `,
|
|
146
|
-
# `
|
|
147
|
-
# "log_type": "DATA_WRITE"
|
|
148
|
-
# `,
|
|
149
|
-
# `
|
|
150
|
-
# "log_type": "ADMIN_READ"
|
|
151
|
-
# `
|
|
152
|
-
# ]
|
|
153
|
-
# `,
|
|
154
|
-
# `
|
|
155
|
-
# "service": "sampleservice.googleapis.com",
|
|
156
|
-
# "audit_log_configs": [
|
|
157
|
-
# `
|
|
158
|
-
# "log_type": "DATA_READ"
|
|
159
|
-
# `,
|
|
160
|
-
# `
|
|
161
|
-
# "log_type": "DATA_WRITE",
|
|
162
|
-
# "exempted_members": [
|
|
163
|
-
# "user:aliya@example.com"
|
|
164
|
-
# ]
|
|
165
|
-
# `
|
|
166
|
-
# ]
|
|
167
|
-
# `
|
|
168
|
-
# ]
|
|
169
|
-
# `
|
|
170
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
171
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
172
|
-
# aliya@example.com from DATA_WRITE logging.
|
|
121
|
+
# Specifies the audit configuration for a service. The configuration determines
|
|
122
|
+
# which permission types are logged, and what identities, if any, are exempted
|
|
123
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
|
124
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
|
125
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
|
126
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
|
127
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
|
128
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
|
129
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
|
130
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
|
131
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
|
132
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
|
133
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
|
134
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
|
135
|
+
# DATA_WRITE logging.
|
|
173
136
|
class AuditConfig
|
|
174
137
|
include Google::Apis::Core::Hashable
|
|
175
138
|
|
|
@@ -178,9 +141,9 @@ module Google
|
|
|
178
141
|
# @return [Array<Google::Apis::ServicemanagementV1::AuditLogConfig>]
|
|
179
142
|
attr_accessor :audit_log_configs
|
|
180
143
|
|
|
181
|
-
# Specifies a service that will be enabled for audit logging.
|
|
182
|
-
#
|
|
183
|
-
#
|
|
144
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
|
145
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
146
|
+
# value that covers all services.
|
|
184
147
|
# Corresponds to the JSON property `service`
|
|
185
148
|
# @return [String]
|
|
186
149
|
attr_accessor :service
|
|
@@ -196,28 +159,15 @@ module Google
|
|
|
196
159
|
end
|
|
197
160
|
end
|
|
198
161
|
|
|
199
|
-
# Provides the configuration for logging a type of permissions.
|
|
200
|
-
#
|
|
201
|
-
# `
|
|
202
|
-
#
|
|
203
|
-
#
|
|
204
|
-
# "log_type": "DATA_READ",
|
|
205
|
-
# "exempted_members": [
|
|
206
|
-
# "user:jose@example.com"
|
|
207
|
-
# ]
|
|
208
|
-
# `,
|
|
209
|
-
# `
|
|
210
|
-
# "log_type": "DATA_WRITE"
|
|
211
|
-
# `
|
|
212
|
-
# ]
|
|
213
|
-
# `
|
|
214
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
215
|
-
# jose@example.com from DATA_READ logging.
|
|
162
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
|
163
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
|
164
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
|
165
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
|
166
|
+
# DATA_READ logging.
|
|
216
167
|
class AuditLogConfig
|
|
217
168
|
include Google::Apis::Core::Hashable
|
|
218
169
|
|
|
219
|
-
# Specifies the identities that do not cause logging for this type of
|
|
220
|
-
# permission.
|
|
170
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
|
221
171
|
# Follows the same format of Binding.members.
|
|
222
172
|
# Corresponds to the JSON property `exemptedMembers`
|
|
223
173
|
# @return [Array<String>]
|
|
@@ -239,85 +189,63 @@ module Google
|
|
|
239
189
|
end
|
|
240
190
|
end
|
|
241
191
|
|
|
242
|
-
# Configuration for an authentication provider, including support for
|
|
243
|
-
#
|
|
244
|
-
# (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
|
192
|
+
# Configuration for an authentication provider, including support for [JSON Web
|
|
193
|
+
# Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
|
245
194
|
class AuthProvider
|
|
246
195
|
include Google::Apis::Core::Hashable
|
|
247
196
|
|
|
248
|
-
# The list of JWT
|
|
249
|
-
#
|
|
250
|
-
#
|
|
251
|
-
#
|
|
252
|
-
# be accepted.
|
|
253
|
-
# -
|
|
254
|
-
# - "https://[service.name]/"
|
|
255
|
-
# will be accepted.
|
|
256
|
-
# For example, if no audiences are in the setting, LibraryService API will
|
|
257
|
-
# accept JWTs with the following audiences:
|
|
258
|
-
# -
|
|
197
|
+
# The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-
|
|
198
|
+
# web-token-32#section-4.1.3). that are allowed to access. A JWT containing any
|
|
199
|
+
# of these audiences will be accepted. When this setting is absent, JWTs with
|
|
200
|
+
# audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[
|
|
201
|
+
# service.name]/" will be accepted. For example, if no audiences are in the
|
|
202
|
+
# setting, LibraryService API will accept JWTs with the following audiences: -
|
|
259
203
|
# https://library-example.googleapis.com/google.example.library.v1.
|
|
260
|
-
# LibraryService
|
|
261
|
-
#
|
|
262
|
-
#
|
|
263
|
-
# audiences: bookstore_android.apps.googleusercontent.com,
|
|
264
|
-
# bookstore_web.apps.googleusercontent.com
|
|
204
|
+
# LibraryService - https://library-example.googleapis.com/ Example: audiences:
|
|
205
|
+
# bookstore_android.apps.googleusercontent.com, bookstore_web.apps.
|
|
206
|
+
# googleusercontent.com
|
|
265
207
|
# Corresponds to the JSON property `audiences`
|
|
266
208
|
# @return [String]
|
|
267
209
|
attr_accessor :audiences
|
|
268
210
|
|
|
269
|
-
# Redirect URL if JWT token is required but not present or is expired.
|
|
270
|
-
#
|
|
211
|
+
# Redirect URL if JWT token is required but not present or is expired. Implement
|
|
212
|
+
# authorizationUrl of securityDefinitions in OpenAPI spec.
|
|
271
213
|
# Corresponds to the JSON property `authorizationUrl`
|
|
272
214
|
# @return [String]
|
|
273
215
|
attr_accessor :authorization_url
|
|
274
216
|
|
|
275
|
-
# The unique identifier of the auth provider. It will be referred to by
|
|
276
|
-
#
|
|
277
|
-
# Example: "bookstore_auth".
|
|
217
|
+
# The unique identifier of the auth provider. It will be referred to by `
|
|
218
|
+
# AuthRequirement.provider_id`. Example: "bookstore_auth".
|
|
278
219
|
# Corresponds to the JSON property `id`
|
|
279
220
|
# @return [String]
|
|
280
221
|
attr_accessor :id
|
|
281
222
|
|
|
282
|
-
# Identifies the principal that issued the JWT. See
|
|
283
|
-
#
|
|
284
|
-
#
|
|
285
|
-
#
|
|
286
|
-
# Example: 1234567-compute@developer.gserviceaccount.com
|
|
223
|
+
# Identifies the principal that issued the JWT. See https://tools.ietf.org/html/
|
|
224
|
+
# draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email
|
|
225
|
+
# address. Example: https://securetoken.google.com Example: 1234567-compute@
|
|
226
|
+
# developer.gserviceaccount.com
|
|
287
227
|
# Corresponds to the JSON property `issuer`
|
|
288
228
|
# @return [String]
|
|
289
229
|
attr_accessor :issuer
|
|
290
230
|
|
|
291
|
-
# URL of the provider's public key set to validate signature of the JWT. See
|
|
292
|
-
#
|
|
293
|
-
#
|
|
294
|
-
#
|
|
295
|
-
#
|
|
296
|
-
#
|
|
297
|
-
# [OpenID
|
|
298
|
-
# Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
|
|
299
|
-
# the issuer.
|
|
300
|
-
# - can be inferred from the email domain of the issuer (e.g. a Google
|
|
301
|
-
# service account).
|
|
302
|
-
# Example: https://www.googleapis.com/oauth2/v1/certs
|
|
231
|
+
# URL of the provider's public key set to validate signature of the JWT. See [
|
|
232
|
+
# OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
|
|
233
|
+
# ProviderMetadata). Optional if the key set document: - can be retrieved from [
|
|
234
|
+
# OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html
|
|
235
|
+
# of the issuer. - can be inferred from the email domain of the issuer (e.g. a
|
|
236
|
+
# Google service account). Example: https://www.googleapis.com/oauth2/v1/certs
|
|
303
237
|
# Corresponds to the JSON property `jwksUri`
|
|
304
238
|
# @return [String]
|
|
305
239
|
attr_accessor :jwks_uri
|
|
306
240
|
|
|
307
|
-
# Defines the locations to extract the JWT.
|
|
308
|
-
#
|
|
309
|
-
# The
|
|
310
|
-
#
|
|
311
|
-
#
|
|
312
|
-
#
|
|
313
|
-
#
|
|
314
|
-
#
|
|
315
|
-
# Default locations can be specified as followings:
|
|
316
|
-
# jwt_locations:
|
|
317
|
-
# - header: Authorization
|
|
318
|
-
# value_prefix: "Bearer "
|
|
319
|
-
# - header: x-goog-iap-jwt-assertion
|
|
320
|
-
# - query: access_token
|
|
241
|
+
# Defines the locations to extract the JWT. JWT locations can be either from
|
|
242
|
+
# HTTP headers or URL query parameters. The rule is that the first match wins.
|
|
243
|
+
# The checking order is: checking all headers first, then URL query parameters.
|
|
244
|
+
# If not specified, default to use following 3 locations: 1) Authorization:
|
|
245
|
+
# Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
|
|
246
|
+
# locations can be specified as followings: jwt_locations: - header:
|
|
247
|
+
# Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
|
|
248
|
+
# query: access_token
|
|
321
249
|
# Corresponds to the JSON property `jwtLocations`
|
|
322
250
|
# @return [Array<Google::Apis::ServicemanagementV1::JwtLocation>]
|
|
323
251
|
attr_accessor :jwt_locations
|
|
@@ -337,34 +265,26 @@ module Google
|
|
|
337
265
|
end
|
|
338
266
|
end
|
|
339
267
|
|
|
340
|
-
# User-defined authentication requirements, including support for
|
|
341
|
-
#
|
|
342
|
-
# (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
|
268
|
+
# User-defined authentication requirements, including support for [JSON Web
|
|
269
|
+
# Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
|
343
270
|
class AuthRequirement
|
|
344
271
|
include Google::Apis::Core::Hashable
|
|
345
272
|
|
|
346
|
-
# NOTE: This will be deprecated soon, once AuthProvider.audiences is
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
351
|
-
#
|
|
352
|
-
#
|
|
353
|
-
# "https://
|
|
354
|
-
#
|
|
355
|
-
#
|
|
356
|
-
# "https://library-example.googleapis.com/google.example.library.v1.
|
|
357
|
-
# LibraryService".
|
|
358
|
-
# Example:
|
|
359
|
-
# audiences: bookstore_android.apps.googleusercontent.com,
|
|
360
|
-
# bookstore_web.apps.googleusercontent.com
|
|
273
|
+
# NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented
|
|
274
|
+
# and accepted in all the runtime components. The list of JWT [audiences](https:/
|
|
275
|
+
# /tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that
|
|
276
|
+
# are allowed to access. A JWT containing any of these audiences will be
|
|
277
|
+
# accepted. When this setting is absent, only JWTs with audience "https://
|
|
278
|
+
# Service_name/API_name" will be accepted. For example, if no audiences are in
|
|
279
|
+
# the setting, LibraryService API will only accept JWTs with the following
|
|
280
|
+
# audience "https://library-example.googleapis.com/google.example.library.v1.
|
|
281
|
+
# LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.
|
|
282
|
+
# com, bookstore_web.apps.googleusercontent.com
|
|
361
283
|
# Corresponds to the JSON property `audiences`
|
|
362
284
|
# @return [String]
|
|
363
285
|
attr_accessor :audiences
|
|
364
286
|
|
|
365
|
-
# id from authentication provider.
|
|
366
|
-
# Example:
|
|
367
|
-
# provider_id: bookstore_auth
|
|
287
|
+
# id from authentication provider. Example: provider_id: bookstore_auth
|
|
368
288
|
# Corresponds to the JSON property `providerId`
|
|
369
289
|
# @return [String]
|
|
370
290
|
attr_accessor :provider_id
|
|
@@ -380,18 +300,11 @@ module Google
|
|
|
380
300
|
end
|
|
381
301
|
end
|
|
382
302
|
|
|
383
|
-
# `Authentication` defines the authentication configuration for an API.
|
|
384
|
-
#
|
|
385
|
-
#
|
|
386
|
-
#
|
|
387
|
-
#
|
|
388
|
-
# - id: google_calendar_auth
|
|
389
|
-
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
390
|
-
# issuer: https://securetoken.google.com
|
|
391
|
-
# rules:
|
|
392
|
-
# - selector: "*"
|
|
393
|
-
# requirements:
|
|
394
|
-
# provider_id: google_calendar_auth
|
|
303
|
+
# `Authentication` defines the authentication configuration for an API. Example
|
|
304
|
+
# for an API targeted for external use: name: calendar.googleapis.com
|
|
305
|
+
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
|
306
|
+
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
|
307
|
+
# selector: "*" requirements: provider_id: google_calendar_auth
|
|
395
308
|
class Authentication
|
|
396
309
|
include Google::Apis::Core::Hashable
|
|
397
310
|
|
|
@@ -400,8 +313,8 @@ module Google
|
|
|
400
313
|
# @return [Array<Google::Apis::ServicemanagementV1::AuthProvider>]
|
|
401
314
|
attr_accessor :providers
|
|
402
315
|
|
|
403
|
-
# A list of authentication rules that apply to individual API methods.
|
|
404
|
-
#
|
|
316
|
+
# A list of authentication rules that apply to individual API methods. **NOTE:**
|
|
317
|
+
# All service configuration rules follow "last one wins" order.
|
|
405
318
|
# Corresponds to the JSON property `rules`
|
|
406
319
|
# @return [Array<Google::Apis::ServicemanagementV1::AuthenticationRule>]
|
|
407
320
|
attr_accessor :rules
|
|
@@ -417,36 +330,34 @@ module Google
|
|
|
417
330
|
end
|
|
418
331
|
end
|
|
419
332
|
|
|
420
|
-
# Authentication rules for the service.
|
|
421
|
-
#
|
|
422
|
-
#
|
|
423
|
-
#
|
|
424
|
-
# request.
|
|
425
|
-
# If a method doesn't have any auth requirements, request credentials will be
|
|
426
|
-
# ignored.
|
|
333
|
+
# Authentication rules for the service. By default, if a method has any
|
|
334
|
+
# authentication requirements, every request must include a valid credential
|
|
335
|
+
# matching one of the requirements. It's an error to include more than one kind
|
|
336
|
+
# of credential in a single request. If a method doesn't have any auth
|
|
337
|
+
# requirements, request credentials will be ignored.
|
|
427
338
|
class AuthenticationRule
|
|
428
339
|
include Google::Apis::Core::Hashable
|
|
429
340
|
|
|
430
|
-
# If true, the service accepts API keys without any other credential.
|
|
341
|
+
# If true, the service accepts API keys without any other credential. This flag
|
|
342
|
+
# only applies to HTTP and gRPC requests.
|
|
431
343
|
# Corresponds to the JSON property `allowWithoutCredential`
|
|
432
344
|
# @return [Boolean]
|
|
433
345
|
attr_accessor :allow_without_credential
|
|
434
346
|
alias_method :allow_without_credential?, :allow_without_credential
|
|
435
347
|
|
|
436
348
|
# OAuth scopes are a way to define data and permissions on data. For example,
|
|
437
|
-
# there are scopes defined for "Read-only access to Google Calendar" and
|
|
438
|
-
#
|
|
439
|
-
#
|
|
440
|
-
#
|
|
441
|
-
#
|
|
442
|
-
#
|
|
443
|
-
#
|
|
444
|
-
#
|
|
445
|
-
#
|
|
446
|
-
#
|
|
447
|
-
#
|
|
448
|
-
#
|
|
449
|
-
# due to the backend requiring additional scopes or permissions.
|
|
349
|
+
# there are scopes defined for "Read-only access to Google Calendar" and "Access
|
|
350
|
+
# to Cloud Platform". Users can consent to a scope for an application, giving it
|
|
351
|
+
# permission to access that data on their behalf. OAuth scope specifications
|
|
352
|
+
# should be fairly coarse grained; a user will need to see and understand the
|
|
353
|
+
# text description of what your scope means. In most cases: use one or at most
|
|
354
|
+
# two OAuth scopes for an entire family of products. If your product has
|
|
355
|
+
# multiple APIs, you should probably be sharing the OAuth scope across all of
|
|
356
|
+
# those APIs. When you need finer grained OAuth consent screens: talk with your
|
|
357
|
+
# product management about how developers will use them in practice. Please note
|
|
358
|
+
# that even though each of the canonical scopes is enough for a request to be
|
|
359
|
+
# accepted and passed to the backend, a request can still fail due to the
|
|
360
|
+
# backend requiring additional scopes or permissions.
|
|
450
361
|
# Corresponds to the JSON property `oauth`
|
|
451
362
|
# @return [Google::Apis::ServicemanagementV1::OAuthRequirements]
|
|
452
363
|
attr_accessor :oauth
|
|
@@ -456,8 +367,8 @@ module Google
|
|
|
456
367
|
# @return [Array<Google::Apis::ServicemanagementV1::AuthRequirement>]
|
|
457
368
|
attr_accessor :requirements
|
|
458
369
|
|
|
459
|
-
# Selects the methods to which this rule applies.
|
|
460
|
-
#
|
|
370
|
+
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
371
|
+
# details.
|
|
461
372
|
# Corresponds to the JSON property `selector`
|
|
462
373
|
# @return [String]
|
|
463
374
|
attr_accessor :selector
|
|
@@ -479,8 +390,8 @@ module Google
|
|
|
479
390
|
class Backend
|
|
480
391
|
include Google::Apis::Core::Hashable
|
|
481
392
|
|
|
482
|
-
# A list of API backend rules that apply to individual API methods.
|
|
483
|
-
#
|
|
393
|
+
# A list of API backend rules that apply to individual API methods. **NOTE:**
|
|
394
|
+
# All service configuration rules follow "last one wins" order.
|
|
484
395
|
# Corresponds to the JSON property `rules`
|
|
485
396
|
# @return [Array<Google::Apis::ServicemanagementV1::BackendRule>]
|
|
486
397
|
attr_accessor :rules
|
|
@@ -499,21 +410,13 @@ module Google
|
|
|
499
410
|
class BackendRule
|
|
500
411
|
include Google::Apis::Core::Hashable
|
|
501
412
|
|
|
502
|
-
# The address of the API backend.
|
|
503
|
-
#
|
|
504
|
-
#
|
|
505
|
-
#
|
|
506
|
-
#
|
|
507
|
-
#
|
|
508
|
-
#
|
|
509
|
-
# grpcs:// gRPC TLS
|
|
510
|
-
# It is recommended to explicitly include a scheme. Leaving out the scheme
|
|
511
|
-
# may cause constrasting behaviors across platforms.
|
|
512
|
-
# If the port is unspecified, the default is:
|
|
513
|
-
# - 80 for schemes without TLS
|
|
514
|
-
# - 443 for schemes with TLS
|
|
515
|
-
# For HTTP backends, use protocol
|
|
516
|
-
# to specify the protocol version.
|
|
413
|
+
# The address of the API backend. The scheme is used to determine the backend
|
|
414
|
+
# protocol and security. The following schemes are accepted: SCHEME PROTOCOL
|
|
415
|
+
# SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC
|
|
416
|
+
# TLS It is recommended to explicitly include a scheme. Leaving out the scheme
|
|
417
|
+
# may cause constrasting behaviors across platforms. If the port is unspecified,
|
|
418
|
+
# the default is: - 80 for schemes without TLS - 443 for schemes with TLS For
|
|
419
|
+
# HTTP backends, use protocol to specify the protocol version.
|
|
517
420
|
# Corresponds to the JSON property `address`
|
|
518
421
|
# @return [String]
|
|
519
422
|
attr_accessor :address
|
|
@@ -524,18 +427,18 @@ module Google
|
|
|
524
427
|
# @return [Float]
|
|
525
428
|
attr_accessor :deadline
|
|
526
429
|
|
|
527
|
-
# When disable_auth is true, a JWT ID token won't be generated and the
|
|
528
|
-
#
|
|
529
|
-
#
|
|
530
|
-
#
|
|
430
|
+
# When disable_auth is true, a JWT ID token won't be generated and the original "
|
|
431
|
+
# Authorization" HTTP header will be preserved. If the header is used to carry
|
|
432
|
+
# the original token and is expected by the backend, this field must be set to
|
|
433
|
+
# true to preserve the header.
|
|
531
434
|
# Corresponds to the JSON property `disableAuth`
|
|
532
435
|
# @return [Boolean]
|
|
533
436
|
attr_accessor :disable_auth
|
|
534
437
|
alias_method :disable_auth?, :disable_auth
|
|
535
438
|
|
|
536
|
-
# The JWT audience is used when generating a JWT ID token for the backend.
|
|
537
|
-
#
|
|
538
|
-
#
|
|
439
|
+
# The JWT audience is used when generating a JWT ID token for the backend. This
|
|
440
|
+
# ID token will be added in the HTTP "authorization" header, and sent to the
|
|
441
|
+
# backend.
|
|
539
442
|
# Corresponds to the JSON property `jwtAudience`
|
|
540
443
|
# @return [String]
|
|
541
444
|
attr_accessor :jwt_audience
|
|
@@ -546,8 +449,8 @@ module Google
|
|
|
546
449
|
# @return [Float]
|
|
547
450
|
attr_accessor :min_deadline
|
|
548
451
|
|
|
549
|
-
# The number of seconds to wait for the completion of a long running
|
|
550
|
-
#
|
|
452
|
+
# The number of seconds to wait for the completion of a long running operation.
|
|
453
|
+
# The default is no deadline.
|
|
551
454
|
# Corresponds to the JSON property `operationDeadline`
|
|
552
455
|
# @return [Float]
|
|
553
456
|
attr_accessor :operation_deadline
|
|
@@ -557,29 +460,21 @@ module Google
|
|
|
557
460
|
# @return [String]
|
|
558
461
|
attr_accessor :path_translation
|
|
559
462
|
|
|
560
|
-
# The protocol used for sending a request to the backend.
|
|
561
|
-
#
|
|
562
|
-
#
|
|
563
|
-
#
|
|
564
|
-
#
|
|
565
|
-
#
|
|
566
|
-
# https://
|
|
567
|
-
#
|
|
568
|
-
#
|
|
569
|
-
# For secure HTTP backends (https://) that support HTTP/2, set this field
|
|
570
|
-
# to "h2" for improved performance.
|
|
571
|
-
# Configuring this field to non-default values is only supported for secure
|
|
572
|
-
# HTTP backends. This field will be ignored for all other backends.
|
|
573
|
-
# See
|
|
574
|
-
# https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-
|
|
575
|
-
# values.xhtml#alpn-protocol-ids
|
|
576
|
-
# for more details on the supported values.
|
|
463
|
+
# The protocol used for sending a request to the backend. The supported values
|
|
464
|
+
# are "http/1.1" and "h2". The default value is inferred from the scheme in the
|
|
465
|
+
# address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2
|
|
466
|
+
# grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this
|
|
467
|
+
# field to "h2" for improved performance. Configuring this field to non-default
|
|
468
|
+
# values is only supported for secure HTTP backends. This field will be ignored
|
|
469
|
+
# for all other backends. See https://www.iana.org/assignments/tls-extensiontype-
|
|
470
|
+
# values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on
|
|
471
|
+
# the supported values.
|
|
577
472
|
# Corresponds to the JSON property `protocol`
|
|
578
473
|
# @return [String]
|
|
579
474
|
attr_accessor :protocol
|
|
580
475
|
|
|
581
|
-
# Selects the methods to which this rule applies.
|
|
582
|
-
#
|
|
476
|
+
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
477
|
+
# details.
|
|
583
478
|
# Corresponds to the JSON property `selector`
|
|
584
479
|
# @return [String]
|
|
585
480
|
attr_accessor :selector
|
|
@@ -602,42 +497,28 @@ module Google
|
|
|
602
497
|
end
|
|
603
498
|
end
|
|
604
499
|
|
|
605
|
-
# Billing related configuration of the service.
|
|
606
|
-
#
|
|
607
|
-
#
|
|
608
|
-
#
|
|
609
|
-
#
|
|
610
|
-
#
|
|
611
|
-
#
|
|
612
|
-
#
|
|
613
|
-
# -
|
|
614
|
-
#
|
|
615
|
-
# - key:
|
|
616
|
-
#
|
|
617
|
-
#
|
|
618
|
-
# -
|
|
619
|
-
#
|
|
620
|
-
# Custom label to define the city where the library branch is located
|
|
621
|
-
# in.
|
|
622
|
-
# - key: name
|
|
623
|
-
# description: Custom label to define the name of the library branch.
|
|
624
|
-
# metrics:
|
|
625
|
-
# - name: library.googleapis.com/book/borrowed_count
|
|
626
|
-
# metric_kind: DELTA
|
|
627
|
-
# value_type: INT64
|
|
628
|
-
# unit: "1"
|
|
629
|
-
# billing:
|
|
630
|
-
# consumer_destinations:
|
|
631
|
-
# - monitored_resource: library.googleapis.com/billing_branch
|
|
632
|
-
# metrics:
|
|
633
|
-
# - library.googleapis.com/book/borrowed_count
|
|
500
|
+
# Billing related configuration of the service. The following example shows how
|
|
501
|
+
# to configure monitored resources and metrics for billing, `
|
|
502
|
+
# consumer_destinations` is the only supported destination and the monitored
|
|
503
|
+
# resources need at least one label key `cloud.googleapis.com/location` to
|
|
504
|
+
# indicate the location of the billing usage, using different monitored
|
|
505
|
+
# resources between monitoring and billing is recommended so they can be evolved
|
|
506
|
+
# independently: monitored_resources: - type: library.googleapis.com/
|
|
507
|
+
# billing_branch labels: - key: cloud.googleapis.com/location description: |
|
|
508
|
+
# Predefined label to support billing location restriction. - key: city
|
|
509
|
+
# description: | Custom label to define the city where the library branch is
|
|
510
|
+
# located in. - key: name description: Custom label to define the name of the
|
|
511
|
+
# library branch. metrics: - name: library.googleapis.com/book/borrowed_count
|
|
512
|
+
# metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
|
|
513
|
+
# - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
|
|
514
|
+
# googleapis.com/book/borrowed_count
|
|
634
515
|
class Billing
|
|
635
516
|
include Google::Apis::Core::Hashable
|
|
636
517
|
|
|
637
|
-
# Billing configurations for sending metrics to the consumer project.
|
|
638
|
-
#
|
|
639
|
-
#
|
|
640
|
-
#
|
|
518
|
+
# Billing configurations for sending metrics to the consumer project. There can
|
|
519
|
+
# be multiple consumer destinations per service, each one must have a different
|
|
520
|
+
# monitored resource type. A metric can be used in at most one consumer
|
|
521
|
+
# destination.
|
|
641
522
|
# Corresponds to the JSON property `consumerDestinations`
|
|
642
523
|
# @return [Array<Google::Apis::ServicemanagementV1::BillingDestination>]
|
|
643
524
|
attr_accessor :consumer_destinations
|
|
@@ -652,19 +533,19 @@ module Google
|
|
|
652
533
|
end
|
|
653
534
|
end
|
|
654
535
|
|
|
655
|
-
# Configuration of a specific billing destination (Currently only support
|
|
656
|
-
#
|
|
536
|
+
# Configuration of a specific billing destination (Currently only support bill
|
|
537
|
+
# against consumer project).
|
|
657
538
|
class BillingDestination
|
|
658
539
|
include Google::Apis::Core::Hashable
|
|
659
540
|
|
|
660
|
-
# Names of the metrics to report to this billing destination.
|
|
661
|
-
#
|
|
541
|
+
# Names of the metrics to report to this billing destination. Each name must be
|
|
542
|
+
# defined in Service.metrics section.
|
|
662
543
|
# Corresponds to the JSON property `metrics`
|
|
663
544
|
# @return [Array<String>]
|
|
664
545
|
attr_accessor :metrics
|
|
665
546
|
|
|
666
|
-
# The monitored resource type. The type must be defined in
|
|
667
|
-
#
|
|
547
|
+
# The monitored resource type. The type must be defined in Service.
|
|
548
|
+
# monitored_resources section.
|
|
668
549
|
# Corresponds to the JSON property `monitoredResource`
|
|
669
550
|
# @return [String]
|
|
670
551
|
attr_accessor :monitored_resource
|
|
@@ -684,69 +565,57 @@ module Google
|
|
|
684
565
|
class Binding
|
|
685
566
|
include Google::Apis::Core::Hashable
|
|
686
567
|
|
|
687
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
688
|
-
#
|
|
689
|
-
#
|
|
690
|
-
#
|
|
691
|
-
#
|
|
692
|
-
# description: "Determines if
|
|
693
|
-
# expression: "document.
|
|
694
|
-
#
|
|
695
|
-
#
|
|
696
|
-
#
|
|
697
|
-
#
|
|
698
|
-
#
|
|
699
|
-
#
|
|
700
|
-
#
|
|
701
|
-
#
|
|
702
|
-
# Example (Data Manipulation):
|
|
703
|
-
# title: "Notification string"
|
|
704
|
-
# description: "Create a notification string with a timestamp."
|
|
705
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
706
|
-
# The exact variables and functions that may be referenced within an expression
|
|
707
|
-
# are determined by the service that evaluates it. See the service
|
|
708
|
-
# documentation for additional information.
|
|
568
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
569
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
570
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
571
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
572
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
573
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
574
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
575
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
576
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
577
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
578
|
+
# string" description: "Create a notification string with a timestamp."
|
|
579
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
580
|
+
# exact variables and functions that may be referenced within an expression are
|
|
581
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
582
|
+
# additional information.
|
|
709
583
|
# Corresponds to the JSON property `condition`
|
|
710
584
|
# @return [Google::Apis::ServicemanagementV1::Expr]
|
|
711
585
|
attr_accessor :condition
|
|
712
586
|
|
|
713
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
714
|
-
#
|
|
715
|
-
#
|
|
716
|
-
#
|
|
717
|
-
#
|
|
718
|
-
#
|
|
719
|
-
# * `
|
|
720
|
-
# account. For example, `
|
|
721
|
-
# * `
|
|
722
|
-
#
|
|
723
|
-
#
|
|
724
|
-
# For example, `
|
|
725
|
-
#
|
|
726
|
-
#
|
|
727
|
-
#
|
|
728
|
-
#
|
|
729
|
-
#
|
|
730
|
-
#
|
|
731
|
-
#
|
|
732
|
-
# deleted
|
|
733
|
-
#
|
|
734
|
-
# If the
|
|
735
|
-
# `
|
|
736
|
-
# role in the binding.
|
|
737
|
-
#
|
|
738
|
-
#
|
|
739
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
740
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
741
|
-
# recovered group retains the role in the binding.
|
|
742
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
743
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
|
587
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
|
588
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
|
589
|
+
# that represents anyone who is on the internet; with or without a Google
|
|
590
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
|
591
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
|
592
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
|
593
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
|
594
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
|
595
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
|
596
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
|
597
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
|
598
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
|
599
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
|
600
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
|
601
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
602
|
+
# identifier) representing a service account that has been recently deleted. For
|
|
603
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
604
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
|
605
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
|
606
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
607
|
+
# identifier) representing a Google group that has been recently deleted. For
|
|
608
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
|
609
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
|
610
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
|
611
|
+
# primary) that represents all the users of that domain. For example, `google.
|
|
612
|
+
# com` or `example.com`.
|
|
744
613
|
# Corresponds to the JSON property `members`
|
|
745
614
|
# @return [Array<String>]
|
|
746
615
|
attr_accessor :members
|
|
747
616
|
|
|
748
|
-
# Role that is assigned to `members`.
|
|
749
|
-
#
|
|
617
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
|
618
|
+
# , or `roles/owner`.
|
|
750
619
|
# Corresponds to the JSON property `role`
|
|
751
620
|
# @return [String]
|
|
752
621
|
attr_accessor :role
|
|
@@ -763,17 +632,16 @@ module Google
|
|
|
763
632
|
end
|
|
764
633
|
end
|
|
765
634
|
|
|
766
|
-
# Change report associated with a particular service configuration.
|
|
767
|
-
#
|
|
768
|
-
#
|
|
635
|
+
# Change report associated with a particular service configuration. It contains
|
|
636
|
+
# a list of ConfigChanges based on the comparison between two service
|
|
637
|
+
# configurations.
|
|
769
638
|
class ChangeReport
|
|
770
639
|
include Google::Apis::Core::Hashable
|
|
771
640
|
|
|
772
|
-
# List of changes between two service configurations.
|
|
773
|
-
#
|
|
774
|
-
#
|
|
775
|
-
#
|
|
776
|
-
# Example: visibility.rules[selector='LibraryService.CreateBook'].restriction
|
|
641
|
+
# List of changes between two service configurations. The changes will be
|
|
642
|
+
# alphabetically sorted based on the identifier of each change. A ConfigChange
|
|
643
|
+
# identifier is a dot separated path to the configuration. Example: visibility.
|
|
644
|
+
# rules[selector='LibraryService.CreateBook'].restriction
|
|
777
645
|
# Corresponds to the JSON property `configChanges`
|
|
778
646
|
# @return [Array<Google::Apis::ServicemanagementV1::ConfigChange>]
|
|
779
647
|
attr_accessor :config_changes
|
|
@@ -789,9 +657,8 @@ module Google
|
|
|
789
657
|
end
|
|
790
658
|
|
|
791
659
|
# Output generated from semantically comparing two versions of a service
|
|
792
|
-
# configuration.
|
|
793
|
-
#
|
|
794
|
-
# applicable advice about potential consequences for the change, such as
|
|
660
|
+
# configuration. Includes detailed information about a field that have changed
|
|
661
|
+
# with applicable advice about potential consequences for the change, such as
|
|
795
662
|
# backwards-incompatibility.
|
|
796
663
|
class ConfigChange
|
|
797
664
|
include Google::Apis::Core::Hashable
|
|
@@ -807,27 +674,25 @@ module Google
|
|
|
807
674
|
# @return [String]
|
|
808
675
|
attr_accessor :change_type
|
|
809
676
|
|
|
810
|
-
# Object hierarchy path to the change, with levels separated by a '.'
|
|
811
|
-
#
|
|
812
|
-
#
|
|
813
|
-
#
|
|
814
|
-
#
|
|
815
|
-
#
|
|
816
|
-
#
|
|
817
|
-
# - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
|
|
818
|
-
# - logging.producer_destinations[0]
|
|
677
|
+
# Object hierarchy path to the change, with levels separated by a '.' character.
|
|
678
|
+
# For repeated fields, an applicable unique identifier field is used for the
|
|
679
|
+
# index (usually selector, name, or id). For maps, the term 'key' is used. If
|
|
680
|
+
# the field has no unique identifier, the numeric index is used. Examples: -
|
|
681
|
+
# visibility.rules[selector=="google.LibraryService.ListBooks"].restriction -
|
|
682
|
+
# quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value -
|
|
683
|
+
# logging.producer_destinations[0]
|
|
819
684
|
# Corresponds to the JSON property `element`
|
|
820
685
|
# @return [String]
|
|
821
686
|
attr_accessor :element
|
|
822
687
|
|
|
823
|
-
# Value of the changed object in the new Service configuration,
|
|
824
|
-
#
|
|
688
|
+
# Value of the changed object in the new Service configuration, in JSON format.
|
|
689
|
+
# This field will not be populated if ChangeType == REMOVED.
|
|
825
690
|
# Corresponds to the JSON property `newValue`
|
|
826
691
|
# @return [String]
|
|
827
692
|
attr_accessor :new_value
|
|
828
693
|
|
|
829
|
-
# Value of the changed object in the old Service configuration,
|
|
830
|
-
#
|
|
694
|
+
# Value of the changed object in the old Service configuration, in JSON format.
|
|
695
|
+
# This field will not be populated if ChangeType == ADDED.
|
|
831
696
|
# Corresponds to the JSON property `oldValue`
|
|
832
697
|
# @return [String]
|
|
833
698
|
attr_accessor :old_value
|
|
@@ -882,8 +747,8 @@ module Google
|
|
|
882
747
|
class ConfigRef
|
|
883
748
|
include Google::Apis::Core::Hashable
|
|
884
749
|
|
|
885
|
-
# Resource name of a service config. It must have the following
|
|
886
|
-
#
|
|
750
|
+
# Resource name of a service config. It must have the following format: "
|
|
751
|
+
# services/`service name`/configs/`config id`".
|
|
887
752
|
# Corresponds to the JSON property `name`
|
|
888
753
|
# @return [String]
|
|
889
754
|
attr_accessor :name
|
|
@@ -909,9 +774,9 @@ module Google
|
|
|
909
774
|
# @return [Array<Google::Apis::ServicemanagementV1::ConfigFile>]
|
|
910
775
|
attr_accessor :files
|
|
911
776
|
|
|
912
|
-
# A unique ID for a specific instance of this message, typically assigned
|
|
913
|
-
#
|
|
914
|
-
#
|
|
777
|
+
# A unique ID for a specific instance of this message, typically assigned by the
|
|
778
|
+
# client for tracking purpose. If empty, the server may choose to generate one
|
|
779
|
+
# instead.
|
|
915
780
|
# Corresponds to the JSON property `id`
|
|
916
781
|
# @return [String]
|
|
917
782
|
attr_accessor :id
|
|
@@ -927,39 +792,24 @@ module Google
|
|
|
927
792
|
end
|
|
928
793
|
end
|
|
929
794
|
|
|
930
|
-
# `Context` defines which contexts an API requests.
|
|
931
|
-
#
|
|
932
|
-
# context
|
|
933
|
-
#
|
|
934
|
-
#
|
|
935
|
-
#
|
|
936
|
-
# -
|
|
937
|
-
#
|
|
938
|
-
#
|
|
939
|
-
#
|
|
940
|
-
#
|
|
941
|
-
#
|
|
942
|
-
#
|
|
943
|
-
# This also provides mechanism to whitelist any protobuf message extension that
|
|
944
|
-
# can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
|
|
945
|
-
# “x-goog-ext-<extension_id>-jspb” format. For example, list any service
|
|
946
|
-
# specific protobuf types that can appear in grpc metadata as follows in your
|
|
947
|
-
# yaml file:
|
|
948
|
-
# Example:
|
|
949
|
-
# context:
|
|
950
|
-
# rules:
|
|
951
|
-
# - selector: "google.example.library.v1.LibraryService.CreateBook"
|
|
952
|
-
# allowed_request_extensions:
|
|
953
|
-
# - google.foo.v1.NewExtension
|
|
954
|
-
# allowed_response_extensions:
|
|
955
|
-
# - google.foo.v1.NewExtension
|
|
956
|
-
# You can also specify extension ID instead of fully qualified extension name
|
|
957
|
-
# here.
|
|
795
|
+
# `Context` defines which contexts an API requests. Example: context: rules: -
|
|
796
|
+
# selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
|
|
797
|
+
# context.OriginContext The above specifies that all methods in the API request `
|
|
798
|
+
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
|
799
|
+
# Available context types are defined in package `google.rpc.context`. This also
|
|
800
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
|
801
|
+
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
|
802
|
+
# For example, list any service specific protobuf types that can appear in grpc
|
|
803
|
+
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
|
804
|
+
# google.example.library.v1.LibraryService.CreateBook"
|
|
805
|
+
# allowed_request_extensions: - google.foo.v1.NewExtension
|
|
806
|
+
# allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
|
|
807
|
+
# extension ID instead of fully qualified extension name here.
|
|
958
808
|
class Context
|
|
959
809
|
include Google::Apis::Core::Hashable
|
|
960
810
|
|
|
961
|
-
# A list of RPC context rules that apply to individual API methods.
|
|
962
|
-
#
|
|
811
|
+
# A list of RPC context rules that apply to individual API methods. **NOTE:**
|
|
812
|
+
# All service configuration rules follow "last one wins" order.
|
|
963
813
|
# Corresponds to the JSON property `rules`
|
|
964
814
|
# @return [Array<Google::Apis::ServicemanagementV1::ContextRule>]
|
|
965
815
|
attr_accessor :rules
|
|
@@ -979,14 +829,14 @@ module Google
|
|
|
979
829
|
class ContextRule
|
|
980
830
|
include Google::Apis::Core::Hashable
|
|
981
831
|
|
|
982
|
-
# A list of full type names or extension IDs of extensions allowed in grpc
|
|
983
|
-
#
|
|
832
|
+
# A list of full type names or extension IDs of extensions allowed in grpc side
|
|
833
|
+
# channel from client to backend.
|
|
984
834
|
# Corresponds to the JSON property `allowedRequestExtensions`
|
|
985
835
|
# @return [Array<String>]
|
|
986
836
|
attr_accessor :allowed_request_extensions
|
|
987
837
|
|
|
988
|
-
# A list of full type names or extension IDs of extensions allowed in grpc
|
|
989
|
-
#
|
|
838
|
+
# A list of full type names or extension IDs of extensions allowed in grpc side
|
|
839
|
+
# channel from backend to client.
|
|
990
840
|
# Corresponds to the JSON property `allowedResponseExtensions`
|
|
991
841
|
# @return [Array<String>]
|
|
992
842
|
attr_accessor :allowed_response_extensions
|
|
@@ -1001,8 +851,8 @@ module Google
|
|
|
1001
851
|
# @return [Array<String>]
|
|
1002
852
|
attr_accessor :requested
|
|
1003
853
|
|
|
1004
|
-
# Selects the methods to which this rule applies.
|
|
1005
|
-
#
|
|
854
|
+
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
855
|
+
# details.
|
|
1006
856
|
# Corresponds to the JSON property `selector`
|
|
1007
857
|
# @return [String]
|
|
1008
858
|
attr_accessor :selector
|
|
@@ -1021,14 +871,14 @@ module Google
|
|
|
1021
871
|
end
|
|
1022
872
|
end
|
|
1023
873
|
|
|
1024
|
-
# Selects and configures the service controller used by the service.
|
|
1025
|
-
#
|
|
1026
|
-
#
|
|
874
|
+
# Selects and configures the service controller used by the service. The service
|
|
875
|
+
# controller handles features like abuse, quota, billing, logging, monitoring,
|
|
876
|
+
# etc.
|
|
1027
877
|
class Control
|
|
1028
878
|
include Google::Apis::Core::Hashable
|
|
1029
879
|
|
|
1030
|
-
# The service control environment to use. If empty, no control plane
|
|
1031
|
-
#
|
|
880
|
+
# The service control environment to use. If empty, no control plane feature (
|
|
881
|
+
# like quota and billing) will be enabled.
|
|
1032
882
|
# Corresponds to the JSON property `environment`
|
|
1033
883
|
# @return [String]
|
|
1034
884
|
attr_accessor :environment
|
|
@@ -1043,19 +893,15 @@ module Google
|
|
|
1043
893
|
end
|
|
1044
894
|
end
|
|
1045
895
|
|
|
1046
|
-
# Customize service error responses.
|
|
1047
|
-
#
|
|
1048
|
-
#
|
|
1049
|
-
#
|
|
1050
|
-
# custom_error:
|
|
1051
|
-
# types:
|
|
1052
|
-
# - google.foo.v1.CustomError
|
|
1053
|
-
# - google.foo.v1.AnotherError
|
|
896
|
+
# Customize service error responses. For example, list any service specific
|
|
897
|
+
# protobuf types that can appear in error detail lists of error responses.
|
|
898
|
+
# Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
|
|
899
|
+
# AnotherError
|
|
1054
900
|
class CustomError
|
|
1055
901
|
include Google::Apis::Core::Hashable
|
|
1056
902
|
|
|
1057
|
-
# The list of custom error rules that apply to individual API messages.
|
|
1058
|
-
#
|
|
903
|
+
# The list of custom error rules that apply to individual API messages. **NOTE:**
|
|
904
|
+
# All service configuration rules follow "last one wins" order.
|
|
1059
905
|
# Corresponds to the JSON property `rules`
|
|
1060
906
|
# @return [Array<Google::Apis::ServicemanagementV1::CustomErrorRule>]
|
|
1061
907
|
attr_accessor :rules
|
|
@@ -1080,15 +926,15 @@ module Google
|
|
|
1080
926
|
class CustomErrorRule
|
|
1081
927
|
include Google::Apis::Core::Hashable
|
|
1082
928
|
|
|
1083
|
-
# Mark this message as possible payload in error response.
|
|
1084
|
-
#
|
|
929
|
+
# Mark this message as possible payload in error response. Otherwise, objects of
|
|
930
|
+
# this type will be filtered when they appear in error payload.
|
|
1085
931
|
# Corresponds to the JSON property `isErrorType`
|
|
1086
932
|
# @return [Boolean]
|
|
1087
933
|
attr_accessor :is_error_type
|
|
1088
934
|
alias_method :is_error_type?, :is_error_type
|
|
1089
935
|
|
|
1090
|
-
# Selects messages to which this rule applies.
|
|
1091
|
-
#
|
|
936
|
+
# Selects messages to which this rule applies. Refer to selector for syntax
|
|
937
|
+
# details.
|
|
1092
938
|
# Corresponds to the JSON property `selector`
|
|
1093
939
|
# @return [String]
|
|
1094
940
|
attr_accessor :selector
|
|
@@ -1129,8 +975,8 @@ module Google
|
|
|
1129
975
|
end
|
|
1130
976
|
end
|
|
1131
977
|
|
|
1132
|
-
# Strategy used to delete a service. This strategy is a placeholder only
|
|
1133
|
-
#
|
|
978
|
+
# Strategy used to delete a service. This strategy is a placeholder only used by
|
|
979
|
+
# the system generated rollout to delete a service.
|
|
1134
980
|
class DeleteServiceStrategy
|
|
1135
981
|
include Google::Apis::Core::Hashable
|
|
1136
982
|
|
|
@@ -1174,31 +1020,6 @@ module Google
|
|
|
1174
1020
|
end
|
|
1175
1021
|
end
|
|
1176
1022
|
|
|
1177
|
-
# Request message for DisableService method.
|
|
1178
|
-
class DisableServiceRequest
|
|
1179
|
-
include Google::Apis::Core::Hashable
|
|
1180
|
-
|
|
1181
|
-
# Required. The identity of consumer resource which service disablement will be
|
|
1182
|
-
# applied to.
|
|
1183
|
-
# The Google Service Management implementation accepts the following
|
|
1184
|
-
# forms:
|
|
1185
|
-
# - "project:<project_id>"
|
|
1186
|
-
# Note: this is made compatible with
|
|
1187
|
-
# google.api.servicecontrol.v1.Operation.consumer_id.
|
|
1188
|
-
# Corresponds to the JSON property `consumerId`
|
|
1189
|
-
# @return [String]
|
|
1190
|
-
attr_accessor :consumer_id
|
|
1191
|
-
|
|
1192
|
-
def initialize(**args)
|
|
1193
|
-
update!(**args)
|
|
1194
|
-
end
|
|
1195
|
-
|
|
1196
|
-
# Update properties of this object
|
|
1197
|
-
def update!(**args)
|
|
1198
|
-
@consumer_id = args[:consumer_id] if args.key?(:consumer_id)
|
|
1199
|
-
end
|
|
1200
|
-
end
|
|
1201
|
-
|
|
1202
1023
|
# Operation payload for DisableService method.
|
|
1203
1024
|
class DisableServiceResponse
|
|
1204
1025
|
include Google::Apis::Core::Hashable
|
|
@@ -1212,56 +1033,32 @@ module Google
|
|
|
1212
1033
|
end
|
|
1213
1034
|
end
|
|
1214
1035
|
|
|
1215
|
-
# `Documentation` provides the information for describing a service.
|
|
1216
|
-
#
|
|
1217
|
-
#
|
|
1218
|
-
#
|
|
1219
|
-
#
|
|
1220
|
-
#
|
|
1221
|
-
#
|
|
1222
|
-
#
|
|
1223
|
-
#
|
|
1224
|
-
#
|
|
1225
|
-
#
|
|
1226
|
-
#
|
|
1227
|
-
#
|
|
1228
|
-
#
|
|
1229
|
-
#
|
|
1230
|
-
#
|
|
1231
|
-
#
|
|
1232
|
-
#
|
|
1233
|
-
#
|
|
1234
|
-
#
|
|
1235
|
-
#
|
|
1236
|
-
#
|
|
1237
|
-
#
|
|
1238
|
-
#
|
|
1239
|
-
#
|
|
1240
|
-
#
|
|
1241
|
-
# a documentation fragment is embedded.
|
|
1242
|
-
# Documentation from the IDL is merged with documentation defined
|
|
1243
|
-
# via the config at normalization time, where documentation provided
|
|
1244
|
-
# by config rules overrides IDL provided.
|
|
1245
|
-
# A number of constructs specific to the API platform are supported
|
|
1246
|
-
# in documentation text.
|
|
1247
|
-
# In order to reference a proto element, the following
|
|
1248
|
-
# notation can be used:
|
|
1249
|
-
# <pre><code>[fully.qualified.proto.name][]</code></pre>
|
|
1250
|
-
# To override the display text used for the link, this can be used:
|
|
1251
|
-
# <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
|
1252
|
-
# Text can be excluded from doc using the following notation:
|
|
1253
|
-
# <pre><code>(-- internal comment --)</code></pre>
|
|
1254
|
-
# A few directives are available in documentation. Note that
|
|
1255
|
-
# directives must appear on a single line to be properly
|
|
1256
|
-
# identified. The `include` directive includes a markdown file from
|
|
1257
|
-
# an external source:
|
|
1258
|
-
# <pre><code>(== include path/to/file ==)</code></pre>
|
|
1259
|
-
# The `resource_for` directive marks a message to be the resource of
|
|
1260
|
-
# a collection in REST view. If it is not specified, tools attempt
|
|
1261
|
-
# to infer the resource from the operations in a collection:
|
|
1262
|
-
# <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
|
1263
|
-
# The directive `suppress_warning` does not directly affect documentation
|
|
1264
|
-
# and is documented together with service config validation.
|
|
1036
|
+
# `Documentation` provides the information for describing a service. Example:
|
|
1037
|
+
# documentation: summary: > The Google Calendar API gives access to most
|
|
1038
|
+
# calendar features. pages: - name: Overview content: (== include google/foo/
|
|
1039
|
+
# overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
|
|
1040
|
+
# ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
|
|
1041
|
+
# rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
|
|
1042
|
+
# google.calendar.Calendar.Put description: > ... Documentation is provided in
|
|
1043
|
+
# markdown syntax. In addition to standard markdown features, definition lists,
|
|
1044
|
+
# tables and fenced code blocks are supported. Section headers can be provided
|
|
1045
|
+
# and are interpreted relative to the section nesting of the context where a
|
|
1046
|
+
# documentation fragment is embedded. Documentation from the IDL is merged with
|
|
1047
|
+
# documentation defined via the config at normalization time, where
|
|
1048
|
+
# documentation provided by config rules overrides IDL provided. A number of
|
|
1049
|
+
# constructs specific to the API platform are supported in documentation text.
|
|
1050
|
+
# In order to reference a proto element, the following notation can be used: [
|
|
1051
|
+
# fully.qualified.proto.name][] To override the display text used for the link,
|
|
1052
|
+
# this can be used: [display text][fully.qualified.proto.name] Text can be
|
|
1053
|
+
# excluded from doc using the following notation: (-- internal comment --) A few
|
|
1054
|
+
# directives are available in documentation. Note that directives must appear on
|
|
1055
|
+
# a single line to be properly identified. The `include` directive includes a
|
|
1056
|
+
# markdown file from an external source: (== include path/to/file ==) The `
|
|
1057
|
+
# resource_for` directive marks a message to be the resource of a collection in
|
|
1058
|
+
# REST view. If it is not specified, tools attempt to infer the resource from
|
|
1059
|
+
# the operations in a collection: (== resource_for v1.shelves.books ==) The
|
|
1060
|
+
# directive `suppress_warning` does not directly affect documentation and is
|
|
1061
|
+
# documented together with service config validation.
|
|
1265
1062
|
class Documentation
|
|
1266
1063
|
include Google::Apis::Core::Hashable
|
|
1267
1064
|
|
|
@@ -1270,19 +1067,11 @@ module Google
|
|
|
1270
1067
|
# @return [String]
|
|
1271
1068
|
attr_accessor :documentation_root_url
|
|
1272
1069
|
|
|
1273
|
-
# Declares a single overview page. For example:
|
|
1274
|
-
#
|
|
1275
|
-
# summary: ...
|
|
1276
|
-
#
|
|
1277
|
-
#
|
|
1278
|
-
# This is a shortcut for the following declaration (using pages style):
|
|
1279
|
-
# <pre><code>documentation:
|
|
1280
|
-
# summary: ...
|
|
1281
|
-
# pages:
|
|
1282
|
-
# - name: Overview
|
|
1283
|
-
# content: (== include overview.md ==)
|
|
1284
|
-
# </code></pre>
|
|
1285
|
-
# Note: you cannot specify both `overview` field and `pages` field.
|
|
1070
|
+
# Declares a single overview page. For example: documentation: summary: ...
|
|
1071
|
+
# overview: (== include overview.md ==) This is a shortcut for the following
|
|
1072
|
+
# declaration (using pages style): documentation: summary: ... pages: - name:
|
|
1073
|
+
# Overview content: (== include overview.md ==) Note: you cannot specify both `
|
|
1074
|
+
# overview` field and `pages` field.
|
|
1286
1075
|
# Corresponds to the JSON property `overview`
|
|
1287
1076
|
# @return [String]
|
|
1288
1077
|
attr_accessor :overview
|
|
@@ -1292,22 +1081,20 @@ module Google
|
|
|
1292
1081
|
# @return [Array<Google::Apis::ServicemanagementV1::Page>]
|
|
1293
1082
|
attr_accessor :pages
|
|
1294
1083
|
|
|
1295
|
-
# A list of documentation rules that apply to individual API elements.
|
|
1296
|
-
#
|
|
1084
|
+
# A list of documentation rules that apply to individual API elements. **NOTE:**
|
|
1085
|
+
# All service configuration rules follow "last one wins" order.
|
|
1297
1086
|
# Corresponds to the JSON property `rules`
|
|
1298
1087
|
# @return [Array<Google::Apis::ServicemanagementV1::DocumentationRule>]
|
|
1299
1088
|
attr_accessor :rules
|
|
1300
1089
|
|
|
1301
|
-
# Specifies the service root url if the default one (the service name
|
|
1302
|
-
#
|
|
1303
|
-
#
|
|
1304
|
-
# urls are relative to.
|
|
1090
|
+
# Specifies the service root url if the default one (the service name from the
|
|
1091
|
+
# yaml file) is not suitable. This can be seen in any fully specified service
|
|
1092
|
+
# urls as well as sections that show a base that other urls are relative to.
|
|
1305
1093
|
# Corresponds to the JSON property `serviceRootUrl`
|
|
1306
1094
|
# @return [String]
|
|
1307
1095
|
attr_accessor :service_root_url
|
|
1308
1096
|
|
|
1309
|
-
# A short summary of what the service does. Can only be provided by
|
|
1310
|
-
# plain text.
|
|
1097
|
+
# A short summary of what the service does. Can only be provided by plain text.
|
|
1311
1098
|
# Corresponds to the JSON property `summary`
|
|
1312
1099
|
# @return [String]
|
|
1313
1100
|
attr_accessor :summary
|
|
@@ -1331,8 +1118,8 @@ module Google
|
|
|
1331
1118
|
class DocumentationRule
|
|
1332
1119
|
include Google::Apis::Core::Hashable
|
|
1333
1120
|
|
|
1334
|
-
# Deprecation description of the selected element(s). It can be provided if
|
|
1335
|
-
#
|
|
1121
|
+
# Deprecation description of the selected element(s). It can be provided if an
|
|
1122
|
+
# element is marked as `deprecated`.
|
|
1336
1123
|
# Corresponds to the JSON property `deprecationDescription`
|
|
1337
1124
|
# @return [String]
|
|
1338
1125
|
attr_accessor :deprecation_description
|
|
@@ -1369,12 +1156,9 @@ module Google
|
|
|
1369
1156
|
include Google::Apis::Core::Hashable
|
|
1370
1157
|
|
|
1371
1158
|
# Required. The identity of consumer resource which service enablement will be
|
|
1372
|
-
# applied to.
|
|
1373
|
-
#
|
|
1374
|
-
#
|
|
1375
|
-
# - "project:<project_id>"
|
|
1376
|
-
# Note: this is made compatible with
|
|
1377
|
-
# google.api.servicecontrol.v1.Operation.consumer_id.
|
|
1159
|
+
# applied to. The Google Service Management implementation accepts the following
|
|
1160
|
+
# forms: - "project:" Note: this is made compatible with google.api.
|
|
1161
|
+
# servicecontrol.v1.Operation.consumer_id.
|
|
1378
1162
|
# Corresponds to the JSON property `consumerId`
|
|
1379
1163
|
# @return [String]
|
|
1380
1164
|
attr_accessor :consumer_id
|
|
@@ -1402,35 +1186,28 @@ module Google
|
|
|
1402
1186
|
end
|
|
1403
1187
|
end
|
|
1404
1188
|
|
|
1405
|
-
# `Endpoint` describes a network endpoint that serves a set of APIs.
|
|
1406
|
-
#
|
|
1407
|
-
#
|
|
1408
|
-
# configuration.
|
|
1409
|
-
#
|
|
1410
|
-
#
|
|
1411
|
-
#
|
|
1412
|
-
# #
|
|
1413
|
-
#
|
|
1414
|
-
# # It also allows HTTP OPTIONS calls to be passed to the backend, for
|
|
1415
|
-
# # it to decide whether the subsequent cross-origin request is
|
|
1416
|
-
# # allowed to proceed.
|
|
1417
|
-
# - name: library-example.googleapis.com
|
|
1418
|
-
# allow_cors: true
|
|
1189
|
+
# `Endpoint` describes a network endpoint that serves a set of APIs. A service
|
|
1190
|
+
# may expose any number of endpoints, and all endpoints share the same service
|
|
1191
|
+
# configuration, such as quota configuration and monitoring configuration.
|
|
1192
|
+
# Example service configuration: name: library-example.googleapis.com endpoints:
|
|
1193
|
+
# # Below entry makes 'google.example.library.v1.Library' # API be served from
|
|
1194
|
+
# endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS
|
|
1195
|
+
# calls to be passed to the backend, for # it to decide whether the subsequent
|
|
1196
|
+
# cross-origin request is # allowed to proceed. - name: library-example.
|
|
1197
|
+
# googleapis.com allow_cors: true
|
|
1419
1198
|
class Endpoint
|
|
1420
1199
|
include Google::Apis::Core::Hashable
|
|
1421
1200
|
|
|
1422
1201
|
# DEPRECATED: This field is no longer supported. Instead of using aliases,
|
|
1423
|
-
# please specify multiple google.api.Endpoint for each of the intended
|
|
1424
|
-
# aliases.
|
|
1202
|
+
# please specify multiple google.api.Endpoint for each of the intended aliases.
|
|
1425
1203
|
# Additional names that this endpoint will be hosted on.
|
|
1426
1204
|
# Corresponds to the JSON property `aliases`
|
|
1427
1205
|
# @return [Array<String>]
|
|
1428
1206
|
attr_accessor :aliases
|
|
1429
1207
|
|
|
1430
|
-
# Allowing
|
|
1431
|
-
#
|
|
1432
|
-
#
|
|
1433
|
-
# receive and respond to HTTP OPTIONS requests. The response will be used by
|
|
1208
|
+
# Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
|
|
1209
|
+
# aka cross-domain traffic, would allow the backends served from this endpoint
|
|
1210
|
+
# to receive and respond to HTTP OPTIONS requests. The response will be used by
|
|
1434
1211
|
# the browser to determine whether the subsequent cross-origin request is
|
|
1435
1212
|
# allowed to proceed.
|
|
1436
1213
|
# Corresponds to the JSON property `allowCors`
|
|
@@ -1444,10 +1221,9 @@ module Google
|
|
|
1444
1221
|
attr_accessor :name
|
|
1445
1222
|
|
|
1446
1223
|
# The specification of an Internet routable address of API frontend that will
|
|
1447
|
-
# handle requests to this [API
|
|
1448
|
-
#
|
|
1449
|
-
#
|
|
1450
|
-
# "8.8.8.8" or "myservice.appspot.com".
|
|
1224
|
+
# handle requests to this [API Endpoint](https://cloud.google.com/apis/design/
|
|
1225
|
+
# glossary). It should be either a valid IPv4 address or a fully-qualified
|
|
1226
|
+
# domain name. For example, "8.8.8.8" or "myservice.appspot.com".
|
|
1451
1227
|
# Corresponds to the JSON property `target`
|
|
1452
1228
|
# @return [String]
|
|
1453
1229
|
attr_accessor :target
|
|
@@ -1484,8 +1260,8 @@ module Google
|
|
|
1484
1260
|
# @return [Array<Google::Apis::ServicemanagementV1::Option>]
|
|
1485
1261
|
attr_accessor :options
|
|
1486
1262
|
|
|
1487
|
-
# `SourceContext` represents information about the source of a
|
|
1488
|
-
#
|
|
1263
|
+
# `SourceContext` represents information about the source of a protobuf element,
|
|
1264
|
+
# like the file in which it is defined.
|
|
1489
1265
|
# Corresponds to the JSON property `sourceContext`
|
|
1490
1266
|
# @return [Google::Apis::ServicemanagementV1::SourceContext]
|
|
1491
1267
|
attr_accessor :source_context
|
|
@@ -1540,52 +1316,43 @@ module Google
|
|
|
1540
1316
|
end
|
|
1541
1317
|
end
|
|
1542
1318
|
|
|
1543
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
1544
|
-
#
|
|
1545
|
-
#
|
|
1546
|
-
#
|
|
1547
|
-
#
|
|
1548
|
-
# description: "Determines if
|
|
1549
|
-
# expression: "document.
|
|
1550
|
-
#
|
|
1551
|
-
#
|
|
1552
|
-
#
|
|
1553
|
-
#
|
|
1554
|
-
#
|
|
1555
|
-
#
|
|
1556
|
-
#
|
|
1557
|
-
#
|
|
1558
|
-
# Example (Data Manipulation):
|
|
1559
|
-
# title: "Notification string"
|
|
1560
|
-
# description: "Create a notification string with a timestamp."
|
|
1561
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
1562
|
-
# The exact variables and functions that may be referenced within an expression
|
|
1563
|
-
# are determined by the service that evaluates it. See the service
|
|
1564
|
-
# documentation for additional information.
|
|
1319
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
1320
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
1321
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
1322
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
1323
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
1324
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
1325
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
1326
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
1327
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
1328
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
1329
|
+
# string" description: "Create a notification string with a timestamp."
|
|
1330
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
1331
|
+
# exact variables and functions that may be referenced within an expression are
|
|
1332
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
1333
|
+
# additional information.
|
|
1565
1334
|
class Expr
|
|
1566
1335
|
include Google::Apis::Core::Hashable
|
|
1567
1336
|
|
|
1568
|
-
# Optional. Description of the expression. This is a longer text which
|
|
1569
|
-
#
|
|
1337
|
+
# Optional. Description of the expression. This is a longer text which describes
|
|
1338
|
+
# the expression, e.g. when hovered over it in a UI.
|
|
1570
1339
|
# Corresponds to the JSON property `description`
|
|
1571
1340
|
# @return [String]
|
|
1572
1341
|
attr_accessor :description
|
|
1573
1342
|
|
|
1574
|
-
# Textual representation of an expression in Common Expression Language
|
|
1575
|
-
# syntax.
|
|
1343
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
|
1576
1344
|
# Corresponds to the JSON property `expression`
|
|
1577
1345
|
# @return [String]
|
|
1578
1346
|
attr_accessor :expression
|
|
1579
1347
|
|
|
1580
|
-
# Optional. String indicating the location of the expression for error
|
|
1581
|
-
#
|
|
1348
|
+
# Optional. String indicating the location of the expression for error reporting,
|
|
1349
|
+
# e.g. a file name and a position in the file.
|
|
1582
1350
|
# Corresponds to the JSON property `location`
|
|
1583
1351
|
# @return [String]
|
|
1584
1352
|
attr_accessor :location
|
|
1585
1353
|
|
|
1586
|
-
# Optional. Title for the expression, i.e. a short string describing
|
|
1587
|
-
#
|
|
1588
|
-
# expression.
|
|
1354
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
|
1355
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
|
1589
1356
|
# Corresponds to the JSON property `title`
|
|
1590
1357
|
# @return [String]
|
|
1591
1358
|
attr_accessor :title
|
|
@@ -1637,8 +1404,8 @@ module Google
|
|
|
1637
1404
|
# @return [Fixnum]
|
|
1638
1405
|
attr_accessor :number
|
|
1639
1406
|
|
|
1640
|
-
# The index of the field type in `Type.oneofs`, for message or enumeration
|
|
1641
|
-
#
|
|
1407
|
+
# The index of the field type in `Type.oneofs`, for message or enumeration types.
|
|
1408
|
+
# The first type has index 1; zero means the type is not in the list.
|
|
1642
1409
|
# Corresponds to the JSON property `oneofIndex`
|
|
1643
1410
|
# @return [Fixnum]
|
|
1644
1411
|
attr_accessor :oneof_index
|
|
@@ -1654,8 +1421,8 @@ module Google
|
|
|
1654
1421
|
attr_accessor :packed
|
|
1655
1422
|
alias_method :packed?, :packed
|
|
1656
1423
|
|
|
1657
|
-
# The field type URL, without the scheme, for message or enumeration
|
|
1658
|
-
#
|
|
1424
|
+
# The field type URL, without the scheme, for message or enumeration types.
|
|
1425
|
+
# Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
|
|
1659
1426
|
# Corresponds to the JSON property `typeUrl`
|
|
1660
1427
|
# @return [String]
|
|
1661
1428
|
attr_accessor :type_url
|
|
@@ -1679,8 +1446,8 @@ module Google
|
|
|
1679
1446
|
end
|
|
1680
1447
|
end
|
|
1681
1448
|
|
|
1682
|
-
# Encapsulation of flow-specific error details for debugging.
|
|
1683
|
-
#
|
|
1449
|
+
# Encapsulation of flow-specific error details for debugging. Used as a details
|
|
1450
|
+
# field on an error Status, not intended for external use.
|
|
1684
1451
|
class FlowErrorDetails
|
|
1685
1452
|
include Google::Apis::Core::Hashable
|
|
1686
1453
|
|
|
@@ -1709,20 +1476,18 @@ module Google
|
|
|
1709
1476
|
class GenerateConfigReportRequest
|
|
1710
1477
|
include Google::Apis::Core::Hashable
|
|
1711
1478
|
|
|
1712
|
-
# Required. Service configuration for which we want to generate the report.
|
|
1713
|
-
#
|
|
1714
|
-
# google.api.servicemanagement.v1.
|
|
1715
|
-
#
|
|
1716
|
-
# and google.api.Service
|
|
1479
|
+
# Required. Service configuration for which we want to generate the report. For
|
|
1480
|
+
# this version of API, the supported types are google.api.servicemanagement.v1.
|
|
1481
|
+
# ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.
|
|
1482
|
+
# Service
|
|
1717
1483
|
# Corresponds to the JSON property `newConfig`
|
|
1718
1484
|
# @return [Hash<String,Object>]
|
|
1719
1485
|
attr_accessor :new_config
|
|
1720
1486
|
|
|
1721
|
-
# Optional. Service configuration against which the comparison will be done.
|
|
1722
|
-
#
|
|
1723
|
-
# google.api.servicemanagement.v1.
|
|
1724
|
-
#
|
|
1725
|
-
# and google.api.Service
|
|
1487
|
+
# Optional. Service configuration against which the comparison will be done. For
|
|
1488
|
+
# this version of API, the supported types are google.api.servicemanagement.v1.
|
|
1489
|
+
# ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.
|
|
1490
|
+
# Service
|
|
1726
1491
|
# Corresponds to the JSON property `oldConfig`
|
|
1727
1492
|
# @return [Hash<String,Object>]
|
|
1728
1493
|
attr_accessor :old_config
|
|
@@ -1742,14 +1507,13 @@ module Google
|
|
|
1742
1507
|
class GenerateConfigReportResponse
|
|
1743
1508
|
include Google::Apis::Core::Hashable
|
|
1744
1509
|
|
|
1745
|
-
# list of ChangeReport, each corresponding to comparison between two
|
|
1746
|
-
#
|
|
1510
|
+
# list of ChangeReport, each corresponding to comparison between two service
|
|
1511
|
+
# configurations.
|
|
1747
1512
|
# Corresponds to the JSON property `changeReports`
|
|
1748
1513
|
# @return [Array<Google::Apis::ServicemanagementV1::ChangeReport>]
|
|
1749
1514
|
attr_accessor :change_reports
|
|
1750
1515
|
|
|
1751
|
-
# Errors / Linter warnings associated with the service definition this
|
|
1752
|
-
# report
|
|
1516
|
+
# Errors / Linter warnings associated with the service definition this report
|
|
1753
1517
|
# belongs to.
|
|
1754
1518
|
# Corresponds to the JSON property `diagnostics`
|
|
1755
1519
|
# @return [Array<Google::Apis::ServicemanagementV1::Diagnostic>]
|
|
@@ -1801,15 +1565,13 @@ module Google
|
|
|
1801
1565
|
class GetPolicyOptions
|
|
1802
1566
|
include Google::Apis::Core::Hashable
|
|
1803
1567
|
|
|
1804
|
-
# Optional. The policy format version to be returned.
|
|
1805
|
-
#
|
|
1806
|
-
#
|
|
1807
|
-
#
|
|
1808
|
-
#
|
|
1809
|
-
#
|
|
1810
|
-
#
|
|
1811
|
-
# [IAM
|
|
1812
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1568
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
|
1569
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
|
1570
|
+
# policies with any conditional bindings must specify version 3. Policies
|
|
1571
|
+
# without any conditional bindings may specify any valid value or leave the
|
|
1572
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
|
1573
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
1574
|
+
# resource-policies).
|
|
1813
1575
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
|
1814
1576
|
# @return [Fixnum]
|
|
1815
1577
|
attr_accessor :requested_policy_version
|
|
@@ -1825,23 +1587,22 @@ module Google
|
|
|
1825
1587
|
end
|
|
1826
1588
|
|
|
1827
1589
|
# Defines the HTTP configuration for an API service. It contains a list of
|
|
1828
|
-
# HttpRule, each specifying the mapping of an RPC method
|
|
1829
|
-
#
|
|
1590
|
+
# HttpRule, each specifying the mapping of an RPC method to one or more HTTP
|
|
1591
|
+
# REST API methods.
|
|
1830
1592
|
class Http
|
|
1831
1593
|
include Google::Apis::Core::Hashable
|
|
1832
1594
|
|
|
1833
1595
|
# When set to true, URL path parameters will be fully URI-decoded except in
|
|
1834
1596
|
# cases of single segment matches in reserved expansion, where "%2F" will be
|
|
1835
|
-
# left encoded.
|
|
1836
|
-
#
|
|
1837
|
-
# segment matches.
|
|
1597
|
+
# left encoded. The default behavior is to not decode RFC 6570 reserved
|
|
1598
|
+
# characters in multi segment matches.
|
|
1838
1599
|
# Corresponds to the JSON property `fullyDecodeReservedExpansion`
|
|
1839
1600
|
# @return [Boolean]
|
|
1840
1601
|
attr_accessor :fully_decode_reserved_expansion
|
|
1841
1602
|
alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion
|
|
1842
1603
|
|
|
1843
|
-
# A list of HTTP configuration rules that apply to individual API methods.
|
|
1844
|
-
#
|
|
1604
|
+
# A list of HTTP configuration rules that apply to individual API methods. **
|
|
1605
|
+
# NOTE:** All service configuration rules follow "last one wins" order.
|
|
1845
1606
|
# Corresponds to the JSON property `rules`
|
|
1846
1607
|
# @return [Array<Google::Apis::ServicemanagementV1::HttpRule>]
|
|
1847
1608
|
attr_accessor :rules
|
|
@@ -1857,251 +1618,149 @@ module Google
|
|
|
1857
1618
|
end
|
|
1858
1619
|
end
|
|
1859
1620
|
|
|
1860
|
-
# # gRPC Transcoding
|
|
1861
|
-
#
|
|
1862
|
-
#
|
|
1863
|
-
#
|
|
1864
|
-
#
|
|
1865
|
-
# [
|
|
1866
|
-
#
|
|
1867
|
-
#
|
|
1868
|
-
#
|
|
1869
|
-
#
|
|
1870
|
-
#
|
|
1871
|
-
# path, URL query parameters, and HTTP request body. It also controls how the
|
|
1872
|
-
# gRPC response message is mapped to the HTTP response body. `HttpRule` is
|
|
1621
|
+
# # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
|
|
1622
|
+
# method and one or more HTTP REST endpoints. It allows developers to build a
|
|
1623
|
+
# single API service that supports both gRPC APIs and REST APIs. Many systems,
|
|
1624
|
+
# including [Google APIs](https://github.com/googleapis/googleapis), [Cloud
|
|
1625
|
+
# Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.
|
|
1626
|
+
# com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/
|
|
1627
|
+
# envoy) proxy support this feature and use it for large scale production
|
|
1628
|
+
# services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping
|
|
1629
|
+
# specifies how different portions of the gRPC request message are mapped to the
|
|
1630
|
+
# URL path, URL query parameters, and HTTP request body. It also controls how
|
|
1631
|
+
# the gRPC response message is mapped to the HTTP response body. `HttpRule` is
|
|
1873
1632
|
# typically specified as an `google.api.http` annotation on the gRPC method.
|
|
1874
1633
|
# Each mapping specifies a URL path template and an HTTP method. The path
|
|
1875
1634
|
# template may refer to one or more fields in the gRPC request message, as long
|
|
1876
|
-
# as each field is a non-repeated field with a primitive (non-message) type.
|
|
1877
|
-
#
|
|
1878
|
-
#
|
|
1879
|
-
#
|
|
1880
|
-
#
|
|
1881
|
-
#
|
|
1882
|
-
#
|
|
1883
|
-
#
|
|
1884
|
-
#
|
|
1885
|
-
#
|
|
1886
|
-
# `
|
|
1887
|
-
#
|
|
1888
|
-
# string
|
|
1889
|
-
#
|
|
1890
|
-
#
|
|
1891
|
-
#
|
|
1892
|
-
# `
|
|
1893
|
-
#
|
|
1894
|
-
#
|
|
1895
|
-
#
|
|
1896
|
-
#
|
|
1897
|
-
#
|
|
1898
|
-
#
|
|
1899
|
-
#
|
|
1900
|
-
#
|
|
1901
|
-
# rpc
|
|
1902
|
-
#
|
|
1903
|
-
#
|
|
1904
|
-
#
|
|
1905
|
-
#
|
|
1906
|
-
# `
|
|
1907
|
-
#
|
|
1908
|
-
# message
|
|
1909
|
-
#
|
|
1910
|
-
#
|
|
1911
|
-
#
|
|
1912
|
-
#
|
|
1913
|
-
#
|
|
1914
|
-
# `
|
|
1915
|
-
#
|
|
1916
|
-
#
|
|
1917
|
-
#
|
|
1918
|
-
#
|
|
1919
|
-
#
|
|
1920
|
-
#
|
|
1921
|
-
#
|
|
1922
|
-
#
|
|
1923
|
-
#
|
|
1924
|
-
#
|
|
1925
|
-
#
|
|
1926
|
-
#
|
|
1927
|
-
#
|
|
1928
|
-
#
|
|
1929
|
-
#
|
|
1930
|
-
#
|
|
1931
|
-
#
|
|
1932
|
-
#
|
|
1933
|
-
#
|
|
1934
|
-
#
|
|
1935
|
-
#
|
|
1936
|
-
#
|
|
1937
|
-
#
|
|
1938
|
-
#
|
|
1939
|
-
#
|
|
1940
|
-
#
|
|
1941
|
-
# `
|
|
1942
|
-
# The
|
|
1943
|
-
#
|
|
1944
|
-
#
|
|
1945
|
-
#
|
|
1946
|
-
#
|
|
1947
|
-
#
|
|
1948
|
-
#
|
|
1949
|
-
#
|
|
1950
|
-
#
|
|
1951
|
-
#
|
|
1952
|
-
# the
|
|
1953
|
-
#
|
|
1954
|
-
#
|
|
1955
|
-
#
|
|
1956
|
-
#
|
|
1957
|
-
#
|
|
1958
|
-
#
|
|
1959
|
-
#
|
|
1960
|
-
#
|
|
1961
|
-
#
|
|
1962
|
-
#
|
|
1963
|
-
#
|
|
1964
|
-
# `
|
|
1965
|
-
# The following HTTP JSON to RPC mapping is enabled:
|
|
1966
|
-
# HTTP | gRPC
|
|
1967
|
-
# -----|-----
|
|
1968
|
-
# `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
|
|
1969
|
-
# "123456" text: "Hi!")`
|
|
1970
|
-
# Note that when using `*` in the body mapping, it is not possible to
|
|
1971
|
-
# have HTTP parameters, as all fields not bound by the path end in
|
|
1972
|
-
# the body. This makes this option more rarely used in practice when
|
|
1973
|
-
# defining REST APIs. The common usage of `*` is in custom methods
|
|
1974
|
-
# which don't use the URL at all for transferring data.
|
|
1975
|
-
# It is possible to define multiple HTTP methods for one RPC by using
|
|
1976
|
-
# the `additional_bindings` option. Example:
|
|
1977
|
-
# service Messaging `
|
|
1978
|
-
# rpc GetMessage(GetMessageRequest) returns (Message) `
|
|
1979
|
-
# option (google.api.http) = `
|
|
1980
|
-
# get: "/v1/messages/`message_id`"
|
|
1981
|
-
# additional_bindings `
|
|
1982
|
-
# get: "/v1/users/`user_id`/messages/`message_id`"
|
|
1983
|
-
# `
|
|
1984
|
-
# `;
|
|
1985
|
-
# `
|
|
1986
|
-
# `
|
|
1987
|
-
# message GetMessageRequest `
|
|
1988
|
-
# string message_id = 1;
|
|
1989
|
-
# string user_id = 2;
|
|
1990
|
-
# `
|
|
1991
|
-
# This enables the following two alternative HTTP JSON to RPC mappings:
|
|
1992
|
-
# HTTP | gRPC
|
|
1993
|
-
# -----|-----
|
|
1994
|
-
# `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
|
|
1995
|
-
# `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
|
|
1996
|
-
# "123456")`
|
|
1997
|
-
# ## Rules for HTTP mapping
|
|
1998
|
-
# 1. Leaf request fields (recursive expansion nested messages in the request
|
|
1999
|
-
# message) are classified into three categories:
|
|
2000
|
-
# - Fields referred by the path template. They are passed via the URL path.
|
|
2001
|
-
# - Fields referred by the HttpRule.body. They are passed via the HTTP
|
|
2002
|
-
# request body.
|
|
2003
|
-
# - All other fields are passed via the URL query parameters, and the
|
|
2004
|
-
# parameter name is the field path in the request message. A repeated
|
|
2005
|
-
# field can be represented as multiple query parameters under the same
|
|
2006
|
-
# name.
|
|
2007
|
-
# 2. If HttpRule.body is "*", there is no URL query parameter, all fields
|
|
2008
|
-
# are passed via URL path and HTTP request body.
|
|
2009
|
-
# 3. If HttpRule.body is omitted, there is no HTTP request body, all
|
|
2010
|
-
# fields are passed via URL path and URL query parameters.
|
|
2011
|
-
# ### Path template syntax
|
|
2012
|
-
# Template = "/" Segments [ Verb ] ;
|
|
2013
|
-
# Segments = Segment ` "/" Segment ` ;
|
|
2014
|
-
# Segment = "*" | "**" | LITERAL | Variable ;
|
|
2015
|
-
# Variable = "`" FieldPath [ "=" Segments ] "`" ;
|
|
2016
|
-
# FieldPath = IDENT ` "." IDENT ` ;
|
|
2017
|
-
# Verb = ":" LITERAL ;
|
|
2018
|
-
# The syntax `*` matches a single URL path segment. The syntax `**` matches
|
|
2019
|
-
# zero or more URL path segments, which must be the last part of the URL path
|
|
2020
|
-
# except the `Verb`.
|
|
2021
|
-
# The syntax `Variable` matches part of the URL path as specified by its
|
|
2022
|
-
# template. A variable template must not contain other variables. If a variable
|
|
2023
|
-
# matches a single path segment, its template may be omitted, e.g. ``var``
|
|
2024
|
-
# is equivalent to ``var=*``.
|
|
2025
|
-
# The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
|
|
2026
|
-
# contains any reserved character, such characters should be percent-encoded
|
|
2027
|
-
# before the matching.
|
|
2028
|
-
# If a variable contains exactly one path segment, such as `"`var`"` or
|
|
2029
|
-
# `"`var=*`"`, when such a variable is expanded into a URL path on the client
|
|
2030
|
-
# side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
|
|
2031
|
-
# server side does the reverse decoding. Such variables show up in the
|
|
2032
|
-
# [Discovery
|
|
2033
|
-
# Document](https://developers.google.com/discovery/v1/reference/apis) as
|
|
2034
|
-
# ``var``.
|
|
2035
|
-
# If a variable contains multiple path segments, such as `"`var=foo/*`"`
|
|
2036
|
-
# or `"`var=**`"`, when such a variable is expanded into a URL path on the
|
|
2037
|
-
# client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
|
|
2038
|
-
# The server side does the reverse decoding, except "%2F" and "%2f" are left
|
|
2039
|
-
# unchanged. Such variables show up in the
|
|
2040
|
-
# [Discovery
|
|
2041
|
-
# Document](https://developers.google.com/discovery/v1/reference/apis) as
|
|
2042
|
-
# ``+var``.
|
|
2043
|
-
# ## Using gRPC API Service Configuration
|
|
2044
|
-
# gRPC API Service Configuration (service config) is a configuration language
|
|
2045
|
-
# for configuring a gRPC service to become a user-facing product. The
|
|
2046
|
-
# service config is simply the YAML representation of the `google.api.Service`
|
|
2047
|
-
# proto message.
|
|
1635
|
+
# as each field is a non-repeated field with a primitive (non-message) type. The
|
|
1636
|
+
# path template controls how fields of the request message are mapped to the URL
|
|
1637
|
+
# path. Example: service Messaging ` rpc GetMessage(GetMessageRequest) returns (
|
|
1638
|
+
# Message) ` option (google.api.http) = ` get: "/v1/`name=messages/*`" `; ` `
|
|
1639
|
+
# message GetMessageRequest ` string name = 1; // Mapped to URL path. ` message
|
|
1640
|
+
# Message ` string text = 1; // The resource content. ` This enables an HTTP
|
|
1641
|
+
# REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/
|
|
1642
|
+
# 123456` | `GetMessage(name: "messages/123456")` Any fields in the request
|
|
1643
|
+
# message which are not bound by the path template automatically become HTTP
|
|
1644
|
+
# query parameters if there is no HTTP request body. For example: service
|
|
1645
|
+
# Messaging ` rpc GetMessage(GetMessageRequest) returns (Message) ` option (
|
|
1646
|
+
# google.api.http) = ` get:"/v1/messages/`message_id`" `; ` ` message
|
|
1647
|
+
# GetMessageRequest ` message SubMessage ` string subfield = 1; ` string
|
|
1648
|
+
# message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL
|
|
1649
|
+
# query parameter `revision`. SubMessage sub = 3; // Mapped to URL query
|
|
1650
|
+
# parameter `sub.subfield`. ` This enables a HTTP JSON to RPC mapping as below:
|
|
1651
|
+
# HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
|
|
1652
|
+
# `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))
|
|
1653
|
+
# ` Note that fields which are mapped to URL query parameters must have a
|
|
1654
|
+
# primitive type or a repeated primitive type or a non-repeated message type. In
|
|
1655
|
+
# the case of a repeated type, the parameter can be repeated in the URL as `...?
|
|
1656
|
+
# param=A¶m=B`. In the case of a message type, each field of the message is
|
|
1657
|
+
# mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For
|
|
1658
|
+
# HTTP methods that allow a request body, the `body` field specifies the mapping.
|
|
1659
|
+
# Consider a REST update method on the message resource collection: service
|
|
1660
|
+
# Messaging ` rpc UpdateMessage(UpdateMessageRequest) returns (Message) ` option
|
|
1661
|
+
# (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "message" `; ` `
|
|
1662
|
+
# message UpdateMessageRequest ` string message_id = 1; // mapped to the URL
|
|
1663
|
+
# Message message = 2; // mapped to the body ` The following HTTP JSON to RPC
|
|
1664
|
+
# mapping is enabled, where the representation of the JSON in the request body
|
|
1665
|
+
# is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/
|
|
1666
|
+
# messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456"
|
|
1667
|
+
# message ` text: "Hi!" `)` The special name `*` can be used in the body mapping
|
|
1668
|
+
# to define that every field not bound by the path template should be mapped to
|
|
1669
|
+
# the request body. This enables the following alternative definition of the
|
|
1670
|
+
# update method: service Messaging ` rpc UpdateMessage(Message) returns (Message)
|
|
1671
|
+
# ` option (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "*" `;
|
|
1672
|
+
# ` ` message Message ` string message_id = 1; string text = 2; ` The following
|
|
1673
|
+
# HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/
|
|
1674
|
+
# messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456" text:
|
|
1675
|
+
# "Hi!")` Note that when using `*` in the body mapping, it is not possible to
|
|
1676
|
+
# have HTTP parameters, as all fields not bound by the path end in the body.
|
|
1677
|
+
# This makes this option more rarely used in practice when defining REST APIs.
|
|
1678
|
+
# The common usage of `*` is in custom methods which don't use the URL at all
|
|
1679
|
+
# for transferring data. It is possible to define multiple HTTP methods for one
|
|
1680
|
+
# RPC by using the `additional_bindings` option. Example: service Messaging `
|
|
1681
|
+
# rpc GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http)
|
|
1682
|
+
# = ` get: "/v1/messages/`message_id`" additional_bindings ` get: "/v1/users/`
|
|
1683
|
+
# user_id`/messages/`message_id`" ` `; ` ` message GetMessageRequest ` string
|
|
1684
|
+
# message_id = 1; string user_id = 2; ` This enables the following two
|
|
1685
|
+
# alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/
|
|
1686
|
+
# messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/
|
|
1687
|
+
# messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules
|
|
1688
|
+
# for HTTP mapping 1. Leaf request fields (recursive expansion nested messages
|
|
1689
|
+
# in the request message) are classified into three categories: - Fields
|
|
1690
|
+
# referred by the path template. They are passed via the URL path. - Fields
|
|
1691
|
+
# referred by the HttpRule.body. They are passed via the HTTP request body. -
|
|
1692
|
+
# All other fields are passed via the URL query parameters, and the parameter
|
|
1693
|
+
# name is the field path in the request message. A repeated field can be
|
|
1694
|
+
# represented as multiple query parameters under the same name. 2. If HttpRule.
|
|
1695
|
+
# body is "*", there is no URL query parameter, all fields are passed via URL
|
|
1696
|
+
# path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP
|
|
1697
|
+
# request body, all fields are passed via URL path and URL query parameters. ###
|
|
1698
|
+
# Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment ` "/
|
|
1699
|
+
# " Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "`"
|
|
1700
|
+
# FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb = ":"
|
|
1701
|
+
# LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**`
|
|
1702
|
+
# matches zero or more URL path segments, which must be the last part of the URL
|
|
1703
|
+
# path except the `Verb`. The syntax `Variable` matches part of the URL path as
|
|
1704
|
+
# specified by its template. A variable template must not contain other
|
|
1705
|
+
# variables. If a variable matches a single path segment, its template may be
|
|
1706
|
+
# omitted, e.g. ``var`` is equivalent to ``var=*``. The syntax `LITERAL` matches
|
|
1707
|
+
# literal text in the URL path. If the `LITERAL` contains any reserved character,
|
|
1708
|
+
# such characters should be percent-encoded before the matching. If a variable
|
|
1709
|
+
# contains exactly one path segment, such as `"`var`"` or `"`var=*`"`, when such
|
|
1710
|
+
# a variable is expanded into a URL path on the client side, all characters
|
|
1711
|
+
# except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse
|
|
1712
|
+
# decoding. Such variables show up in the [Discovery Document](https://
|
|
1713
|
+
# developers.google.com/discovery/v1/reference/apis) as ``var``. If a variable
|
|
1714
|
+
# contains multiple path segments, such as `"`var=foo/*`"` or `"`var=**`"`, when
|
|
1715
|
+
# such a variable is expanded into a URL path on the client side, all characters
|
|
1716
|
+
# except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the
|
|
1717
|
+
# reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables
|
|
1718
|
+
# show up in the [Discovery Document](https://developers.google.com/discovery/v1/
|
|
1719
|
+
# reference/apis) as ``+var``. ## Using gRPC API Service Configuration gRPC API
|
|
1720
|
+
# Service Configuration (service config) is a configuration language for
|
|
1721
|
+
# configuring a gRPC service to become a user-facing product. The service config
|
|
1722
|
+
# is simply the YAML representation of the `google.api.Service` proto message.
|
|
2048
1723
|
# As an alternative to annotating your proto file, you can configure gRPC
|
|
2049
|
-
# transcoding in your service config YAML files. You do this by specifying a
|
|
2050
|
-
#
|
|
2051
|
-
# effect as the proto annotation. This can be particularly useful if you
|
|
2052
|
-
#
|
|
2053
|
-
#
|
|
2054
|
-
#
|
|
2055
|
-
#
|
|
2056
|
-
#
|
|
2057
|
-
#
|
|
2058
|
-
#
|
|
2059
|
-
#
|
|
2060
|
-
#
|
|
2061
|
-
#
|
|
2062
|
-
#
|
|
2063
|
-
#
|
|
2064
|
-
#
|
|
2065
|
-
# .
|
|
2066
|
-
#
|
|
2067
|
-
#
|
|
2068
|
-
#
|
|
2069
|
-
#
|
|
2070
|
-
#
|
|
2071
|
-
#
|
|
2072
|
-
# for
|
|
2073
|
-
#
|
|
2074
|
-
#
|
|
2075
|
-
# The path variables **must not** capture the leading "/" character. The reason
|
|
2076
|
-
# is that the most common use case "`var`" does not capture the leading "/"
|
|
2077
|
-
# character. For consistency, all path variables must share the same behavior.
|
|
2078
|
-
# Repeated message fields must not be mapped to URL query parameters, because
|
|
2079
|
-
# no client library can support such complicated mapping.
|
|
2080
|
-
# If an API needs to use a JSON array for request or response body, it can map
|
|
2081
|
-
# the request or response body to a repeated field. However, some gRPC
|
|
2082
|
-
# Transcoding implementations may not support this feature.
|
|
1724
|
+
# transcoding in your service config YAML files. You do this by specifying a `
|
|
1725
|
+
# HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
|
|
1726
|
+
# effect as the proto annotation. This can be particularly useful if you have a
|
|
1727
|
+
# proto that is reused in multiple services. Note that any transcoding specified
|
|
1728
|
+
# in the service config will override any matching transcoding configuration in
|
|
1729
|
+
# the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule
|
|
1730
|
+
# to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/`
|
|
1731
|
+
# message_id`/`sub.subfield` ## Special notes When gRPC Transcoding is used to
|
|
1732
|
+
# map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow
|
|
1733
|
+
# the [proto3 specification](https://developers.google.com/protocol-buffers/docs/
|
|
1734
|
+
# proto3#json). While the single segment variable follows the semantics of [RFC
|
|
1735
|
+
# 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
|
|
1736
|
+
# Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.
|
|
1737
|
+
# 3 Reserved Expansion. The reason is that the Reserved Expansion does not
|
|
1738
|
+
# expand special characters like `?` and `#`, which would lead to invalid URLs.
|
|
1739
|
+
# As the result, gRPC Transcoding uses a custom encoding for multi segment
|
|
1740
|
+
# variables. The path variables **must not** refer to any repeated or mapped
|
|
1741
|
+
# field, because client libraries are not capable of handling such variable
|
|
1742
|
+
# expansion. The path variables **must not** capture the leading "/" character.
|
|
1743
|
+
# The reason is that the most common use case "`var`" does not capture the
|
|
1744
|
+
# leading "/" character. For consistency, all path variables must share the same
|
|
1745
|
+
# behavior. Repeated message fields must not be mapped to URL query parameters,
|
|
1746
|
+
# because no client library can support such complicated mapping. If an API
|
|
1747
|
+
# needs to use a JSON array for request or response body, it can map the request
|
|
1748
|
+
# or response body to a repeated field. However, some gRPC Transcoding
|
|
1749
|
+
# implementations may not support this feature.
|
|
2083
1750
|
class HttpRule
|
|
2084
1751
|
include Google::Apis::Core::Hashable
|
|
2085
1752
|
|
|
2086
|
-
# Additional HTTP bindings for the selector. Nested bindings must
|
|
2087
|
-
#
|
|
2088
|
-
#
|
|
1753
|
+
# Additional HTTP bindings for the selector. Nested bindings must not contain an
|
|
1754
|
+
# `additional_bindings` field themselves (that is, the nesting may only be one
|
|
1755
|
+
# level deep).
|
|
2089
1756
|
# Corresponds to the JSON property `additionalBindings`
|
|
2090
1757
|
# @return [Array<Google::Apis::ServicemanagementV1::HttpRule>]
|
|
2091
1758
|
attr_accessor :additional_bindings
|
|
2092
1759
|
|
|
2093
|
-
#
|
|
2094
|
-
#
|
|
2095
|
-
#
|
|
2096
|
-
#
|
|
2097
|
-
attr_accessor :allow_half_duplex
|
|
2098
|
-
alias_method :allow_half_duplex?, :allow_half_duplex
|
|
2099
|
-
|
|
2100
|
-
# The name of the request field whose value is mapped to the HTTP request
|
|
2101
|
-
# body, or `*` for mapping all request fields not captured by the path
|
|
2102
|
-
# pattern to the HTTP body, or omitted for not having any HTTP request body.
|
|
2103
|
-
# NOTE: the referred field must be present at the top-level of the request
|
|
2104
|
-
# message type.
|
|
1760
|
+
# The name of the request field whose value is mapped to the HTTP request body,
|
|
1761
|
+
# or `*` for mapping all request fields not captured by the path pattern to the
|
|
1762
|
+
# HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
|
|
1763
|
+
# field must be present at the top-level of the request message type.
|
|
2105
1764
|
# Corresponds to the JSON property `body`
|
|
2106
1765
|
# @return [String]
|
|
2107
1766
|
attr_accessor :body
|
|
@@ -2116,8 +1775,7 @@ module Google
|
|
|
2116
1775
|
# @return [String]
|
|
2117
1776
|
attr_accessor :delete
|
|
2118
1777
|
|
|
2119
|
-
# Maps to HTTP GET. Used for listing and getting information about
|
|
2120
|
-
# resources.
|
|
1778
|
+
# Maps to HTTP GET. Used for listing and getting information about resources.
|
|
2121
1779
|
# Corresponds to the JSON property `get`
|
|
2122
1780
|
# @return [String]
|
|
2123
1781
|
attr_accessor :get
|
|
@@ -2138,16 +1796,15 @@ module Google
|
|
|
2138
1796
|
attr_accessor :put
|
|
2139
1797
|
|
|
2140
1798
|
# Optional. The name of the response field whose value is mapped to the HTTP
|
|
2141
|
-
# response body. When omitted, the entire response message will be used
|
|
2142
|
-
#
|
|
2143
|
-
#
|
|
2144
|
-
# message type.
|
|
1799
|
+
# response body. When omitted, the entire response message will be used as the
|
|
1800
|
+
# HTTP response body. NOTE: The referred field must be present at the top-level
|
|
1801
|
+
# of the response message type.
|
|
2145
1802
|
# Corresponds to the JSON property `responseBody`
|
|
2146
1803
|
# @return [String]
|
|
2147
1804
|
attr_accessor :response_body
|
|
2148
1805
|
|
|
2149
|
-
# Selects a method to which this rule applies.
|
|
2150
|
-
#
|
|
1806
|
+
# Selects a method to which this rule applies. Refer to selector for syntax
|
|
1807
|
+
# details.
|
|
2151
1808
|
# Corresponds to the JSON property `selector`
|
|
2152
1809
|
# @return [String]
|
|
2153
1810
|
attr_accessor :selector
|
|
@@ -2159,7 +1816,6 @@ module Google
|
|
|
2159
1816
|
# Update properties of this object
|
|
2160
1817
|
def update!(**args)
|
|
2161
1818
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
|
2162
|
-
@allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
|
|
2163
1819
|
@body = args[:body] if args.key?(:body)
|
|
2164
1820
|
@custom = args[:custom] if args.key?(:custom)
|
|
2165
1821
|
@delete = args[:delete] if args.key?(:delete)
|
|
@@ -2186,13 +1842,12 @@ module Google
|
|
|
2186
1842
|
# @return [String]
|
|
2187
1843
|
attr_accessor :query
|
|
2188
1844
|
|
|
2189
|
-
# The value prefix. The value format is "value_prefix`token`"
|
|
2190
|
-
#
|
|
2191
|
-
#
|
|
2192
|
-
# If
|
|
2193
|
-
#
|
|
2194
|
-
#
|
|
2195
|
-
# value_prefix="Bearer " with a space at the end.
|
|
1845
|
+
# The value prefix. The value format is "value_prefix`token`" Only applies to "
|
|
1846
|
+
# in" header type. Must be empty for "in" query type. If not empty, the header
|
|
1847
|
+
# value has to match (case sensitive) this prefix. If not matched, JWT will not
|
|
1848
|
+
# be extracted. If matched, JWT will be extracted after the prefix is removed.
|
|
1849
|
+
# For example, for "Authorization: Bearer `JWT`", value_prefix="Bearer " with a
|
|
1850
|
+
# space at the end.
|
|
2196
1851
|
# Corresponds to the JSON property `valuePrefix`
|
|
2197
1852
|
# @return [String]
|
|
2198
1853
|
attr_accessor :value_prefix
|
|
@@ -2340,39 +1995,35 @@ module Google
|
|
|
2340
1995
|
end
|
|
2341
1996
|
end
|
|
2342
1997
|
|
|
2343
|
-
# A description of a log type. Example in YAML format:
|
|
2344
|
-
#
|
|
2345
|
-
#
|
|
2346
|
-
# display_name: Activity
|
|
2347
|
-
# labels:
|
|
2348
|
-
# - key: /customer_id
|
|
1998
|
+
# A description of a log type. Example in YAML format: - name: library.
|
|
1999
|
+
# googleapis.com/activity_history description: The history of borrowing and
|
|
2000
|
+
# returning library items. display_name: Activity labels: - key: /customer_id
|
|
2349
2001
|
# description: Identifier of a library customer
|
|
2350
2002
|
class LogDescriptor
|
|
2351
2003
|
include Google::Apis::Core::Hashable
|
|
2352
2004
|
|
|
2353
|
-
# A human-readable description of this log. This information appears in
|
|
2354
|
-
#
|
|
2005
|
+
# A human-readable description of this log. This information appears in the
|
|
2006
|
+
# documentation and can contain details.
|
|
2355
2007
|
# Corresponds to the JSON property `description`
|
|
2356
2008
|
# @return [String]
|
|
2357
2009
|
attr_accessor :description
|
|
2358
2010
|
|
|
2359
|
-
# The human-readable name for this log. This information appears on
|
|
2360
|
-
#
|
|
2011
|
+
# The human-readable name for this log. This information appears on the user
|
|
2012
|
+
# interface and should be concise.
|
|
2361
2013
|
# Corresponds to the JSON property `displayName`
|
|
2362
2014
|
# @return [String]
|
|
2363
2015
|
attr_accessor :display_name
|
|
2364
2016
|
|
|
2365
|
-
# The set of labels that are available to describe a specific log entry.
|
|
2366
|
-
#
|
|
2367
|
-
# considered invalid.
|
|
2017
|
+
# The set of labels that are available to describe a specific log entry. Runtime
|
|
2018
|
+
# requests that contain labels not specified here are considered invalid.
|
|
2368
2019
|
# Corresponds to the JSON property `labels`
|
|
2369
2020
|
# @return [Array<Google::Apis::ServicemanagementV1::LabelDescriptor>]
|
|
2370
2021
|
attr_accessor :labels
|
|
2371
2022
|
|
|
2372
|
-
# The name of the log. It must be less than 512 characters long and can
|
|
2373
|
-
#
|
|
2374
|
-
#
|
|
2375
|
-
#
|
|
2023
|
+
# The name of the log. It must be less than 512 characters long and can include
|
|
2024
|
+
# the following characters: upper- and lower-case alphanumeric characters [A-Za-
|
|
2025
|
+
# z0-9], and punctuation characters including slash, underscore, hyphen, period [
|
|
2026
|
+
# /_-.].
|
|
2376
2027
|
# Corresponds to the JSON property `name`
|
|
2377
2028
|
# @return [String]
|
|
2378
2029
|
attr_accessor :name
|
|
@@ -2390,48 +2041,30 @@ module Google
|
|
|
2390
2041
|
end
|
|
2391
2042
|
end
|
|
2392
2043
|
|
|
2393
|
-
# Logging configuration of the service.
|
|
2394
|
-
#
|
|
2395
|
-
#
|
|
2396
|
-
# log is sent to
|
|
2397
|
-
#
|
|
2398
|
-
#
|
|
2399
|
-
# -
|
|
2400
|
-
# labels:
|
|
2401
|
-
# -
|
|
2402
|
-
#
|
|
2403
|
-
#
|
|
2404
|
-
# description: The name of the branch.
|
|
2405
|
-
# logs:
|
|
2406
|
-
# - name: activity_history
|
|
2407
|
-
# labels:
|
|
2408
|
-
# - key: /customer_id
|
|
2409
|
-
# - name: purchase_history
|
|
2410
|
-
# logging:
|
|
2411
|
-
# producer_destinations:
|
|
2412
|
-
# - monitored_resource: library.googleapis.com/branch
|
|
2413
|
-
# logs:
|
|
2414
|
-
# - activity_history
|
|
2415
|
-
# - purchase_history
|
|
2416
|
-
# consumer_destinations:
|
|
2417
|
-
# - monitored_resource: library.googleapis.com/branch
|
|
2418
|
-
# logs:
|
|
2419
|
-
# - activity_history
|
|
2044
|
+
# Logging configuration of the service. The following example shows how to
|
|
2045
|
+
# configure logs to be sent to the producer and consumer projects. In the
|
|
2046
|
+
# example, the `activity_history` log is sent to both the producer and consumer
|
|
2047
|
+
# projects, whereas the `purchase_history` log is only sent to the producer
|
|
2048
|
+
# project. monitored_resources: - type: library.googleapis.com/branch labels: -
|
|
2049
|
+
# key: /city description: The city where the library branch is located in. - key:
|
|
2050
|
+
# /name description: The name of the branch. logs: - name: activity_history
|
|
2051
|
+
# labels: - key: /customer_id - name: purchase_history logging:
|
|
2052
|
+
# producer_destinations: - monitored_resource: library.googleapis.com/branch
|
|
2053
|
+
# logs: - activity_history - purchase_history consumer_destinations: -
|
|
2054
|
+
# monitored_resource: library.googleapis.com/branch logs: - activity_history
|
|
2420
2055
|
class Logging
|
|
2421
2056
|
include Google::Apis::Core::Hashable
|
|
2422
2057
|
|
|
2423
|
-
# Logging configurations for sending logs to the consumer project.
|
|
2424
|
-
#
|
|
2425
|
-
#
|
|
2426
|
-
# one consumer destination.
|
|
2058
|
+
# Logging configurations for sending logs to the consumer project. There can be
|
|
2059
|
+
# multiple consumer destinations, each one must have a different monitored
|
|
2060
|
+
# resource type. A log can be used in at most one consumer destination.
|
|
2427
2061
|
# Corresponds to the JSON property `consumerDestinations`
|
|
2428
2062
|
# @return [Array<Google::Apis::ServicemanagementV1::LoggingDestination>]
|
|
2429
2063
|
attr_accessor :consumer_destinations
|
|
2430
2064
|
|
|
2431
|
-
# Logging configurations for sending logs to the producer project.
|
|
2432
|
-
#
|
|
2433
|
-
#
|
|
2434
|
-
# one producer destination.
|
|
2065
|
+
# Logging configurations for sending logs to the producer project. There can be
|
|
2066
|
+
# multiple producer destinations, each one must have a different monitored
|
|
2067
|
+
# resource type. A log can be used in at most one producer destination.
|
|
2435
2068
|
# Corresponds to the JSON property `producerDestinations`
|
|
2436
2069
|
# @return [Array<Google::Apis::ServicemanagementV1::LoggingDestination>]
|
|
2437
2070
|
attr_accessor :producer_destinations
|
|
@@ -2447,21 +2080,20 @@ module Google
|
|
|
2447
2080
|
end
|
|
2448
2081
|
end
|
|
2449
2082
|
|
|
2450
|
-
# Configuration of a specific logging destination (the producer project
|
|
2451
|
-
#
|
|
2083
|
+
# Configuration of a specific logging destination (the producer project or the
|
|
2084
|
+
# consumer project).
|
|
2452
2085
|
class LoggingDestination
|
|
2453
2086
|
include Google::Apis::Core::Hashable
|
|
2454
2087
|
|
|
2455
|
-
# Names of the logs to be sent to this destination. Each name must
|
|
2456
|
-
#
|
|
2457
|
-
#
|
|
2458
|
-
# the service name followed by "/".
|
|
2088
|
+
# Names of the logs to be sent to this destination. Each name must be defined in
|
|
2089
|
+
# the Service.logs section. If the log name is not a domain scoped name, it will
|
|
2090
|
+
# be automatically prefixed with the service name followed by "/".
|
|
2459
2091
|
# Corresponds to the JSON property `logs`
|
|
2460
2092
|
# @return [Array<String>]
|
|
2461
2093
|
attr_accessor :logs
|
|
2462
2094
|
|
|
2463
|
-
# The monitored resource type. The type must be defined in the
|
|
2464
|
-
#
|
|
2095
|
+
# The monitored resource type. The type must be defined in the Service.
|
|
2096
|
+
# monitored_resources section.
|
|
2465
2097
|
# Corresponds to the JSON property `monitoredResource`
|
|
2466
2098
|
# @return [String]
|
|
2467
2099
|
attr_accessor :monitored_resource
|
|
@@ -2477,8 +2109,8 @@ module Google
|
|
|
2477
2109
|
end
|
|
2478
2110
|
end
|
|
2479
2111
|
|
|
2480
|
-
# The full representation of a Service that is managed by
|
|
2481
|
-
#
|
|
2112
|
+
# The full representation of a Service that is managed by Google Service
|
|
2113
|
+
# Management.
|
|
2482
2114
|
class ManagedService
|
|
2483
2115
|
include Google::Apis::Core::Hashable
|
|
2484
2116
|
|
|
@@ -2487,8 +2119,8 @@ module Google
|
|
|
2487
2119
|
# @return [String]
|
|
2488
2120
|
attr_accessor :producer_project_id
|
|
2489
2121
|
|
|
2490
|
-
# The name of the service. See the [overview](/service-management/overview)
|
|
2491
|
-
#
|
|
2122
|
+
# The name of the service. See the [overview](/service-management/overview) for
|
|
2123
|
+
# naming requirements.
|
|
2492
2124
|
# Corresponds to the JSON property `serviceName`
|
|
2493
2125
|
# @return [String]
|
|
2494
2126
|
attr_accessor :service_name
|
|
@@ -2564,15 +2196,6 @@ module Google
|
|
|
2564
2196
|
# Defines a metric type and its schema. Once a metric descriptor is created,
|
|
2565
2197
|
# deleting or altering it stops data collection and makes the metric type's
|
|
2566
2198
|
# existing data unusable.
|
|
2567
|
-
# The following are specific rules for service defined Monitoring metric
|
|
2568
|
-
# descriptors:
|
|
2569
|
-
# * `type`, `metric_kind`, `value_type` and `description`
|
|
2570
|
-
# fields are all required. The `unit` field must be specified
|
|
2571
|
-
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
|
|
2572
|
-
# * Maximum of default 500 metric descriptors per service is allowed.
|
|
2573
|
-
# * Maximum of default 10 labels per metric descriptor is allowed.
|
|
2574
|
-
# The default maximum limit can be overridden. Please follow
|
|
2575
|
-
# https://cloud.google.com/monitoring/quotas
|
|
2576
2199
|
class MetricDescriptor
|
|
2577
2200
|
include Google::Apis::Core::Hashable
|
|
2578
2201
|
|
|
@@ -2581,25 +2204,18 @@ module Google
|
|
|
2581
2204
|
# @return [String]
|
|
2582
2205
|
attr_accessor :description
|
|
2583
2206
|
|
|
2584
|
-
# A concise name for the metric, which can be displayed in user interfaces.
|
|
2585
|
-
#
|
|
2586
|
-
#
|
|
2587
|
-
#
|
|
2207
|
+
# A concise name for the metric, which can be displayed in user interfaces. Use
|
|
2208
|
+
# sentence case without an ending period, for example "Request count". This
|
|
2209
|
+
# field is optional but it is recommended to be set for any metrics associated
|
|
2210
|
+
# with user-visible concepts, such as Quota.
|
|
2588
2211
|
# Corresponds to the JSON property `displayName`
|
|
2589
2212
|
# @return [String]
|
|
2590
2213
|
attr_accessor :display_name
|
|
2591
2214
|
|
|
2592
|
-
# The set of labels that can be used to describe a specific
|
|
2593
|
-
#
|
|
2594
|
-
#
|
|
2595
|
-
#
|
|
2596
|
-
# allowed.
|
|
2597
|
-
# * Label name must start with a letter or digit.
|
|
2598
|
-
# * The maximum length of a label name is 100 characters.
|
|
2599
|
-
# For example, the
|
|
2600
|
-
# `appengine.googleapis.com/http/server/response_latencies` metric
|
|
2601
|
-
# type has a label for the HTTP response code, `response_code`, so
|
|
2602
|
-
# you can look at latencies for successful responses or just
|
|
2215
|
+
# The set of labels that can be used to describe a specific instance of this
|
|
2216
|
+
# metric type. For example, the `appengine.googleapis.com/http/server/
|
|
2217
|
+
# response_latencies` metric type has a label for the HTTP response code, `
|
|
2218
|
+
# response_code`, so you can look at latencies for successful responses or just
|
|
2603
2219
|
# for responses that failed.
|
|
2604
2220
|
# Corresponds to the JSON property `labels`
|
|
2605
2221
|
# @return [Array<Google::Apis::ServicemanagementV1::LabelDescriptor>]
|
|
@@ -2615,17 +2231,16 @@ module Google
|
|
|
2615
2231
|
# @return [Google::Apis::ServicemanagementV1::MetricDescriptorMetadata]
|
|
2616
2232
|
attr_accessor :metadata
|
|
2617
2233
|
|
|
2618
|
-
# Whether the metric records instantaneous values, changes to a value, etc.
|
|
2619
|
-
#
|
|
2234
|
+
# Whether the metric records instantaneous values, changes to a value, etc. Some
|
|
2235
|
+
# combinations of `metric_kind` and `value_type` might not be supported.
|
|
2620
2236
|
# Corresponds to the JSON property `metricKind`
|
|
2621
2237
|
# @return [String]
|
|
2622
2238
|
attr_accessor :metric_kind
|
|
2623
2239
|
|
|
2624
|
-
# Read-only. If present, then a time
|
|
2625
|
-
#
|
|
2626
|
-
#
|
|
2627
|
-
#
|
|
2628
|
-
# resource types listed here.
|
|
2240
|
+
# Read-only. If present, then a time series, which is identified partially by a
|
|
2241
|
+
# metric type and a MonitoredResourceDescriptor, that is associated with this
|
|
2242
|
+
# metric type can only be associated with one of the monitored resource types
|
|
2243
|
+
# listed here.
|
|
2629
2244
|
# Corresponds to the JSON property `monitoredResourceTypes`
|
|
2630
2245
|
# @return [Array<String>]
|
|
2631
2246
|
attr_accessor :monitored_resource_types
|
|
@@ -2635,116 +2250,68 @@ module Google
|
|
|
2635
2250
|
# @return [String]
|
|
2636
2251
|
attr_accessor :name
|
|
2637
2252
|
|
|
2638
|
-
# The metric type, including its DNS name prefix. The type is not
|
|
2639
|
-
#
|
|
2640
|
-
#
|
|
2641
|
-
#
|
|
2642
|
-
#
|
|
2643
|
-
#
|
|
2644
|
-
# * Only upper and lower-case letters, digits, '/' and underscores '_' are
|
|
2645
|
-
# allowed.
|
|
2646
|
-
# * The maximum number of characters allowed for the relative_metric_name is
|
|
2647
|
-
# 100.
|
|
2648
|
-
# All user-defined metric types have the DNS name
|
|
2649
|
-
# `custom.googleapis.com`, `external.googleapis.com`, or
|
|
2650
|
-
# `logging.googleapis.com/user/`.
|
|
2651
|
-
# Metric types should use a natural hierarchical grouping. For example:
|
|
2652
|
-
# "custom.googleapis.com/invoice/paid/amount"
|
|
2653
|
-
# "external.googleapis.com/prometheus/up"
|
|
2654
|
-
# "appengine.googleapis.com/http/server/response_latencies"
|
|
2253
|
+
# The metric type, including its DNS name prefix. The type is not URL-encoded.
|
|
2254
|
+
# All user-defined metric types have the DNS name `custom.googleapis.com` or `
|
|
2255
|
+
# external.googleapis.com`. Metric types should use a natural hierarchical
|
|
2256
|
+
# grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.
|
|
2257
|
+
# googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/
|
|
2258
|
+
# response_latencies"
|
|
2655
2259
|
# Corresponds to the JSON property `type`
|
|
2656
2260
|
# @return [String]
|
|
2657
2261
|
attr_accessor :type
|
|
2658
2262
|
|
|
2659
|
-
# The units in which the metric value is reported. It is only applicable
|
|
2660
|
-
#
|
|
2661
|
-
#
|
|
2662
|
-
#
|
|
2663
|
-
# value of `
|
|
2664
|
-
#
|
|
2665
|
-
#
|
|
2666
|
-
#
|
|
2667
|
-
#
|
|
2668
|
-
#
|
|
2669
|
-
# `
|
|
2670
|
-
#
|
|
2671
|
-
#
|
|
2672
|
-
#
|
|
2673
|
-
#
|
|
2674
|
-
#
|
|
2675
|
-
#
|
|
2676
|
-
#
|
|
2677
|
-
#
|
|
2678
|
-
# * `
|
|
2679
|
-
# * `
|
|
2680
|
-
# * `
|
|
2681
|
-
# * `
|
|
2682
|
-
# * `
|
|
2683
|
-
#
|
|
2684
|
-
#
|
|
2685
|
-
#
|
|
2686
|
-
#
|
|
2687
|
-
#
|
|
2688
|
-
#
|
|
2689
|
-
# * `
|
|
2690
|
-
#
|
|
2691
|
-
# * `
|
|
2692
|
-
#
|
|
2693
|
-
# * `
|
|
2694
|
-
#
|
|
2695
|
-
#
|
|
2696
|
-
#
|
|
2697
|
-
#
|
|
2698
|
-
#
|
|
2699
|
-
# *
|
|
2700
|
-
#
|
|
2701
|
-
#
|
|
2702
|
-
# * `
|
|
2703
|
-
#
|
|
2704
|
-
#
|
|
2705
|
-
# * `Ti` tebi (2^40)
|
|
2706
|
-
# * `Pi` pebi (2^50)
|
|
2707
|
-
# **Grammar**
|
|
2708
|
-
# The grammar also includes these connectors:
|
|
2709
|
-
# * `/` division or ratio (as an infix operator). For examples,
|
|
2710
|
-
# `kBy/`email`` or `MiBy/10ms` (although you should almost never
|
|
2711
|
-
# have `/s` in a metric `unit`; rates should always be computed at
|
|
2712
|
-
# query time from the underlying cumulative or delta value).
|
|
2713
|
-
# * `.` multiplication or composition (as an infix operator). For
|
|
2714
|
-
# examples, `GBy.d` or `k`watt`.h`.
|
|
2715
|
-
# The grammar for a unit is as follows:
|
|
2716
|
-
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
|
2717
|
-
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
|
2718
|
-
# | Annotation
|
|
2719
|
-
# | "1"
|
|
2720
|
-
# ;
|
|
2721
|
-
# Annotation = "`" NAME "`" ;
|
|
2722
|
-
# Notes:
|
|
2723
|
-
# * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
|
|
2724
|
-
# is used alone, then the unit is equivalent to `1`. For examples,
|
|
2725
|
-
# ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
|
|
2726
|
-
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
|
2727
|
-
# containing ``` or ```.
|
|
2728
|
-
# * `1` represents a unitary [dimensionless
|
|
2729
|
-
# unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
|
|
2730
|
-
# as in `1/s`. It is typically used when none of the basic units are
|
|
2731
|
-
# appropriate. For example, "new users per day" can be represented as
|
|
2732
|
-
# `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
|
|
2733
|
-
# users). Alternatively, "thousands of page views per day" would be
|
|
2734
|
-
# represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
|
|
2735
|
-
# value of `5.3` would mean "5300 page views per day").
|
|
2736
|
-
# * `%` represents dimensionless value of 1/100, and annotates values giving
|
|
2737
|
-
# a percentage (so the metric values are typically in the range of 0..100,
|
|
2738
|
-
# and a metric value `3` means "3 percent").
|
|
2739
|
-
# * `10^2.%` indicates a metric contains a ratio, typically in the range
|
|
2740
|
-
# 0..1, that will be multiplied by 100 and displayed as a percentage
|
|
2741
|
-
# (so a metric value `0.03` means "3 percent").
|
|
2263
|
+
# The units in which the metric value is reported. It is only applicable if the `
|
|
2264
|
+
# value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the
|
|
2265
|
+
# representation of the stored metric values. Different systems may scale the
|
|
2266
|
+
# values to be more easily displayed (so a value of `0.02KBy` _might_ be
|
|
2267
|
+
# displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`)
|
|
2268
|
+
# . However, if the `unit` is `KBy`, then the value of the metric is always in
|
|
2269
|
+
# thousands of bytes, no matter how it may be displayed.. If you want a custom
|
|
2270
|
+
# metric to record the exact number of CPU-seconds used by a job, you can create
|
|
2271
|
+
# an `INT64 CUMULATIVE` metric whose `unit` is `s`CPU`` (or equivalently `1s`CPU`
|
|
2272
|
+
# ` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written
|
|
2273
|
+
# as `12005`. Alternatively, if you want a custom metric to record data in a
|
|
2274
|
+
# more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
|
|
2275
|
+
# `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), or use `
|
|
2276
|
+
# Kis`CPU`` and write `11.723` (which is `12005/1024`). The supported units are
|
|
2277
|
+
# a subset of [The Unified Code for Units of Measure](http://unitsofmeasure.org/
|
|
2278
|
+
# ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s`
|
|
2279
|
+
# second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (
|
|
2280
|
+
# PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^
|
|
2281
|
+
# 12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^
|
|
2282
|
+
# 24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-
|
|
2283
|
+
# 12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (
|
|
2284
|
+
# 10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (
|
|
2285
|
+
# 2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these
|
|
2286
|
+
# connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/
|
|
2287
|
+
# `email`` or `MiBy/10ms` (although you should almost never have `/s` in a
|
|
2288
|
+
# metric `unit`; rates should always be computed at query time from the
|
|
2289
|
+
# underlying cumulative or delta value). * `.` multiplication or composition (as
|
|
2290
|
+
# an infix operator). For examples, `GBy.d` or `k`watt`.h`. The grammar for a
|
|
2291
|
+
# unit is as follows: Expression = Component ` "." Component ` ` "/" Component `
|
|
2292
|
+
# ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ;
|
|
2293
|
+
# Annotation = "`" NAME "`" ; Notes: * `Annotation` is just a comment if it
|
|
2294
|
+
# follows a `UNIT`. If the annotation is used alone, then the unit is equivalent
|
|
2295
|
+
# to `1`. For examples, ``request`/s == 1/s`, `By`transmitted`/s == By/s`. * `
|
|
2296
|
+
# NAME` is a sequence of non-blank printable ASCII characters not containing ```
|
|
2297
|
+
# or ```. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.
|
|
2298
|
+
# org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used
|
|
2299
|
+
# when none of the basic units are appropriate. For example, "new users per day"
|
|
2300
|
+
# can be represented as `1/d` or ``new-users`/d` (and a metric value `5` would
|
|
2301
|
+
# mean "5 new users). Alternatively, "thousands of page views per day" would be
|
|
2302
|
+
# represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric value of `
|
|
2303
|
+
# 5.3` would mean "5300 page views per day"). * `%` represents dimensionless
|
|
2304
|
+
# value of 1/100, and annotates values giving a percentage (so the metric values
|
|
2305
|
+
# are typically in the range of 0..100, and a metric value `3` means "3 percent")
|
|
2306
|
+
# . * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1,
|
|
2307
|
+
# that will be multiplied by 100 and displayed as a percentage (so a metric
|
|
2308
|
+
# value `0.03` means "3 percent").
|
|
2742
2309
|
# Corresponds to the JSON property `unit`
|
|
2743
2310
|
# @return [String]
|
|
2744
2311
|
attr_accessor :unit
|
|
2745
2312
|
|
|
2746
|
-
# Whether the measurement is an integer, a floating-point number, etc.
|
|
2747
|
-
#
|
|
2313
|
+
# Whether the measurement is an integer, a floating-point number, etc. Some
|
|
2314
|
+
# combinations of `metric_kind` and `value_type` might not be supported.
|
|
2748
2315
|
# Corresponds to the JSON property `valueType`
|
|
2749
2316
|
# @return [String]
|
|
2750
2317
|
attr_accessor :value_type
|
|
@@ -2773,9 +2340,9 @@ module Google
|
|
|
2773
2340
|
class MetricDescriptorMetadata
|
|
2774
2341
|
include Google::Apis::Core::Hashable
|
|
2775
2342
|
|
|
2776
|
-
# The delay of data points caused by ingestion. Data points older than this
|
|
2777
|
-
#
|
|
2778
|
-
#
|
|
2343
|
+
# The delay of data points caused by ingestion. Data points older than this age
|
|
2344
|
+
# are guaranteed to be ingested and available to be read, excluding data loss
|
|
2345
|
+
# due to errors.
|
|
2779
2346
|
# Corresponds to the JSON property `ingestDelay`
|
|
2780
2347
|
# @return [String]
|
|
2781
2348
|
attr_accessor :ingest_delay
|
|
@@ -2787,8 +2354,8 @@ module Google
|
|
|
2787
2354
|
|
|
2788
2355
|
# The sampling period of metric data points. For metrics which are written
|
|
2789
2356
|
# periodically, consecutive data points are stored at this time interval,
|
|
2790
|
-
# excluding data loss due to errors. Metrics with a higher granularity have
|
|
2791
|
-
#
|
|
2357
|
+
# excluding data loss due to errors. Metrics with a higher granularity have a
|
|
2358
|
+
# smaller sampling period.
|
|
2792
2359
|
# Corresponds to the JSON property `samplePeriod`
|
|
2793
2360
|
# @return [String]
|
|
2794
2361
|
attr_accessor :sample_period
|
|
@@ -2805,22 +2372,21 @@ module Google
|
|
|
2805
2372
|
end
|
|
2806
2373
|
end
|
|
2807
2374
|
|
|
2808
|
-
# Bind API methods to metrics. Binding a method to a metric causes that
|
|
2809
|
-
#
|
|
2375
|
+
# Bind API methods to metrics. Binding a method to a metric causes that metric's
|
|
2376
|
+
# configured quota behaviors to apply to the method call.
|
|
2810
2377
|
class MetricRule
|
|
2811
2378
|
include Google::Apis::Core::Hashable
|
|
2812
2379
|
|
|
2813
2380
|
# Metrics to update when the selected methods are called, and the associated
|
|
2814
|
-
# cost applied to each metric.
|
|
2815
|
-
#
|
|
2816
|
-
#
|
|
2817
|
-
# The value must not be negative.
|
|
2381
|
+
# cost applied to each metric. The key of the map is the metric name, and the
|
|
2382
|
+
# values are the amount increased for the metric against which the quota limits
|
|
2383
|
+
# are defined. The value must not be negative.
|
|
2818
2384
|
# Corresponds to the JSON property `metricCosts`
|
|
2819
2385
|
# @return [Hash<String,Fixnum>]
|
|
2820
2386
|
attr_accessor :metric_costs
|
|
2821
2387
|
|
|
2822
|
-
# Selects the methods to which this rule applies.
|
|
2823
|
-
#
|
|
2388
|
+
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
2389
|
+
# details.
|
|
2824
2390
|
# Corresponds to the JSON property `selector`
|
|
2825
2391
|
# @return [String]
|
|
2826
2392
|
attr_accessor :selector
|
|
@@ -2838,66 +2404,33 @@ module Google
|
|
|
2838
2404
|
|
|
2839
2405
|
# Declares an API Interface to be included in this interface. The including
|
|
2840
2406
|
# interface must redeclare all the methods from the included interface, but
|
|
2841
|
-
# documentation and options are inherited as follows:
|
|
2842
|
-
#
|
|
2843
|
-
#
|
|
2844
|
-
#
|
|
2845
|
-
#
|
|
2846
|
-
#
|
|
2847
|
-
#
|
|
2848
|
-
#
|
|
2849
|
-
#
|
|
2850
|
-
#
|
|
2851
|
-
#
|
|
2852
|
-
#
|
|
2853
|
-
#
|
|
2854
|
-
#
|
|
2855
|
-
#
|
|
2856
|
-
#
|
|
2857
|
-
#
|
|
2858
|
-
# `
|
|
2859
|
-
# `
|
|
2860
|
-
#
|
|
2861
|
-
#
|
|
2862
|
-
#
|
|
2863
|
-
#
|
|
2864
|
-
#
|
|
2865
|
-
#
|
|
2866
|
-
# `
|
|
2867
|
-
# `
|
|
2868
|
-
# Example of a mixin configuration:
|
|
2869
|
-
# apis:
|
|
2870
|
-
# - name: google.storage.v2.Storage
|
|
2871
|
-
# mixins:
|
|
2872
|
-
# - name: google.acl.v1.AccessControl
|
|
2873
|
-
# The mixin construct implies that all methods in `AccessControl` are
|
|
2874
|
-
# also declared with same name and request/response types in
|
|
2875
|
-
# `Storage`. A documentation generator or annotation processor will
|
|
2876
|
-
# see the effective `Storage.GetAcl` method after inherting
|
|
2877
|
-
# documentation and annotations as follows:
|
|
2878
|
-
# service Storage `
|
|
2879
|
-
# // Get the underlying ACL object.
|
|
2880
|
-
# rpc GetAcl(GetAclRequest) returns (Acl) `
|
|
2881
|
-
# option (google.api.http).get = "/v2/`resource=**`:getAcl";
|
|
2882
|
-
# `
|
|
2883
|
-
# ...
|
|
2884
|
-
# `
|
|
2885
|
-
# Note how the version in the path pattern changed from `v1` to `v2`.
|
|
2886
|
-
# If the `root` field in the mixin is specified, it should be a
|
|
2887
|
-
# relative path under which inherited HTTP paths are placed. Example:
|
|
2888
|
-
# apis:
|
|
2889
|
-
# - name: google.storage.v2.Storage
|
|
2890
|
-
# mixins:
|
|
2891
|
-
# - name: google.acl.v1.AccessControl
|
|
2892
|
-
# root: acls
|
|
2893
|
-
# This implies the following inherited HTTP annotation:
|
|
2894
|
-
# service Storage `
|
|
2895
|
-
# // Get the underlying ACL object.
|
|
2896
|
-
# rpc GetAcl(GetAclRequest) returns (Acl) `
|
|
2897
|
-
# option (google.api.http).get = "/v2/acls/`resource=**`:getAcl";
|
|
2898
|
-
# `
|
|
2899
|
-
# ...
|
|
2900
|
-
# `
|
|
2407
|
+
# documentation and options are inherited as follows: - If after comment and
|
|
2408
|
+
# whitespace stripping, the documentation string of the redeclared method is
|
|
2409
|
+
# empty, it will be inherited from the original method. - Each annotation
|
|
2410
|
+
# belonging to the service config (http, visibility) which is not set in the
|
|
2411
|
+
# redeclared method will be inherited. - If an http annotation is inherited, the
|
|
2412
|
+
# path pattern will be modified as follows. Any version prefix will be replaced
|
|
2413
|
+
# by the version of the including interface plus the root path if specified.
|
|
2414
|
+
# Example of a simple mixin: package google.acl.v1; service AccessControl ` //
|
|
2415
|
+
# Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) `
|
|
2416
|
+
# option (google.api.http).get = "/v1/`resource=**`:getAcl"; ` ` package google.
|
|
2417
|
+
# storage.v2; service Storage ` // rpc GetAcl(GetAclRequest) returns (Acl); //
|
|
2418
|
+
# Get a data record. rpc GetData(GetDataRequest) returns (Data) ` option (google.
|
|
2419
|
+
# api.http).get = "/v2/`resource=**`"; ` ` Example of a mixin configuration:
|
|
2420
|
+
# apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.
|
|
2421
|
+
# AccessControl The mixin construct implies that all methods in `AccessControl`
|
|
2422
|
+
# are also declared with same name and request/response types in `Storage`. A
|
|
2423
|
+
# documentation generator or annotation processor will see the effective `
|
|
2424
|
+
# Storage.GetAcl` method after inheriting documentation and annotations as
|
|
2425
|
+
# follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
|
|
2426
|
+
# GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
|
|
2427
|
+
# `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
|
|
2428
|
+
# to `v2`. If the `root` field in the mixin is specified, it should be a
|
|
2429
|
+
# relative path under which inherited HTTP paths are placed. Example: apis: -
|
|
2430
|
+
# name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl
|
|
2431
|
+
# root: acls This implies the following inherited HTTP annotation: service
|
|
2432
|
+
# Storage ` // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (
|
|
2433
|
+
# Acl) ` option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; ` ... `
|
|
2901
2434
|
class Mixin
|
|
2902
2435
|
include Google::Apis::Core::Hashable
|
|
2903
2436
|
|
|
@@ -2906,8 +2439,7 @@ module Google
|
|
|
2906
2439
|
# @return [String]
|
|
2907
2440
|
attr_accessor :name
|
|
2908
2441
|
|
|
2909
|
-
# If non-empty specifies a path under which inherited HTTP paths
|
|
2910
|
-
# are rooted.
|
|
2442
|
+
# If non-empty specifies a path under which inherited HTTP paths are rooted.
|
|
2911
2443
|
# Corresponds to the JSON property `root`
|
|
2912
2444
|
# @return [String]
|
|
2913
2445
|
attr_accessor :root
|
|
@@ -2923,51 +2455,32 @@ module Google
|
|
|
2923
2455
|
end
|
|
2924
2456
|
end
|
|
2925
2457
|
|
|
2926
|
-
# An object that describes the schema of a MonitoredResource object using a
|
|
2927
|
-
#
|
|
2928
|
-
#
|
|
2929
|
-
#
|
|
2930
|
-
#
|
|
2931
|
-
#
|
|
2932
|
-
#
|
|
2933
|
-
# Monitoring and Logging:
|
|
2934
|
-
# * The `type`, `display_name`, `description`, `labels` and `launch_stage`
|
|
2935
|
-
# fields are all required.
|
|
2936
|
-
# * The first label of the monitored resource descriptor must be
|
|
2937
|
-
# `resource_container`. There are legacy monitored resource descritptors
|
|
2938
|
-
# start with `project_id`.
|
|
2939
|
-
# * It must include a `location` label.
|
|
2940
|
-
# * Maximum of default 5 service defined monitored resource descriptors
|
|
2941
|
-
# is allowed per service.
|
|
2942
|
-
# * Maximum of default 10 labels per monitored resource is allowed.
|
|
2943
|
-
# The default maximum limit can be overridden. Please follow
|
|
2944
|
-
# https://cloud.google.com/monitoring/quotas
|
|
2458
|
+
# An object that describes the schema of a MonitoredResource object using a type
|
|
2459
|
+
# name and a set of labels. For example, the monitored resource descriptor for
|
|
2460
|
+
# Google Compute Engine VM instances has a type of `"gce_instance"` and
|
|
2461
|
+
# specifies the use of the labels `"instance_id"` and `"zone"` to identify
|
|
2462
|
+
# particular VM instances. Different APIs can support different monitored
|
|
2463
|
+
# resource types. APIs generally provide a `list` method that returns the
|
|
2464
|
+
# monitored resource descriptors used by the API.
|
|
2945
2465
|
class MonitoredResourceDescriptor
|
|
2946
2466
|
include Google::Apis::Core::Hashable
|
|
2947
2467
|
|
|
2948
|
-
# Optional. A detailed description of the monitored resource type that might
|
|
2949
|
-
#
|
|
2468
|
+
# Optional. A detailed description of the monitored resource type that might be
|
|
2469
|
+
# used in documentation.
|
|
2950
2470
|
# Corresponds to the JSON property `description`
|
|
2951
2471
|
# @return [String]
|
|
2952
2472
|
attr_accessor :description
|
|
2953
2473
|
|
|
2954
2474
|
# Optional. A concise name for the monitored resource type that might be
|
|
2955
|
-
# displayed in user interfaces. It should be a Title Cased Noun Phrase,
|
|
2956
|
-
#
|
|
2957
|
-
# `"Google Cloud SQL Database"`.
|
|
2475
|
+
# displayed in user interfaces. It should be a Title Cased Noun Phrase, without
|
|
2476
|
+
# any article or other determiners. For example, `"Google Cloud SQL Database"`.
|
|
2958
2477
|
# Corresponds to the JSON property `displayName`
|
|
2959
2478
|
# @return [String]
|
|
2960
2479
|
attr_accessor :display_name
|
|
2961
2480
|
|
|
2962
2481
|
# Required. A set of labels used to describe instances of this monitored
|
|
2963
|
-
# resource type.
|
|
2964
|
-
#
|
|
2965
|
-
# * Only upper and lower-case letters, digits and underscores (_) are
|
|
2966
|
-
# allowed.
|
|
2967
|
-
# * Label name must start with a letter or digit.
|
|
2968
|
-
# * The maximum length of a label name is 100 characters.
|
|
2969
|
-
# For example, an individual Google Cloud SQL database is
|
|
2970
|
-
# identified by values for the labels `database_id` and `location`.
|
|
2482
|
+
# resource type. For example, an individual Google Cloud SQL database is
|
|
2483
|
+
# identified by values for the labels `"database_id"` and `"zone"`.
|
|
2971
2484
|
# Corresponds to the JSON property `labels`
|
|
2972
2485
|
# @return [Array<Google::Apis::ServicemanagementV1::LabelDescriptor>]
|
|
2973
2486
|
attr_accessor :labels
|
|
@@ -2977,27 +2490,18 @@ module Google
|
|
|
2977
2490
|
# @return [String]
|
|
2978
2491
|
attr_accessor :launch_stage
|
|
2979
2492
|
|
|
2980
|
-
# Optional. The resource name of the monitored resource descriptor:
|
|
2981
|
-
#
|
|
2982
|
-
# `type`
|
|
2983
|
-
#
|
|
2984
|
-
#
|
|
2985
|
-
#
|
|
2493
|
+
# Optional. The resource name of the monitored resource descriptor: `"projects/`
|
|
2494
|
+
# project_id`/monitoredResourceDescriptors/`type`"` where `type` is the value of
|
|
2495
|
+
# the `type` field in this object and `project_id` is a project ID that provides
|
|
2496
|
+
# API-specific context for accessing the type. APIs that do not use project
|
|
2497
|
+
# information can use the resource name format `"monitoredResourceDescriptors/`
|
|
2498
|
+
# type`"`.
|
|
2986
2499
|
# Corresponds to the JSON property `name`
|
|
2987
2500
|
# @return [String]
|
|
2988
2501
|
attr_accessor :name
|
|
2989
2502
|
|
|
2990
|
-
# Required. The monitored resource type. For example, the type
|
|
2991
|
-
#
|
|
2992
|
-
# All service defined monitored resource types must be prefixed with the
|
|
2993
|
-
# service name, in the format of ``service name`/`relative resource name``.
|
|
2994
|
-
# The relative resource name must follow:
|
|
2995
|
-
# * Only upper and lower-case letters and digits are allowed.
|
|
2996
|
-
# * It must start with upper case character and is recommended to use Upper
|
|
2997
|
-
# Camel Case style.
|
|
2998
|
-
# * The maximum number of characters allowed for the relative_resource_name
|
|
2999
|
-
# is 100.
|
|
3000
|
-
# Note there are legacy service monitored resources not following this rule.
|
|
2503
|
+
# Required. The monitored resource type. For example, the type `"
|
|
2504
|
+
# cloudsql_database"` represents databases in Google Cloud SQL.
|
|
3001
2505
|
# Corresponds to the JSON property `type`
|
|
3002
2506
|
# @return [String]
|
|
3003
2507
|
attr_accessor :type
|
|
@@ -3017,75 +2521,47 @@ module Google
|
|
|
3017
2521
|
end
|
|
3018
2522
|
end
|
|
3019
2523
|
|
|
3020
|
-
# Monitoring configuration of the service.
|
|
3021
|
-
#
|
|
3022
|
-
#
|
|
3023
|
-
#
|
|
3024
|
-
#
|
|
3025
|
-
#
|
|
3026
|
-
#
|
|
3027
|
-
#
|
|
3028
|
-
# -
|
|
3029
|
-
#
|
|
3030
|
-
#
|
|
3031
|
-
#
|
|
3032
|
-
#
|
|
3033
|
-
# - key:
|
|
3034
|
-
#
|
|
3035
|
-
#
|
|
3036
|
-
#
|
|
3037
|
-
#
|
|
3038
|
-
#
|
|
3039
|
-
#
|
|
3040
|
-
#
|
|
3041
|
-
#
|
|
3042
|
-
# description: "The count of books that have been returned."
|
|
3043
|
-
# launch_stage: GA
|
|
3044
|
-
# metric_kind: DELTA
|
|
3045
|
-
# value_type: INT64
|
|
3046
|
-
# unit: "1"
|
|
3047
|
-
# labels:
|
|
3048
|
-
# - key: customer_id
|
|
3049
|
-
# description: "The id of the customer."
|
|
3050
|
-
# - name: library.googleapis.com/book/num_overdue
|
|
3051
|
-
# display_name: "Books Overdue"
|
|
3052
|
-
# description: "The current number of overdue books."
|
|
3053
|
-
# launch_stage: GA
|
|
3054
|
-
# metric_kind: GAUGE
|
|
3055
|
-
# value_type: INT64
|
|
3056
|
-
# unit: "1"
|
|
3057
|
-
# labels:
|
|
3058
|
-
# - key: customer_id
|
|
3059
|
-
# description: "The id of the customer."
|
|
3060
|
-
# monitoring:
|
|
3061
|
-
# producer_destinations:
|
|
3062
|
-
# - monitored_resource: library.googleapis.com/Branch
|
|
3063
|
-
# metrics:
|
|
3064
|
-
# - library.googleapis.com/book/returned_count
|
|
3065
|
-
# consumer_destinations:
|
|
3066
|
-
# - monitored_resource: library.googleapis.com/Branch
|
|
3067
|
-
# metrics:
|
|
3068
|
-
# - library.googleapis.com/book/returned_count
|
|
3069
|
-
# - library.googleapis.com/book/num_overdue
|
|
2524
|
+
# Monitoring configuration of the service. The example below shows how to
|
|
2525
|
+
# configure monitored resources and metrics for monitoring. In the example, a
|
|
2526
|
+
# monitored resource and two metrics are defined. The `library.googleapis.com/
|
|
2527
|
+
# book/returned_count` metric is sent to both producer and consumer projects,
|
|
2528
|
+
# whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
|
|
2529
|
+
# the consumer project. monitored_resources: - type: library.googleapis.com/
|
|
2530
|
+
# Branch display_name: "Library Branch" description: "A branch of a library."
|
|
2531
|
+
# launch_stage: GA labels: - key: resource_container description: "The Cloud
|
|
2532
|
+
# container (ie. project id) for the Branch." - key: location description: "The
|
|
2533
|
+
# location of the library branch." - key: branch_id description: "The id of the
|
|
2534
|
+
# branch." metrics: - name: library.googleapis.com/book/returned_count
|
|
2535
|
+
# display_name: "Books Returned" description: "The count of books that have been
|
|
2536
|
+
# returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
|
|
2537
|
+
# labels: - key: customer_id description: "The id of the customer." - name:
|
|
2538
|
+
# library.googleapis.com/book/num_overdue display_name: "Books Overdue"
|
|
2539
|
+
# description: "The current number of overdue books." launch_stage: GA
|
|
2540
|
+
# metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
|
|
2541
|
+
# description: "The id of the customer." monitoring: producer_destinations: -
|
|
2542
|
+
# monitored_resource: library.googleapis.com/Branch metrics: - library.
|
|
2543
|
+
# googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
|
|
2544
|
+
# library.googleapis.com/Branch metrics: - library.googleapis.com/book/
|
|
2545
|
+
# returned_count - library.googleapis.com/book/num_overdue
|
|
3070
2546
|
class Monitoring
|
|
3071
2547
|
include Google::Apis::Core::Hashable
|
|
3072
2548
|
|
|
3073
|
-
# Monitoring configurations for sending metrics to the consumer project.
|
|
3074
|
-
#
|
|
3075
|
-
#
|
|
3076
|
-
#
|
|
3077
|
-
#
|
|
3078
|
-
#
|
|
2549
|
+
# Monitoring configurations for sending metrics to the consumer project. There
|
|
2550
|
+
# can be multiple consumer destinations. A monitored resource type may appear in
|
|
2551
|
+
# multiple monitoring destinations if different aggregations are needed for
|
|
2552
|
+
# different sets of metrics associated with that monitored resource type. A
|
|
2553
|
+
# monitored resource and metric pair may only be used once in the Monitoring
|
|
2554
|
+
# configuration.
|
|
3079
2555
|
# Corresponds to the JSON property `consumerDestinations`
|
|
3080
2556
|
# @return [Array<Google::Apis::ServicemanagementV1::MonitoringDestination>]
|
|
3081
2557
|
attr_accessor :consumer_destinations
|
|
3082
2558
|
|
|
3083
|
-
# Monitoring configurations for sending metrics to the producer project.
|
|
3084
|
-
#
|
|
3085
|
-
#
|
|
3086
|
-
#
|
|
3087
|
-
#
|
|
3088
|
-
#
|
|
2559
|
+
# Monitoring configurations for sending metrics to the producer project. There
|
|
2560
|
+
# can be multiple producer destinations. A monitored resource type may appear in
|
|
2561
|
+
# multiple monitoring destinations if different aggregations are needed for
|
|
2562
|
+
# different sets of metrics associated with that monitored resource type. A
|
|
2563
|
+
# monitored resource and metric pair may only be used once in the Monitoring
|
|
2564
|
+
# configuration.
|
|
3089
2565
|
# Corresponds to the JSON property `producerDestinations`
|
|
3090
2566
|
# @return [Array<Google::Apis::ServicemanagementV1::MonitoringDestination>]
|
|
3091
2567
|
attr_accessor :producer_destinations
|
|
@@ -3101,19 +2577,19 @@ module Google
|
|
|
3101
2577
|
end
|
|
3102
2578
|
end
|
|
3103
2579
|
|
|
3104
|
-
# Configuration of a specific monitoring destination (the producer project
|
|
3105
|
-
#
|
|
2580
|
+
# Configuration of a specific monitoring destination (the producer project or
|
|
2581
|
+
# the consumer project).
|
|
3106
2582
|
class MonitoringDestination
|
|
3107
2583
|
include Google::Apis::Core::Hashable
|
|
3108
2584
|
|
|
3109
|
-
# Types of the metrics to report to this monitoring destination.
|
|
3110
|
-
#
|
|
2585
|
+
# Types of the metrics to report to this monitoring destination. Each type must
|
|
2586
|
+
# be defined in Service.metrics section.
|
|
3111
2587
|
# Corresponds to the JSON property `metrics`
|
|
3112
2588
|
# @return [Array<String>]
|
|
3113
2589
|
attr_accessor :metrics
|
|
3114
2590
|
|
|
3115
|
-
# The monitored resource type. The type must be defined in
|
|
3116
|
-
#
|
|
2591
|
+
# The monitored resource type. The type must be defined in Service.
|
|
2592
|
+
# monitored_resources section.
|
|
3117
2593
|
# Corresponds to the JSON property `monitoredResource`
|
|
3118
2594
|
# @return [String]
|
|
3119
2595
|
attr_accessor :monitored_resource
|
|
@@ -3130,27 +2606,25 @@ module Google
|
|
|
3130
2606
|
end
|
|
3131
2607
|
|
|
3132
2608
|
# OAuth scopes are a way to define data and permissions on data. For example,
|
|
3133
|
-
# there are scopes defined for "Read-only access to Google Calendar" and
|
|
3134
|
-
#
|
|
3135
|
-
#
|
|
3136
|
-
#
|
|
3137
|
-
#
|
|
3138
|
-
#
|
|
3139
|
-
#
|
|
3140
|
-
#
|
|
3141
|
-
#
|
|
3142
|
-
#
|
|
3143
|
-
#
|
|
3144
|
-
#
|
|
3145
|
-
# due to the backend requiring additional scopes or permissions.
|
|
2609
|
+
# there are scopes defined for "Read-only access to Google Calendar" and "Access
|
|
2610
|
+
# to Cloud Platform". Users can consent to a scope for an application, giving it
|
|
2611
|
+
# permission to access that data on their behalf. OAuth scope specifications
|
|
2612
|
+
# should be fairly coarse grained; a user will need to see and understand the
|
|
2613
|
+
# text description of what your scope means. In most cases: use one or at most
|
|
2614
|
+
# two OAuth scopes for an entire family of products. If your product has
|
|
2615
|
+
# multiple APIs, you should probably be sharing the OAuth scope across all of
|
|
2616
|
+
# those APIs. When you need finer grained OAuth consent screens: talk with your
|
|
2617
|
+
# product management about how developers will use them in practice. Please note
|
|
2618
|
+
# that even though each of the canonical scopes is enough for a request to be
|
|
2619
|
+
# accepted and passed to the backend, a request can still fail due to the
|
|
2620
|
+
# backend requiring additional scopes or permissions.
|
|
3146
2621
|
class OAuthRequirements
|
|
3147
2622
|
include Google::Apis::Core::Hashable
|
|
3148
2623
|
|
|
3149
|
-
# The list of publicly documented OAuth scopes that are allowed access. An
|
|
3150
|
-
#
|
|
3151
|
-
#
|
|
3152
|
-
#
|
|
3153
|
-
# https://www.googleapis.com/auth/calendar.read
|
|
2624
|
+
# The list of publicly documented OAuth scopes that are allowed access. An OAuth
|
|
2625
|
+
# token containing any of these scopes will be accepted. Example:
|
|
2626
|
+
# canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.
|
|
2627
|
+
# googleapis.com/auth/calendar.read
|
|
3154
2628
|
# Corresponds to the JSON property `canonicalScopes`
|
|
3155
2629
|
# @return [String]
|
|
3156
2630
|
attr_accessor :canonical_scopes
|
|
@@ -3170,47 +2644,45 @@ module Google
|
|
|
3170
2644
|
class Operation
|
|
3171
2645
|
include Google::Apis::Core::Hashable
|
|
3172
2646
|
|
|
3173
|
-
# If the value is `false`, it means the operation is still in progress.
|
|
3174
|
-
#
|
|
3175
|
-
# available.
|
|
2647
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
2648
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
3176
2649
|
# Corresponds to the JSON property `done`
|
|
3177
2650
|
# @return [Boolean]
|
|
3178
2651
|
attr_accessor :done
|
|
3179
2652
|
alias_method :done?, :done
|
|
3180
2653
|
|
|
3181
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
3182
|
-
#
|
|
3183
|
-
#
|
|
3184
|
-
#
|
|
3185
|
-
#
|
|
3186
|
-
#
|
|
2654
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
2655
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2656
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
2657
|
+
# data: error code, error message, and error details. You can find out more
|
|
2658
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
2659
|
+
# //cloud.google.com/apis/design/errors).
|
|
3187
2660
|
# Corresponds to the JSON property `error`
|
|
3188
2661
|
# @return [Google::Apis::ServicemanagementV1::Status]
|
|
3189
2662
|
attr_accessor :error
|
|
3190
2663
|
|
|
3191
|
-
# Service-specific metadata associated with the operation.
|
|
3192
|
-
#
|
|
3193
|
-
#
|
|
3194
|
-
#
|
|
2664
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
2665
|
+
# progress information and common metadata such as create time. Some services
|
|
2666
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
2667
|
+
# operation should document the metadata type, if any.
|
|
3195
2668
|
# Corresponds to the JSON property `metadata`
|
|
3196
2669
|
# @return [Hash<String,Object>]
|
|
3197
2670
|
attr_accessor :metadata
|
|
3198
2671
|
|
|
3199
2672
|
# The server-assigned name, which is only unique within the same service that
|
|
3200
|
-
# originally returns it. If you use the default HTTP mapping, the
|
|
3201
|
-
#
|
|
2673
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
2674
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
3202
2675
|
# Corresponds to the JSON property `name`
|
|
3203
2676
|
# @return [String]
|
|
3204
2677
|
attr_accessor :name
|
|
3205
2678
|
|
|
3206
|
-
# The normal response of the operation in case of success.
|
|
3207
|
-
# method returns no data on success, such as `Delete`, the response is
|
|
3208
|
-
#
|
|
3209
|
-
#
|
|
3210
|
-
#
|
|
3211
|
-
#
|
|
3212
|
-
#
|
|
3213
|
-
# `TakeSnapshotResponse`.
|
|
2679
|
+
# The normal response of the operation in case of success. If the original
|
|
2680
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
|
2681
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
|
2682
|
+
# the response should be the resource. For other methods, the response should
|
|
2683
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
|
2684
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
|
2685
|
+
# response type is `TakeSnapshotResponse`.
|
|
3214
2686
|
# Corresponds to the JSON property `response`
|
|
3215
2687
|
# @return [Hash<String,Object>]
|
|
3216
2688
|
attr_accessor :response
|
|
@@ -3238,8 +2710,7 @@ module Google
|
|
|
3238
2710
|
# @return [Fixnum]
|
|
3239
2711
|
attr_accessor :progress_percentage
|
|
3240
2712
|
|
|
3241
|
-
# The full name of the resources that this operation is directly
|
|
3242
|
-
# associated with.
|
|
2713
|
+
# The full name of the resources that this operation is directly associated with.
|
|
3243
2714
|
# Corresponds to the JSON property `resourceNames`
|
|
3244
2715
|
# @return [Array<String>]
|
|
3245
2716
|
attr_accessor :resource_names
|
|
@@ -3273,17 +2744,17 @@ module Google
|
|
|
3273
2744
|
include Google::Apis::Core::Hashable
|
|
3274
2745
|
|
|
3275
2746
|
# The option's name. For protobuf built-in options (options defined in
|
|
3276
|
-
# descriptor.proto), this is the short name. For example, `"map_entry"`.
|
|
3277
|
-
#
|
|
3278
|
-
#
|
|
2747
|
+
# descriptor.proto), this is the short name. For example, `"map_entry"`. For
|
|
2748
|
+
# custom options, it should be the fully-qualified name. For example, `"google.
|
|
2749
|
+
# api.http"`.
|
|
3279
2750
|
# Corresponds to the JSON property `name`
|
|
3280
2751
|
# @return [String]
|
|
3281
2752
|
attr_accessor :name
|
|
3282
2753
|
|
|
3283
|
-
# The option's value packed in an Any message. If the value is a primitive,
|
|
3284
|
-
#
|
|
3285
|
-
#
|
|
3286
|
-
#
|
|
2754
|
+
# The option's value packed in an Any message. If the value is a primitive, the
|
|
2755
|
+
# corresponding wrapper type defined in google/protobuf/wrappers.proto should be
|
|
2756
|
+
# used. If the value is an enum, it should be stored as an int32 value using the
|
|
2757
|
+
# google.protobuf.Int32Value type.
|
|
3287
2758
|
# Corresponds to the JSON property `value`
|
|
3288
2759
|
# @return [Hash<String,Object>]
|
|
3289
2760
|
attr_accessor :value
|
|
@@ -3304,32 +2775,25 @@ module Google
|
|
|
3304
2775
|
class Page
|
|
3305
2776
|
include Google::Apis::Core::Hashable
|
|
3306
2777
|
|
|
3307
|
-
# The Markdown content of the page. You can use
|
|
3308
|
-
#
|
|
2778
|
+
# The Markdown content of the page. You can use (== include `path` ==) to
|
|
2779
|
+
# include content from a Markdown file.
|
|
3309
2780
|
# Corresponds to the JSON property `content`
|
|
3310
2781
|
# @return [String]
|
|
3311
2782
|
attr_accessor :content
|
|
3312
2783
|
|
|
3313
|
-
# The name of the page. It will be used as an identity of the page to
|
|
3314
|
-
#
|
|
3315
|
-
#
|
|
3316
|
-
#
|
|
3317
|
-
#
|
|
3318
|
-
#
|
|
3319
|
-
#
|
|
3320
|
-
# content: (== include tutorial.md ==)
|
|
3321
|
-
# subpages:
|
|
3322
|
-
# - name: Java
|
|
3323
|
-
# content: (== include tutorial_java.md ==)
|
|
3324
|
-
# </code></pre>
|
|
3325
|
-
# You can reference `Java` page using Markdown reference link syntax:
|
|
3326
|
-
# `Java`.
|
|
2784
|
+
# The name of the page. It will be used as an identity of the page to generate
|
|
2785
|
+
# URI of the page, text of the link to this page in navigation, etc. The full
|
|
2786
|
+
# page name (start from the root page name to this page concatenated with `.`)
|
|
2787
|
+
# can be used as reference to the page in your documentation. For example: pages:
|
|
2788
|
+
# - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java
|
|
2789
|
+
# content: (== include tutorial_java.md ==) You can reference `Java` page using
|
|
2790
|
+
# Markdown reference link syntax: `Java`.
|
|
3327
2791
|
# Corresponds to the JSON property `name`
|
|
3328
2792
|
# @return [String]
|
|
3329
2793
|
attr_accessor :name
|
|
3330
2794
|
|
|
3331
|
-
# Subpages of this page. The order of subpages specified here will be
|
|
3332
|
-
#
|
|
2795
|
+
# Subpages of this page. The order of subpages specified here will be honored in
|
|
2796
|
+
# the generated docset.
|
|
3333
2797
|
# Corresponds to the JSON property `subpages`
|
|
3334
2798
|
# @return [Array<Google::Apis::ServicemanagementV1::Page>]
|
|
3335
2799
|
attr_accessor :subpages
|
|
@@ -3347,66 +2811,32 @@ module Google
|
|
|
3347
2811
|
end
|
|
3348
2812
|
|
|
3349
2813
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
3350
|
-
# controls for Google Cloud resources.
|
|
3351
|
-
# A `
|
|
3352
|
-
#
|
|
3353
|
-
#
|
|
3354
|
-
#
|
|
3355
|
-
#
|
|
3356
|
-
#
|
|
3357
|
-
#
|
|
3358
|
-
#
|
|
3359
|
-
#
|
|
3360
|
-
#
|
|
3361
|
-
# [
|
|
3362
|
-
#
|
|
3363
|
-
#
|
|
3364
|
-
# `
|
|
3365
|
-
# "
|
|
3366
|
-
# `
|
|
3367
|
-
# "
|
|
3368
|
-
#
|
|
3369
|
-
#
|
|
3370
|
-
#
|
|
3371
|
-
#
|
|
3372
|
-
#
|
|
3373
|
-
#
|
|
3374
|
-
#
|
|
3375
|
-
#
|
|
3376
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
3377
|
-
# "members": [
|
|
3378
|
-
# "user:eve@example.com"
|
|
3379
|
-
# ],
|
|
3380
|
-
# "condition": `
|
|
3381
|
-
# "title": "expirable access",
|
|
3382
|
-
# "description": "Does not grant access after Sep 2020",
|
|
3383
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
3384
|
-
# ",
|
|
3385
|
-
# `
|
|
3386
|
-
# `
|
|
3387
|
-
# ],
|
|
3388
|
-
# "etag": "BwWWja0YfJA=",
|
|
3389
|
-
# "version": 3
|
|
3390
|
-
# `
|
|
3391
|
-
# **YAML example:**
|
|
3392
|
-
# bindings:
|
|
3393
|
-
# - members:
|
|
3394
|
-
# - user:mike@example.com
|
|
3395
|
-
# - group:admins@example.com
|
|
3396
|
-
# - domain:google.com
|
|
3397
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
3398
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
3399
|
-
# - members:
|
|
3400
|
-
# - user:eve@example.com
|
|
3401
|
-
# role: roles/resourcemanager.organizationViewer
|
|
3402
|
-
# condition:
|
|
3403
|
-
# title: expirable access
|
|
3404
|
-
# description: Does not grant access after Sep 2020
|
|
3405
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
3406
|
-
# - etag: BwWWja0YfJA=
|
|
3407
|
-
# - version: 3
|
|
3408
|
-
# For a description of IAM and its features, see the
|
|
3409
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
2814
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
2815
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
2816
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
2817
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
2818
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
2819
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
2820
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
2821
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
2822
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
2823
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
2824
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
2825
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
2826
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
2827
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
2828
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
2829
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
2830
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
2831
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
2832
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
2833
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
2834
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
2835
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
2836
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
2837
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
2838
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
2839
|
+
# google.com/iam/docs/).
|
|
3410
2840
|
class Policy
|
|
3411
2841
|
include Google::Apis::Core::Hashable
|
|
3412
2842
|
|
|
@@ -3415,48 +2845,44 @@ module Google
|
|
|
3415
2845
|
# @return [Array<Google::Apis::ServicemanagementV1::AuditConfig>]
|
|
3416
2846
|
attr_accessor :audit_configs
|
|
3417
2847
|
|
|
3418
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
3419
|
-
#
|
|
3420
|
-
#
|
|
2848
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
|
2849
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
|
2850
|
+
# the `bindings` must contain at least one member.
|
|
3421
2851
|
# Corresponds to the JSON property `bindings`
|
|
3422
2852
|
# @return [Array<Google::Apis::ServicemanagementV1::Binding>]
|
|
3423
2853
|
attr_accessor :bindings
|
|
3424
2854
|
|
|
3425
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
|
3426
|
-
#
|
|
3427
|
-
#
|
|
3428
|
-
#
|
|
3429
|
-
#
|
|
3430
|
-
#
|
|
3431
|
-
#
|
|
3432
|
-
#
|
|
3433
|
-
#
|
|
3434
|
-
#
|
|
3435
|
-
#
|
|
2855
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
|
2856
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
2857
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
|
2858
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
|
2859
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
|
2860
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
|
2861
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
|
2862
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
|
2863
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
|
2864
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
|
2865
|
+
# are lost.
|
|
3436
2866
|
# Corresponds to the JSON property `etag`
|
|
3437
2867
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
3438
2868
|
# @return [String]
|
|
3439
2869
|
attr_accessor :etag
|
|
3440
2870
|
|
|
3441
|
-
# Specifies the format of the policy.
|
|
3442
|
-
#
|
|
3443
|
-
#
|
|
3444
|
-
#
|
|
3445
|
-
#
|
|
3446
|
-
#
|
|
3447
|
-
#
|
|
3448
|
-
#
|
|
3449
|
-
#
|
|
3450
|
-
#
|
|
3451
|
-
#
|
|
3452
|
-
#
|
|
3453
|
-
#
|
|
3454
|
-
#
|
|
3455
|
-
#
|
|
3456
|
-
# specify any valid version or leave the field unset.
|
|
3457
|
-
# To learn which resources support conditions in their IAM policies, see the
|
|
3458
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
3459
|
-
# policies).
|
|
2871
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
|
2872
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
|
2873
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
|
2874
|
+
# applies to the following operations: * Getting a policy that includes a
|
|
2875
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
|
2876
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
|
2877
|
+
# with or without a condition, from a policy that includes conditions **
|
|
2878
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
|
2879
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
|
2880
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
|
2881
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
|
2882
|
+
# any conditions, operations on that policy may specify any valid version or
|
|
2883
|
+
# leave the field unset. To learn which resources support conditions in their
|
|
2884
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
|
2885
|
+
# conditions/resource-policies).
|
|
3460
2886
|
# Corresponds to the JSON property `version`
|
|
3461
2887
|
# @return [Fixnum]
|
|
3462
2888
|
attr_accessor :version
|
|
@@ -3474,46 +2900,25 @@ module Google
|
|
|
3474
2900
|
end
|
|
3475
2901
|
end
|
|
3476
2902
|
|
|
3477
|
-
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3478
|
-
#
|
|
3479
|
-
#
|
|
3480
|
-
#
|
|
3481
|
-
#
|
|
3482
|
-
#
|
|
3483
|
-
#
|
|
3484
|
-
#
|
|
3485
|
-
#
|
|
3486
|
-
#
|
|
3487
|
-
#
|
|
3488
|
-
# -
|
|
3489
|
-
#
|
|
3490
|
-
#
|
|
3491
|
-
#
|
|
3492
|
-
#
|
|
3493
|
-
#
|
|
3494
|
-
#
|
|
3495
|
-
#
|
|
3496
|
-
# # consuming at twice rate as the DeleteBook method.
|
|
3497
|
-
# metric_rules:
|
|
3498
|
-
# - selector: "*"
|
|
3499
|
-
# metric_costs:
|
|
3500
|
-
# library.googleapis.com/read_calls: 1
|
|
3501
|
-
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
3502
|
-
# metric_costs:
|
|
3503
|
-
# library.googleapis.com/write_calls: 2
|
|
3504
|
-
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
3505
|
-
# metric_costs:
|
|
3506
|
-
# library.googleapis.com/write_calls: 1
|
|
3507
|
-
# Corresponding Metric definition:
|
|
3508
|
-
# metrics:
|
|
3509
|
-
# - name: library.googleapis.com/read_calls
|
|
3510
|
-
# display_name: Read requests
|
|
3511
|
-
# metric_kind: DELTA
|
|
3512
|
-
# value_type: INT64
|
|
3513
|
-
# - name: library.googleapis.com/write_calls
|
|
3514
|
-
# display_name: Write requests
|
|
3515
|
-
# metric_kind: DELTA
|
|
3516
|
-
# value_type: INT64
|
|
2903
|
+
# Quota configuration helps to achieve fairness and budgeting in service usage.
|
|
2904
|
+
# The metric based quota configuration works this way: - The service
|
|
2905
|
+
# configuration defines a set of metrics. - For API calls, the quota.
|
|
2906
|
+
# metric_rules maps methods to metrics with corresponding costs. - The quota.
|
|
2907
|
+
# limits defines limits on the metrics, which will be used for quota checks at
|
|
2908
|
+
# runtime. An example quota configuration in yaml format: quota: limits: - name:
|
|
2909
|
+
# apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
|
|
2910
|
+
# project`" # rate limit for consumer projects values: STANDARD: 10000 # The
|
|
2911
|
+
# metric rules bind all methods to the read_calls metric, # except for the
|
|
2912
|
+
# UpdateBook and DeleteBook methods. These two methods # are mapped to the
|
|
2913
|
+
# write_calls metric, with the UpdateBook method # consuming at twice rate as
|
|
2914
|
+
# the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
|
|
2915
|
+
# googleapis.com/read_calls: 1 - selector: google.example.library.v1.
|
|
2916
|
+
# LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
|
|
2917
|
+
# selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
|
|
2918
|
+
# library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
|
|
2919
|
+
# - name: library.googleapis.com/read_calls display_name: Read requests
|
|
2920
|
+
# metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
|
|
2921
|
+
# write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
|
|
3517
2922
|
class Quota
|
|
3518
2923
|
include Google::Apis::Core::Hashable
|
|
3519
2924
|
|
|
@@ -3522,8 +2927,8 @@ module Google
|
|
|
3522
2927
|
# @return [Array<Google::Apis::ServicemanagementV1::QuotaLimit>]
|
|
3523
2928
|
attr_accessor :limits
|
|
3524
2929
|
|
|
3525
|
-
# List of `MetricRule` definitions, each one mapping a selected method to one
|
|
3526
|
-
#
|
|
2930
|
+
# List of `MetricRule` definitions, each one mapping a selected method to one or
|
|
2931
|
+
# more metrics.
|
|
3527
2932
|
# Corresponds to the JSON property `metricRules`
|
|
3528
2933
|
# @return [Array<Google::Apis::ServicemanagementV1::MetricRule>]
|
|
3529
2934
|
attr_accessor :metric_rules
|
|
@@ -3540,95 +2945,89 @@ module Google
|
|
|
3540
2945
|
end
|
|
3541
2946
|
|
|
3542
2947
|
# `QuotaLimit` defines a specific limit that applies over a specified duration
|
|
3543
|
-
# for a limit type. There can be at most one limit for a duration and limit
|
|
3544
|
-
#
|
|
2948
|
+
# for a limit type. There can be at most one limit for a duration and limit type
|
|
2949
|
+
# combination defined within a `QuotaGroup`.
|
|
3545
2950
|
class QuotaLimit
|
|
3546
2951
|
include Google::Apis::Core::Hashable
|
|
3547
2952
|
|
|
3548
|
-
# Default number of tokens that can be consumed during the specified
|
|
3549
|
-
#
|
|
3550
|
-
#
|
|
3551
|
-
#
|
|
3552
|
-
#
|
|
3553
|
-
#
|
|
3554
|
-
#
|
|
3555
|
-
# Used by group-based quotas only.
|
|
2953
|
+
# Default number of tokens that can be consumed during the specified duration.
|
|
2954
|
+
# This is the number of tokens assigned when a client application developer
|
|
2955
|
+
# activates the service for his/her project. Specifying a value of 0 will block
|
|
2956
|
+
# all requests. This can be used if you are provisioning quota to selected
|
|
2957
|
+
# consumers and blocking others. Similarly, a value of -1 will indicate an
|
|
2958
|
+
# unlimited quota. No other negative values are allowed. Used by group-based
|
|
2959
|
+
# quotas only.
|
|
3556
2960
|
# Corresponds to the JSON property `defaultLimit`
|
|
3557
2961
|
# @return [Fixnum]
|
|
3558
2962
|
attr_accessor :default_limit
|
|
3559
2963
|
|
|
3560
|
-
# Optional. User-visible, extended description for this quota limit.
|
|
3561
|
-
#
|
|
3562
|
-
#
|
|
2964
|
+
# Optional. User-visible, extended description for this quota limit. Should be
|
|
2965
|
+
# used only when more context is needed to understand this limit than provided
|
|
2966
|
+
# by the limit's display name (see: `display_name`).
|
|
3563
2967
|
# Corresponds to the JSON property `description`
|
|
3564
2968
|
# @return [String]
|
|
3565
2969
|
attr_accessor :description
|
|
3566
2970
|
|
|
3567
|
-
# User-visible display name for this limit.
|
|
3568
|
-
#
|
|
3569
|
-
#
|
|
3570
|
-
#
|
|
2971
|
+
# User-visible display name for this limit. Optional. If not set, the UI will
|
|
2972
|
+
# provide a default display name based on the quota configuration. This field
|
|
2973
|
+
# can be used to override the default display name generated from the
|
|
2974
|
+
# configuration.
|
|
3571
2975
|
# Corresponds to the JSON property `displayName`
|
|
3572
2976
|
# @return [String]
|
|
3573
2977
|
attr_accessor :display_name
|
|
3574
2978
|
|
|
3575
|
-
# Duration of this limit in textual notation. Must be "100s" or "1d".
|
|
3576
|
-
#
|
|
2979
|
+
# Duration of this limit in textual notation. Must be "100s" or "1d". Used by
|
|
2980
|
+
# group-based quotas only.
|
|
3577
2981
|
# Corresponds to the JSON property `duration`
|
|
3578
2982
|
# @return [String]
|
|
3579
2983
|
attr_accessor :duration
|
|
3580
2984
|
|
|
3581
|
-
# Free tier value displayed in the Developers Console for this limit.
|
|
3582
|
-
#
|
|
3583
|
-
#
|
|
3584
|
-
#
|
|
3585
|
-
#
|
|
3586
|
-
#
|
|
3587
|
-
# Used by group-based quotas only.
|
|
2985
|
+
# Free tier value displayed in the Developers Console for this limit. The free
|
|
2986
|
+
# tier is the number of tokens that will be subtracted from the billed amount
|
|
2987
|
+
# when billing is enabled. This field can only be set on a limit with duration "
|
|
2988
|
+
# 1d", in a billable group; it is invalid on any other limit. If this field is
|
|
2989
|
+
# not set, it defaults to 0, indicating that there is no free tier for this
|
|
2990
|
+
# service. Used by group-based quotas only.
|
|
3588
2991
|
# Corresponds to the JSON property `freeTier`
|
|
3589
2992
|
# @return [Fixnum]
|
|
3590
2993
|
attr_accessor :free_tier
|
|
3591
2994
|
|
|
3592
|
-
# Maximum number of tokens that can be consumed during the specified
|
|
3593
|
-
#
|
|
3594
|
-
#
|
|
3595
|
-
#
|
|
3596
|
-
#
|
|
3597
|
-
#
|
|
3598
|
-
# Used by group-based quotas only.
|
|
2995
|
+
# Maximum number of tokens that can be consumed during the specified duration.
|
|
2996
|
+
# Client application developers can override the default limit up to this
|
|
2997
|
+
# maximum. If specified, this value cannot be set to a value less than the
|
|
2998
|
+
# default limit. If not specified, it is set to the default limit. To allow
|
|
2999
|
+
# clients to apply overrides with no upper bound, set this to -1, indicating
|
|
3000
|
+
# unlimited maximum quota. Used by group-based quotas only.
|
|
3599
3001
|
# Corresponds to the JSON property `maxLimit`
|
|
3600
3002
|
# @return [Fixnum]
|
|
3601
3003
|
attr_accessor :max_limit
|
|
3602
3004
|
|
|
3603
|
-
# The name of the metric this quota limit applies to. The quota limits with
|
|
3604
|
-
#
|
|
3005
|
+
# The name of the metric this quota limit applies to. The quota limits with the
|
|
3006
|
+
# same metric will be checked together during runtime. The metric must be
|
|
3605
3007
|
# defined within the service config.
|
|
3606
3008
|
# Corresponds to the JSON property `metric`
|
|
3607
3009
|
# @return [String]
|
|
3608
3010
|
attr_accessor :metric
|
|
3609
3011
|
|
|
3610
|
-
# Name of the quota limit.
|
|
3611
|
-
#
|
|
3612
|
-
#
|
|
3613
|
-
# The maximum length of the limit name is 64 characters.
|
|
3012
|
+
# Name of the quota limit. The name must be provided, and it must be unique
|
|
3013
|
+
# within the service. The name can only include alphanumeric characters as well
|
|
3014
|
+
# as '-'. The maximum length of the limit name is 64 characters.
|
|
3614
3015
|
# Corresponds to the JSON property `name`
|
|
3615
3016
|
# @return [String]
|
|
3616
3017
|
attr_accessor :name
|
|
3617
3018
|
|
|
3618
|
-
# Specify the unit of the quota limit. It uses the same syntax as
|
|
3619
|
-
#
|
|
3620
|
-
#
|
|
3621
|
-
#
|
|
3622
|
-
#
|
|
3623
|
-
# Note: the order of unit components is insignificant.
|
|
3624
|
-
# The "1" at the beginning is required to follow the metric unit syntax.
|
|
3019
|
+
# Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
|
|
3020
|
+
# The supported unit kinds are determined by the quota backend system. Here are
|
|
3021
|
+
# some examples: * "1/min/`project`" for quota per minute per project. Note: the
|
|
3022
|
+
# order of unit components is insignificant. The "1" at the beginning is
|
|
3023
|
+
# required to follow the metric unit syntax.
|
|
3625
3024
|
# Corresponds to the JSON property `unit`
|
|
3626
3025
|
# @return [String]
|
|
3627
3026
|
attr_accessor :unit
|
|
3628
3027
|
|
|
3629
3028
|
# Tiered limit values. You must specify this as a key:value pair, with an
|
|
3630
|
-
# integer value that is the maximum number of requests allowed for the
|
|
3631
|
-
#
|
|
3029
|
+
# integer value that is the maximum number of requests allowed for the specified
|
|
3030
|
+
# unit. Currently only STANDARD is supported.
|
|
3632
3031
|
# Corresponds to the JSON property `values`
|
|
3633
3032
|
# @return [Hash<String,Fixnum>]
|
|
3634
3033
|
attr_accessor :values
|
|
@@ -3652,39 +3051,26 @@ module Google
|
|
|
3652
3051
|
end
|
|
3653
3052
|
end
|
|
3654
3053
|
|
|
3655
|
-
# Defines a proto annotation that describes a string field that refers to
|
|
3656
|
-
#
|
|
3054
|
+
# Defines a proto annotation that describes a string field that refers to an API
|
|
3055
|
+
# resource.
|
|
3657
3056
|
class ResourceReference
|
|
3658
3057
|
include Google::Apis::Core::Hashable
|
|
3659
3058
|
|
|
3660
|
-
# The resource type of a child collection that the annotated field
|
|
3661
|
-
#
|
|
3662
|
-
#
|
|
3663
|
-
#
|
|
3664
|
-
#
|
|
3665
|
-
# string parent = 1 [(google.api.resource_reference) = `
|
|
3666
|
-
# child_type: "logging.googleapis.com/LogEntry"
|
|
3667
|
-
# `;
|
|
3668
|
-
# `
|
|
3059
|
+
# The resource type of a child collection that the annotated field references.
|
|
3060
|
+
# This is useful for annotating the `parent` field that doesn't have a fixed
|
|
3061
|
+
# resource type. Example: message ListLogEntriesRequest ` string parent = 1 [(
|
|
3062
|
+
# google.api.resource_reference) = ` child_type: "logging.googleapis.com/
|
|
3063
|
+
# LogEntry" `; `
|
|
3669
3064
|
# Corresponds to the JSON property `childType`
|
|
3670
3065
|
# @return [String]
|
|
3671
3066
|
attr_accessor :child_type
|
|
3672
3067
|
|
|
3673
|
-
# The resource type that the annotated field references.
|
|
3674
|
-
#
|
|
3675
|
-
#
|
|
3676
|
-
#
|
|
3677
|
-
#
|
|
3678
|
-
# `];
|
|
3679
|
-
# `
|
|
3680
|
-
# Occasionally, a field may reference an arbitrary resource. In this case,
|
|
3681
|
-
# APIs use the special value * in their resource reference.
|
|
3682
|
-
# Example:
|
|
3683
|
-
# message GetIamPolicyRequest `
|
|
3684
|
-
# string resource = 2 [(google.api.resource_reference) = `
|
|
3685
|
-
# type: "*"
|
|
3686
|
-
# `];
|
|
3687
|
-
# `
|
|
3068
|
+
# The resource type that the annotated field references. Example: message
|
|
3069
|
+
# Subscription ` string topic = 2 [(google.api.resource_reference) = ` type: "
|
|
3070
|
+
# pubsub.googleapis.com/Topic" `]; ` Occasionally, a field may reference an
|
|
3071
|
+
# arbitrary resource. In this case, APIs use the special value * in their
|
|
3072
|
+
# resource reference. Example: message GetIamPolicyRequest ` string resource = 2
|
|
3073
|
+
# [(google.api.resource_reference) = ` type: "*" `]; `
|
|
3688
3074
|
# Corresponds to the JSON property `type`
|
|
3689
3075
|
# @return [String]
|
|
3690
3076
|
attr_accessor :type
|
|
@@ -3701,8 +3087,8 @@ module Google
|
|
|
3701
3087
|
end
|
|
3702
3088
|
|
|
3703
3089
|
# A rollout resource that defines how service configuration versions are pushed
|
|
3704
|
-
# to control plane systems. Typically, you create a new version of the
|
|
3705
|
-
#
|
|
3090
|
+
# to control plane systems. Typically, you create a new version of the service
|
|
3091
|
+
# config, and then create a Rollout to push the service config.
|
|
3706
3092
|
class Rollout
|
|
3707
3093
|
include Google::Apis::Core::Hashable
|
|
3708
3094
|
|
|
@@ -3711,26 +3097,25 @@ module Google
|
|
|
3711
3097
|
# @return [String]
|
|
3712
3098
|
attr_accessor :create_time
|
|
3713
3099
|
|
|
3714
|
-
# This field is deprecated and will be deleted. Please remove usage of
|
|
3715
|
-
#
|
|
3100
|
+
# This field is deprecated and will be deleted. Please remove usage of this
|
|
3101
|
+
# field.
|
|
3716
3102
|
# Corresponds to the JSON property `createdBy`
|
|
3717
3103
|
# @return [String]
|
|
3718
3104
|
attr_accessor :created_by
|
|
3719
3105
|
|
|
3720
|
-
# Strategy used to delete a service. This strategy is a placeholder only
|
|
3721
|
-
#
|
|
3106
|
+
# Strategy used to delete a service. This strategy is a placeholder only used by
|
|
3107
|
+
# the system generated rollout to delete a service.
|
|
3722
3108
|
# Corresponds to the JSON property `deleteServiceStrategy`
|
|
3723
3109
|
# @return [Google::Apis::ServicemanagementV1::DeleteServiceStrategy]
|
|
3724
3110
|
attr_accessor :delete_service_strategy
|
|
3725
3111
|
|
|
3726
3112
|
# Optional. Unique identifier of this Rollout. Must be no longer than 63
|
|
3727
|
-
# characters
|
|
3728
|
-
# and only lower case letters, digits, '.', '_' and '-' are allowed.
|
|
3113
|
+
# characters and only lower case letters, digits, '.', '_' and '-' are allowed.
|
|
3729
3114
|
# If not specified by client, the server will generate one. The generated id
|
|
3730
|
-
# will have the form of
|
|
3731
|
-
#
|
|
3732
|
-
#
|
|
3733
|
-
#
|
|
3115
|
+
# will have the form of , where "date" is the create date in ISO 8601 format. "
|
|
3116
|
+
# revision number" is a monotonically increasing positive number that is reset
|
|
3117
|
+
# every day for each service. An example of the generated rollout_id is '2016-02-
|
|
3118
|
+
# 16r1'
|
|
3734
3119
|
# Corresponds to the JSON property `rolloutId`
|
|
3735
3120
|
# @return [String]
|
|
3736
3121
|
attr_accessor :rollout_id
|
|
@@ -3740,39 +3125,21 @@ module Google
|
|
|
3740
3125
|
# @return [String]
|
|
3741
3126
|
attr_accessor :service_name
|
|
3742
3127
|
|
|
3743
|
-
# The status of this rollout. Readonly. In case of a failed rollout,
|
|
3744
|
-
#
|
|
3745
|
-
# version. Readonly.
|
|
3128
|
+
# The status of this rollout. Readonly. In case of a failed rollout, the system
|
|
3129
|
+
# will automatically rollback to the current Rollout version. Readonly.
|
|
3746
3130
|
# Corresponds to the JSON property `status`
|
|
3747
3131
|
# @return [String]
|
|
3748
3132
|
attr_accessor :status
|
|
3749
3133
|
|
|
3750
|
-
# Strategy that specifies how clients of Google Service Controller want to
|
|
3751
|
-
#
|
|
3752
|
-
#
|
|
3753
|
-
#
|
|
3754
|
-
#
|
|
3755
|
-
#
|
|
3756
|
-
#
|
|
3757
|
-
#
|
|
3758
|
-
#
|
|
3759
|
-
# id: "example.googleapis.com/rollout_20160206"
|
|
3760
|
-
# traffic_percent_strategy `
|
|
3761
|
-
# percentages: `
|
|
3762
|
-
# "example.googleapis.com/20160201": 70.00
|
|
3763
|
-
# "example.googleapis.com/20160206": 30.00
|
|
3764
|
-
# `
|
|
3765
|
-
# `
|
|
3766
|
-
# `
|
|
3767
|
-
# Day 2
|
|
3768
|
-
# Rollout `
|
|
3769
|
-
# id: "example.googleapis.com/rollout_20160207"
|
|
3770
|
-
# traffic_percent_strategy: `
|
|
3771
|
-
# percentages: `
|
|
3772
|
-
# "example.googleapis.com/20160206": 100.00
|
|
3773
|
-
# `
|
|
3774
|
-
# `
|
|
3775
|
-
# `
|
|
3134
|
+
# Strategy that specifies how clients of Google Service Controller want to send
|
|
3135
|
+
# traffic to use different config versions. This is generally used by API proxy
|
|
3136
|
+
# to split traffic based on your configured percentage for each config version.
|
|
3137
|
+
# One example of how to gradually rollout a new service configuration using this
|
|
3138
|
+
# strategy: Day 1 Rollout ` id: "example.googleapis.com/rollout_20160206"
|
|
3139
|
+
# traffic_percent_strategy ` percentages: ` "example.googleapis.com/20160201":
|
|
3140
|
+
# 70.00 "example.googleapis.com/20160206": 30.00 ` ` ` Day 2 Rollout ` id: "
|
|
3141
|
+
# example.googleapis.com/rollout_20160207" traffic_percent_strategy: `
|
|
3142
|
+
# percentages: ` "example.googleapis.com/20160206": 100.00 ` ` `
|
|
3776
3143
|
# Corresponds to the JSON property `trafficPercentStrategy`
|
|
3777
3144
|
# @return [Google::Apis::ServicemanagementV1::TrafficPercentStrategy]
|
|
3778
3145
|
attr_accessor :traffic_percent_strategy
|
|
@@ -3794,50 +3161,32 @@ module Google
|
|
|
3794
3161
|
end
|
|
3795
3162
|
|
|
3796
3163
|
# `Service` is the root object of Google service configuration schema. It
|
|
3797
|
-
# describes basic information about a service, such as the name and the
|
|
3798
|
-
#
|
|
3799
|
-
#
|
|
3800
|
-
#
|
|
3801
|
-
#
|
|
3802
|
-
#
|
|
3803
|
-
#
|
|
3804
|
-
#
|
|
3805
|
-
#
|
|
3806
|
-
# apis:
|
|
3807
|
-
# - name: google.calendar.v3.Calendar
|
|
3808
|
-
# authentication:
|
|
3809
|
-
# providers:
|
|
3810
|
-
# - id: google_calendar_auth
|
|
3811
|
-
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
3812
|
-
# issuer: https://securetoken.google.com
|
|
3813
|
-
# rules:
|
|
3814
|
-
# - selector: "*"
|
|
3815
|
-
# requirements:
|
|
3816
|
-
# provider_id: google_calendar_auth
|
|
3164
|
+
# describes basic information about a service, such as the name and the title,
|
|
3165
|
+
# and delegates other aspects to sub-sections. Each sub-section is either a
|
|
3166
|
+
# proto message or a repeated proto message that configures a specific aspect,
|
|
3167
|
+
# such as auth. See each proto message definition for details. Example: type:
|
|
3168
|
+
# google.api.Service config_version: 3 name: calendar.googleapis.com title:
|
|
3169
|
+
# Google Calendar API apis: - name: google.calendar.v3.Calendar authentication:
|
|
3170
|
+
# providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/
|
|
3171
|
+
# oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*"
|
|
3172
|
+
# requirements: provider_id: google_calendar_auth
|
|
3817
3173
|
class Service
|
|
3818
3174
|
include Google::Apis::Core::Hashable
|
|
3819
3175
|
|
|
3820
|
-
# A list of API interfaces exported by this service. Only the `name` field
|
|
3821
|
-
#
|
|
3822
|
-
#
|
|
3823
|
-
#
|
|
3824
|
-
#
|
|
3176
|
+
# A list of API interfaces exported by this service. Only the `name` field of
|
|
3177
|
+
# the google.protobuf.Api needs to be provided by the configuration author, as
|
|
3178
|
+
# the remaining fields will be derived from the IDL during the normalization
|
|
3179
|
+
# process. It is an error to specify an API interface here which cannot be
|
|
3180
|
+
# resolved against the associated IDL files.
|
|
3825
3181
|
# Corresponds to the JSON property `apis`
|
|
3826
3182
|
# @return [Array<Google::Apis::ServicemanagementV1::Api>]
|
|
3827
3183
|
attr_accessor :apis
|
|
3828
3184
|
|
|
3829
|
-
# `Authentication` defines the authentication configuration for an API.
|
|
3830
|
-
#
|
|
3831
|
-
#
|
|
3832
|
-
#
|
|
3833
|
-
#
|
|
3834
|
-
# - id: google_calendar_auth
|
|
3835
|
-
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
3836
|
-
# issuer: https://securetoken.google.com
|
|
3837
|
-
# rules:
|
|
3838
|
-
# - selector: "*"
|
|
3839
|
-
# requirements:
|
|
3840
|
-
# provider_id: google_calendar_auth
|
|
3185
|
+
# `Authentication` defines the authentication configuration for an API. Example
|
|
3186
|
+
# for an API targeted for external use: name: calendar.googleapis.com
|
|
3187
|
+
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
|
3188
|
+
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
|
3189
|
+
# selector: "*" requirements: provider_id: google_calendar_auth
|
|
3841
3190
|
# Corresponds to the JSON property `authentication`
|
|
3842
3191
|
# @return [Google::Apis::ServicemanagementV1::Authentication]
|
|
3843
3192
|
attr_accessor :authentication
|
|
@@ -3847,211 +3196,133 @@ module Google
|
|
|
3847
3196
|
# @return [Google::Apis::ServicemanagementV1::Backend]
|
|
3848
3197
|
attr_accessor :backend
|
|
3849
3198
|
|
|
3850
|
-
# Billing related configuration of the service.
|
|
3851
|
-
#
|
|
3852
|
-
#
|
|
3853
|
-
#
|
|
3854
|
-
#
|
|
3855
|
-
#
|
|
3856
|
-
#
|
|
3857
|
-
#
|
|
3858
|
-
# -
|
|
3859
|
-
#
|
|
3860
|
-
# - key:
|
|
3861
|
-
#
|
|
3862
|
-
#
|
|
3863
|
-
# -
|
|
3864
|
-
#
|
|
3865
|
-
# Custom label to define the city where the library branch is located
|
|
3866
|
-
# in.
|
|
3867
|
-
# - key: name
|
|
3868
|
-
# description: Custom label to define the name of the library branch.
|
|
3869
|
-
# metrics:
|
|
3870
|
-
# - name: library.googleapis.com/book/borrowed_count
|
|
3871
|
-
# metric_kind: DELTA
|
|
3872
|
-
# value_type: INT64
|
|
3873
|
-
# unit: "1"
|
|
3874
|
-
# billing:
|
|
3875
|
-
# consumer_destinations:
|
|
3876
|
-
# - monitored_resource: library.googleapis.com/billing_branch
|
|
3877
|
-
# metrics:
|
|
3878
|
-
# - library.googleapis.com/book/borrowed_count
|
|
3199
|
+
# Billing related configuration of the service. The following example shows how
|
|
3200
|
+
# to configure monitored resources and metrics for billing, `
|
|
3201
|
+
# consumer_destinations` is the only supported destination and the monitored
|
|
3202
|
+
# resources need at least one label key `cloud.googleapis.com/location` to
|
|
3203
|
+
# indicate the location of the billing usage, using different monitored
|
|
3204
|
+
# resources between monitoring and billing is recommended so they can be evolved
|
|
3205
|
+
# independently: monitored_resources: - type: library.googleapis.com/
|
|
3206
|
+
# billing_branch labels: - key: cloud.googleapis.com/location description: |
|
|
3207
|
+
# Predefined label to support billing location restriction. - key: city
|
|
3208
|
+
# description: | Custom label to define the city where the library branch is
|
|
3209
|
+
# located in. - key: name description: Custom label to define the name of the
|
|
3210
|
+
# library branch. metrics: - name: library.googleapis.com/book/borrowed_count
|
|
3211
|
+
# metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
|
|
3212
|
+
# - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
|
|
3213
|
+
# googleapis.com/book/borrowed_count
|
|
3879
3214
|
# Corresponds to the JSON property `billing`
|
|
3880
3215
|
# @return [Google::Apis::ServicemanagementV1::Billing]
|
|
3881
3216
|
attr_accessor :billing
|
|
3882
3217
|
|
|
3883
|
-
#
|
|
3884
|
-
# affects the interpretation of the service configuration. For example,
|
|
3885
|
-
# certain features are enabled by default for certain config versions.
|
|
3886
|
-
# The latest config version is `3`.
|
|
3218
|
+
# This field is obsolete. Its value must be set to `3`.
|
|
3887
3219
|
# Corresponds to the JSON property `configVersion`
|
|
3888
3220
|
# @return [Fixnum]
|
|
3889
3221
|
attr_accessor :config_version
|
|
3890
3222
|
|
|
3891
|
-
# `Context` defines which contexts an API requests.
|
|
3892
|
-
#
|
|
3893
|
-
# context
|
|
3894
|
-
#
|
|
3895
|
-
#
|
|
3896
|
-
#
|
|
3897
|
-
# -
|
|
3898
|
-
#
|
|
3899
|
-
#
|
|
3900
|
-
#
|
|
3901
|
-
#
|
|
3902
|
-
#
|
|
3903
|
-
#
|
|
3904
|
-
# This also provides mechanism to whitelist any protobuf message extension that
|
|
3905
|
-
# can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
|
|
3906
|
-
# “x-goog-ext-<extension_id>-jspb” format. For example, list any service
|
|
3907
|
-
# specific protobuf types that can appear in grpc metadata as follows in your
|
|
3908
|
-
# yaml file:
|
|
3909
|
-
# Example:
|
|
3910
|
-
# context:
|
|
3911
|
-
# rules:
|
|
3912
|
-
# - selector: "google.example.library.v1.LibraryService.CreateBook"
|
|
3913
|
-
# allowed_request_extensions:
|
|
3914
|
-
# - google.foo.v1.NewExtension
|
|
3915
|
-
# allowed_response_extensions:
|
|
3916
|
-
# - google.foo.v1.NewExtension
|
|
3917
|
-
# You can also specify extension ID instead of fully qualified extension name
|
|
3918
|
-
# here.
|
|
3223
|
+
# `Context` defines which contexts an API requests. Example: context: rules: -
|
|
3224
|
+
# selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
|
|
3225
|
+
# context.OriginContext The above specifies that all methods in the API request `
|
|
3226
|
+
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
|
3227
|
+
# Available context types are defined in package `google.rpc.context`. This also
|
|
3228
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
|
3229
|
+
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
|
3230
|
+
# For example, list any service specific protobuf types that can appear in grpc
|
|
3231
|
+
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
|
3232
|
+
# google.example.library.v1.LibraryService.CreateBook"
|
|
3233
|
+
# allowed_request_extensions: - google.foo.v1.NewExtension
|
|
3234
|
+
# allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
|
|
3235
|
+
# extension ID instead of fully qualified extension name here.
|
|
3919
3236
|
# Corresponds to the JSON property `context`
|
|
3920
3237
|
# @return [Google::Apis::ServicemanagementV1::Context]
|
|
3921
3238
|
attr_accessor :context
|
|
3922
3239
|
|
|
3923
|
-
# Selects and configures the service controller used by the service.
|
|
3924
|
-
#
|
|
3925
|
-
#
|
|
3240
|
+
# Selects and configures the service controller used by the service. The service
|
|
3241
|
+
# controller handles features like abuse, quota, billing, logging, monitoring,
|
|
3242
|
+
# etc.
|
|
3926
3243
|
# Corresponds to the JSON property `control`
|
|
3927
3244
|
# @return [Google::Apis::ServicemanagementV1::Control]
|
|
3928
3245
|
attr_accessor :control
|
|
3929
3246
|
|
|
3930
|
-
# Customize service error responses.
|
|
3931
|
-
#
|
|
3932
|
-
#
|
|
3933
|
-
#
|
|
3934
|
-
# custom_error:
|
|
3935
|
-
# types:
|
|
3936
|
-
# - google.foo.v1.CustomError
|
|
3937
|
-
# - google.foo.v1.AnotherError
|
|
3247
|
+
# Customize service error responses. For example, list any service specific
|
|
3248
|
+
# protobuf types that can appear in error detail lists of error responses.
|
|
3249
|
+
# Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
|
|
3250
|
+
# AnotherError
|
|
3938
3251
|
# Corresponds to the JSON property `customError`
|
|
3939
3252
|
# @return [Google::Apis::ServicemanagementV1::CustomError]
|
|
3940
3253
|
attr_accessor :custom_error
|
|
3941
3254
|
|
|
3942
|
-
# `Documentation` provides the information for describing a service.
|
|
3943
|
-
#
|
|
3944
|
-
#
|
|
3945
|
-
#
|
|
3946
|
-
#
|
|
3947
|
-
#
|
|
3948
|
-
#
|
|
3949
|
-
#
|
|
3950
|
-
#
|
|
3951
|
-
#
|
|
3952
|
-
#
|
|
3953
|
-
#
|
|
3954
|
-
#
|
|
3955
|
-
#
|
|
3956
|
-
#
|
|
3957
|
-
#
|
|
3958
|
-
#
|
|
3959
|
-
#
|
|
3960
|
-
#
|
|
3961
|
-
#
|
|
3962
|
-
#
|
|
3963
|
-
#
|
|
3964
|
-
#
|
|
3965
|
-
#
|
|
3966
|
-
#
|
|
3967
|
-
#
|
|
3968
|
-
# a documentation fragment is embedded.
|
|
3969
|
-
# Documentation from the IDL is merged with documentation defined
|
|
3970
|
-
# via the config at normalization time, where documentation provided
|
|
3971
|
-
# by config rules overrides IDL provided.
|
|
3972
|
-
# A number of constructs specific to the API platform are supported
|
|
3973
|
-
# in documentation text.
|
|
3974
|
-
# In order to reference a proto element, the following
|
|
3975
|
-
# notation can be used:
|
|
3976
|
-
# <pre><code>[fully.qualified.proto.name][]</code></pre>
|
|
3977
|
-
# To override the display text used for the link, this can be used:
|
|
3978
|
-
# <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
|
3979
|
-
# Text can be excluded from doc using the following notation:
|
|
3980
|
-
# <pre><code>(-- internal comment --)</code></pre>
|
|
3981
|
-
# A few directives are available in documentation. Note that
|
|
3982
|
-
# directives must appear on a single line to be properly
|
|
3983
|
-
# identified. The `include` directive includes a markdown file from
|
|
3984
|
-
# an external source:
|
|
3985
|
-
# <pre><code>(== include path/to/file ==)</code></pre>
|
|
3986
|
-
# The `resource_for` directive marks a message to be the resource of
|
|
3987
|
-
# a collection in REST view. If it is not specified, tools attempt
|
|
3988
|
-
# to infer the resource from the operations in a collection:
|
|
3989
|
-
# <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
|
3990
|
-
# The directive `suppress_warning` does not directly affect documentation
|
|
3991
|
-
# and is documented together with service config validation.
|
|
3255
|
+
# `Documentation` provides the information for describing a service. Example:
|
|
3256
|
+
# documentation: summary: > The Google Calendar API gives access to most
|
|
3257
|
+
# calendar features. pages: - name: Overview content: (== include google/foo/
|
|
3258
|
+
# overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
|
|
3259
|
+
# ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
|
|
3260
|
+
# rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
|
|
3261
|
+
# google.calendar.Calendar.Put description: > ... Documentation is provided in
|
|
3262
|
+
# markdown syntax. In addition to standard markdown features, definition lists,
|
|
3263
|
+
# tables and fenced code blocks are supported. Section headers can be provided
|
|
3264
|
+
# and are interpreted relative to the section nesting of the context where a
|
|
3265
|
+
# documentation fragment is embedded. Documentation from the IDL is merged with
|
|
3266
|
+
# documentation defined via the config at normalization time, where
|
|
3267
|
+
# documentation provided by config rules overrides IDL provided. A number of
|
|
3268
|
+
# constructs specific to the API platform are supported in documentation text.
|
|
3269
|
+
# In order to reference a proto element, the following notation can be used: [
|
|
3270
|
+
# fully.qualified.proto.name][] To override the display text used for the link,
|
|
3271
|
+
# this can be used: [display text][fully.qualified.proto.name] Text can be
|
|
3272
|
+
# excluded from doc using the following notation: (-- internal comment --) A few
|
|
3273
|
+
# directives are available in documentation. Note that directives must appear on
|
|
3274
|
+
# a single line to be properly identified. The `include` directive includes a
|
|
3275
|
+
# markdown file from an external source: (== include path/to/file ==) The `
|
|
3276
|
+
# resource_for` directive marks a message to be the resource of a collection in
|
|
3277
|
+
# REST view. If it is not specified, tools attempt to infer the resource from
|
|
3278
|
+
# the operations in a collection: (== resource_for v1.shelves.books ==) The
|
|
3279
|
+
# directive `suppress_warning` does not directly affect documentation and is
|
|
3280
|
+
# documented together with service config validation.
|
|
3992
3281
|
# Corresponds to the JSON property `documentation`
|
|
3993
3282
|
# @return [Google::Apis::ServicemanagementV1::Documentation]
|
|
3994
3283
|
attr_accessor :documentation
|
|
3995
3284
|
|
|
3996
|
-
# Configuration for network endpoints.
|
|
3997
|
-
#
|
|
3998
|
-
#
|
|
3285
|
+
# Configuration for network endpoints. If this is empty, then an endpoint with
|
|
3286
|
+
# the same name as the service is automatically generated to service all defined
|
|
3287
|
+
# APIs.
|
|
3999
3288
|
# Corresponds to the JSON property `endpoints`
|
|
4000
3289
|
# @return [Array<Google::Apis::ServicemanagementV1::Endpoint>]
|
|
4001
3290
|
attr_accessor :endpoints
|
|
4002
3291
|
|
|
4003
|
-
# A list of all enum types included in this API service.
|
|
4004
|
-
#
|
|
4005
|
-
#
|
|
4006
|
-
#
|
|
4007
|
-
# enums:
|
|
4008
|
-
# - name: google.someapi.v1.SomeEnum
|
|
3292
|
+
# A list of all enum types included in this API service. Enums referenced
|
|
3293
|
+
# directly or indirectly by the `apis` are automatically included. Enums which
|
|
3294
|
+
# are not referenced but shall be included should be listed here by name.
|
|
3295
|
+
# Example: enums: - name: google.someapi.v1.SomeEnum
|
|
4009
3296
|
# Corresponds to the JSON property `enums`
|
|
4010
3297
|
# @return [Array<Google::Apis::ServicemanagementV1::Enum>]
|
|
4011
3298
|
attr_accessor :enums
|
|
4012
3299
|
|
|
4013
3300
|
# Defines the HTTP configuration for an API service. It contains a list of
|
|
4014
|
-
# HttpRule, each specifying the mapping of an RPC method
|
|
4015
|
-
#
|
|
3301
|
+
# HttpRule, each specifying the mapping of an RPC method to one or more HTTP
|
|
3302
|
+
# REST API methods.
|
|
4016
3303
|
# Corresponds to the JSON property `http`
|
|
4017
3304
|
# @return [Google::Apis::ServicemanagementV1::Http]
|
|
4018
3305
|
attr_accessor :http
|
|
4019
3306
|
|
|
4020
|
-
# A unique ID for a specific instance of this message, typically assigned
|
|
4021
|
-
#
|
|
4022
|
-
#
|
|
4023
|
-
#
|
|
3307
|
+
# A unique ID for a specific instance of this message, typically assigned by the
|
|
3308
|
+
# client for tracking purpose. Must be no longer than 63 characters and only
|
|
3309
|
+
# lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server
|
|
3310
|
+
# may choose to generate one instead.
|
|
4024
3311
|
# Corresponds to the JSON property `id`
|
|
4025
3312
|
# @return [String]
|
|
4026
3313
|
attr_accessor :id
|
|
4027
3314
|
|
|
4028
|
-
# Logging configuration of the service.
|
|
4029
|
-
#
|
|
4030
|
-
#
|
|
4031
|
-
# log is sent to
|
|
4032
|
-
#
|
|
4033
|
-
#
|
|
4034
|
-
# -
|
|
4035
|
-
# labels:
|
|
4036
|
-
# -
|
|
4037
|
-
#
|
|
4038
|
-
#
|
|
4039
|
-
# description: The name of the branch.
|
|
4040
|
-
# logs:
|
|
4041
|
-
# - name: activity_history
|
|
4042
|
-
# labels:
|
|
4043
|
-
# - key: /customer_id
|
|
4044
|
-
# - name: purchase_history
|
|
4045
|
-
# logging:
|
|
4046
|
-
# producer_destinations:
|
|
4047
|
-
# - monitored_resource: library.googleapis.com/branch
|
|
4048
|
-
# logs:
|
|
4049
|
-
# - activity_history
|
|
4050
|
-
# - purchase_history
|
|
4051
|
-
# consumer_destinations:
|
|
4052
|
-
# - monitored_resource: library.googleapis.com/branch
|
|
4053
|
-
# logs:
|
|
4054
|
-
# - activity_history
|
|
3315
|
+
# Logging configuration of the service. The following example shows how to
|
|
3316
|
+
# configure logs to be sent to the producer and consumer projects. In the
|
|
3317
|
+
# example, the `activity_history` log is sent to both the producer and consumer
|
|
3318
|
+
# projects, whereas the `purchase_history` log is only sent to the producer
|
|
3319
|
+
# project. monitored_resources: - type: library.googleapis.com/branch labels: -
|
|
3320
|
+
# key: /city description: The city where the library branch is located in. - key:
|
|
3321
|
+
# /name description: The name of the branch. logs: - name: activity_history
|
|
3322
|
+
# labels: - key: /customer_id - name: purchase_history logging:
|
|
3323
|
+
# producer_destinations: - monitored_resource: library.googleapis.com/branch
|
|
3324
|
+
# logs: - activity_history - purchase_history consumer_destinations: -
|
|
3325
|
+
# monitored_resource: library.googleapis.com/branch logs: - activity_history
|
|
4055
3326
|
# Corresponds to the JSON property `logging`
|
|
4056
3327
|
# @return [Google::Apis::ServicemanagementV1::Logging]
|
|
4057
3328
|
attr_accessor :logging
|
|
@@ -4066,70 +3337,41 @@ module Google
|
|
|
4066
3337
|
# @return [Array<Google::Apis::ServicemanagementV1::MetricDescriptor>]
|
|
4067
3338
|
attr_accessor :metrics
|
|
4068
3339
|
|
|
4069
|
-
# Defines the monitored resources used by this service. This is required
|
|
4070
|
-
#
|
|
3340
|
+
# Defines the monitored resources used by this service. This is required by the
|
|
3341
|
+
# Service.monitoring and Service.logging configurations.
|
|
4071
3342
|
# Corresponds to the JSON property `monitoredResources`
|
|
4072
3343
|
# @return [Array<Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor>]
|
|
4073
3344
|
attr_accessor :monitored_resources
|
|
4074
3345
|
|
|
4075
|
-
# Monitoring configuration of the service.
|
|
4076
|
-
#
|
|
4077
|
-
#
|
|
4078
|
-
#
|
|
4079
|
-
#
|
|
4080
|
-
#
|
|
4081
|
-
#
|
|
4082
|
-
#
|
|
4083
|
-
# -
|
|
4084
|
-
#
|
|
4085
|
-
#
|
|
4086
|
-
#
|
|
4087
|
-
#
|
|
4088
|
-
# - key:
|
|
4089
|
-
#
|
|
4090
|
-
#
|
|
4091
|
-
#
|
|
4092
|
-
#
|
|
4093
|
-
#
|
|
4094
|
-
#
|
|
4095
|
-
#
|
|
4096
|
-
#
|
|
4097
|
-
# description: "The count of books that have been returned."
|
|
4098
|
-
# launch_stage: GA
|
|
4099
|
-
# metric_kind: DELTA
|
|
4100
|
-
# value_type: INT64
|
|
4101
|
-
# unit: "1"
|
|
4102
|
-
# labels:
|
|
4103
|
-
# - key: customer_id
|
|
4104
|
-
# description: "The id of the customer."
|
|
4105
|
-
# - name: library.googleapis.com/book/num_overdue
|
|
4106
|
-
# display_name: "Books Overdue"
|
|
4107
|
-
# description: "The current number of overdue books."
|
|
4108
|
-
# launch_stage: GA
|
|
4109
|
-
# metric_kind: GAUGE
|
|
4110
|
-
# value_type: INT64
|
|
4111
|
-
# unit: "1"
|
|
4112
|
-
# labels:
|
|
4113
|
-
# - key: customer_id
|
|
4114
|
-
# description: "The id of the customer."
|
|
4115
|
-
# monitoring:
|
|
4116
|
-
# producer_destinations:
|
|
4117
|
-
# - monitored_resource: library.googleapis.com/Branch
|
|
4118
|
-
# metrics:
|
|
4119
|
-
# - library.googleapis.com/book/returned_count
|
|
4120
|
-
# consumer_destinations:
|
|
4121
|
-
# - monitored_resource: library.googleapis.com/Branch
|
|
4122
|
-
# metrics:
|
|
4123
|
-
# - library.googleapis.com/book/returned_count
|
|
4124
|
-
# - library.googleapis.com/book/num_overdue
|
|
3346
|
+
# Monitoring configuration of the service. The example below shows how to
|
|
3347
|
+
# configure monitored resources and metrics for monitoring. In the example, a
|
|
3348
|
+
# monitored resource and two metrics are defined. The `library.googleapis.com/
|
|
3349
|
+
# book/returned_count` metric is sent to both producer and consumer projects,
|
|
3350
|
+
# whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
|
|
3351
|
+
# the consumer project. monitored_resources: - type: library.googleapis.com/
|
|
3352
|
+
# Branch display_name: "Library Branch" description: "A branch of a library."
|
|
3353
|
+
# launch_stage: GA labels: - key: resource_container description: "The Cloud
|
|
3354
|
+
# container (ie. project id) for the Branch." - key: location description: "The
|
|
3355
|
+
# location of the library branch." - key: branch_id description: "The id of the
|
|
3356
|
+
# branch." metrics: - name: library.googleapis.com/book/returned_count
|
|
3357
|
+
# display_name: "Books Returned" description: "The count of books that have been
|
|
3358
|
+
# returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
|
|
3359
|
+
# labels: - key: customer_id description: "The id of the customer." - name:
|
|
3360
|
+
# library.googleapis.com/book/num_overdue display_name: "Books Overdue"
|
|
3361
|
+
# description: "The current number of overdue books." launch_stage: GA
|
|
3362
|
+
# metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
|
|
3363
|
+
# description: "The id of the customer." monitoring: producer_destinations: -
|
|
3364
|
+
# monitored_resource: library.googleapis.com/Branch metrics: - library.
|
|
3365
|
+
# googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
|
|
3366
|
+
# library.googleapis.com/Branch metrics: - library.googleapis.com/book/
|
|
3367
|
+
# returned_count - library.googleapis.com/book/num_overdue
|
|
4125
3368
|
# Corresponds to the JSON property `monitoring`
|
|
4126
3369
|
# @return [Google::Apis::ServicemanagementV1::Monitoring]
|
|
4127
3370
|
attr_accessor :monitoring
|
|
4128
3371
|
|
|
4129
|
-
# The service name, which is a DNS-like logical identifier for the
|
|
4130
|
-
#
|
|
4131
|
-
#
|
|
4132
|
-
# of the service also owns the DNS name.
|
|
3372
|
+
# The service name, which is a DNS-like logical identifier for the service, such
|
|
3373
|
+
# as `calendar.googleapis.com`. The service name typically goes through DNS
|
|
3374
|
+
# verification to make sure the owner of the service also owns the DNS name.
|
|
4133
3375
|
# Corresponds to the JSON property `name`
|
|
4134
3376
|
# @return [String]
|
|
4135
3377
|
attr_accessor :name
|
|
@@ -4139,46 +3381,25 @@ module Google
|
|
|
4139
3381
|
# @return [String]
|
|
4140
3382
|
attr_accessor :producer_project_id
|
|
4141
3383
|
|
|
4142
|
-
# Quota configuration helps to achieve fairness and budgeting in service
|
|
4143
|
-
#
|
|
4144
|
-
#
|
|
4145
|
-
#
|
|
4146
|
-
#
|
|
4147
|
-
#
|
|
4148
|
-
#
|
|
4149
|
-
#
|
|
4150
|
-
#
|
|
4151
|
-
#
|
|
4152
|
-
#
|
|
4153
|
-
# -
|
|
4154
|
-
#
|
|
4155
|
-
#
|
|
4156
|
-
#
|
|
4157
|
-
#
|
|
4158
|
-
#
|
|
4159
|
-
#
|
|
4160
|
-
#
|
|
4161
|
-
# # consuming at twice rate as the DeleteBook method.
|
|
4162
|
-
# metric_rules:
|
|
4163
|
-
# - selector: "*"
|
|
4164
|
-
# metric_costs:
|
|
4165
|
-
# library.googleapis.com/read_calls: 1
|
|
4166
|
-
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
4167
|
-
# metric_costs:
|
|
4168
|
-
# library.googleapis.com/write_calls: 2
|
|
4169
|
-
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
4170
|
-
# metric_costs:
|
|
4171
|
-
# library.googleapis.com/write_calls: 1
|
|
4172
|
-
# Corresponding Metric definition:
|
|
4173
|
-
# metrics:
|
|
4174
|
-
# - name: library.googleapis.com/read_calls
|
|
4175
|
-
# display_name: Read requests
|
|
4176
|
-
# metric_kind: DELTA
|
|
4177
|
-
# value_type: INT64
|
|
4178
|
-
# - name: library.googleapis.com/write_calls
|
|
4179
|
-
# display_name: Write requests
|
|
4180
|
-
# metric_kind: DELTA
|
|
4181
|
-
# value_type: INT64
|
|
3384
|
+
# Quota configuration helps to achieve fairness and budgeting in service usage.
|
|
3385
|
+
# The metric based quota configuration works this way: - The service
|
|
3386
|
+
# configuration defines a set of metrics. - For API calls, the quota.
|
|
3387
|
+
# metric_rules maps methods to metrics with corresponding costs. - The quota.
|
|
3388
|
+
# limits defines limits on the metrics, which will be used for quota checks at
|
|
3389
|
+
# runtime. An example quota configuration in yaml format: quota: limits: - name:
|
|
3390
|
+
# apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
|
|
3391
|
+
# project`" # rate limit for consumer projects values: STANDARD: 10000 # The
|
|
3392
|
+
# metric rules bind all methods to the read_calls metric, # except for the
|
|
3393
|
+
# UpdateBook and DeleteBook methods. These two methods # are mapped to the
|
|
3394
|
+
# write_calls metric, with the UpdateBook method # consuming at twice rate as
|
|
3395
|
+
# the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
|
|
3396
|
+
# googleapis.com/read_calls: 1 - selector: google.example.library.v1.
|
|
3397
|
+
# LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
|
|
3398
|
+
# selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
|
|
3399
|
+
# library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
|
|
3400
|
+
# - name: library.googleapis.com/read_calls display_name: Read requests
|
|
3401
|
+
# metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
|
|
3402
|
+
# write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
|
|
4182
3403
|
# Corresponds to the JSON property `quota`
|
|
4183
3404
|
# @return [Google::Apis::ServicemanagementV1::Quota]
|
|
4184
3405
|
attr_accessor :quota
|
|
@@ -4188,20 +3409,18 @@ module Google
|
|
|
4188
3409
|
# @return [Google::Apis::ServicemanagementV1::SourceInfo]
|
|
4189
3410
|
attr_accessor :source_info
|
|
4190
3411
|
|
|
4191
|
-
# ### System parameter configuration
|
|
4192
|
-
#
|
|
4193
|
-
#
|
|
4194
|
-
#
|
|
4195
|
-
# change the names of the system parameters.
|
|
3412
|
+
# ### System parameter configuration A system parameter is a special kind of
|
|
3413
|
+
# parameter defined by the API system, not by an individual API. It is typically
|
|
3414
|
+
# mapped to an HTTP header and/or a URL query parameter. This configuration
|
|
3415
|
+
# specifies which methods change the names of the system parameters.
|
|
4196
3416
|
# Corresponds to the JSON property `systemParameters`
|
|
4197
3417
|
# @return [Google::Apis::ServicemanagementV1::SystemParameters]
|
|
4198
3418
|
attr_accessor :system_parameters
|
|
4199
3419
|
|
|
4200
|
-
# A list of all proto message types included in this API service.
|
|
4201
|
-
#
|
|
4202
|
-
#
|
|
4203
|
-
#
|
|
4204
|
-
# to define system APIs in ESF.
|
|
3420
|
+
# A list of all proto message types included in this API service. It serves
|
|
3421
|
+
# similar purpose as [google.api.Service.types], except that these types are not
|
|
3422
|
+
# needed by user-defined APIs. Therefore, they will not show up in the generated
|
|
3423
|
+
# discovery doc. This field should only be used to define system APIs in ESF.
|
|
4205
3424
|
# Corresponds to the JSON property `systemTypes`
|
|
4206
3425
|
# @return [Array<Google::Apis::ServicemanagementV1::Type>]
|
|
4207
3426
|
attr_accessor :system_types
|
|
@@ -4211,12 +3430,10 @@ module Google
|
|
|
4211
3430
|
# @return [String]
|
|
4212
3431
|
attr_accessor :title
|
|
4213
3432
|
|
|
4214
|
-
# A list of all proto message types included in this API service.
|
|
4215
|
-
#
|
|
4216
|
-
#
|
|
4217
|
-
#
|
|
4218
|
-
# should be listed here by name. Example:
|
|
4219
|
-
# types:
|
|
3433
|
+
# A list of all proto message types included in this API service. Types
|
|
3434
|
+
# referenced directly or indirectly by the `apis` are automatically included.
|
|
3435
|
+
# Messages which are not referenced but shall be included, such as types used by
|
|
3436
|
+
# the `google.protobuf.Any` type, should be listed here by name. Example: types:
|
|
4220
3437
|
# - name: google.protobuf.Int32
|
|
4221
3438
|
# Corresponds to the JSON property `types`
|
|
4222
3439
|
# @return [Array<Google::Apis::ServicemanagementV1::Type>]
|
|
@@ -4263,121 +3480,44 @@ module Google
|
|
|
4263
3480
|
end
|
|
4264
3481
|
end
|
|
4265
3482
|
|
|
4266
|
-
# The per-product per-project service identity for a service.
|
|
4267
|
-
# Use this field to configure per-product per-project service identity.
|
|
4268
|
-
# Example of a service identity configuration.
|
|
4269
|
-
# usage:
|
|
4270
|
-
# service_identity:
|
|
4271
|
-
# - service_account_parent: "projects/123456789"
|
|
4272
|
-
# display_name: "Cloud XXX Service Agent"
|
|
4273
|
-
# description: "Used as the identity of Cloud XXX to access resources"
|
|
4274
|
-
class ServiceIdentity
|
|
4275
|
-
include Google::Apis::Core::Hashable
|
|
4276
|
-
|
|
4277
|
-
# Optional. A user-specified opaque description of the service account.
|
|
4278
|
-
# Must be less than or equal to 256 UTF-8 bytes.
|
|
4279
|
-
# Corresponds to the JSON property `description`
|
|
4280
|
-
# @return [String]
|
|
4281
|
-
attr_accessor :description
|
|
4282
|
-
|
|
4283
|
-
# Optional. A user-specified name for the service account.
|
|
4284
|
-
# Must be less than or equal to 100 UTF-8 bytes.
|
|
4285
|
-
# Corresponds to the JSON property `displayName`
|
|
4286
|
-
# @return [String]
|
|
4287
|
-
attr_accessor :display_name
|
|
4288
|
-
|
|
4289
|
-
# A service account project that hosts the service accounts.
|
|
4290
|
-
# An example name would be:
|
|
4291
|
-
# `projects/123456789`
|
|
4292
|
-
# Corresponds to the JSON property `serviceAccountParent`
|
|
4293
|
-
# @return [String]
|
|
4294
|
-
attr_accessor :service_account_parent
|
|
4295
|
-
|
|
4296
|
-
def initialize(**args)
|
|
4297
|
-
update!(**args)
|
|
4298
|
-
end
|
|
4299
|
-
|
|
4300
|
-
# Update properties of this object
|
|
4301
|
-
def update!(**args)
|
|
4302
|
-
@description = args[:description] if args.key?(:description)
|
|
4303
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
4304
|
-
@service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
|
|
4305
|
-
end
|
|
4306
|
-
end
|
|
4307
|
-
|
|
4308
3483
|
# Request message for `SetIamPolicy` method.
|
|
4309
3484
|
class SetIamPolicyRequest
|
|
4310
3485
|
include Google::Apis::Core::Hashable
|
|
4311
3486
|
|
|
4312
3487
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
4313
|
-
# controls for Google Cloud resources.
|
|
4314
|
-
# A `
|
|
4315
|
-
#
|
|
4316
|
-
#
|
|
4317
|
-
#
|
|
4318
|
-
#
|
|
4319
|
-
#
|
|
4320
|
-
#
|
|
4321
|
-
#
|
|
4322
|
-
#
|
|
4323
|
-
#
|
|
4324
|
-
# [
|
|
4325
|
-
#
|
|
4326
|
-
#
|
|
4327
|
-
# `
|
|
4328
|
-
# "
|
|
4329
|
-
# `
|
|
4330
|
-
# "
|
|
4331
|
-
#
|
|
4332
|
-
#
|
|
4333
|
-
#
|
|
4334
|
-
#
|
|
4335
|
-
#
|
|
4336
|
-
#
|
|
4337
|
-
#
|
|
4338
|
-
#
|
|
4339
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
4340
|
-
# "members": [
|
|
4341
|
-
# "user:eve@example.com"
|
|
4342
|
-
# ],
|
|
4343
|
-
# "condition": `
|
|
4344
|
-
# "title": "expirable access",
|
|
4345
|
-
# "description": "Does not grant access after Sep 2020",
|
|
4346
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
4347
|
-
# ",
|
|
4348
|
-
# `
|
|
4349
|
-
# `
|
|
4350
|
-
# ],
|
|
4351
|
-
# "etag": "BwWWja0YfJA=",
|
|
4352
|
-
# "version": 3
|
|
4353
|
-
# `
|
|
4354
|
-
# **YAML example:**
|
|
4355
|
-
# bindings:
|
|
4356
|
-
# - members:
|
|
4357
|
-
# - user:mike@example.com
|
|
4358
|
-
# - group:admins@example.com
|
|
4359
|
-
# - domain:google.com
|
|
4360
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
4361
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
4362
|
-
# - members:
|
|
4363
|
-
# - user:eve@example.com
|
|
4364
|
-
# role: roles/resourcemanager.organizationViewer
|
|
4365
|
-
# condition:
|
|
4366
|
-
# title: expirable access
|
|
4367
|
-
# description: Does not grant access after Sep 2020
|
|
4368
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
4369
|
-
# - etag: BwWWja0YfJA=
|
|
4370
|
-
# - version: 3
|
|
4371
|
-
# For a description of IAM and its features, see the
|
|
4372
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
3488
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
3489
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
3490
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
3491
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
3492
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
3493
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
3494
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
3495
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
3496
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
3497
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
3498
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
3499
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
3500
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
3501
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
3502
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
3503
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
3504
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
3505
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
3506
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
3507
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
3508
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
3509
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
3510
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
3511
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
3512
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
3513
|
+
# google.com/iam/docs/).
|
|
4373
3514
|
# Corresponds to the JSON property `policy`
|
|
4374
3515
|
# @return [Google::Apis::ServicemanagementV1::Policy]
|
|
4375
3516
|
attr_accessor :policy
|
|
4376
3517
|
|
|
4377
3518
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
4378
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
|
4379
|
-
#
|
|
4380
|
-
# `paths: "bindings, etag"`
|
|
3519
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
|
3520
|
+
# default mask is used: `paths: "bindings, etag"`
|
|
4381
3521
|
# Corresponds to the JSON property `updateMask`
|
|
4382
3522
|
# @return [String]
|
|
4383
3523
|
attr_accessor :update_mask
|
|
@@ -4393,13 +3533,13 @@ module Google
|
|
|
4393
3533
|
end
|
|
4394
3534
|
end
|
|
4395
3535
|
|
|
4396
|
-
# `SourceContext` represents information about the source of a
|
|
4397
|
-
#
|
|
3536
|
+
# `SourceContext` represents information about the source of a protobuf element,
|
|
3537
|
+
# like the file in which it is defined.
|
|
4398
3538
|
class SourceContext
|
|
4399
3539
|
include Google::Apis::Core::Hashable
|
|
4400
3540
|
|
|
4401
3541
|
# The path-qualified name of the .proto file that contained the associated
|
|
4402
|
-
# protobuf element.
|
|
3542
|
+
# protobuf element. For example: `"google/protobuf/source_context.proto"`.
|
|
4403
3543
|
# Corresponds to the JSON property `fileName`
|
|
4404
3544
|
# @return [String]
|
|
4405
3545
|
attr_accessor :file_name
|
|
@@ -4433,12 +3573,12 @@ module Google
|
|
|
4433
3573
|
end
|
|
4434
3574
|
end
|
|
4435
3575
|
|
|
4436
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
4437
|
-
#
|
|
4438
|
-
#
|
|
4439
|
-
#
|
|
4440
|
-
#
|
|
4441
|
-
#
|
|
3576
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
3577
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
3578
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
3579
|
+
# data: error code, error message, and error details. You can find out more
|
|
3580
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
3581
|
+
# //cloud.google.com/apis/design/errors).
|
|
4442
3582
|
class Status
|
|
4443
3583
|
include Google::Apis::Core::Hashable
|
|
4444
3584
|
|
|
@@ -4447,15 +3587,15 @@ module Google
|
|
|
4447
3587
|
# @return [Fixnum]
|
|
4448
3588
|
attr_accessor :code
|
|
4449
3589
|
|
|
4450
|
-
# A list of messages that carry the error details.
|
|
3590
|
+
# A list of messages that carry the error details. There is a common set of
|
|
4451
3591
|
# message types for APIs to use.
|
|
4452
3592
|
# Corresponds to the JSON property `details`
|
|
4453
3593
|
# @return [Array<Hash<String,Object>>]
|
|
4454
3594
|
attr_accessor :details
|
|
4455
3595
|
|
|
4456
|
-
# A developer-facing error message, which should be in English. Any
|
|
4457
|
-
#
|
|
4458
|
-
#
|
|
3596
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
3597
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
3598
|
+
# field, or localized by the client.
|
|
4459
3599
|
# Corresponds to the JSON property `message`
|
|
4460
3600
|
# @return [String]
|
|
4461
3601
|
attr_accessor :message
|
|
@@ -4507,9 +3647,9 @@ module Google
|
|
|
4507
3647
|
# @return [Google::Apis::ServicemanagementV1::ConfigSource]
|
|
4508
3648
|
attr_accessor :config_source
|
|
4509
3649
|
|
|
4510
|
-
# Optional. If set, this will result in the generation of a
|
|
4511
|
-
#
|
|
4512
|
-
#
|
|
3650
|
+
# Optional. If set, this will result in the generation of a `google.api.Service`
|
|
3651
|
+
# configuration based on the `ConfigSource` provided, but the generated config
|
|
3652
|
+
# and the sources will NOT be persisted.
|
|
4513
3653
|
# Corresponds to the JSON property `validateOnly`
|
|
4514
3654
|
# @return [Boolean]
|
|
4515
3655
|
attr_accessor :validate_only
|
|
@@ -4531,26 +3671,15 @@ module Google
|
|
|
4531
3671
|
include Google::Apis::Core::Hashable
|
|
4532
3672
|
|
|
4533
3673
|
# `Service` is the root object of Google service configuration schema. It
|
|
4534
|
-
# describes basic information about a service, such as the name and the
|
|
4535
|
-
#
|
|
4536
|
-
#
|
|
4537
|
-
#
|
|
4538
|
-
#
|
|
4539
|
-
#
|
|
4540
|
-
#
|
|
4541
|
-
#
|
|
4542
|
-
#
|
|
4543
|
-
# apis:
|
|
4544
|
-
# - name: google.calendar.v3.Calendar
|
|
4545
|
-
# authentication:
|
|
4546
|
-
# providers:
|
|
4547
|
-
# - id: google_calendar_auth
|
|
4548
|
-
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
4549
|
-
# issuer: https://securetoken.google.com
|
|
4550
|
-
# rules:
|
|
4551
|
-
# - selector: "*"
|
|
4552
|
-
# requirements:
|
|
4553
|
-
# provider_id: google_calendar_auth
|
|
3674
|
+
# describes basic information about a service, such as the name and the title,
|
|
3675
|
+
# and delegates other aspects to sub-sections. Each sub-section is either a
|
|
3676
|
+
# proto message or a repeated proto message that configures a specific aspect,
|
|
3677
|
+
# such as auth. See each proto message definition for details. Example: type:
|
|
3678
|
+
# google.api.Service config_version: 3 name: calendar.googleapis.com title:
|
|
3679
|
+
# Google Calendar API apis: - name: google.calendar.v3.Calendar authentication:
|
|
3680
|
+
# providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/
|
|
3681
|
+
# oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*"
|
|
3682
|
+
# requirements: provider_id: google_calendar_auth
|
|
4554
3683
|
# Corresponds to the JSON property `serviceConfig`
|
|
4555
3684
|
# @return [Google::Apis::ServicemanagementV1::Service]
|
|
4556
3685
|
attr_accessor :service_config
|
|
@@ -4571,8 +3700,7 @@ module Google
|
|
|
4571
3700
|
class SystemParameter
|
|
4572
3701
|
include Google::Apis::Core::Hashable
|
|
4573
3702
|
|
|
4574
|
-
# Define the HTTP header name to use for the parameter. It is case
|
|
4575
|
-
# insensitive.
|
|
3703
|
+
# Define the HTTP header name to use for the parameter. It is case insensitive.
|
|
4576
3704
|
# Corresponds to the JSON property `httpHeader`
|
|
4577
3705
|
# @return [String]
|
|
4578
3706
|
attr_accessor :http_header
|
|
@@ -4600,23 +3728,20 @@ module Google
|
|
|
4600
3728
|
end
|
|
4601
3729
|
end
|
|
4602
3730
|
|
|
4603
|
-
# Define a system parameter rule mapping system parameter definitions to
|
|
4604
|
-
# methods.
|
|
3731
|
+
# Define a system parameter rule mapping system parameter definitions to methods.
|
|
4605
3732
|
class SystemParameterRule
|
|
4606
3733
|
include Google::Apis::Core::Hashable
|
|
4607
3734
|
|
|
4608
|
-
# Define parameters. Multiple names may be defined for a parameter.
|
|
4609
|
-
#
|
|
4610
|
-
#
|
|
4611
|
-
#
|
|
4612
|
-
# parameter-dependent.
|
|
3735
|
+
# Define parameters. Multiple names may be defined for a parameter. For a given
|
|
3736
|
+
# method call, only one of them should be used. If multiple names are used the
|
|
3737
|
+
# behavior is implementation-dependent. If none of the specified names are
|
|
3738
|
+
# present the behavior is parameter-dependent.
|
|
4613
3739
|
# Corresponds to the JSON property `parameters`
|
|
4614
3740
|
# @return [Array<Google::Apis::ServicemanagementV1::SystemParameter>]
|
|
4615
3741
|
attr_accessor :parameters
|
|
4616
3742
|
|
|
4617
3743
|
# Selects the methods to which this rule applies. Use '*' to indicate all
|
|
4618
|
-
# methods in all APIs.
|
|
4619
|
-
# Refer to selector for syntax details.
|
|
3744
|
+
# methods in all APIs. Refer to selector for syntax details.
|
|
4620
3745
|
# Corresponds to the JSON property `selector`
|
|
4621
3746
|
# @return [String]
|
|
4622
3747
|
attr_accessor :selector
|
|
@@ -4632,36 +3757,23 @@ module Google
|
|
|
4632
3757
|
end
|
|
4633
3758
|
end
|
|
4634
3759
|
|
|
4635
|
-
# ### System parameter configuration
|
|
4636
|
-
#
|
|
4637
|
-
#
|
|
4638
|
-
#
|
|
4639
|
-
# change the names of the system parameters.
|
|
3760
|
+
# ### System parameter configuration A system parameter is a special kind of
|
|
3761
|
+
# parameter defined by the API system, not by an individual API. It is typically
|
|
3762
|
+
# mapped to an HTTP header and/or a URL query parameter. This configuration
|
|
3763
|
+
# specifies which methods change the names of the system parameters.
|
|
4640
3764
|
class SystemParameters
|
|
4641
3765
|
include Google::Apis::Core::Hashable
|
|
4642
3766
|
|
|
4643
|
-
# Define system parameters.
|
|
4644
|
-
#
|
|
4645
|
-
#
|
|
4646
|
-
#
|
|
4647
|
-
#
|
|
4648
|
-
# Example: define api key for
|
|
4649
|
-
# system_parameters
|
|
4650
|
-
#
|
|
4651
|
-
# -
|
|
4652
|
-
#
|
|
4653
|
-
# - name: api_key
|
|
4654
|
-
# url_query_parameter: api_key
|
|
4655
|
-
# Example: define 2 api key names for a specific method.
|
|
4656
|
-
# system_parameters
|
|
4657
|
-
# rules:
|
|
4658
|
-
# - selector: "/ListShelves"
|
|
4659
|
-
# parameters:
|
|
4660
|
-
# - name: api_key
|
|
4661
|
-
# http_header: Api-Key1
|
|
4662
|
-
# - name: api_key
|
|
4663
|
-
# http_header: Api-Key2
|
|
4664
|
-
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
3767
|
+
# Define system parameters. The parameters defined here will override the
|
|
3768
|
+
# default parameters implemented by the system. If this field is missing from
|
|
3769
|
+
# the service config, default system parameters will be used. Default system
|
|
3770
|
+
# parameters and names is implementation-dependent. Example: define api key for
|
|
3771
|
+
# all methods system_parameters rules: - selector: "*" parameters: - name:
|
|
3772
|
+
# api_key url_query_parameter: api_key Example: define 2 api key names for a
|
|
3773
|
+
# specific method. system_parameters rules: - selector: "/ListShelves"
|
|
3774
|
+
# parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header:
|
|
3775
|
+
# Api-Key2 **NOTE:** All service configuration rules follow "last one wins"
|
|
3776
|
+
# order.
|
|
4665
3777
|
# Corresponds to the JSON property `rules`
|
|
4666
3778
|
# @return [Array<Google::Apis::ServicemanagementV1::SystemParameterRule>]
|
|
4667
3779
|
attr_accessor :rules
|
|
@@ -4680,10 +3792,9 @@ module Google
|
|
|
4680
3792
|
class TestIamPermissionsRequest
|
|
4681
3793
|
include Google::Apis::Core::Hashable
|
|
4682
3794
|
|
|
4683
|
-
# The set of permissions to check for the `resource`. Permissions with
|
|
4684
|
-
#
|
|
4685
|
-
#
|
|
4686
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
3795
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
3796
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
|
3797
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
4687
3798
|
# Corresponds to the JSON property `permissions`
|
|
4688
3799
|
# @return [Array<String>]
|
|
4689
3800
|
attr_accessor :permissions
|
|
@@ -4702,8 +3813,7 @@ module Google
|
|
|
4702
3813
|
class TestIamPermissionsResponse
|
|
4703
3814
|
include Google::Apis::Core::Hashable
|
|
4704
3815
|
|
|
4705
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
4706
|
-
# allowed.
|
|
3816
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
4707
3817
|
# Corresponds to the JSON property `permissions`
|
|
4708
3818
|
# @return [Array<String>]
|
|
4709
3819
|
attr_accessor :permissions
|
|
@@ -4718,38 +3828,21 @@ module Google
|
|
|
4718
3828
|
end
|
|
4719
3829
|
end
|
|
4720
3830
|
|
|
4721
|
-
# Strategy that specifies how clients of Google Service Controller want to
|
|
4722
|
-
#
|
|
4723
|
-
#
|
|
4724
|
-
#
|
|
4725
|
-
#
|
|
4726
|
-
#
|
|
4727
|
-
#
|
|
4728
|
-
#
|
|
4729
|
-
#
|
|
4730
|
-
# id: "example.googleapis.com/rollout_20160206"
|
|
4731
|
-
# traffic_percent_strategy `
|
|
4732
|
-
# percentages: `
|
|
4733
|
-
# "example.googleapis.com/20160201": 70.00
|
|
4734
|
-
# "example.googleapis.com/20160206": 30.00
|
|
4735
|
-
# `
|
|
4736
|
-
# `
|
|
4737
|
-
# `
|
|
4738
|
-
# Day 2
|
|
4739
|
-
# Rollout `
|
|
4740
|
-
# id: "example.googleapis.com/rollout_20160207"
|
|
4741
|
-
# traffic_percent_strategy: `
|
|
4742
|
-
# percentages: `
|
|
4743
|
-
# "example.googleapis.com/20160206": 100.00
|
|
4744
|
-
# `
|
|
4745
|
-
# `
|
|
4746
|
-
# `
|
|
3831
|
+
# Strategy that specifies how clients of Google Service Controller want to send
|
|
3832
|
+
# traffic to use different config versions. This is generally used by API proxy
|
|
3833
|
+
# to split traffic based on your configured percentage for each config version.
|
|
3834
|
+
# One example of how to gradually rollout a new service configuration using this
|
|
3835
|
+
# strategy: Day 1 Rollout ` id: "example.googleapis.com/rollout_20160206"
|
|
3836
|
+
# traffic_percent_strategy ` percentages: ` "example.googleapis.com/20160201":
|
|
3837
|
+
# 70.00 "example.googleapis.com/20160206": 30.00 ` ` ` Day 2 Rollout ` id: "
|
|
3838
|
+
# example.googleapis.com/rollout_20160207" traffic_percent_strategy: `
|
|
3839
|
+
# percentages: ` "example.googleapis.com/20160206": 100.00 ` ` `
|
|
4747
3840
|
class TrafficPercentStrategy
|
|
4748
3841
|
include Google::Apis::Core::Hashable
|
|
4749
3842
|
|
|
4750
|
-
# Maps service configuration IDs to their corresponding traffic percentage.
|
|
4751
|
-
#
|
|
4752
|
-
#
|
|
3843
|
+
# Maps service configuration IDs to their corresponding traffic percentage. Key
|
|
3844
|
+
# is the service configuration ID, Value is the traffic percentage which must be
|
|
3845
|
+
# greater than 0.0 and the sum must equal to 100.0.
|
|
4753
3846
|
# Corresponds to the JSON property `percentages`
|
|
4754
3847
|
# @return [Hash<String,Float>]
|
|
4755
3848
|
attr_accessor :percentages
|
|
@@ -4788,8 +3881,8 @@ module Google
|
|
|
4788
3881
|
# @return [Array<Google::Apis::ServicemanagementV1::Option>]
|
|
4789
3882
|
attr_accessor :options
|
|
4790
3883
|
|
|
4791
|
-
# `SourceContext` represents information about the source of a
|
|
4792
|
-
#
|
|
3884
|
+
# `SourceContext` represents information about the source of a protobuf element,
|
|
3885
|
+
# like the file in which it is defined.
|
|
4793
3886
|
# Corresponds to the JSON property `sourceContext`
|
|
4794
3887
|
# @return [Google::Apis::ServicemanagementV1::SourceContext]
|
|
4795
3888
|
attr_accessor :source_context
|
|
@@ -4818,8 +3911,8 @@ module Google
|
|
|
4818
3911
|
class UndeleteServiceResponse
|
|
4819
3912
|
include Google::Apis::Core::Hashable
|
|
4820
3913
|
|
|
4821
|
-
# The full representation of a Service that is managed by
|
|
4822
|
-
#
|
|
3914
|
+
# The full representation of a Service that is managed by Google Service
|
|
3915
|
+
# Management.
|
|
4823
3916
|
# Corresponds to the JSON property `service`
|
|
4824
3917
|
# @return [Google::Apis::ServicemanagementV1::ManagedService]
|
|
4825
3918
|
attr_accessor :service
|
|
@@ -4839,41 +3932,28 @@ module Google
|
|
|
4839
3932
|
include Google::Apis::Core::Hashable
|
|
4840
3933
|
|
|
4841
3934
|
# The full resource name of a channel used for sending notifications to the
|
|
4842
|
-
# service producer.
|
|
4843
|
-
#
|
|
4844
|
-
#
|
|
4845
|
-
#
|
|
4846
|
-
#
|
|
4847
|
-
# documented in https://cloud.google.com/pubsub/docs/overview.
|
|
3935
|
+
# service producer. Google Service Management currently only supports [Google
|
|
3936
|
+
# Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To
|
|
3937
|
+
# use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/
|
|
3938
|
+
# Sub topic that uses the Cloud Pub/Sub topic name format documented in https://
|
|
3939
|
+
# cloud.google.com/pubsub/docs/overview.
|
|
4848
3940
|
# Corresponds to the JSON property `producerNotificationChannel`
|
|
4849
3941
|
# @return [String]
|
|
4850
3942
|
attr_accessor :producer_notification_channel
|
|
4851
3943
|
|
|
4852
3944
|
# Requirements that must be satisfied before a consumer project can use the
|
|
4853
|
-
# service. Each requirement is of the form
|
|
4854
|
-
#
|
|
3945
|
+
# service. Each requirement is of the form /; for example 'serviceusage.
|
|
3946
|
+
# googleapis.com/billing-enabled'.
|
|
4855
3947
|
# Corresponds to the JSON property `requirements`
|
|
4856
3948
|
# @return [Array<String>]
|
|
4857
3949
|
attr_accessor :requirements
|
|
4858
3950
|
|
|
4859
|
-
# A list of usage rules that apply to individual API methods.
|
|
4860
|
-
#
|
|
3951
|
+
# A list of usage rules that apply to individual API methods. **NOTE:** All
|
|
3952
|
+
# service configuration rules follow "last one wins" order.
|
|
4861
3953
|
# Corresponds to the JSON property `rules`
|
|
4862
3954
|
# @return [Array<Google::Apis::ServicemanagementV1::UsageRule>]
|
|
4863
3955
|
attr_accessor :rules
|
|
4864
3956
|
|
|
4865
|
-
# The per-product per-project service identity for a service.
|
|
4866
|
-
# Use this field to configure per-product per-project service identity.
|
|
4867
|
-
# Example of a service identity configuration.
|
|
4868
|
-
# usage:
|
|
4869
|
-
# service_identity:
|
|
4870
|
-
# - service_account_parent: "projects/123456789"
|
|
4871
|
-
# display_name: "Cloud XXX Service Agent"
|
|
4872
|
-
# description: "Used as the identity of Cloud XXX to access resources"
|
|
4873
|
-
# Corresponds to the JSON property `serviceIdentity`
|
|
4874
|
-
# @return [Google::Apis::ServicemanagementV1::ServiceIdentity]
|
|
4875
|
-
attr_accessor :service_identity
|
|
4876
|
-
|
|
4877
3957
|
def initialize(**args)
|
|
4878
3958
|
update!(**args)
|
|
4879
3959
|
end
|
|
@@ -4883,49 +3963,39 @@ module Google
|
|
|
4883
3963
|
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
|
4884
3964
|
@requirements = args[:requirements] if args.key?(:requirements)
|
|
4885
3965
|
@rules = args[:rules] if args.key?(:rules)
|
|
4886
|
-
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
|
4887
3966
|
end
|
|
4888
3967
|
end
|
|
4889
3968
|
|
|
4890
|
-
# Usage configuration rules for the service.
|
|
4891
|
-
#
|
|
4892
|
-
#
|
|
4893
|
-
#
|
|
4894
|
-
#
|
|
4895
|
-
#
|
|
4896
|
-
#
|
|
4897
|
-
#
|
|
4898
|
-
#
|
|
4899
|
-
#
|
|
4900
|
-
# rules:
|
|
4901
|
-
# - selector: "*"
|
|
4902
|
-
# allow_unregistered_calls: true
|
|
4903
|
-
# Example of a method that wants to allow unregistered calls.
|
|
4904
|
-
# usage:
|
|
4905
|
-
# rules:
|
|
4906
|
-
# - selector: "google.example.library.v1.LibraryService.CreateBook"
|
|
4907
|
-
# allow_unregistered_calls: true
|
|
3969
|
+
# Usage configuration rules for the service. NOTE: Under development. Use this
|
|
3970
|
+
# rule to configure unregistered calls for the service. Unregistered calls are
|
|
3971
|
+
# calls that do not contain consumer project identity. (Example: calls that do
|
|
3972
|
+
# not contain an API key). By default, API methods do not allow unregistered
|
|
3973
|
+
# calls, and each method call must be identified by a consumer project identity.
|
|
3974
|
+
# Use this rule to allow/disallow unregistered calls. Example of an API that
|
|
3975
|
+
# wants to allow unregistered calls for entire service. usage: rules: - selector:
|
|
3976
|
+
# "*" allow_unregistered_calls: true Example of a method that wants to allow
|
|
3977
|
+
# unregistered calls. usage: rules: - selector: "google.example.library.v1.
|
|
3978
|
+
# LibraryService.CreateBook" allow_unregistered_calls: true
|
|
4908
3979
|
class UsageRule
|
|
4909
3980
|
include Google::Apis::Core::Hashable
|
|
4910
3981
|
|
|
4911
|
-
# If true, the selected method allows unregistered calls, e.g. calls
|
|
4912
|
-
#
|
|
3982
|
+
# If true, the selected method allows unregistered calls, e.g. calls that don't
|
|
3983
|
+
# identify any user or application.
|
|
4913
3984
|
# Corresponds to the JSON property `allowUnregisteredCalls`
|
|
4914
3985
|
# @return [Boolean]
|
|
4915
3986
|
attr_accessor :allow_unregistered_calls
|
|
4916
3987
|
alias_method :allow_unregistered_calls?, :allow_unregistered_calls
|
|
4917
3988
|
|
|
4918
3989
|
# Selects the methods to which this rule applies. Use '*' to indicate all
|
|
4919
|
-
# methods in all APIs.
|
|
4920
|
-
# Refer to selector for syntax details.
|
|
3990
|
+
# methods in all APIs. Refer to selector for syntax details.
|
|
4921
3991
|
# Corresponds to the JSON property `selector`
|
|
4922
3992
|
# @return [String]
|
|
4923
3993
|
attr_accessor :selector
|
|
4924
3994
|
|
|
4925
|
-
# If true, the selected method should skip service control and the control
|
|
4926
|
-
#
|
|
4927
|
-
#
|
|
4928
|
-
#
|
|
3995
|
+
# If true, the selected method should skip service control and the control plane
|
|
3996
|
+
# features, such as quota and billing, will not be available. This flag is used
|
|
3997
|
+
# by Google Cloud Endpoints to bypass checks for internal methods, such as
|
|
3998
|
+
# service health check methods.
|
|
4929
3999
|
# Corresponds to the JSON property `skipServiceControl`
|
|
4930
4000
|
# @return [Boolean]
|
|
4931
4001
|
attr_accessor :skip_service_control
|