google-api-client 0.41.2 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +529 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +93 -129
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
- data/generated/google/apis/apigee_v1.rb +6 -8
- data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
- data/generated/google/apis/apigee_v1/representations.rb +593 -0
- data/generated/google/apis/apigee_v1/service.rb +2596 -1692
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -44
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -43
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +538 -541
- data/generated/google/apis/bigquery_v2/representations.rb +71 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +211 -106
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +95 -36
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
- data/generated/google/apis/cloudasset_v1/service.rb +131 -156
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1021 -137
- data/generated/google/apis/compute_alpha/representations.rb +208 -4
- data/generated/google/apis/compute_alpha/service.rb +710 -699
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +879 -75
- data/generated/google/apis/compute_beta/representations.rb +204 -1
- data/generated/google/apis/compute_beta/service.rb +875 -607
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1324 -130
- data/generated/google/apis/compute_v1/representations.rb +480 -15
- data/generated/google/apis/compute_v1/service.rb +1076 -43
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +946 -961
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
- data/generated/google/apis/container_v1beta1/representations.rb +72 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +20 -3
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +112 -6
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
- data/generated/google/apis/datafusion_v1/service.rb +667 -0
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +238 -329
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +331 -473
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
- data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
- data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +290 -162
- data/generated/google/apis/dns_v1/service.rb +232 -180
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +82 -8
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +102 -25
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +87 -8
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +67 -16
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
- data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +506 -450
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +227 -185
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +170 -208
- data/generated/google/apis/fitness_v1/service.rb +125 -146
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +37 -38
- data/generated/google/apis/games_v1.rb +5 -4
- data/generated/google/apis/games_v1/classes.rb +320 -2085
- data/generated/google/apis/games_v1/representations.rb +14 -647
- data/generated/google/apis/games_v1/service.rb +161 -1109
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +207 -266
- data/generated/google/apis/gmail_v1/service.rb +263 -290
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
- data/generated/google/apis/groupsmigration_v1.rb +3 -3
- data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +687 -806
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -573
- data/generated/google/apis/iam_v1/service.rb +430 -544
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +954 -1143
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +117 -38
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +263 -315
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +126 -141
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +931 -179
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
- data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +493 -403
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +407 -516
- data/generated/google/apis/pubsub_v1/representations.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +217 -252
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/pubsublite_v1/service.rb +525 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +477 -116
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +837 -1244
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +234 -248
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +322 -378
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/classes.rb +210 -276
- data/generated/google/apis/run_v1beta1/service.rb +17 -19
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +67 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
- data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sql_v1beta4/service.rb +49 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +22 -23
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +189 -285
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +383 -374
- data/generated/google/apis/testing_v1/representations.rb +35 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +79 -78
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -138
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -138
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +4 -6
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
- data/generated/google/apis/youtube_v3/representations.rb +458 -0
- data/generated/google/apis/youtube_v3/service.rb +1303 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +47 -43
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -861
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
|
27
27
|
module ServicenetworkingV1beta
|
|
28
28
|
VERSION = 'V1beta'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200819'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -114,21 +114,20 @@ module Google
|
|
|
114
114
|
class AddSubnetworkRequest
|
|
115
115
|
include Google::Apis::Core::Hashable
|
|
116
116
|
|
|
117
|
-
# Required. A resource that represents the service consumer, such as
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
#
|
|
117
|
+
# Required. A resource that represents the service consumer, such as `projects/
|
|
118
|
+
# 123456`. The project number can be different from the value in the consumer
|
|
119
|
+
# network parameter. For example, the network might be part of a Shared VPC
|
|
120
|
+
# network. In those cases, Service Networking validates that this resource
|
|
121
|
+
# belongs to that Shared VPC.
|
|
122
122
|
# Corresponds to the JSON property `consumer`
|
|
123
123
|
# @return [String]
|
|
124
124
|
attr_accessor :consumer
|
|
125
125
|
|
|
126
|
-
# Required. The name of the service consumer's VPC network. The network
|
|
127
|
-
#
|
|
128
|
-
# connections.create method. The name must be in the following format:
|
|
129
|
-
# `
|
|
130
|
-
#
|
|
131
|
-
# VPC network in the project.
|
|
126
|
+
# Required. The name of the service consumer's VPC network. The network must
|
|
127
|
+
# have an existing private connection that was provisioned through the
|
|
128
|
+
# connections.create method. The name must be in the following format: `projects/
|
|
129
|
+
# `project`/global/networks/`network``, where `project` is a project number,
|
|
130
|
+
# such as `12345`. `network` is the name of a VPC network in the project.
|
|
132
131
|
# Corresponds to the JSON property `consumerNetwork`
|
|
133
132
|
# @return [String]
|
|
134
133
|
attr_accessor :consumer_network
|
|
@@ -138,38 +137,38 @@ module Google
|
|
|
138
137
|
# @return [String]
|
|
139
138
|
attr_accessor :description
|
|
140
139
|
|
|
141
|
-
# Required. The prefix length of the subnet's IP address range.
|
|
142
|
-
#
|
|
143
|
-
#
|
|
144
|
-
#
|
|
140
|
+
# Required. The prefix length of the subnet's IP address range. Use CIDR range
|
|
141
|
+
# notation, such as `30` to provision a subnet with an `x.x.x.x/30` CIDR range.
|
|
142
|
+
# The IP address range is drawn from a pool of available ranges in the service
|
|
143
|
+
# consumer's allocated range.
|
|
145
144
|
# Corresponds to the JSON property `ipPrefixLength`
|
|
146
145
|
# @return [Fixnum]
|
|
147
146
|
attr_accessor :ip_prefix_length
|
|
148
147
|
|
|
149
|
-
# Required. The name of a [region](/compute/docs/regions-zones)
|
|
150
|
-
#
|
|
148
|
+
# Required. The name of a [region](/compute/docs/regions-zones) for the subnet,
|
|
149
|
+
# such `europe-west1`.
|
|
151
150
|
# Corresponds to the JSON property `region`
|
|
152
151
|
# @return [String]
|
|
153
152
|
attr_accessor :region
|
|
154
153
|
|
|
155
|
-
# Optional. The starting address of a range. The address must be a valid
|
|
156
|
-
#
|
|
157
|
-
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
154
|
+
# Optional. The starting address of a range. The address must be a valid IPv4
|
|
155
|
+
# address in the x.x.x.x format. This value combined with the IP prefix range is
|
|
156
|
+
# the CIDR range for the subnet. The range must be within the allocated range
|
|
157
|
+
# that is assigned to the private connection. If the CIDR range isn't available,
|
|
158
|
+
# the call fails.
|
|
160
159
|
# Corresponds to the JSON property `requestedAddress`
|
|
161
160
|
# @return [String]
|
|
162
161
|
attr_accessor :requested_address
|
|
163
162
|
|
|
164
163
|
# Required. A name for the new subnet. For information about the naming
|
|
165
|
-
# requirements, see [subnetwork](/compute/docs/reference/rest/v1/subnetworks)
|
|
166
|
-
#
|
|
164
|
+
# requirements, see [subnetwork](/compute/docs/reference/rest/v1/subnetworks) in
|
|
165
|
+
# the Compute API documentation.
|
|
167
166
|
# Corresponds to the JSON property `subnetwork`
|
|
168
167
|
# @return [String]
|
|
169
168
|
attr_accessor :subnetwork
|
|
170
169
|
|
|
171
|
-
# A list of members that are granted the `compute.networkUser`
|
|
172
|
-
#
|
|
170
|
+
# A list of members that are granted the `compute.networkUser` role on the
|
|
171
|
+
# subnet.
|
|
173
172
|
# Corresponds to the JSON property `subnetworkUsers`
|
|
174
173
|
# @return [Array<String>]
|
|
175
174
|
attr_accessor :subnetwork_users
|
|
@@ -191,14 +190,13 @@ module Google
|
|
|
191
190
|
end
|
|
192
191
|
end
|
|
193
192
|
|
|
194
|
-
# Api is a light-weight descriptor for an API Interface.
|
|
195
|
-
#
|
|
196
|
-
#
|
|
197
|
-
#
|
|
198
|
-
#
|
|
199
|
-
#
|
|
200
|
-
#
|
|
201
|
-
# detailed terminology.
|
|
193
|
+
# Api is a light-weight descriptor for an API Interface. Interfaces are also
|
|
194
|
+
# described as "protocol buffer services" in some contexts, such as by the "
|
|
195
|
+
# service" keyword in a .proto file, but they are different from API Services,
|
|
196
|
+
# which represent a concrete implementation of an interface as opposed to simply
|
|
197
|
+
# a description of methods and bindings. They are also sometimes simply referred
|
|
198
|
+
# to as "APIs" in other contexts, such as the name of this message itself. See
|
|
199
|
+
# https://cloud.google.com/apis/design/glossary for detailed terminology.
|
|
202
200
|
class Api
|
|
203
201
|
include Google::Apis::Core::Hashable
|
|
204
202
|
|
|
@@ -212,8 +210,8 @@ module Google
|
|
|
212
210
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Mixin>]
|
|
213
211
|
attr_accessor :mixins
|
|
214
212
|
|
|
215
|
-
# The fully qualified name of this interface, including package name
|
|
216
|
-
#
|
|
213
|
+
# The fully qualified name of this interface, including package name followed by
|
|
214
|
+
# the interface's simple name.
|
|
217
215
|
# Corresponds to the JSON property `name`
|
|
218
216
|
# @return [String]
|
|
219
217
|
attr_accessor :name
|
|
@@ -223,8 +221,8 @@ module Google
|
|
|
223
221
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Option>]
|
|
224
222
|
attr_accessor :options
|
|
225
223
|
|
|
226
|
-
# `SourceContext` represents information about the source of a
|
|
227
|
-
#
|
|
224
|
+
# `SourceContext` represents information about the source of a protobuf element,
|
|
225
|
+
# like the file in which it is defined.
|
|
228
226
|
# Corresponds to the JSON property `sourceContext`
|
|
229
227
|
# @return [Google::Apis::ServicenetworkingV1beta::SourceContext]
|
|
230
228
|
attr_accessor :source_context
|
|
@@ -234,23 +232,19 @@ module Google
|
|
|
234
232
|
# @return [String]
|
|
235
233
|
attr_accessor :syntax
|
|
236
234
|
|
|
237
|
-
# A version string for this interface. If specified, must have the form
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
#
|
|
245
|
-
#
|
|
246
|
-
#
|
|
247
|
-
#
|
|
248
|
-
#
|
|
249
|
-
#
|
|
250
|
-
# interface, which must end in `v<major-version>`, as in
|
|
251
|
-
# `google.feature.v1`. For major versions 0 and 1, the suffix can
|
|
252
|
-
# be omitted. Zero major versions must only be used for
|
|
253
|
-
# experimental, non-GA interfaces.
|
|
235
|
+
# A version string for this interface. If specified, must have the form `major-
|
|
236
|
+
# version.minor-version`, as in `1.10`. If the minor version is omitted, it
|
|
237
|
+
# defaults to zero. If the entire version field is empty, the major version is
|
|
238
|
+
# derived from the package name, as outlined below. If the field is not empty,
|
|
239
|
+
# the version in the package name will be verified to be consistent with what is
|
|
240
|
+
# provided here. The versioning schema uses [semantic versioning](http://semver.
|
|
241
|
+
# org) where the major version number indicates a breaking change and the minor
|
|
242
|
+
# version an additive, non-breaking change. Both version numbers are signals to
|
|
243
|
+
# users what to expect from different versions, and should be carefully chosen
|
|
244
|
+
# based on the product plan. The major version is also reflected in the package
|
|
245
|
+
# name of the interface, which must end in `v`, as in `google.feature.v1`. For
|
|
246
|
+
# major versions 0 and 1, the suffix can be omitted. Zero major versions must
|
|
247
|
+
# only be used for experimental, non-GA interfaces.
|
|
254
248
|
# Corresponds to the JSON property `version`
|
|
255
249
|
# @return [String]
|
|
256
250
|
attr_accessor :version
|
|
@@ -271,85 +265,63 @@ module Google
|
|
|
271
265
|
end
|
|
272
266
|
end
|
|
273
267
|
|
|
274
|
-
# Configuration for an authentication provider, including support for
|
|
275
|
-
#
|
|
276
|
-
# (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
|
268
|
+
# Configuration for an authentication provider, including support for [JSON Web
|
|
269
|
+
# Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
|
277
270
|
class AuthProvider
|
|
278
271
|
include Google::Apis::Core::Hashable
|
|
279
272
|
|
|
280
|
-
# The list of JWT
|
|
281
|
-
#
|
|
282
|
-
#
|
|
283
|
-
#
|
|
284
|
-
# be accepted.
|
|
285
|
-
# -
|
|
286
|
-
# - "https://[service.name]/"
|
|
287
|
-
# will be accepted.
|
|
288
|
-
# For example, if no audiences are in the setting, LibraryService API will
|
|
289
|
-
# accept JWTs with the following audiences:
|
|
290
|
-
# -
|
|
273
|
+
# The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-
|
|
274
|
+
# web-token-32#section-4.1.3). that are allowed to access. A JWT containing any
|
|
275
|
+
# of these audiences will be accepted. When this setting is absent, JWTs with
|
|
276
|
+
# audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[
|
|
277
|
+
# service.name]/" will be accepted. For example, if no audiences are in the
|
|
278
|
+
# setting, LibraryService API will accept JWTs with the following audiences: -
|
|
291
279
|
# https://library-example.googleapis.com/google.example.library.v1.
|
|
292
|
-
# LibraryService
|
|
293
|
-
#
|
|
294
|
-
#
|
|
295
|
-
# audiences: bookstore_android.apps.googleusercontent.com,
|
|
296
|
-
# bookstore_web.apps.googleusercontent.com
|
|
280
|
+
# LibraryService - https://library-example.googleapis.com/ Example: audiences:
|
|
281
|
+
# bookstore_android.apps.googleusercontent.com, bookstore_web.apps.
|
|
282
|
+
# googleusercontent.com
|
|
297
283
|
# Corresponds to the JSON property `audiences`
|
|
298
284
|
# @return [String]
|
|
299
285
|
attr_accessor :audiences
|
|
300
286
|
|
|
301
|
-
# Redirect URL if JWT token is required but not present or is expired.
|
|
302
|
-
#
|
|
287
|
+
# Redirect URL if JWT token is required but not present or is expired. Implement
|
|
288
|
+
# authorizationUrl of securityDefinitions in OpenAPI spec.
|
|
303
289
|
# Corresponds to the JSON property `authorizationUrl`
|
|
304
290
|
# @return [String]
|
|
305
291
|
attr_accessor :authorization_url
|
|
306
292
|
|
|
307
|
-
# The unique identifier of the auth provider. It will be referred to by
|
|
308
|
-
#
|
|
309
|
-
# Example: "bookstore_auth".
|
|
293
|
+
# The unique identifier of the auth provider. It will be referred to by `
|
|
294
|
+
# AuthRequirement.provider_id`. Example: "bookstore_auth".
|
|
310
295
|
# Corresponds to the JSON property `id`
|
|
311
296
|
# @return [String]
|
|
312
297
|
attr_accessor :id
|
|
313
298
|
|
|
314
|
-
# Identifies the principal that issued the JWT. See
|
|
315
|
-
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
318
|
-
# Example: 1234567-compute@developer.gserviceaccount.com
|
|
299
|
+
# Identifies the principal that issued the JWT. See https://tools.ietf.org/html/
|
|
300
|
+
# draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email
|
|
301
|
+
# address. Example: https://securetoken.google.com Example: 1234567-compute@
|
|
302
|
+
# developer.gserviceaccount.com
|
|
319
303
|
# Corresponds to the JSON property `issuer`
|
|
320
304
|
# @return [String]
|
|
321
305
|
attr_accessor :issuer
|
|
322
306
|
|
|
323
|
-
# URL of the provider's public key set to validate signature of the JWT. See
|
|
324
|
-
#
|
|
325
|
-
#
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
#
|
|
329
|
-
# [OpenID
|
|
330
|
-
# Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
|
|
331
|
-
# the issuer.
|
|
332
|
-
# - can be inferred from the email domain of the issuer (e.g. a Google
|
|
333
|
-
# service account).
|
|
334
|
-
# Example: https://www.googleapis.com/oauth2/v1/certs
|
|
307
|
+
# URL of the provider's public key set to validate signature of the JWT. See [
|
|
308
|
+
# OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
|
|
309
|
+
# ProviderMetadata). Optional if the key set document: - can be retrieved from [
|
|
310
|
+
# OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html
|
|
311
|
+
# of the issuer. - can be inferred from the email domain of the issuer (e.g. a
|
|
312
|
+
# Google service account). Example: https://www.googleapis.com/oauth2/v1/certs
|
|
335
313
|
# Corresponds to the JSON property `jwksUri`
|
|
336
314
|
# @return [String]
|
|
337
315
|
attr_accessor :jwks_uri
|
|
338
316
|
|
|
339
|
-
# Defines the locations to extract the JWT.
|
|
340
|
-
#
|
|
341
|
-
# The
|
|
342
|
-
#
|
|
343
|
-
#
|
|
344
|
-
#
|
|
345
|
-
#
|
|
346
|
-
#
|
|
347
|
-
# Default locations can be specified as followings:
|
|
348
|
-
# jwt_locations:
|
|
349
|
-
# - header: Authorization
|
|
350
|
-
# value_prefix: "Bearer "
|
|
351
|
-
# - header: x-goog-iap-jwt-assertion
|
|
352
|
-
# - query: access_token
|
|
317
|
+
# Defines the locations to extract the JWT. JWT locations can be either from
|
|
318
|
+
# HTTP headers or URL query parameters. The rule is that the first match wins.
|
|
319
|
+
# The checking order is: checking all headers first, then URL query parameters.
|
|
320
|
+
# If not specified, default to use following 3 locations: 1) Authorization:
|
|
321
|
+
# Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
|
|
322
|
+
# locations can be specified as followings: jwt_locations: - header:
|
|
323
|
+
# Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
|
|
324
|
+
# query: access_token
|
|
353
325
|
# Corresponds to the JSON property `jwtLocations`
|
|
354
326
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::JwtLocation>]
|
|
355
327
|
attr_accessor :jwt_locations
|
|
@@ -369,34 +341,26 @@ module Google
|
|
|
369
341
|
end
|
|
370
342
|
end
|
|
371
343
|
|
|
372
|
-
# User-defined authentication requirements, including support for
|
|
373
|
-
#
|
|
374
|
-
# (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
|
344
|
+
# User-defined authentication requirements, including support for [JSON Web
|
|
345
|
+
# Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
|
375
346
|
class AuthRequirement
|
|
376
347
|
include Google::Apis::Core::Hashable
|
|
377
348
|
|
|
378
|
-
# NOTE: This will be deprecated soon, once AuthProvider.audiences is
|
|
379
|
-
#
|
|
380
|
-
#
|
|
381
|
-
#
|
|
382
|
-
#
|
|
383
|
-
#
|
|
384
|
-
#
|
|
385
|
-
# "https://
|
|
386
|
-
#
|
|
387
|
-
#
|
|
388
|
-
# "https://library-example.googleapis.com/google.example.library.v1.
|
|
389
|
-
# LibraryService".
|
|
390
|
-
# Example:
|
|
391
|
-
# audiences: bookstore_android.apps.googleusercontent.com,
|
|
392
|
-
# bookstore_web.apps.googleusercontent.com
|
|
349
|
+
# NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented
|
|
350
|
+
# and accepted in all the runtime components. The list of JWT [audiences](https:/
|
|
351
|
+
# /tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that
|
|
352
|
+
# are allowed to access. A JWT containing any of these audiences will be
|
|
353
|
+
# accepted. When this setting is absent, only JWTs with audience "https://
|
|
354
|
+
# Service_name/API_name" will be accepted. For example, if no audiences are in
|
|
355
|
+
# the setting, LibraryService API will only accept JWTs with the following
|
|
356
|
+
# audience "https://library-example.googleapis.com/google.example.library.v1.
|
|
357
|
+
# LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.
|
|
358
|
+
# com, bookstore_web.apps.googleusercontent.com
|
|
393
359
|
# Corresponds to the JSON property `audiences`
|
|
394
360
|
# @return [String]
|
|
395
361
|
attr_accessor :audiences
|
|
396
362
|
|
|
397
|
-
# id from authentication provider.
|
|
398
|
-
# Example:
|
|
399
|
-
# provider_id: bookstore_auth
|
|
363
|
+
# id from authentication provider. Example: provider_id: bookstore_auth
|
|
400
364
|
# Corresponds to the JSON property `providerId`
|
|
401
365
|
# @return [String]
|
|
402
366
|
attr_accessor :provider_id
|
|
@@ -412,18 +376,11 @@ module Google
|
|
|
412
376
|
end
|
|
413
377
|
end
|
|
414
378
|
|
|
415
|
-
# `Authentication` defines the authentication configuration for an API.
|
|
416
|
-
#
|
|
417
|
-
#
|
|
418
|
-
#
|
|
419
|
-
#
|
|
420
|
-
# - id: google_calendar_auth
|
|
421
|
-
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
422
|
-
# issuer: https://securetoken.google.com
|
|
423
|
-
# rules:
|
|
424
|
-
# - selector: "*"
|
|
425
|
-
# requirements:
|
|
426
|
-
# provider_id: google_calendar_auth
|
|
379
|
+
# `Authentication` defines the authentication configuration for an API. Example
|
|
380
|
+
# for an API targeted for external use: name: calendar.googleapis.com
|
|
381
|
+
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
|
382
|
+
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
|
383
|
+
# selector: "*" requirements: provider_id: google_calendar_auth
|
|
427
384
|
class Authentication
|
|
428
385
|
include Google::Apis::Core::Hashable
|
|
429
386
|
|
|
@@ -432,8 +389,8 @@ module Google
|
|
|
432
389
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::AuthProvider>]
|
|
433
390
|
attr_accessor :providers
|
|
434
391
|
|
|
435
|
-
# A list of authentication rules that apply to individual API methods.
|
|
436
|
-
#
|
|
392
|
+
# A list of authentication rules that apply to individual API methods. **NOTE:**
|
|
393
|
+
# All service configuration rules follow "last one wins" order.
|
|
437
394
|
# Corresponds to the JSON property `rules`
|
|
438
395
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::AuthenticationRule>]
|
|
439
396
|
attr_accessor :rules
|
|
@@ -449,13 +406,11 @@ module Google
|
|
|
449
406
|
end
|
|
450
407
|
end
|
|
451
408
|
|
|
452
|
-
# Authentication rules for the service.
|
|
453
|
-
#
|
|
454
|
-
#
|
|
455
|
-
#
|
|
456
|
-
# request.
|
|
457
|
-
# If a method doesn't have any auth requirements, request credentials will be
|
|
458
|
-
# ignored.
|
|
409
|
+
# Authentication rules for the service. By default, if a method has any
|
|
410
|
+
# authentication requirements, every request must include a valid credential
|
|
411
|
+
# matching one of the requirements. It's an error to include more than one kind
|
|
412
|
+
# of credential in a single request. If a method doesn't have any auth
|
|
413
|
+
# requirements, request credentials will be ignored.
|
|
459
414
|
class AuthenticationRule
|
|
460
415
|
include Google::Apis::Core::Hashable
|
|
461
416
|
|
|
@@ -466,19 +421,18 @@ module Google
|
|
|
466
421
|
alias_method :allow_without_credential?, :allow_without_credential
|
|
467
422
|
|
|
468
423
|
# OAuth scopes are a way to define data and permissions on data. For example,
|
|
469
|
-
# there are scopes defined for "Read-only access to Google Calendar" and
|
|
470
|
-
#
|
|
471
|
-
#
|
|
472
|
-
#
|
|
473
|
-
#
|
|
474
|
-
#
|
|
475
|
-
#
|
|
476
|
-
#
|
|
477
|
-
#
|
|
478
|
-
#
|
|
479
|
-
#
|
|
480
|
-
#
|
|
481
|
-
# due to the backend requiring additional scopes or permissions.
|
|
424
|
+
# there are scopes defined for "Read-only access to Google Calendar" and "Access
|
|
425
|
+
# to Cloud Platform". Users can consent to a scope for an application, giving it
|
|
426
|
+
# permission to access that data on their behalf. OAuth scope specifications
|
|
427
|
+
# should be fairly coarse grained; a user will need to see and understand the
|
|
428
|
+
# text description of what your scope means. In most cases: use one or at most
|
|
429
|
+
# two OAuth scopes for an entire family of products. If your product has
|
|
430
|
+
# multiple APIs, you should probably be sharing the OAuth scope across all of
|
|
431
|
+
# those APIs. When you need finer grained OAuth consent screens: talk with your
|
|
432
|
+
# product management about how developers will use them in practice. Please note
|
|
433
|
+
# that even though each of the canonical scopes is enough for a request to be
|
|
434
|
+
# accepted and passed to the backend, a request can still fail due to the
|
|
435
|
+
# backend requiring additional scopes or permissions.
|
|
482
436
|
# Corresponds to the JSON property `oauth`
|
|
483
437
|
# @return [Google::Apis::ServicenetworkingV1beta::OAuthRequirements]
|
|
484
438
|
attr_accessor :oauth
|
|
@@ -488,8 +442,8 @@ module Google
|
|
|
488
442
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::AuthRequirement>]
|
|
489
443
|
attr_accessor :requirements
|
|
490
444
|
|
|
491
|
-
# Selects the methods to which this rule applies.
|
|
492
|
-
#
|
|
445
|
+
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
446
|
+
# details.
|
|
493
447
|
# Corresponds to the JSON property `selector`
|
|
494
448
|
# @return [String]
|
|
495
449
|
attr_accessor :selector
|
|
@@ -511,8 +465,8 @@ module Google
|
|
|
511
465
|
class Backend
|
|
512
466
|
include Google::Apis::Core::Hashable
|
|
513
467
|
|
|
514
|
-
# A list of API backend rules that apply to individual API methods.
|
|
515
|
-
#
|
|
468
|
+
# A list of API backend rules that apply to individual API methods. **NOTE:**
|
|
469
|
+
# All service configuration rules follow "last one wins" order.
|
|
516
470
|
# Corresponds to the JSON property `rules`
|
|
517
471
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::BackendRule>]
|
|
518
472
|
attr_accessor :rules
|
|
@@ -531,21 +485,13 @@ module Google
|
|
|
531
485
|
class BackendRule
|
|
532
486
|
include Google::Apis::Core::Hashable
|
|
533
487
|
|
|
534
|
-
# The address of the API backend.
|
|
535
|
-
#
|
|
536
|
-
#
|
|
537
|
-
#
|
|
538
|
-
#
|
|
539
|
-
#
|
|
540
|
-
#
|
|
541
|
-
# grpcs:// gRPC TLS
|
|
542
|
-
# It is recommended to explicitly include a scheme. Leaving out the scheme
|
|
543
|
-
# may cause constrasting behaviors across platforms.
|
|
544
|
-
# If the port is unspecified, the default is:
|
|
545
|
-
# - 80 for schemes without TLS
|
|
546
|
-
# - 443 for schemes with TLS
|
|
547
|
-
# For HTTP backends, use protocol
|
|
548
|
-
# to specify the protocol version.
|
|
488
|
+
# The address of the API backend. The scheme is used to determine the backend
|
|
489
|
+
# protocol and security. The following schemes are accepted: SCHEME PROTOCOL
|
|
490
|
+
# SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC
|
|
491
|
+
# TLS It is recommended to explicitly include a scheme. Leaving out the scheme
|
|
492
|
+
# may cause constrasting behaviors across platforms. If the port is unspecified,
|
|
493
|
+
# the default is: - 80 for schemes without TLS - 443 for schemes with TLS For
|
|
494
|
+
# HTTP backends, use protocol to specify the protocol version.
|
|
549
495
|
# Corresponds to the JSON property `address`
|
|
550
496
|
# @return [String]
|
|
551
497
|
attr_accessor :address
|
|
@@ -556,18 +502,18 @@ module Google
|
|
|
556
502
|
# @return [Float]
|
|
557
503
|
attr_accessor :deadline
|
|
558
504
|
|
|
559
|
-
# When disable_auth is true, a JWT ID token won't be generated and the
|
|
560
|
-
#
|
|
561
|
-
#
|
|
562
|
-
#
|
|
505
|
+
# When disable_auth is true, a JWT ID token won't be generated and the original "
|
|
506
|
+
# Authorization" HTTP header will be preserved. If the header is used to carry
|
|
507
|
+
# the original token and is expected by the backend, this field must be set to
|
|
508
|
+
# true to preserve the header.
|
|
563
509
|
# Corresponds to the JSON property `disableAuth`
|
|
564
510
|
# @return [Boolean]
|
|
565
511
|
attr_accessor :disable_auth
|
|
566
512
|
alias_method :disable_auth?, :disable_auth
|
|
567
513
|
|
|
568
|
-
# The JWT audience is used when generating a JWT ID token for the backend.
|
|
569
|
-
#
|
|
570
|
-
#
|
|
514
|
+
# The JWT audience is used when generating a JWT ID token for the backend. This
|
|
515
|
+
# ID token will be added in the HTTP "authorization" header, and sent to the
|
|
516
|
+
# backend.
|
|
571
517
|
# Corresponds to the JSON property `jwtAudience`
|
|
572
518
|
# @return [String]
|
|
573
519
|
attr_accessor :jwt_audience
|
|
@@ -578,8 +524,8 @@ module Google
|
|
|
578
524
|
# @return [Float]
|
|
579
525
|
attr_accessor :min_deadline
|
|
580
526
|
|
|
581
|
-
# The number of seconds to wait for the completion of a long running
|
|
582
|
-
#
|
|
527
|
+
# The number of seconds to wait for the completion of a long running operation.
|
|
528
|
+
# The default is no deadline.
|
|
583
529
|
# Corresponds to the JSON property `operationDeadline`
|
|
584
530
|
# @return [Float]
|
|
585
531
|
attr_accessor :operation_deadline
|
|
@@ -589,29 +535,21 @@ module Google
|
|
|
589
535
|
# @return [String]
|
|
590
536
|
attr_accessor :path_translation
|
|
591
537
|
|
|
592
|
-
# The protocol used for sending a request to the backend.
|
|
593
|
-
#
|
|
594
|
-
#
|
|
595
|
-
#
|
|
596
|
-
#
|
|
597
|
-
#
|
|
598
|
-
# https://
|
|
599
|
-
#
|
|
600
|
-
#
|
|
601
|
-
# For secure HTTP backends (https://) that support HTTP/2, set this field
|
|
602
|
-
# to "h2" for improved performance.
|
|
603
|
-
# Configuring this field to non-default values is only supported for secure
|
|
604
|
-
# HTTP backends. This field will be ignored for all other backends.
|
|
605
|
-
# See
|
|
606
|
-
# https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-
|
|
607
|
-
# values.xhtml#alpn-protocol-ids
|
|
608
|
-
# for more details on the supported values.
|
|
538
|
+
# The protocol used for sending a request to the backend. The supported values
|
|
539
|
+
# are "http/1.1" and "h2". The default value is inferred from the scheme in the
|
|
540
|
+
# address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2
|
|
541
|
+
# grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this
|
|
542
|
+
# field to "h2" for improved performance. Configuring this field to non-default
|
|
543
|
+
# values is only supported for secure HTTP backends. This field will be ignored
|
|
544
|
+
# for all other backends. See https://www.iana.org/assignments/tls-extensiontype-
|
|
545
|
+
# values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on
|
|
546
|
+
# the supported values.
|
|
609
547
|
# Corresponds to the JSON property `protocol`
|
|
610
548
|
# @return [String]
|
|
611
549
|
attr_accessor :protocol
|
|
612
550
|
|
|
613
|
-
# Selects the methods to which this rule applies.
|
|
614
|
-
#
|
|
551
|
+
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
552
|
+
# details.
|
|
615
553
|
# Corresponds to the JSON property `selector`
|
|
616
554
|
# @return [String]
|
|
617
555
|
attr_accessor :selector
|
|
@@ -634,42 +572,28 @@ module Google
|
|
|
634
572
|
end
|
|
635
573
|
end
|
|
636
574
|
|
|
637
|
-
# Billing related configuration of the service.
|
|
638
|
-
#
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
#
|
|
642
|
-
#
|
|
643
|
-
#
|
|
644
|
-
#
|
|
645
|
-
# -
|
|
646
|
-
#
|
|
647
|
-
# - key:
|
|
648
|
-
#
|
|
649
|
-
#
|
|
650
|
-
# -
|
|
651
|
-
#
|
|
652
|
-
# Custom label to define the city where the library branch is located
|
|
653
|
-
# in.
|
|
654
|
-
# - key: name
|
|
655
|
-
# description: Custom label to define the name of the library branch.
|
|
656
|
-
# metrics:
|
|
657
|
-
# - name: library.googleapis.com/book/borrowed_count
|
|
658
|
-
# metric_kind: DELTA
|
|
659
|
-
# value_type: INT64
|
|
660
|
-
# unit: "1"
|
|
661
|
-
# billing:
|
|
662
|
-
# consumer_destinations:
|
|
663
|
-
# - monitored_resource: library.googleapis.com/billing_branch
|
|
664
|
-
# metrics:
|
|
665
|
-
# - library.googleapis.com/book/borrowed_count
|
|
575
|
+
# Billing related configuration of the service. The following example shows how
|
|
576
|
+
# to configure monitored resources and metrics for billing, `
|
|
577
|
+
# consumer_destinations` is the only supported destination and the monitored
|
|
578
|
+
# resources need at least one label key `cloud.googleapis.com/location` to
|
|
579
|
+
# indicate the location of the billing usage, using different monitored
|
|
580
|
+
# resources between monitoring and billing is recommended so they can be evolved
|
|
581
|
+
# independently: monitored_resources: - type: library.googleapis.com/
|
|
582
|
+
# billing_branch labels: - key: cloud.googleapis.com/location description: |
|
|
583
|
+
# Predefined label to support billing location restriction. - key: city
|
|
584
|
+
# description: | Custom label to define the city where the library branch is
|
|
585
|
+
# located in. - key: name description: Custom label to define the name of the
|
|
586
|
+
# library branch. metrics: - name: library.googleapis.com/book/borrowed_count
|
|
587
|
+
# metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
|
|
588
|
+
# - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
|
|
589
|
+
# googleapis.com/book/borrowed_count
|
|
666
590
|
class Billing
|
|
667
591
|
include Google::Apis::Core::Hashable
|
|
668
592
|
|
|
669
|
-
# Billing configurations for sending metrics to the consumer project.
|
|
670
|
-
#
|
|
671
|
-
#
|
|
672
|
-
#
|
|
593
|
+
# Billing configurations for sending metrics to the consumer project. There can
|
|
594
|
+
# be multiple consumer destinations per service, each one must have a different
|
|
595
|
+
# monitored resource type. A metric can be used in at most one consumer
|
|
596
|
+
# destination.
|
|
673
597
|
# Corresponds to the JSON property `consumerDestinations`
|
|
674
598
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::BillingDestination>]
|
|
675
599
|
attr_accessor :consumer_destinations
|
|
@@ -684,19 +608,19 @@ module Google
|
|
|
684
608
|
end
|
|
685
609
|
end
|
|
686
610
|
|
|
687
|
-
# Configuration of a specific billing destination (Currently only support
|
|
688
|
-
#
|
|
611
|
+
# Configuration of a specific billing destination (Currently only support bill
|
|
612
|
+
# against consumer project).
|
|
689
613
|
class BillingDestination
|
|
690
614
|
include Google::Apis::Core::Hashable
|
|
691
615
|
|
|
692
|
-
# Names of the metrics to report to this billing destination.
|
|
693
|
-
#
|
|
616
|
+
# Names of the metrics to report to this billing destination. Each name must be
|
|
617
|
+
# defined in Service.metrics section.
|
|
694
618
|
# Corresponds to the JSON property `metrics`
|
|
695
619
|
# @return [Array<String>]
|
|
696
620
|
attr_accessor :metrics
|
|
697
621
|
|
|
698
|
-
# The monitored resource type. The type must be defined in
|
|
699
|
-
#
|
|
622
|
+
# The monitored resource type. The type must be defined in Service.
|
|
623
|
+
# monitored_resources section.
|
|
700
624
|
# Corresponds to the JSON property `monitoredResource`
|
|
701
625
|
# @return [String]
|
|
702
626
|
attr_accessor :monitored_resource
|
|
@@ -719,34 +643,30 @@ module Google
|
|
|
719
643
|
include Google::Apis::Core::Hashable
|
|
720
644
|
|
|
721
645
|
# The name of service consumer's VPC network that's connected with service
|
|
722
|
-
# producer network, in the following format:
|
|
723
|
-
# `
|
|
724
|
-
#
|
|
725
|
-
#
|
|
726
|
-
# service consumer's VPC network.
|
|
646
|
+
# producer network, in the following format: `projects/`project`/global/networks/
|
|
647
|
+
# `network``. ``project`` is a project number, such as in `12345` that includes
|
|
648
|
+
# the VPC service consumer's VPC network. ``network`` is the name of the service
|
|
649
|
+
# consumer's VPC network.
|
|
727
650
|
# Corresponds to the JSON property `network`
|
|
728
651
|
# @return [String]
|
|
729
652
|
attr_accessor :network
|
|
730
653
|
|
|
731
654
|
# Output only. The name of the VPC Network Peering connection that was created
|
|
732
|
-
# by the
|
|
733
|
-
# service producer.
|
|
655
|
+
# by the service producer.
|
|
734
656
|
# Corresponds to the JSON property `peering`
|
|
735
657
|
# @return [String]
|
|
736
658
|
attr_accessor :peering
|
|
737
659
|
|
|
738
|
-
# The name of one or more allocated IP address ranges for this service
|
|
739
|
-
#
|
|
740
|
-
#
|
|
741
|
-
# already established will not modify already provisioned service
|
|
660
|
+
# The name of one or more allocated IP address ranges for this service producer
|
|
661
|
+
# of type `PEERING`. Note that invoking this method with a different range when
|
|
662
|
+
# connection is already established will not modify already provisioned service
|
|
742
663
|
# producer subnetworks.
|
|
743
664
|
# Corresponds to the JSON property `reservedPeeringRanges`
|
|
744
665
|
# @return [Array<String>]
|
|
745
666
|
attr_accessor :reserved_peering_ranges
|
|
746
667
|
|
|
747
668
|
# Output only. The name of the peering service that's associated with this
|
|
748
|
-
# connection, in
|
|
749
|
-
# the following format: `services/`service name``.
|
|
669
|
+
# connection, in the following format: `services/`service name``.
|
|
750
670
|
# Corresponds to the JSON property `service`
|
|
751
671
|
# @return [String]
|
|
752
672
|
attr_accessor :service
|
|
@@ -764,39 +684,24 @@ module Google
|
|
|
764
684
|
end
|
|
765
685
|
end
|
|
766
686
|
|
|
767
|
-
# `Context` defines which contexts an API requests.
|
|
768
|
-
#
|
|
769
|
-
# context
|
|
770
|
-
#
|
|
771
|
-
#
|
|
772
|
-
#
|
|
773
|
-
# -
|
|
774
|
-
#
|
|
775
|
-
#
|
|
776
|
-
#
|
|
777
|
-
#
|
|
778
|
-
#
|
|
779
|
-
#
|
|
780
|
-
# This also provides mechanism to whitelist any protobuf message extension that
|
|
781
|
-
# can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
|
|
782
|
-
# “x-goog-ext-<extension_id>-jspb” format. For example, list any service
|
|
783
|
-
# specific protobuf types that can appear in grpc metadata as follows in your
|
|
784
|
-
# yaml file:
|
|
785
|
-
# Example:
|
|
786
|
-
# context:
|
|
787
|
-
# rules:
|
|
788
|
-
# - selector: "google.example.library.v1.LibraryService.CreateBook"
|
|
789
|
-
# allowed_request_extensions:
|
|
790
|
-
# - google.foo.v1.NewExtension
|
|
791
|
-
# allowed_response_extensions:
|
|
792
|
-
# - google.foo.v1.NewExtension
|
|
793
|
-
# You can also specify extension ID instead of fully qualified extension name
|
|
794
|
-
# here.
|
|
687
|
+
# `Context` defines which contexts an API requests. Example: context: rules: -
|
|
688
|
+
# selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
|
|
689
|
+
# context.OriginContext The above specifies that all methods in the API request `
|
|
690
|
+
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
|
691
|
+
# Available context types are defined in package `google.rpc.context`. This also
|
|
692
|
+
# provides mechanism to whitelist any protobuf message extension that can be
|
|
693
|
+
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
|
694
|
+
# For example, list any service specific protobuf types that can appear in grpc
|
|
695
|
+
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
|
696
|
+
# google.example.library.v1.LibraryService.CreateBook"
|
|
697
|
+
# allowed_request_extensions: - google.foo.v1.NewExtension
|
|
698
|
+
# allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
|
|
699
|
+
# extension ID instead of fully qualified extension name here.
|
|
795
700
|
class Context
|
|
796
701
|
include Google::Apis::Core::Hashable
|
|
797
702
|
|
|
798
|
-
# A list of RPC context rules that apply to individual API methods.
|
|
799
|
-
#
|
|
703
|
+
# A list of RPC context rules that apply to individual API methods. **NOTE:**
|
|
704
|
+
# All service configuration rules follow "last one wins" order.
|
|
800
705
|
# Corresponds to the JSON property `rules`
|
|
801
706
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::ContextRule>]
|
|
802
707
|
attr_accessor :rules
|
|
@@ -816,14 +721,14 @@ module Google
|
|
|
816
721
|
class ContextRule
|
|
817
722
|
include Google::Apis::Core::Hashable
|
|
818
723
|
|
|
819
|
-
# A list of full type names or extension IDs of extensions allowed in grpc
|
|
820
|
-
#
|
|
724
|
+
# A list of full type names or extension IDs of extensions allowed in grpc side
|
|
725
|
+
# channel from client to backend.
|
|
821
726
|
# Corresponds to the JSON property `allowedRequestExtensions`
|
|
822
727
|
# @return [Array<String>]
|
|
823
728
|
attr_accessor :allowed_request_extensions
|
|
824
729
|
|
|
825
|
-
# A list of full type names or extension IDs of extensions allowed in grpc
|
|
826
|
-
#
|
|
730
|
+
# A list of full type names or extension IDs of extensions allowed in grpc side
|
|
731
|
+
# channel from backend to client.
|
|
827
732
|
# Corresponds to the JSON property `allowedResponseExtensions`
|
|
828
733
|
# @return [Array<String>]
|
|
829
734
|
attr_accessor :allowed_response_extensions
|
|
@@ -838,8 +743,8 @@ module Google
|
|
|
838
743
|
# @return [Array<String>]
|
|
839
744
|
attr_accessor :requested
|
|
840
745
|
|
|
841
|
-
# Selects the methods to which this rule applies.
|
|
842
|
-
#
|
|
746
|
+
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
747
|
+
# details.
|
|
843
748
|
# Corresponds to the JSON property `selector`
|
|
844
749
|
# @return [String]
|
|
845
750
|
attr_accessor :selector
|
|
@@ -858,14 +763,14 @@ module Google
|
|
|
858
763
|
end
|
|
859
764
|
end
|
|
860
765
|
|
|
861
|
-
# Selects and configures the service controller used by the service.
|
|
862
|
-
#
|
|
863
|
-
#
|
|
766
|
+
# Selects and configures the service controller used by the service. The service
|
|
767
|
+
# controller handles features like abuse, quota, billing, logging, monitoring,
|
|
768
|
+
# etc.
|
|
864
769
|
class Control
|
|
865
770
|
include Google::Apis::Core::Hashable
|
|
866
771
|
|
|
867
|
-
# The service control environment to use. If empty, no control plane
|
|
868
|
-
#
|
|
772
|
+
# The service control environment to use. If empty, no control plane feature (
|
|
773
|
+
# like quota and billing) will be enabled.
|
|
869
774
|
# Corresponds to the JSON property `environment`
|
|
870
775
|
# @return [String]
|
|
871
776
|
attr_accessor :environment
|
|
@@ -880,19 +785,15 @@ module Google
|
|
|
880
785
|
end
|
|
881
786
|
end
|
|
882
787
|
|
|
883
|
-
# Customize service error responses.
|
|
884
|
-
#
|
|
885
|
-
#
|
|
886
|
-
#
|
|
887
|
-
# custom_error:
|
|
888
|
-
# types:
|
|
889
|
-
# - google.foo.v1.CustomError
|
|
890
|
-
# - google.foo.v1.AnotherError
|
|
788
|
+
# Customize service error responses. For example, list any service specific
|
|
789
|
+
# protobuf types that can appear in error detail lists of error responses.
|
|
790
|
+
# Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
|
|
791
|
+
# AnotherError
|
|
891
792
|
class CustomError
|
|
892
793
|
include Google::Apis::Core::Hashable
|
|
893
794
|
|
|
894
|
-
# The list of custom error rules that apply to individual API messages.
|
|
895
|
-
#
|
|
795
|
+
# The list of custom error rules that apply to individual API messages. **NOTE:**
|
|
796
|
+
# All service configuration rules follow "last one wins" order.
|
|
896
797
|
# Corresponds to the JSON property `rules`
|
|
897
798
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::CustomErrorRule>]
|
|
898
799
|
attr_accessor :rules
|
|
@@ -917,15 +818,15 @@ module Google
|
|
|
917
818
|
class CustomErrorRule
|
|
918
819
|
include Google::Apis::Core::Hashable
|
|
919
820
|
|
|
920
|
-
# Mark this message as possible payload in error response.
|
|
921
|
-
#
|
|
821
|
+
# Mark this message as possible payload in error response. Otherwise, objects of
|
|
822
|
+
# this type will be filtered when they appear in error payload.
|
|
922
823
|
# Corresponds to the JSON property `isErrorType`
|
|
923
824
|
# @return [Boolean]
|
|
924
825
|
attr_accessor :is_error_type
|
|
925
826
|
alias_method :is_error_type?, :is_error_type
|
|
926
827
|
|
|
927
|
-
# Selects messages to which this rule applies.
|
|
928
|
-
#
|
|
828
|
+
# Selects messages to which this rule applies. Refer to selector for syntax
|
|
829
|
+
# details.
|
|
929
830
|
# Corresponds to the JSON property `selector`
|
|
930
831
|
# @return [String]
|
|
931
832
|
attr_accessor :selector
|
|
@@ -966,6 +867,20 @@ module Google
|
|
|
966
867
|
end
|
|
967
868
|
end
|
|
968
869
|
|
|
870
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
|
871
|
+
# DeletePeeredDnsDomain API.
|
|
872
|
+
class DeletePeeredDnsDomainMetadata
|
|
873
|
+
include Google::Apis::Core::Hashable
|
|
874
|
+
|
|
875
|
+
def initialize(**args)
|
|
876
|
+
update!(**args)
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
# Update properties of this object
|
|
880
|
+
def update!(**args)
|
|
881
|
+
end
|
|
882
|
+
end
|
|
883
|
+
|
|
969
884
|
# Represents a DNS record set resource.
|
|
970
885
|
class DnsRecordSet
|
|
971
886
|
include Google::Apis::Core::Hashable
|
|
@@ -1014,9 +929,9 @@ module Google
|
|
|
1014
929
|
# @return [String]
|
|
1015
930
|
attr_accessor :dns_suffix
|
|
1016
931
|
|
|
1017
|
-
# User assigned name for this resource. Must be unique within the project.
|
|
1018
|
-
#
|
|
1019
|
-
#
|
|
932
|
+
# User assigned name for this resource. Must be unique within the project. The
|
|
933
|
+
# name must be 1-63 characters long, must begin with a letter, end with a letter
|
|
934
|
+
# or digit, and only contain lowercase letters, digits or dashes.
|
|
1020
935
|
# Corresponds to the JSON property `name`
|
|
1021
936
|
# @return [String]
|
|
1022
937
|
attr_accessor :name
|
|
@@ -1032,56 +947,32 @@ module Google
|
|
|
1032
947
|
end
|
|
1033
948
|
end
|
|
1034
949
|
|
|
1035
|
-
# `Documentation` provides the information for describing a service.
|
|
1036
|
-
#
|
|
1037
|
-
#
|
|
1038
|
-
#
|
|
1039
|
-
#
|
|
1040
|
-
#
|
|
1041
|
-
#
|
|
1042
|
-
#
|
|
1043
|
-
#
|
|
1044
|
-
#
|
|
1045
|
-
#
|
|
1046
|
-
#
|
|
1047
|
-
#
|
|
1048
|
-
#
|
|
1049
|
-
#
|
|
1050
|
-
#
|
|
1051
|
-
#
|
|
1052
|
-
#
|
|
1053
|
-
#
|
|
1054
|
-
#
|
|
1055
|
-
#
|
|
1056
|
-
#
|
|
1057
|
-
#
|
|
1058
|
-
#
|
|
1059
|
-
#
|
|
1060
|
-
#
|
|
1061
|
-
# a documentation fragment is embedded.
|
|
1062
|
-
# Documentation from the IDL is merged with documentation defined
|
|
1063
|
-
# via the config at normalization time, where documentation provided
|
|
1064
|
-
# by config rules overrides IDL provided.
|
|
1065
|
-
# A number of constructs specific to the API platform are supported
|
|
1066
|
-
# in documentation text.
|
|
1067
|
-
# In order to reference a proto element, the following
|
|
1068
|
-
# notation can be used:
|
|
1069
|
-
# <pre><code>[fully.qualified.proto.name][]</code></pre>
|
|
1070
|
-
# To override the display text used for the link, this can be used:
|
|
1071
|
-
# <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
|
1072
|
-
# Text can be excluded from doc using the following notation:
|
|
1073
|
-
# <pre><code>(-- internal comment --)</code></pre>
|
|
1074
|
-
# A few directives are available in documentation. Note that
|
|
1075
|
-
# directives must appear on a single line to be properly
|
|
1076
|
-
# identified. The `include` directive includes a markdown file from
|
|
1077
|
-
# an external source:
|
|
1078
|
-
# <pre><code>(== include path/to/file ==)</code></pre>
|
|
1079
|
-
# The `resource_for` directive marks a message to be the resource of
|
|
1080
|
-
# a collection in REST view. If it is not specified, tools attempt
|
|
1081
|
-
# to infer the resource from the operations in a collection:
|
|
1082
|
-
# <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
|
1083
|
-
# The directive `suppress_warning` does not directly affect documentation
|
|
1084
|
-
# and is documented together with service config validation.
|
|
950
|
+
# `Documentation` provides the information for describing a service. Example:
|
|
951
|
+
# documentation: summary: > The Google Calendar API gives access to most
|
|
952
|
+
# calendar features. pages: - name: Overview content: (== include google/foo/
|
|
953
|
+
# overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
|
|
954
|
+
# ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
|
|
955
|
+
# rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
|
|
956
|
+
# google.calendar.Calendar.Put description: > ... Documentation is provided in
|
|
957
|
+
# markdown syntax. In addition to standard markdown features, definition lists,
|
|
958
|
+
# tables and fenced code blocks are supported. Section headers can be provided
|
|
959
|
+
# and are interpreted relative to the section nesting of the context where a
|
|
960
|
+
# documentation fragment is embedded. Documentation from the IDL is merged with
|
|
961
|
+
# documentation defined via the config at normalization time, where
|
|
962
|
+
# documentation provided by config rules overrides IDL provided. A number of
|
|
963
|
+
# constructs specific to the API platform are supported in documentation text.
|
|
964
|
+
# In order to reference a proto element, the following notation can be used: [
|
|
965
|
+
# fully.qualified.proto.name][] To override the display text used for the link,
|
|
966
|
+
# this can be used: [display text][fully.qualified.proto.name] Text can be
|
|
967
|
+
# excluded from doc using the following notation: (-- internal comment --) A few
|
|
968
|
+
# directives are available in documentation. Note that directives must appear on
|
|
969
|
+
# a single line to be properly identified. The `include` directive includes a
|
|
970
|
+
# markdown file from an external source: (== include path/to/file ==) The `
|
|
971
|
+
# resource_for` directive marks a message to be the resource of a collection in
|
|
972
|
+
# REST view. If it is not specified, tools attempt to infer the resource from
|
|
973
|
+
# the operations in a collection: (== resource_for v1.shelves.books ==) The
|
|
974
|
+
# directive `suppress_warning` does not directly affect documentation and is
|
|
975
|
+
# documented together with service config validation.
|
|
1085
976
|
class Documentation
|
|
1086
977
|
include Google::Apis::Core::Hashable
|
|
1087
978
|
|
|
@@ -1090,19 +981,11 @@ module Google
|
|
|
1090
981
|
# @return [String]
|
|
1091
982
|
attr_accessor :documentation_root_url
|
|
1092
983
|
|
|
1093
|
-
# Declares a single overview page. For example:
|
|
1094
|
-
#
|
|
1095
|
-
# summary: ...
|
|
1096
|
-
#
|
|
1097
|
-
#
|
|
1098
|
-
# This is a shortcut for the following declaration (using pages style):
|
|
1099
|
-
# <pre><code>documentation:
|
|
1100
|
-
# summary: ...
|
|
1101
|
-
# pages:
|
|
1102
|
-
# - name: Overview
|
|
1103
|
-
# content: (== include overview.md ==)
|
|
1104
|
-
# </code></pre>
|
|
1105
|
-
# Note: you cannot specify both `overview` field and `pages` field.
|
|
984
|
+
# Declares a single overview page. For example: documentation: summary: ...
|
|
985
|
+
# overview: (== include overview.md ==) This is a shortcut for the following
|
|
986
|
+
# declaration (using pages style): documentation: summary: ... pages: - name:
|
|
987
|
+
# Overview content: (== include overview.md ==) Note: you cannot specify both `
|
|
988
|
+
# overview` field and `pages` field.
|
|
1106
989
|
# Corresponds to the JSON property `overview`
|
|
1107
990
|
# @return [String]
|
|
1108
991
|
attr_accessor :overview
|
|
@@ -1112,22 +995,20 @@ module Google
|
|
|
1112
995
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Page>]
|
|
1113
996
|
attr_accessor :pages
|
|
1114
997
|
|
|
1115
|
-
# A list of documentation rules that apply to individual API elements.
|
|
1116
|
-
#
|
|
998
|
+
# A list of documentation rules that apply to individual API elements. **NOTE:**
|
|
999
|
+
# All service configuration rules follow "last one wins" order.
|
|
1117
1000
|
# Corresponds to the JSON property `rules`
|
|
1118
1001
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::DocumentationRule>]
|
|
1119
1002
|
attr_accessor :rules
|
|
1120
1003
|
|
|
1121
|
-
# Specifies the service root url if the default one (the service name
|
|
1122
|
-
#
|
|
1123
|
-
#
|
|
1124
|
-
# urls are relative to.
|
|
1004
|
+
# Specifies the service root url if the default one (the service name from the
|
|
1005
|
+
# yaml file) is not suitable. This can be seen in any fully specified service
|
|
1006
|
+
# urls as well as sections that show a base that other urls are relative to.
|
|
1125
1007
|
# Corresponds to the JSON property `serviceRootUrl`
|
|
1126
1008
|
# @return [String]
|
|
1127
1009
|
attr_accessor :service_root_url
|
|
1128
1010
|
|
|
1129
|
-
# A short summary of what the service does. Can only be provided by
|
|
1130
|
-
# plain text.
|
|
1011
|
+
# A short summary of what the service does. Can only be provided by plain text.
|
|
1131
1012
|
# Corresponds to the JSON property `summary`
|
|
1132
1013
|
# @return [String]
|
|
1133
1014
|
attr_accessor :summary
|
|
@@ -1151,8 +1032,8 @@ module Google
|
|
|
1151
1032
|
class DocumentationRule
|
|
1152
1033
|
include Google::Apis::Core::Hashable
|
|
1153
1034
|
|
|
1154
|
-
# Deprecation description of the selected element(s). It can be provided if
|
|
1155
|
-
#
|
|
1035
|
+
# Deprecation description of the selected element(s). It can be provided if an
|
|
1036
|
+
# element is marked as `deprecated`.
|
|
1156
1037
|
# Corresponds to the JSON property `deprecationDescription`
|
|
1157
1038
|
# @return [String]
|
|
1158
1039
|
attr_accessor :deprecation_description
|
|
@@ -1184,35 +1065,28 @@ module Google
|
|
|
1184
1065
|
end
|
|
1185
1066
|
end
|
|
1186
1067
|
|
|
1187
|
-
# `Endpoint` describes a network endpoint that serves a set of APIs.
|
|
1188
|
-
#
|
|
1189
|
-
#
|
|
1190
|
-
# configuration.
|
|
1191
|
-
#
|
|
1192
|
-
#
|
|
1193
|
-
#
|
|
1194
|
-
# #
|
|
1195
|
-
#
|
|
1196
|
-
# # It also allows HTTP OPTIONS calls to be passed to the backend, for
|
|
1197
|
-
# # it to decide whether the subsequent cross-origin request is
|
|
1198
|
-
# # allowed to proceed.
|
|
1199
|
-
# - name: library-example.googleapis.com
|
|
1200
|
-
# allow_cors: true
|
|
1068
|
+
# `Endpoint` describes a network endpoint that serves a set of APIs. A service
|
|
1069
|
+
# may expose any number of endpoints, and all endpoints share the same service
|
|
1070
|
+
# configuration, such as quota configuration and monitoring configuration.
|
|
1071
|
+
# Example service configuration: name: library-example.googleapis.com endpoints:
|
|
1072
|
+
# # Below entry makes 'google.example.library.v1.Library' # API be served from
|
|
1073
|
+
# endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS
|
|
1074
|
+
# calls to be passed to the backend, for # it to decide whether the subsequent
|
|
1075
|
+
# cross-origin request is # allowed to proceed. - name: library-example.
|
|
1076
|
+
# googleapis.com allow_cors: true
|
|
1201
1077
|
class Endpoint
|
|
1202
1078
|
include Google::Apis::Core::Hashable
|
|
1203
1079
|
|
|
1204
1080
|
# DEPRECATED: This field is no longer supported. Instead of using aliases,
|
|
1205
|
-
# please specify multiple google.api.Endpoint for each of the intended
|
|
1206
|
-
# aliases.
|
|
1081
|
+
# please specify multiple google.api.Endpoint for each of the intended aliases.
|
|
1207
1082
|
# Additional names that this endpoint will be hosted on.
|
|
1208
1083
|
# Corresponds to the JSON property `aliases`
|
|
1209
1084
|
# @return [Array<String>]
|
|
1210
1085
|
attr_accessor :aliases
|
|
1211
1086
|
|
|
1212
|
-
# Allowing
|
|
1213
|
-
#
|
|
1214
|
-
#
|
|
1215
|
-
# receive and respond to HTTP OPTIONS requests. The response will be used by
|
|
1087
|
+
# Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
|
|
1088
|
+
# aka cross-domain traffic, would allow the backends served from this endpoint
|
|
1089
|
+
# to receive and respond to HTTP OPTIONS requests. The response will be used by
|
|
1216
1090
|
# the browser to determine whether the subsequent cross-origin request is
|
|
1217
1091
|
# allowed to proceed.
|
|
1218
1092
|
# Corresponds to the JSON property `allowCors`
|
|
@@ -1226,10 +1100,9 @@ module Google
|
|
|
1226
1100
|
attr_accessor :name
|
|
1227
1101
|
|
|
1228
1102
|
# The specification of an Internet routable address of API frontend that will
|
|
1229
|
-
# handle requests to this [API
|
|
1230
|
-
#
|
|
1231
|
-
#
|
|
1232
|
-
# "8.8.8.8" or "myservice.appspot.com".
|
|
1103
|
+
# handle requests to this [API Endpoint](https://cloud.google.com/apis/design/
|
|
1104
|
+
# glossary). It should be either a valid IPv4 address or a fully-qualified
|
|
1105
|
+
# domain name. For example, "8.8.8.8" or "myservice.appspot.com".
|
|
1233
1106
|
# Corresponds to the JSON property `target`
|
|
1234
1107
|
# @return [String]
|
|
1235
1108
|
attr_accessor :target
|
|
@@ -1266,8 +1139,8 @@ module Google
|
|
|
1266
1139
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Option>]
|
|
1267
1140
|
attr_accessor :options
|
|
1268
1141
|
|
|
1269
|
-
# `SourceContext` represents information about the source of a
|
|
1270
|
-
#
|
|
1142
|
+
# `SourceContext` represents information about the source of a protobuf element,
|
|
1143
|
+
# like the file in which it is defined.
|
|
1271
1144
|
# Corresponds to the JSON property `sourceContext`
|
|
1272
1145
|
# @return [Google::Apis::ServicenetworkingV1beta::SourceContext]
|
|
1273
1146
|
attr_accessor :source_context
|
|
@@ -1356,8 +1229,8 @@ module Google
|
|
|
1356
1229
|
# @return [Fixnum]
|
|
1357
1230
|
attr_accessor :number
|
|
1358
1231
|
|
|
1359
|
-
# The index of the field type in `Type.oneofs`, for message or enumeration
|
|
1360
|
-
#
|
|
1232
|
+
# The index of the field type in `Type.oneofs`, for message or enumeration types.
|
|
1233
|
+
# The first type has index 1; zero means the type is not in the list.
|
|
1361
1234
|
# Corresponds to the JSON property `oneofIndex`
|
|
1362
1235
|
# @return [Fixnum]
|
|
1363
1236
|
attr_accessor :oneof_index
|
|
@@ -1373,8 +1246,8 @@ module Google
|
|
|
1373
1246
|
attr_accessor :packed
|
|
1374
1247
|
alias_method :packed?, :packed
|
|
1375
1248
|
|
|
1376
|
-
# The field type URL, without the scheme, for message or enumeration
|
|
1377
|
-
#
|
|
1249
|
+
# The field type URL, without the scheme, for message or enumeration types.
|
|
1250
|
+
# Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
|
|
1378
1251
|
# Corresponds to the JSON property `typeUrl`
|
|
1379
1252
|
# @return [String]
|
|
1380
1253
|
attr_accessor :type_url
|
|
@@ -1408,21 +1281,19 @@ module Google
|
|
|
1408
1281
|
# @return [String]
|
|
1409
1282
|
attr_accessor :ip_cidr_range
|
|
1410
1283
|
|
|
1411
|
-
# Subnetwork name.
|
|
1412
|
-
# See https://cloud.google.com/compute/docs/vpc/
|
|
1284
|
+
# Subnetwork name. See https://cloud.google.com/compute/docs/vpc/
|
|
1413
1285
|
# Corresponds to the JSON property `name`
|
|
1414
1286
|
# @return [String]
|
|
1415
1287
|
attr_accessor :name
|
|
1416
1288
|
|
|
1417
1289
|
# In the Shared VPC host project, the VPC network that's peered with the
|
|
1418
|
-
# consumer network. For example:
|
|
1419
|
-
# `projects/1234321/global/networks/host-network`
|
|
1290
|
+
# consumer network. For example: `projects/1234321/global/networks/host-network`
|
|
1420
1291
|
# Corresponds to the JSON property `network`
|
|
1421
1292
|
# @return [String]
|
|
1422
1293
|
attr_accessor :network
|
|
1423
1294
|
|
|
1424
|
-
# This is a discovered subnet that is not within the current consumer
|
|
1425
|
-
#
|
|
1295
|
+
# This is a discovered subnet that is not within the current consumer allocated
|
|
1296
|
+
# ranges.
|
|
1426
1297
|
# Corresponds to the JSON property `outsideAllocation`
|
|
1427
1298
|
# @return [Boolean]
|
|
1428
1299
|
attr_accessor :outside_allocation
|
|
@@ -1442,23 +1313,22 @@ module Google
|
|
|
1442
1313
|
end
|
|
1443
1314
|
|
|
1444
1315
|
# Defines the HTTP configuration for an API service. It contains a list of
|
|
1445
|
-
# HttpRule, each specifying the mapping of an RPC method
|
|
1446
|
-
#
|
|
1316
|
+
# HttpRule, each specifying the mapping of an RPC method to one or more HTTP
|
|
1317
|
+
# REST API methods.
|
|
1447
1318
|
class Http
|
|
1448
1319
|
include Google::Apis::Core::Hashable
|
|
1449
1320
|
|
|
1450
1321
|
# When set to true, URL path parameters will be fully URI-decoded except in
|
|
1451
1322
|
# cases of single segment matches in reserved expansion, where "%2F" will be
|
|
1452
|
-
# left encoded.
|
|
1453
|
-
#
|
|
1454
|
-
# segment matches.
|
|
1323
|
+
# left encoded. The default behavior is to not decode RFC 6570 reserved
|
|
1324
|
+
# characters in multi segment matches.
|
|
1455
1325
|
# Corresponds to the JSON property `fullyDecodeReservedExpansion`
|
|
1456
1326
|
# @return [Boolean]
|
|
1457
1327
|
attr_accessor :fully_decode_reserved_expansion
|
|
1458
1328
|
alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion
|
|
1459
1329
|
|
|
1460
|
-
# A list of HTTP configuration rules that apply to individual API methods.
|
|
1461
|
-
#
|
|
1330
|
+
# A list of HTTP configuration rules that apply to individual API methods. **
|
|
1331
|
+
# NOTE:** All service configuration rules follow "last one wins" order.
|
|
1462
1332
|
# Corresponds to the JSON property `rules`
|
|
1463
1333
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::HttpRule>]
|
|
1464
1334
|
attr_accessor :rules
|
|
@@ -1474,251 +1344,156 @@ module Google
|
|
|
1474
1344
|
end
|
|
1475
1345
|
end
|
|
1476
1346
|
|
|
1477
|
-
# # gRPC Transcoding
|
|
1478
|
-
#
|
|
1479
|
-
#
|
|
1480
|
-
#
|
|
1481
|
-
#
|
|
1482
|
-
# [
|
|
1483
|
-
#
|
|
1484
|
-
#
|
|
1485
|
-
#
|
|
1486
|
-
#
|
|
1487
|
-
#
|
|
1488
|
-
# path, URL query parameters, and HTTP request body. It also controls how the
|
|
1489
|
-
# gRPC response message is mapped to the HTTP response body. `HttpRule` is
|
|
1347
|
+
# # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
|
|
1348
|
+
# method and one or more HTTP REST endpoints. It allows developers to build a
|
|
1349
|
+
# single API service that supports both gRPC APIs and REST APIs. Many systems,
|
|
1350
|
+
# including [Google APIs](https://github.com/googleapis/googleapis), [Cloud
|
|
1351
|
+
# Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.
|
|
1352
|
+
# com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/
|
|
1353
|
+
# envoy) proxy support this feature and use it for large scale production
|
|
1354
|
+
# services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping
|
|
1355
|
+
# specifies how different portions of the gRPC request message are mapped to the
|
|
1356
|
+
# URL path, URL query parameters, and HTTP request body. It also controls how
|
|
1357
|
+
# the gRPC response message is mapped to the HTTP response body. `HttpRule` is
|
|
1490
1358
|
# typically specified as an `google.api.http` annotation on the gRPC method.
|
|
1491
1359
|
# Each mapping specifies a URL path template and an HTTP method. The path
|
|
1492
1360
|
# template may refer to one or more fields in the gRPC request message, as long
|
|
1493
|
-
# as each field is a non-repeated field with a primitive (non-message) type.
|
|
1494
|
-
#
|
|
1495
|
-
#
|
|
1496
|
-
#
|
|
1497
|
-
#
|
|
1498
|
-
#
|
|
1499
|
-
#
|
|
1500
|
-
#
|
|
1501
|
-
#
|
|
1502
|
-
#
|
|
1503
|
-
# `
|
|
1504
|
-
#
|
|
1505
|
-
# string
|
|
1506
|
-
#
|
|
1507
|
-
#
|
|
1508
|
-
#
|
|
1509
|
-
# `
|
|
1510
|
-
#
|
|
1511
|
-
#
|
|
1512
|
-
#
|
|
1513
|
-
#
|
|
1514
|
-
#
|
|
1515
|
-
#
|
|
1516
|
-
#
|
|
1517
|
-
#
|
|
1518
|
-
# rpc
|
|
1519
|
-
#
|
|
1520
|
-
#
|
|
1521
|
-
#
|
|
1522
|
-
#
|
|
1523
|
-
# `
|
|
1524
|
-
#
|
|
1525
|
-
# message
|
|
1526
|
-
#
|
|
1527
|
-
#
|
|
1528
|
-
#
|
|
1529
|
-
#
|
|
1530
|
-
#
|
|
1531
|
-
# `
|
|
1532
|
-
#
|
|
1533
|
-
#
|
|
1534
|
-
#
|
|
1535
|
-
#
|
|
1536
|
-
#
|
|
1537
|
-
#
|
|
1538
|
-
#
|
|
1539
|
-
#
|
|
1540
|
-
#
|
|
1541
|
-
#
|
|
1542
|
-
#
|
|
1543
|
-
#
|
|
1544
|
-
#
|
|
1545
|
-
#
|
|
1546
|
-
#
|
|
1547
|
-
#
|
|
1548
|
-
#
|
|
1549
|
-
#
|
|
1550
|
-
#
|
|
1551
|
-
#
|
|
1552
|
-
#
|
|
1553
|
-
#
|
|
1554
|
-
#
|
|
1555
|
-
#
|
|
1556
|
-
#
|
|
1557
|
-
#
|
|
1558
|
-
# `
|
|
1559
|
-
# The
|
|
1560
|
-
#
|
|
1561
|
-
#
|
|
1562
|
-
#
|
|
1563
|
-
#
|
|
1564
|
-
#
|
|
1565
|
-
#
|
|
1566
|
-
#
|
|
1567
|
-
#
|
|
1568
|
-
#
|
|
1569
|
-
# the
|
|
1570
|
-
#
|
|
1571
|
-
#
|
|
1572
|
-
#
|
|
1573
|
-
#
|
|
1574
|
-
#
|
|
1575
|
-
#
|
|
1576
|
-
#
|
|
1577
|
-
#
|
|
1578
|
-
#
|
|
1579
|
-
#
|
|
1580
|
-
#
|
|
1581
|
-
# `
|
|
1582
|
-
# The following HTTP JSON to RPC mapping is enabled:
|
|
1583
|
-
# HTTP | gRPC
|
|
1584
|
-
# -----|-----
|
|
1585
|
-
# `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
|
|
1586
|
-
# "123456" text: "Hi!")`
|
|
1587
|
-
# Note that when using `*` in the body mapping, it is not possible to
|
|
1588
|
-
# have HTTP parameters, as all fields not bound by the path end in
|
|
1589
|
-
# the body. This makes this option more rarely used in practice when
|
|
1590
|
-
# defining REST APIs. The common usage of `*` is in custom methods
|
|
1591
|
-
# which don't use the URL at all for transferring data.
|
|
1592
|
-
# It is possible to define multiple HTTP methods for one RPC by using
|
|
1593
|
-
# the `additional_bindings` option. Example:
|
|
1594
|
-
# service Messaging `
|
|
1595
|
-
# rpc GetMessage(GetMessageRequest) returns (Message) `
|
|
1596
|
-
# option (google.api.http) = `
|
|
1597
|
-
# get: "/v1/messages/`message_id`"
|
|
1598
|
-
# additional_bindings `
|
|
1599
|
-
# get: "/v1/users/`user_id`/messages/`message_id`"
|
|
1600
|
-
# `
|
|
1601
|
-
# `;
|
|
1602
|
-
# `
|
|
1603
|
-
# `
|
|
1604
|
-
# message GetMessageRequest `
|
|
1605
|
-
# string message_id = 1;
|
|
1606
|
-
# string user_id = 2;
|
|
1607
|
-
# `
|
|
1608
|
-
# This enables the following two alternative HTTP JSON to RPC mappings:
|
|
1609
|
-
# HTTP | gRPC
|
|
1610
|
-
# -----|-----
|
|
1611
|
-
# `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
|
|
1612
|
-
# `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
|
|
1613
|
-
# "123456")`
|
|
1614
|
-
# ## Rules for HTTP mapping
|
|
1615
|
-
# 1. Leaf request fields (recursive expansion nested messages in the request
|
|
1616
|
-
# message) are classified into three categories:
|
|
1617
|
-
# - Fields referred by the path template. They are passed via the URL path.
|
|
1618
|
-
# - Fields referred by the HttpRule.body. They are passed via the HTTP
|
|
1619
|
-
# request body.
|
|
1620
|
-
# - All other fields are passed via the URL query parameters, and the
|
|
1621
|
-
# parameter name is the field path in the request message. A repeated
|
|
1622
|
-
# field can be represented as multiple query parameters under the same
|
|
1623
|
-
# name.
|
|
1624
|
-
# 2. If HttpRule.body is "*", there is no URL query parameter, all fields
|
|
1625
|
-
# are passed via URL path and HTTP request body.
|
|
1626
|
-
# 3. If HttpRule.body is omitted, there is no HTTP request body, all
|
|
1627
|
-
# fields are passed via URL path and URL query parameters.
|
|
1628
|
-
# ### Path template syntax
|
|
1629
|
-
# Template = "/" Segments [ Verb ] ;
|
|
1630
|
-
# Segments = Segment ` "/" Segment ` ;
|
|
1631
|
-
# Segment = "*" | "**" | LITERAL | Variable ;
|
|
1632
|
-
# Variable = "`" FieldPath [ "=" Segments ] "`" ;
|
|
1633
|
-
# FieldPath = IDENT ` "." IDENT ` ;
|
|
1634
|
-
# Verb = ":" LITERAL ;
|
|
1635
|
-
# The syntax `*` matches a single URL path segment. The syntax `**` matches
|
|
1636
|
-
# zero or more URL path segments, which must be the last part of the URL path
|
|
1637
|
-
# except the `Verb`.
|
|
1638
|
-
# The syntax `Variable` matches part of the URL path as specified by its
|
|
1639
|
-
# template. A variable template must not contain other variables. If a variable
|
|
1640
|
-
# matches a single path segment, its template may be omitted, e.g. ``var``
|
|
1641
|
-
# is equivalent to ``var=*``.
|
|
1642
|
-
# The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
|
|
1643
|
-
# contains any reserved character, such characters should be percent-encoded
|
|
1644
|
-
# before the matching.
|
|
1645
|
-
# If a variable contains exactly one path segment, such as `"`var`"` or
|
|
1646
|
-
# `"`var=*`"`, when such a variable is expanded into a URL path on the client
|
|
1647
|
-
# side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
|
|
1648
|
-
# server side does the reverse decoding. Such variables show up in the
|
|
1649
|
-
# [Discovery
|
|
1650
|
-
# Document](https://developers.google.com/discovery/v1/reference/apis) as
|
|
1651
|
-
# ``var``.
|
|
1652
|
-
# If a variable contains multiple path segments, such as `"`var=foo/*`"`
|
|
1653
|
-
# or `"`var=**`"`, when such a variable is expanded into a URL path on the
|
|
1654
|
-
# client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
|
|
1655
|
-
# The server side does the reverse decoding, except "%2F" and "%2f" are left
|
|
1656
|
-
# unchanged. Such variables show up in the
|
|
1657
|
-
# [Discovery
|
|
1658
|
-
# Document](https://developers.google.com/discovery/v1/reference/apis) as
|
|
1659
|
-
# ``+var``.
|
|
1660
|
-
# ## Using gRPC API Service Configuration
|
|
1661
|
-
# gRPC API Service Configuration (service config) is a configuration language
|
|
1662
|
-
# for configuring a gRPC service to become a user-facing product. The
|
|
1663
|
-
# service config is simply the YAML representation of the `google.api.Service`
|
|
1664
|
-
# proto message.
|
|
1361
|
+
# as each field is a non-repeated field with a primitive (non-message) type. The
|
|
1362
|
+
# path template controls how fields of the request message are mapped to the URL
|
|
1363
|
+
# path. Example: service Messaging ` rpc GetMessage(GetMessageRequest) returns (
|
|
1364
|
+
# Message) ` option (google.api.http) = ` get: "/v1/`name=messages/*`" `; ` `
|
|
1365
|
+
# message GetMessageRequest ` string name = 1; // Mapped to URL path. ` message
|
|
1366
|
+
# Message ` string text = 1; // The resource content. ` This enables an HTTP
|
|
1367
|
+
# REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/
|
|
1368
|
+
# 123456` | `GetMessage(name: "messages/123456")` Any fields in the request
|
|
1369
|
+
# message which are not bound by the path template automatically become HTTP
|
|
1370
|
+
# query parameters if there is no HTTP request body. For example: service
|
|
1371
|
+
# Messaging ` rpc GetMessage(GetMessageRequest) returns (Message) ` option (
|
|
1372
|
+
# google.api.http) = ` get:"/v1/messages/`message_id`" `; ` ` message
|
|
1373
|
+
# GetMessageRequest ` message SubMessage ` string subfield = 1; ` string
|
|
1374
|
+
# message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL
|
|
1375
|
+
# query parameter `revision`. SubMessage sub = 3; // Mapped to URL query
|
|
1376
|
+
# parameter `sub.subfield`. ` This enables a HTTP JSON to RPC mapping as below:
|
|
1377
|
+
# HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
|
|
1378
|
+
# `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))
|
|
1379
|
+
# ` Note that fields which are mapped to URL query parameters must have a
|
|
1380
|
+
# primitive type or a repeated primitive type or a non-repeated message type. In
|
|
1381
|
+
# the case of a repeated type, the parameter can be repeated in the URL as `...?
|
|
1382
|
+
# param=A¶m=B`. In the case of a message type, each field of the message is
|
|
1383
|
+
# mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For
|
|
1384
|
+
# HTTP methods that allow a request body, the `body` field specifies the mapping.
|
|
1385
|
+
# Consider a REST update method on the message resource collection: service
|
|
1386
|
+
# Messaging ` rpc UpdateMessage(UpdateMessageRequest) returns (Message) ` option
|
|
1387
|
+
# (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "message" `; ` `
|
|
1388
|
+
# message UpdateMessageRequest ` string message_id = 1; // mapped to the URL
|
|
1389
|
+
# Message message = 2; // mapped to the body ` The following HTTP JSON to RPC
|
|
1390
|
+
# mapping is enabled, where the representation of the JSON in the request body
|
|
1391
|
+
# is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/
|
|
1392
|
+
# messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456"
|
|
1393
|
+
# message ` text: "Hi!" `)` The special name `*` can be used in the body mapping
|
|
1394
|
+
# to define that every field not bound by the path template should be mapped to
|
|
1395
|
+
# the request body. This enables the following alternative definition of the
|
|
1396
|
+
# update method: service Messaging ` rpc UpdateMessage(Message) returns (Message)
|
|
1397
|
+
# ` option (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "*" `;
|
|
1398
|
+
# ` ` message Message ` string message_id = 1; string text = 2; ` The following
|
|
1399
|
+
# HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/
|
|
1400
|
+
# messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456" text:
|
|
1401
|
+
# "Hi!")` Note that when using `*` in the body mapping, it is not possible to
|
|
1402
|
+
# have HTTP parameters, as all fields not bound by the path end in the body.
|
|
1403
|
+
# This makes this option more rarely used in practice when defining REST APIs.
|
|
1404
|
+
# The common usage of `*` is in custom methods which don't use the URL at all
|
|
1405
|
+
# for transferring data. It is possible to define multiple HTTP methods for one
|
|
1406
|
+
# RPC by using the `additional_bindings` option. Example: service Messaging `
|
|
1407
|
+
# rpc GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http)
|
|
1408
|
+
# = ` get: "/v1/messages/`message_id`" additional_bindings ` get: "/v1/users/`
|
|
1409
|
+
# user_id`/messages/`message_id`" ` `; ` ` message GetMessageRequest ` string
|
|
1410
|
+
# message_id = 1; string user_id = 2; ` This enables the following two
|
|
1411
|
+
# alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/
|
|
1412
|
+
# messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/
|
|
1413
|
+
# messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules
|
|
1414
|
+
# for HTTP mapping 1. Leaf request fields (recursive expansion nested messages
|
|
1415
|
+
# in the request message) are classified into three categories: - Fields
|
|
1416
|
+
# referred by the path template. They are passed via the URL path. - Fields
|
|
1417
|
+
# referred by the HttpRule.body. They are passed via the HTTP request body. -
|
|
1418
|
+
# All other fields are passed via the URL query parameters, and the parameter
|
|
1419
|
+
# name is the field path in the request message. A repeated field can be
|
|
1420
|
+
# represented as multiple query parameters under the same name. 2. If HttpRule.
|
|
1421
|
+
# body is "*", there is no URL query parameter, all fields are passed via URL
|
|
1422
|
+
# path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP
|
|
1423
|
+
# request body, all fields are passed via URL path and URL query parameters. ###
|
|
1424
|
+
# Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment ` "/
|
|
1425
|
+
# " Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "`"
|
|
1426
|
+
# FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb = ":"
|
|
1427
|
+
# LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**`
|
|
1428
|
+
# matches zero or more URL path segments, which must be the last part of the URL
|
|
1429
|
+
# path except the `Verb`. The syntax `Variable` matches part of the URL path as
|
|
1430
|
+
# specified by its template. A variable template must not contain other
|
|
1431
|
+
# variables. If a variable matches a single path segment, its template may be
|
|
1432
|
+
# omitted, e.g. ``var`` is equivalent to ``var=*``. The syntax `LITERAL` matches
|
|
1433
|
+
# literal text in the URL path. If the `LITERAL` contains any reserved character,
|
|
1434
|
+
# such characters should be percent-encoded before the matching. If a variable
|
|
1435
|
+
# contains exactly one path segment, such as `"`var`"` or `"`var=*`"`, when such
|
|
1436
|
+
# a variable is expanded into a URL path on the client side, all characters
|
|
1437
|
+
# except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse
|
|
1438
|
+
# decoding. Such variables show up in the [Discovery Document](https://
|
|
1439
|
+
# developers.google.com/discovery/v1/reference/apis) as ``var``. If a variable
|
|
1440
|
+
# contains multiple path segments, such as `"`var=foo/*`"` or `"`var=**`"`, when
|
|
1441
|
+
# such a variable is expanded into a URL path on the client side, all characters
|
|
1442
|
+
# except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the
|
|
1443
|
+
# reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables
|
|
1444
|
+
# show up in the [Discovery Document](https://developers.google.com/discovery/v1/
|
|
1445
|
+
# reference/apis) as ``+var``. ## Using gRPC API Service Configuration gRPC API
|
|
1446
|
+
# Service Configuration (service config) is a configuration language for
|
|
1447
|
+
# configuring a gRPC service to become a user-facing product. The service config
|
|
1448
|
+
# is simply the YAML representation of the `google.api.Service` proto message.
|
|
1665
1449
|
# As an alternative to annotating your proto file, you can configure gRPC
|
|
1666
|
-
# transcoding in your service config YAML files. You do this by specifying a
|
|
1667
|
-
#
|
|
1668
|
-
# effect as the proto annotation. This can be particularly useful if you
|
|
1669
|
-
#
|
|
1670
|
-
#
|
|
1671
|
-
#
|
|
1672
|
-
#
|
|
1673
|
-
#
|
|
1674
|
-
#
|
|
1675
|
-
#
|
|
1676
|
-
#
|
|
1677
|
-
#
|
|
1678
|
-
#
|
|
1679
|
-
#
|
|
1680
|
-
#
|
|
1681
|
-
#
|
|
1682
|
-
# .
|
|
1683
|
-
#
|
|
1684
|
-
#
|
|
1685
|
-
#
|
|
1686
|
-
#
|
|
1687
|
-
#
|
|
1688
|
-
#
|
|
1689
|
-
# for
|
|
1690
|
-
#
|
|
1691
|
-
#
|
|
1692
|
-
# The path variables **must not** capture the leading "/" character. The reason
|
|
1693
|
-
# is that the most common use case "`var`" does not capture the leading "/"
|
|
1694
|
-
# character. For consistency, all path variables must share the same behavior.
|
|
1695
|
-
# Repeated message fields must not be mapped to URL query parameters, because
|
|
1696
|
-
# no client library can support such complicated mapping.
|
|
1697
|
-
# If an API needs to use a JSON array for request or response body, it can map
|
|
1698
|
-
# the request or response body to a repeated field. However, some gRPC
|
|
1699
|
-
# Transcoding implementations may not support this feature.
|
|
1450
|
+
# transcoding in your service config YAML files. You do this by specifying a `
|
|
1451
|
+
# HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
|
|
1452
|
+
# effect as the proto annotation. This can be particularly useful if you have a
|
|
1453
|
+
# proto that is reused in multiple services. Note that any transcoding specified
|
|
1454
|
+
# in the service config will override any matching transcoding configuration in
|
|
1455
|
+
# the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule
|
|
1456
|
+
# to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/`
|
|
1457
|
+
# message_id`/`sub.subfield` ## Special notes When gRPC Transcoding is used to
|
|
1458
|
+
# map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow
|
|
1459
|
+
# the [proto3 specification](https://developers.google.com/protocol-buffers/docs/
|
|
1460
|
+
# proto3#json). While the single segment variable follows the semantics of [RFC
|
|
1461
|
+
# 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
|
|
1462
|
+
# Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.
|
|
1463
|
+
# 3 Reserved Expansion. The reason is that the Reserved Expansion does not
|
|
1464
|
+
# expand special characters like `?` and `#`, which would lead to invalid URLs.
|
|
1465
|
+
# As the result, gRPC Transcoding uses a custom encoding for multi segment
|
|
1466
|
+
# variables. The path variables **must not** refer to any repeated or mapped
|
|
1467
|
+
# field, because client libraries are not capable of handling such variable
|
|
1468
|
+
# expansion. The path variables **must not** capture the leading "/" character.
|
|
1469
|
+
# The reason is that the most common use case "`var`" does not capture the
|
|
1470
|
+
# leading "/" character. For consistency, all path variables must share the same
|
|
1471
|
+
# behavior. Repeated message fields must not be mapped to URL query parameters,
|
|
1472
|
+
# because no client library can support such complicated mapping. If an API
|
|
1473
|
+
# needs to use a JSON array for request or response body, it can map the request
|
|
1474
|
+
# or response body to a repeated field. However, some gRPC Transcoding
|
|
1475
|
+
# implementations may not support this feature.
|
|
1700
1476
|
class HttpRule
|
|
1701
1477
|
include Google::Apis::Core::Hashable
|
|
1702
1478
|
|
|
1703
|
-
# Additional HTTP bindings for the selector. Nested bindings must
|
|
1704
|
-
#
|
|
1705
|
-
#
|
|
1479
|
+
# Additional HTTP bindings for the selector. Nested bindings must not contain an
|
|
1480
|
+
# `additional_bindings` field themselves (that is, the nesting may only be one
|
|
1481
|
+
# level deep).
|
|
1706
1482
|
# Corresponds to the JSON property `additionalBindings`
|
|
1707
1483
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::HttpRule>]
|
|
1708
1484
|
attr_accessor :additional_bindings
|
|
1709
1485
|
|
|
1710
|
-
# When this flag is set to true, HTTP requests will be allowed to invoke a
|
|
1711
|
-
#
|
|
1486
|
+
# When this flag is set to true, HTTP requests will be allowed to invoke a half-
|
|
1487
|
+
# duplex streaming method.
|
|
1712
1488
|
# Corresponds to the JSON property `allowHalfDuplex`
|
|
1713
1489
|
# @return [Boolean]
|
|
1714
1490
|
attr_accessor :allow_half_duplex
|
|
1715
1491
|
alias_method :allow_half_duplex?, :allow_half_duplex
|
|
1716
1492
|
|
|
1717
|
-
# The name of the request field whose value is mapped to the HTTP request
|
|
1718
|
-
#
|
|
1719
|
-
#
|
|
1720
|
-
#
|
|
1721
|
-
# message type.
|
|
1493
|
+
# The name of the request field whose value is mapped to the HTTP request body,
|
|
1494
|
+
# or `*` for mapping all request fields not captured by the path pattern to the
|
|
1495
|
+
# HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
|
|
1496
|
+
# field must be present at the top-level of the request message type.
|
|
1722
1497
|
# Corresponds to the JSON property `body`
|
|
1723
1498
|
# @return [String]
|
|
1724
1499
|
attr_accessor :body
|
|
@@ -1733,8 +1508,7 @@ module Google
|
|
|
1733
1508
|
# @return [String]
|
|
1734
1509
|
attr_accessor :delete
|
|
1735
1510
|
|
|
1736
|
-
# Maps to HTTP GET. Used for listing and getting information about
|
|
1737
|
-
# resources.
|
|
1511
|
+
# Maps to HTTP GET. Used for listing and getting information about resources.
|
|
1738
1512
|
# Corresponds to the JSON property `get`
|
|
1739
1513
|
# @return [String]
|
|
1740
1514
|
attr_accessor :get
|
|
@@ -1755,16 +1529,15 @@ module Google
|
|
|
1755
1529
|
attr_accessor :put
|
|
1756
1530
|
|
|
1757
1531
|
# Optional. The name of the response field whose value is mapped to the HTTP
|
|
1758
|
-
# response body. When omitted, the entire response message will be used
|
|
1759
|
-
#
|
|
1760
|
-
#
|
|
1761
|
-
# message type.
|
|
1532
|
+
# response body. When omitted, the entire response message will be used as the
|
|
1533
|
+
# HTTP response body. NOTE: The referred field must be present at the top-level
|
|
1534
|
+
# of the response message type.
|
|
1762
1535
|
# Corresponds to the JSON property `responseBody`
|
|
1763
1536
|
# @return [String]
|
|
1764
1537
|
attr_accessor :response_body
|
|
1765
1538
|
|
|
1766
|
-
# Selects a method to which this rule applies.
|
|
1767
|
-
#
|
|
1539
|
+
# Selects a method to which this rule applies. Refer to selector for syntax
|
|
1540
|
+
# details.
|
|
1768
1541
|
# Corresponds to the JSON property `selector`
|
|
1769
1542
|
# @return [String]
|
|
1770
1543
|
attr_accessor :selector
|
|
@@ -1803,13 +1576,12 @@ module Google
|
|
|
1803
1576
|
# @return [String]
|
|
1804
1577
|
attr_accessor :query
|
|
1805
1578
|
|
|
1806
|
-
# The value prefix. The value format is "value_prefix`token`"
|
|
1807
|
-
#
|
|
1808
|
-
#
|
|
1809
|
-
# If
|
|
1810
|
-
#
|
|
1811
|
-
#
|
|
1812
|
-
# value_prefix="Bearer " with a space at the end.
|
|
1579
|
+
# The value prefix. The value format is "value_prefix`token`" Only applies to "
|
|
1580
|
+
# in" header type. Must be empty for "in" query type. If not empty, the header
|
|
1581
|
+
# value has to match (case sensitive) this prefix. If not matched, JWT will not
|
|
1582
|
+
# be extracted. If matched, JWT will be extracted after the prefix is removed.
|
|
1583
|
+
# For example, for "Authorization: Bearer `JWT`", value_prefix="Bearer " with a
|
|
1584
|
+
# space at the end.
|
|
1813
1585
|
# Corresponds to the JSON property `valuePrefix`
|
|
1814
1586
|
# @return [String]
|
|
1815
1587
|
attr_accessor :value_prefix
|
|
@@ -1857,8 +1629,8 @@ module Google
|
|
|
1857
1629
|
end
|
|
1858
1630
|
end
|
|
1859
1631
|
|
|
1860
|
-
# ListConnectionsResponse is the response to list peering states for the
|
|
1861
|
-
#
|
|
1632
|
+
# ListConnectionsResponse is the response to list peering states for the given
|
|
1633
|
+
# service and consumer project.
|
|
1862
1634
|
class ListConnectionsResponse
|
|
1863
1635
|
include Google::Apis::Core::Hashable
|
|
1864
1636
|
|
|
@@ -1877,39 +1649,35 @@ module Google
|
|
|
1877
1649
|
end
|
|
1878
1650
|
end
|
|
1879
1651
|
|
|
1880
|
-
# A description of a log type. Example in YAML format:
|
|
1881
|
-
#
|
|
1882
|
-
#
|
|
1883
|
-
# display_name: Activity
|
|
1884
|
-
# labels:
|
|
1885
|
-
# - key: /customer_id
|
|
1652
|
+
# A description of a log type. Example in YAML format: - name: library.
|
|
1653
|
+
# googleapis.com/activity_history description: The history of borrowing and
|
|
1654
|
+
# returning library items. display_name: Activity labels: - key: /customer_id
|
|
1886
1655
|
# description: Identifier of a library customer
|
|
1887
1656
|
class LogDescriptor
|
|
1888
1657
|
include Google::Apis::Core::Hashable
|
|
1889
1658
|
|
|
1890
|
-
# A human-readable description of this log. This information appears in
|
|
1891
|
-
#
|
|
1659
|
+
# A human-readable description of this log. This information appears in the
|
|
1660
|
+
# documentation and can contain details.
|
|
1892
1661
|
# Corresponds to the JSON property `description`
|
|
1893
1662
|
# @return [String]
|
|
1894
1663
|
attr_accessor :description
|
|
1895
1664
|
|
|
1896
|
-
# The human-readable name for this log. This information appears on
|
|
1897
|
-
#
|
|
1665
|
+
# The human-readable name for this log. This information appears on the user
|
|
1666
|
+
# interface and should be concise.
|
|
1898
1667
|
# Corresponds to the JSON property `displayName`
|
|
1899
1668
|
# @return [String]
|
|
1900
1669
|
attr_accessor :display_name
|
|
1901
1670
|
|
|
1902
|
-
# The set of labels that are available to describe a specific log entry.
|
|
1903
|
-
#
|
|
1904
|
-
# considered invalid.
|
|
1671
|
+
# The set of labels that are available to describe a specific log entry. Runtime
|
|
1672
|
+
# requests that contain labels not specified here are considered invalid.
|
|
1905
1673
|
# Corresponds to the JSON property `labels`
|
|
1906
1674
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::LabelDescriptor>]
|
|
1907
1675
|
attr_accessor :labels
|
|
1908
1676
|
|
|
1909
|
-
# The name of the log. It must be less than 512 characters long and can
|
|
1910
|
-
#
|
|
1911
|
-
#
|
|
1912
|
-
#
|
|
1677
|
+
# The name of the log. It must be less than 512 characters long and can include
|
|
1678
|
+
# the following characters: upper- and lower-case alphanumeric characters [A-Za-
|
|
1679
|
+
# z0-9], and punctuation characters including slash, underscore, hyphen, period [
|
|
1680
|
+
# /_-.].
|
|
1913
1681
|
# Corresponds to the JSON property `name`
|
|
1914
1682
|
# @return [String]
|
|
1915
1683
|
attr_accessor :name
|
|
@@ -1927,48 +1695,30 @@ module Google
|
|
|
1927
1695
|
end
|
|
1928
1696
|
end
|
|
1929
1697
|
|
|
1930
|
-
# Logging configuration of the service.
|
|
1931
|
-
#
|
|
1932
|
-
#
|
|
1933
|
-
# log is sent to
|
|
1934
|
-
#
|
|
1935
|
-
#
|
|
1936
|
-
# -
|
|
1937
|
-
# labels:
|
|
1938
|
-
# -
|
|
1939
|
-
#
|
|
1940
|
-
#
|
|
1941
|
-
# description: The name of the branch.
|
|
1942
|
-
# logs:
|
|
1943
|
-
# - name: activity_history
|
|
1944
|
-
# labels:
|
|
1945
|
-
# - key: /customer_id
|
|
1946
|
-
# - name: purchase_history
|
|
1947
|
-
# logging:
|
|
1948
|
-
# producer_destinations:
|
|
1949
|
-
# - monitored_resource: library.googleapis.com/branch
|
|
1950
|
-
# logs:
|
|
1951
|
-
# - activity_history
|
|
1952
|
-
# - purchase_history
|
|
1953
|
-
# consumer_destinations:
|
|
1954
|
-
# - monitored_resource: library.googleapis.com/branch
|
|
1955
|
-
# logs:
|
|
1956
|
-
# - activity_history
|
|
1698
|
+
# Logging configuration of the service. The following example shows how to
|
|
1699
|
+
# configure logs to be sent to the producer and consumer projects. In the
|
|
1700
|
+
# example, the `activity_history` log is sent to both the producer and consumer
|
|
1701
|
+
# projects, whereas the `purchase_history` log is only sent to the producer
|
|
1702
|
+
# project. monitored_resources: - type: library.googleapis.com/branch labels: -
|
|
1703
|
+
# key: /city description: The city where the library branch is located in. - key:
|
|
1704
|
+
# /name description: The name of the branch. logs: - name: activity_history
|
|
1705
|
+
# labels: - key: /customer_id - name: purchase_history logging:
|
|
1706
|
+
# producer_destinations: - monitored_resource: library.googleapis.com/branch
|
|
1707
|
+
# logs: - activity_history - purchase_history consumer_destinations: -
|
|
1708
|
+
# monitored_resource: library.googleapis.com/branch logs: - activity_history
|
|
1957
1709
|
class Logging
|
|
1958
1710
|
include Google::Apis::Core::Hashable
|
|
1959
1711
|
|
|
1960
|
-
# Logging configurations for sending logs to the consumer project.
|
|
1961
|
-
#
|
|
1962
|
-
#
|
|
1963
|
-
# one consumer destination.
|
|
1712
|
+
# Logging configurations for sending logs to the consumer project. There can be
|
|
1713
|
+
# multiple consumer destinations, each one must have a different monitored
|
|
1714
|
+
# resource type. A log can be used in at most one consumer destination.
|
|
1964
1715
|
# Corresponds to the JSON property `consumerDestinations`
|
|
1965
1716
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::LoggingDestination>]
|
|
1966
1717
|
attr_accessor :consumer_destinations
|
|
1967
1718
|
|
|
1968
|
-
# Logging configurations for sending logs to the producer project.
|
|
1969
|
-
#
|
|
1970
|
-
#
|
|
1971
|
-
# one producer destination.
|
|
1719
|
+
# Logging configurations for sending logs to the producer project. There can be
|
|
1720
|
+
# multiple producer destinations, each one must have a different monitored
|
|
1721
|
+
# resource type. A log can be used in at most one producer destination.
|
|
1972
1722
|
# Corresponds to the JSON property `producerDestinations`
|
|
1973
1723
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::LoggingDestination>]
|
|
1974
1724
|
attr_accessor :producer_destinations
|
|
@@ -1984,21 +1734,20 @@ module Google
|
|
|
1984
1734
|
end
|
|
1985
1735
|
end
|
|
1986
1736
|
|
|
1987
|
-
# Configuration of a specific logging destination (the producer project
|
|
1988
|
-
#
|
|
1737
|
+
# Configuration of a specific logging destination (the producer project or the
|
|
1738
|
+
# consumer project).
|
|
1989
1739
|
class LoggingDestination
|
|
1990
1740
|
include Google::Apis::Core::Hashable
|
|
1991
1741
|
|
|
1992
|
-
# Names of the logs to be sent to this destination. Each name must
|
|
1993
|
-
#
|
|
1994
|
-
#
|
|
1995
|
-
# the service name followed by "/".
|
|
1742
|
+
# Names of the logs to be sent to this destination. Each name must be defined in
|
|
1743
|
+
# the Service.logs section. If the log name is not a domain scoped name, it will
|
|
1744
|
+
# be automatically prefixed with the service name followed by "/".
|
|
1996
1745
|
# Corresponds to the JSON property `logs`
|
|
1997
1746
|
# @return [Array<String>]
|
|
1998
1747
|
attr_accessor :logs
|
|
1999
1748
|
|
|
2000
|
-
# The monitored resource type. The type must be defined in the
|
|
2001
|
-
#
|
|
1749
|
+
# The monitored resource type. The type must be defined in the Service.
|
|
1750
|
+
# monitored_resources section.
|
|
2002
1751
|
# Corresponds to the JSON property `monitoredResource`
|
|
2003
1752
|
# @return [String]
|
|
2004
1753
|
attr_accessor :monitored_resource
|
|
@@ -2074,15 +1823,6 @@ module Google
|
|
|
2074
1823
|
# Defines a metric type and its schema. Once a metric descriptor is created,
|
|
2075
1824
|
# deleting or altering it stops data collection and makes the metric type's
|
|
2076
1825
|
# existing data unusable.
|
|
2077
|
-
# The following are specific rules for service defined Monitoring metric
|
|
2078
|
-
# descriptors:
|
|
2079
|
-
# * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
|
|
2080
|
-
# `launch_stage` fields are all required. The `unit` field must be specified
|
|
2081
|
-
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
|
|
2082
|
-
# * Maximum of default 500 metric descriptors per service is allowed.
|
|
2083
|
-
# * Maximum of default 10 labels per metric descriptor is allowed.
|
|
2084
|
-
# The default maximum limit can be overridden. Please follow
|
|
2085
|
-
# https://cloud.google.com/monitoring/quotas
|
|
2086
1826
|
class MetricDescriptor
|
|
2087
1827
|
include Google::Apis::Core::Hashable
|
|
2088
1828
|
|
|
@@ -2091,25 +1831,18 @@ module Google
|
|
|
2091
1831
|
# @return [String]
|
|
2092
1832
|
attr_accessor :description
|
|
2093
1833
|
|
|
2094
|
-
# A concise name for the metric, which can be displayed in user interfaces.
|
|
2095
|
-
#
|
|
2096
|
-
#
|
|
2097
|
-
#
|
|
1834
|
+
# A concise name for the metric, which can be displayed in user interfaces. Use
|
|
1835
|
+
# sentence case without an ending period, for example "Request count". This
|
|
1836
|
+
# field is optional but it is recommended to be set for any metrics associated
|
|
1837
|
+
# with user-visible concepts, such as Quota.
|
|
2098
1838
|
# Corresponds to the JSON property `displayName`
|
|
2099
1839
|
# @return [String]
|
|
2100
1840
|
attr_accessor :display_name
|
|
2101
1841
|
|
|
2102
|
-
# The set of labels that can be used to describe a specific
|
|
2103
|
-
#
|
|
2104
|
-
#
|
|
2105
|
-
#
|
|
2106
|
-
# allowed.
|
|
2107
|
-
# * Label name must start with a letter or digit.
|
|
2108
|
-
# * The maximum length of a label name is 100 characters.
|
|
2109
|
-
# For example, the
|
|
2110
|
-
# `appengine.googleapis.com/http/server/response_latencies` metric
|
|
2111
|
-
# type has a label for the HTTP response code, `response_code`, so
|
|
2112
|
-
# you can look at latencies for successful responses or just
|
|
1842
|
+
# The set of labels that can be used to describe a specific instance of this
|
|
1843
|
+
# metric type. For example, the `appengine.googleapis.com/http/server/
|
|
1844
|
+
# response_latencies` metric type has a label for the HTTP response code, `
|
|
1845
|
+
# response_code`, so you can look at latencies for successful responses or just
|
|
2113
1846
|
# for responses that failed.
|
|
2114
1847
|
# Corresponds to the JSON property `labels`
|
|
2115
1848
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::LabelDescriptor>]
|
|
@@ -2125,17 +1858,16 @@ module Google
|
|
|
2125
1858
|
# @return [Google::Apis::ServicenetworkingV1beta::MetricDescriptorMetadata]
|
|
2126
1859
|
attr_accessor :metadata
|
|
2127
1860
|
|
|
2128
|
-
# Whether the metric records instantaneous values, changes to a value, etc.
|
|
2129
|
-
#
|
|
1861
|
+
# Whether the metric records instantaneous values, changes to a value, etc. Some
|
|
1862
|
+
# combinations of `metric_kind` and `value_type` might not be supported.
|
|
2130
1863
|
# Corresponds to the JSON property `metricKind`
|
|
2131
1864
|
# @return [String]
|
|
2132
1865
|
attr_accessor :metric_kind
|
|
2133
1866
|
|
|
2134
|
-
# Read-only. If present, then a time
|
|
2135
|
-
#
|
|
2136
|
-
#
|
|
2137
|
-
#
|
|
2138
|
-
# resource types listed here.
|
|
1867
|
+
# Read-only. If present, then a time series, which is identified partially by a
|
|
1868
|
+
# metric type and a MonitoredResourceDescriptor, that is associated with this
|
|
1869
|
+
# metric type can only be associated with one of the monitored resource types
|
|
1870
|
+
# listed here.
|
|
2139
1871
|
# Corresponds to the JSON property `monitoredResourceTypes`
|
|
2140
1872
|
# @return [Array<String>]
|
|
2141
1873
|
attr_accessor :monitored_resource_types
|
|
@@ -2145,116 +1877,68 @@ module Google
|
|
|
2145
1877
|
# @return [String]
|
|
2146
1878
|
attr_accessor :name
|
|
2147
1879
|
|
|
2148
|
-
# The metric type, including its DNS name prefix. The type is not
|
|
2149
|
-
#
|
|
2150
|
-
#
|
|
2151
|
-
#
|
|
2152
|
-
#
|
|
2153
|
-
#
|
|
2154
|
-
# * Only upper and lower-case letters, digits, '/' and underscores '_' are
|
|
2155
|
-
# allowed.
|
|
2156
|
-
# * The maximum number of characters allowed for the relative_metric_name is
|
|
2157
|
-
# 100.
|
|
2158
|
-
# All user-defined metric types have the DNS name
|
|
2159
|
-
# `custom.googleapis.com`, `external.googleapis.com`, or
|
|
2160
|
-
# `logging.googleapis.com/user/`.
|
|
2161
|
-
# Metric types should use a natural hierarchical grouping. For example:
|
|
2162
|
-
# "custom.googleapis.com/invoice/paid/amount"
|
|
2163
|
-
# "external.googleapis.com/prometheus/up"
|
|
2164
|
-
# "appengine.googleapis.com/http/server/response_latencies"
|
|
1880
|
+
# The metric type, including its DNS name prefix. The type is not URL-encoded.
|
|
1881
|
+
# All user-defined metric types have the DNS name `custom.googleapis.com` or `
|
|
1882
|
+
# external.googleapis.com`. Metric types should use a natural hierarchical
|
|
1883
|
+
# grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.
|
|
1884
|
+
# googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/
|
|
1885
|
+
# response_latencies"
|
|
2165
1886
|
# Corresponds to the JSON property `type`
|
|
2166
1887
|
# @return [String]
|
|
2167
1888
|
attr_accessor :type
|
|
2168
1889
|
|
|
2169
|
-
# The units in which the metric value is reported. It is only applicable
|
|
2170
|
-
#
|
|
2171
|
-
#
|
|
2172
|
-
#
|
|
2173
|
-
# value of `
|
|
2174
|
-
#
|
|
2175
|
-
#
|
|
2176
|
-
#
|
|
2177
|
-
#
|
|
2178
|
-
#
|
|
2179
|
-
# `
|
|
2180
|
-
#
|
|
2181
|
-
#
|
|
2182
|
-
#
|
|
2183
|
-
#
|
|
2184
|
-
#
|
|
2185
|
-
#
|
|
2186
|
-
#
|
|
2187
|
-
#
|
|
2188
|
-
# * `
|
|
2189
|
-
# * `
|
|
2190
|
-
# * `
|
|
2191
|
-
# * `
|
|
2192
|
-
# * `
|
|
2193
|
-
#
|
|
2194
|
-
#
|
|
2195
|
-
#
|
|
2196
|
-
#
|
|
2197
|
-
#
|
|
2198
|
-
#
|
|
2199
|
-
# * `
|
|
2200
|
-
#
|
|
2201
|
-
# * `
|
|
2202
|
-
#
|
|
2203
|
-
# * `
|
|
2204
|
-
#
|
|
2205
|
-
#
|
|
2206
|
-
#
|
|
2207
|
-
#
|
|
2208
|
-
#
|
|
2209
|
-
# *
|
|
2210
|
-
#
|
|
2211
|
-
#
|
|
2212
|
-
# * `
|
|
2213
|
-
#
|
|
2214
|
-
#
|
|
2215
|
-
# * `Ti` tebi (2^40)
|
|
2216
|
-
# * `Pi` pebi (2^50)
|
|
2217
|
-
# **Grammar**
|
|
2218
|
-
# The grammar also includes these connectors:
|
|
2219
|
-
# * `/` division or ratio (as an infix operator). For examples,
|
|
2220
|
-
# `kBy/`email`` or `MiBy/10ms` (although you should almost never
|
|
2221
|
-
# have `/s` in a metric `unit`; rates should always be computed at
|
|
2222
|
-
# query time from the underlying cumulative or delta value).
|
|
2223
|
-
# * `.` multiplication or composition (as an infix operator). For
|
|
2224
|
-
# examples, `GBy.d` or `k`watt`.h`.
|
|
2225
|
-
# The grammar for a unit is as follows:
|
|
2226
|
-
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
|
2227
|
-
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
|
2228
|
-
# | Annotation
|
|
2229
|
-
# | "1"
|
|
2230
|
-
# ;
|
|
2231
|
-
# Annotation = "`" NAME "`" ;
|
|
2232
|
-
# Notes:
|
|
2233
|
-
# * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
|
|
2234
|
-
# is used alone, then the unit is equivalent to `1`. For examples,
|
|
2235
|
-
# ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
|
|
2236
|
-
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
|
2237
|
-
# containing ``` or ```.
|
|
2238
|
-
# * `1` represents a unitary [dimensionless
|
|
2239
|
-
# unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
|
|
2240
|
-
# as in `1/s`. It is typically used when none of the basic units are
|
|
2241
|
-
# appropriate. For example, "new users per day" can be represented as
|
|
2242
|
-
# `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
|
|
2243
|
-
# users). Alternatively, "thousands of page views per day" would be
|
|
2244
|
-
# represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
|
|
2245
|
-
# value of `5.3` would mean "5300 page views per day").
|
|
2246
|
-
# * `%` represents dimensionless value of 1/100, and annotates values giving
|
|
2247
|
-
# a percentage (so the metric values are typically in the range of 0..100,
|
|
2248
|
-
# and a metric value `3` means "3 percent").
|
|
2249
|
-
# * `10^2.%` indicates a metric contains a ratio, typically in the range
|
|
2250
|
-
# 0..1, that will be multiplied by 100 and displayed as a percentage
|
|
2251
|
-
# (so a metric value `0.03` means "3 percent").
|
|
1890
|
+
# The units in which the metric value is reported. It is only applicable if the `
|
|
1891
|
+
# value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the
|
|
1892
|
+
# representation of the stored metric values. Different systems may scale the
|
|
1893
|
+
# values to be more easily displayed (so a value of `0.02KBy` _might_ be
|
|
1894
|
+
# displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`)
|
|
1895
|
+
# . However, if the `unit` is `KBy`, then the value of the metric is always in
|
|
1896
|
+
# thousands of bytes, no matter how it may be displayed.. If you want a custom
|
|
1897
|
+
# metric to record the exact number of CPU-seconds used by a job, you can create
|
|
1898
|
+
# an `INT64 CUMULATIVE` metric whose `unit` is `s`CPU`` (or equivalently `1s`CPU`
|
|
1899
|
+
# ` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written
|
|
1900
|
+
# as `12005`. Alternatively, if you want a custom metric to record data in a
|
|
1901
|
+
# more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
|
|
1902
|
+
# `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), or use `
|
|
1903
|
+
# Kis`CPU`` and write `11.723` (which is `12005/1024`). The supported units are
|
|
1904
|
+
# a subset of [The Unified Code for Units of Measure](http://unitsofmeasure.org/
|
|
1905
|
+
# ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s`
|
|
1906
|
+
# second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (
|
|
1907
|
+
# PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^
|
|
1908
|
+
# 12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^
|
|
1909
|
+
# 24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-
|
|
1910
|
+
# 12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (
|
|
1911
|
+
# 10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (
|
|
1912
|
+
# 2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these
|
|
1913
|
+
# connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/
|
|
1914
|
+
# `email`` or `MiBy/10ms` (although you should almost never have `/s` in a
|
|
1915
|
+
# metric `unit`; rates should always be computed at query time from the
|
|
1916
|
+
# underlying cumulative or delta value). * `.` multiplication or composition (as
|
|
1917
|
+
# an infix operator). For examples, `GBy.d` or `k`watt`.h`. The grammar for a
|
|
1918
|
+
# unit is as follows: Expression = Component ` "." Component ` ` "/" Component `
|
|
1919
|
+
# ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ;
|
|
1920
|
+
# Annotation = "`" NAME "`" ; Notes: * `Annotation` is just a comment if it
|
|
1921
|
+
# follows a `UNIT`. If the annotation is used alone, then the unit is equivalent
|
|
1922
|
+
# to `1`. For examples, ``request`/s == 1/s`, `By`transmitted`/s == By/s`. * `
|
|
1923
|
+
# NAME` is a sequence of non-blank printable ASCII characters not containing ```
|
|
1924
|
+
# or ```. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.
|
|
1925
|
+
# org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used
|
|
1926
|
+
# when none of the basic units are appropriate. For example, "new users per day"
|
|
1927
|
+
# can be represented as `1/d` or ``new-users`/d` (and a metric value `5` would
|
|
1928
|
+
# mean "5 new users). Alternatively, "thousands of page views per day" would be
|
|
1929
|
+
# represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric value of `
|
|
1930
|
+
# 5.3` would mean "5300 page views per day"). * `%` represents dimensionless
|
|
1931
|
+
# value of 1/100, and annotates values giving a percentage (so the metric values
|
|
1932
|
+
# are typically in the range of 0..100, and a metric value `3` means "3 percent")
|
|
1933
|
+
# . * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1,
|
|
1934
|
+
# that will be multiplied by 100 and displayed as a percentage (so a metric
|
|
1935
|
+
# value `0.03` means "3 percent").
|
|
2252
1936
|
# Corresponds to the JSON property `unit`
|
|
2253
1937
|
# @return [String]
|
|
2254
1938
|
attr_accessor :unit
|
|
2255
1939
|
|
|
2256
|
-
# Whether the measurement is an integer, a floating-point number, etc.
|
|
2257
|
-
#
|
|
1940
|
+
# Whether the measurement is an integer, a floating-point number, etc. Some
|
|
1941
|
+
# combinations of `metric_kind` and `value_type` might not be supported.
|
|
2258
1942
|
# Corresponds to the JSON property `valueType`
|
|
2259
1943
|
# @return [String]
|
|
2260
1944
|
attr_accessor :value_type
|
|
@@ -2283,9 +1967,9 @@ module Google
|
|
|
2283
1967
|
class MetricDescriptorMetadata
|
|
2284
1968
|
include Google::Apis::Core::Hashable
|
|
2285
1969
|
|
|
2286
|
-
# The delay of data points caused by ingestion. Data points older than this
|
|
2287
|
-
#
|
|
2288
|
-
#
|
|
1970
|
+
# The delay of data points caused by ingestion. Data points older than this age
|
|
1971
|
+
# are guaranteed to be ingested and available to be read, excluding data loss
|
|
1972
|
+
# due to errors.
|
|
2289
1973
|
# Corresponds to the JSON property `ingestDelay`
|
|
2290
1974
|
# @return [String]
|
|
2291
1975
|
attr_accessor :ingest_delay
|
|
@@ -2297,8 +1981,8 @@ module Google
|
|
|
2297
1981
|
|
|
2298
1982
|
# The sampling period of metric data points. For metrics which are written
|
|
2299
1983
|
# periodically, consecutive data points are stored at this time interval,
|
|
2300
|
-
# excluding data loss due to errors. Metrics with a higher granularity have
|
|
2301
|
-
#
|
|
1984
|
+
# excluding data loss due to errors. Metrics with a higher granularity have a
|
|
1985
|
+
# smaller sampling period.
|
|
2302
1986
|
# Corresponds to the JSON property `samplePeriod`
|
|
2303
1987
|
# @return [String]
|
|
2304
1988
|
attr_accessor :sample_period
|
|
@@ -2315,22 +1999,21 @@ module Google
|
|
|
2315
1999
|
end
|
|
2316
2000
|
end
|
|
2317
2001
|
|
|
2318
|
-
# Bind API methods to metrics. Binding a method to a metric causes that
|
|
2319
|
-
#
|
|
2002
|
+
# Bind API methods to metrics. Binding a method to a metric causes that metric's
|
|
2003
|
+
# configured quota behaviors to apply to the method call.
|
|
2320
2004
|
class MetricRule
|
|
2321
2005
|
include Google::Apis::Core::Hashable
|
|
2322
2006
|
|
|
2323
2007
|
# Metrics to update when the selected methods are called, and the associated
|
|
2324
|
-
# cost applied to each metric.
|
|
2325
|
-
#
|
|
2326
|
-
#
|
|
2327
|
-
# The value must not be negative.
|
|
2008
|
+
# cost applied to each metric. The key of the map is the metric name, and the
|
|
2009
|
+
# values are the amount increased for the metric against which the quota limits
|
|
2010
|
+
# are defined. The value must not be negative.
|
|
2328
2011
|
# Corresponds to the JSON property `metricCosts`
|
|
2329
2012
|
# @return [Hash<String,Fixnum>]
|
|
2330
2013
|
attr_accessor :metric_costs
|
|
2331
2014
|
|
|
2332
|
-
# Selects the methods to which this rule applies.
|
|
2333
|
-
#
|
|
2015
|
+
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
2016
|
+
# details.
|
|
2334
2017
|
# Corresponds to the JSON property `selector`
|
|
2335
2018
|
# @return [String]
|
|
2336
2019
|
attr_accessor :selector
|
|
@@ -2348,66 +2031,33 @@ module Google
|
|
|
2348
2031
|
|
|
2349
2032
|
# Declares an API Interface to be included in this interface. The including
|
|
2350
2033
|
# interface must redeclare all the methods from the included interface, but
|
|
2351
|
-
# documentation and options are inherited as follows:
|
|
2352
|
-
#
|
|
2353
|
-
#
|
|
2354
|
-
#
|
|
2355
|
-
#
|
|
2356
|
-
#
|
|
2357
|
-
#
|
|
2358
|
-
#
|
|
2359
|
-
#
|
|
2360
|
-
#
|
|
2361
|
-
#
|
|
2362
|
-
#
|
|
2363
|
-
#
|
|
2364
|
-
#
|
|
2365
|
-
#
|
|
2366
|
-
#
|
|
2367
|
-
#
|
|
2368
|
-
# `
|
|
2369
|
-
# `
|
|
2370
|
-
#
|
|
2371
|
-
#
|
|
2372
|
-
#
|
|
2373
|
-
#
|
|
2374
|
-
#
|
|
2375
|
-
#
|
|
2376
|
-
# `
|
|
2377
|
-
# `
|
|
2378
|
-
# Example of a mixin configuration:
|
|
2379
|
-
# apis:
|
|
2380
|
-
# - name: google.storage.v2.Storage
|
|
2381
|
-
# mixins:
|
|
2382
|
-
# - name: google.acl.v1.AccessControl
|
|
2383
|
-
# The mixin construct implies that all methods in `AccessControl` are
|
|
2384
|
-
# also declared with same name and request/response types in
|
|
2385
|
-
# `Storage`. A documentation generator or annotation processor will
|
|
2386
|
-
# see the effective `Storage.GetAcl` method after inherting
|
|
2387
|
-
# documentation and annotations as follows:
|
|
2388
|
-
# service Storage `
|
|
2389
|
-
# // Get the underlying ACL object.
|
|
2390
|
-
# rpc GetAcl(GetAclRequest) returns (Acl) `
|
|
2391
|
-
# option (google.api.http).get = "/v2/`resource=**`:getAcl";
|
|
2392
|
-
# `
|
|
2393
|
-
# ...
|
|
2394
|
-
# `
|
|
2395
|
-
# Note how the version in the path pattern changed from `v1` to `v2`.
|
|
2396
|
-
# If the `root` field in the mixin is specified, it should be a
|
|
2397
|
-
# relative path under which inherited HTTP paths are placed. Example:
|
|
2398
|
-
# apis:
|
|
2399
|
-
# - name: google.storage.v2.Storage
|
|
2400
|
-
# mixins:
|
|
2401
|
-
# - name: google.acl.v1.AccessControl
|
|
2402
|
-
# root: acls
|
|
2403
|
-
# This implies the following inherited HTTP annotation:
|
|
2404
|
-
# service Storage `
|
|
2405
|
-
# // Get the underlying ACL object.
|
|
2406
|
-
# rpc GetAcl(GetAclRequest) returns (Acl) `
|
|
2407
|
-
# option (google.api.http).get = "/v2/acls/`resource=**`:getAcl";
|
|
2408
|
-
# `
|
|
2409
|
-
# ...
|
|
2410
|
-
# `
|
|
2034
|
+
# documentation and options are inherited as follows: - If after comment and
|
|
2035
|
+
# whitespace stripping, the documentation string of the redeclared method is
|
|
2036
|
+
# empty, it will be inherited from the original method. - Each annotation
|
|
2037
|
+
# belonging to the service config (http, visibility) which is not set in the
|
|
2038
|
+
# redeclared method will be inherited. - If an http annotation is inherited, the
|
|
2039
|
+
# path pattern will be modified as follows. Any version prefix will be replaced
|
|
2040
|
+
# by the version of the including interface plus the root path if specified.
|
|
2041
|
+
# Example of a simple mixin: package google.acl.v1; service AccessControl ` //
|
|
2042
|
+
# Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) `
|
|
2043
|
+
# option (google.api.http).get = "/v1/`resource=**`:getAcl"; ` ` package google.
|
|
2044
|
+
# storage.v2; service Storage ` // rpc GetAcl(GetAclRequest) returns (Acl); //
|
|
2045
|
+
# Get a data record. rpc GetData(GetDataRequest) returns (Data) ` option (google.
|
|
2046
|
+
# api.http).get = "/v2/`resource=**`"; ` ` Example of a mixin configuration:
|
|
2047
|
+
# apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.
|
|
2048
|
+
# AccessControl The mixin construct implies that all methods in `AccessControl`
|
|
2049
|
+
# are also declared with same name and request/response types in `Storage`. A
|
|
2050
|
+
# documentation generator or annotation processor will see the effective `
|
|
2051
|
+
# Storage.GetAcl` method after inheriting documentation and annotations as
|
|
2052
|
+
# follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
|
|
2053
|
+
# GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
|
|
2054
|
+
# `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
|
|
2055
|
+
# to `v2`. If the `root` field in the mixin is specified, it should be a
|
|
2056
|
+
# relative path under which inherited HTTP paths are placed. Example: apis: -
|
|
2057
|
+
# name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl
|
|
2058
|
+
# root: acls This implies the following inherited HTTP annotation: service
|
|
2059
|
+
# Storage ` // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (
|
|
2060
|
+
# Acl) ` option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; ` ... `
|
|
2411
2061
|
class Mixin
|
|
2412
2062
|
include Google::Apis::Core::Hashable
|
|
2413
2063
|
|
|
@@ -2416,8 +2066,7 @@ module Google
|
|
|
2416
2066
|
# @return [String]
|
|
2417
2067
|
attr_accessor :name
|
|
2418
2068
|
|
|
2419
|
-
# If non-empty specifies a path under which inherited HTTP paths
|
|
2420
|
-
# are rooted.
|
|
2069
|
+
# If non-empty specifies a path under which inherited HTTP paths are rooted.
|
|
2421
2070
|
# Corresponds to the JSON property `root`
|
|
2422
2071
|
# @return [String]
|
|
2423
2072
|
attr_accessor :root
|
|
@@ -2433,51 +2082,32 @@ module Google
|
|
|
2433
2082
|
end
|
|
2434
2083
|
end
|
|
2435
2084
|
|
|
2436
|
-
# An object that describes the schema of a MonitoredResource object using a
|
|
2437
|
-
#
|
|
2438
|
-
#
|
|
2439
|
-
#
|
|
2440
|
-
#
|
|
2441
|
-
#
|
|
2442
|
-
#
|
|
2443
|
-
# Monitoring and Logging:
|
|
2444
|
-
# * The `type`, `display_name`, `description`, `labels` and `launch_stage`
|
|
2445
|
-
# fields are all required.
|
|
2446
|
-
# * The first label of the monitored resource descriptor must be
|
|
2447
|
-
# `resource_container`. There are legacy monitored resource descritptors
|
|
2448
|
-
# start with `project_id`.
|
|
2449
|
-
# * It must include a `location` label.
|
|
2450
|
-
# * Maximum of default 5 service defined monitored resource descriptors
|
|
2451
|
-
# is allowed per service.
|
|
2452
|
-
# * Maximum of default 10 labels per monitored resource is allowed.
|
|
2453
|
-
# The default maximum limit can be overridden. Please follow
|
|
2454
|
-
# https://cloud.google.com/monitoring/quotas
|
|
2085
|
+
# An object that describes the schema of a MonitoredResource object using a type
|
|
2086
|
+
# name and a set of labels. For example, the monitored resource descriptor for
|
|
2087
|
+
# Google Compute Engine VM instances has a type of `"gce_instance"` and
|
|
2088
|
+
# specifies the use of the labels `"instance_id"` and `"zone"` to identify
|
|
2089
|
+
# particular VM instances. Different APIs can support different monitored
|
|
2090
|
+
# resource types. APIs generally provide a `list` method that returns the
|
|
2091
|
+
# monitored resource descriptors used by the API.
|
|
2455
2092
|
class MonitoredResourceDescriptor
|
|
2456
2093
|
include Google::Apis::Core::Hashable
|
|
2457
2094
|
|
|
2458
|
-
# Optional. A detailed description of the monitored resource type that might
|
|
2459
|
-
#
|
|
2095
|
+
# Optional. A detailed description of the monitored resource type that might be
|
|
2096
|
+
# used in documentation.
|
|
2460
2097
|
# Corresponds to the JSON property `description`
|
|
2461
2098
|
# @return [String]
|
|
2462
2099
|
attr_accessor :description
|
|
2463
2100
|
|
|
2464
2101
|
# Optional. A concise name for the monitored resource type that might be
|
|
2465
|
-
# displayed in user interfaces. It should be a Title Cased Noun Phrase,
|
|
2466
|
-
#
|
|
2467
|
-
# `"Google Cloud SQL Database"`.
|
|
2102
|
+
# displayed in user interfaces. It should be a Title Cased Noun Phrase, without
|
|
2103
|
+
# any article or other determiners. For example, `"Google Cloud SQL Database"`.
|
|
2468
2104
|
# Corresponds to the JSON property `displayName`
|
|
2469
2105
|
# @return [String]
|
|
2470
2106
|
attr_accessor :display_name
|
|
2471
2107
|
|
|
2472
2108
|
# Required. A set of labels used to describe instances of this monitored
|
|
2473
|
-
# resource type.
|
|
2474
|
-
#
|
|
2475
|
-
# * Only upper and lower-case letters, digits and underscores (_) are
|
|
2476
|
-
# allowed.
|
|
2477
|
-
# * Label name must start with a letter or digit.
|
|
2478
|
-
# * The maximum length of a label name is 100 characters.
|
|
2479
|
-
# For example, an individual Google Cloud SQL database is
|
|
2480
|
-
# identified by values for the labels `database_id` and `location`.
|
|
2109
|
+
# resource type. For example, an individual Google Cloud SQL database is
|
|
2110
|
+
# identified by values for the labels `"database_id"` and `"zone"`.
|
|
2481
2111
|
# Corresponds to the JSON property `labels`
|
|
2482
2112
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::LabelDescriptor>]
|
|
2483
2113
|
attr_accessor :labels
|
|
@@ -2487,27 +2117,18 @@ module Google
|
|
|
2487
2117
|
# @return [String]
|
|
2488
2118
|
attr_accessor :launch_stage
|
|
2489
2119
|
|
|
2490
|
-
# Optional. The resource name of the monitored resource descriptor:
|
|
2491
|
-
#
|
|
2492
|
-
# `type`
|
|
2493
|
-
#
|
|
2494
|
-
#
|
|
2495
|
-
#
|
|
2120
|
+
# Optional. The resource name of the monitored resource descriptor: `"projects/`
|
|
2121
|
+
# project_id`/monitoredResourceDescriptors/`type`"` where `type` is the value of
|
|
2122
|
+
# the `type` field in this object and `project_id` is a project ID that provides
|
|
2123
|
+
# API-specific context for accessing the type. APIs that do not use project
|
|
2124
|
+
# information can use the resource name format `"monitoredResourceDescriptors/`
|
|
2125
|
+
# type`"`.
|
|
2496
2126
|
# Corresponds to the JSON property `name`
|
|
2497
2127
|
# @return [String]
|
|
2498
2128
|
attr_accessor :name
|
|
2499
2129
|
|
|
2500
|
-
# Required. The monitored resource type. For example, the type
|
|
2501
|
-
#
|
|
2502
|
-
# All service defined monitored resource types must be prefixed with the
|
|
2503
|
-
# service name, in the format of ``service name`/`relative resource name``.
|
|
2504
|
-
# The relative resource name must follow:
|
|
2505
|
-
# * Only upper and lower-case letters and digits are allowed.
|
|
2506
|
-
# * It must start with upper case character and is recommended to use Upper
|
|
2507
|
-
# Camel Case style.
|
|
2508
|
-
# * The maximum number of characters allowed for the relative_resource_name
|
|
2509
|
-
# is 100.
|
|
2510
|
-
# Note there are legacy service monitored resources not following this rule.
|
|
2130
|
+
# Required. The monitored resource type. For example, the type `"
|
|
2131
|
+
# cloudsql_database"` represents databases in Google Cloud SQL.
|
|
2511
2132
|
# Corresponds to the JSON property `type`
|
|
2512
2133
|
# @return [String]
|
|
2513
2134
|
attr_accessor :type
|
|
@@ -2527,75 +2148,47 @@ module Google
|
|
|
2527
2148
|
end
|
|
2528
2149
|
end
|
|
2529
2150
|
|
|
2530
|
-
# Monitoring configuration of the service.
|
|
2531
|
-
#
|
|
2532
|
-
#
|
|
2533
|
-
#
|
|
2534
|
-
#
|
|
2535
|
-
#
|
|
2536
|
-
#
|
|
2537
|
-
#
|
|
2538
|
-
# -
|
|
2539
|
-
#
|
|
2540
|
-
#
|
|
2541
|
-
#
|
|
2542
|
-
#
|
|
2543
|
-
# - key:
|
|
2544
|
-
#
|
|
2545
|
-
#
|
|
2546
|
-
#
|
|
2547
|
-
#
|
|
2548
|
-
#
|
|
2549
|
-
#
|
|
2550
|
-
#
|
|
2551
|
-
#
|
|
2552
|
-
# description: "The count of books that have been returned."
|
|
2553
|
-
# launch_stage: GA
|
|
2554
|
-
# metric_kind: DELTA
|
|
2555
|
-
# value_type: INT64
|
|
2556
|
-
# unit: "1"
|
|
2557
|
-
# labels:
|
|
2558
|
-
# - key: customer_id
|
|
2559
|
-
# description: "The id of the customer."
|
|
2560
|
-
# - name: library.googleapis.com/book/num_overdue
|
|
2561
|
-
# display_name: "Books Overdue"
|
|
2562
|
-
# description: "The current number of overdue books."
|
|
2563
|
-
# launch_stage: GA
|
|
2564
|
-
# metric_kind: GAUGE
|
|
2565
|
-
# value_type: INT64
|
|
2566
|
-
# unit: "1"
|
|
2567
|
-
# labels:
|
|
2568
|
-
# - key: customer_id
|
|
2569
|
-
# description: "The id of the customer."
|
|
2570
|
-
# monitoring:
|
|
2571
|
-
# producer_destinations:
|
|
2572
|
-
# - monitored_resource: library.googleapis.com/Branch
|
|
2573
|
-
# metrics:
|
|
2574
|
-
# - library.googleapis.com/book/returned_count
|
|
2575
|
-
# consumer_destinations:
|
|
2576
|
-
# - monitored_resource: library.googleapis.com/Branch
|
|
2577
|
-
# metrics:
|
|
2578
|
-
# - library.googleapis.com/book/returned_count
|
|
2579
|
-
# - library.googleapis.com/book/num_overdue
|
|
2151
|
+
# Monitoring configuration of the service. The example below shows how to
|
|
2152
|
+
# configure monitored resources and metrics for monitoring. In the example, a
|
|
2153
|
+
# monitored resource and two metrics are defined. The `library.googleapis.com/
|
|
2154
|
+
# book/returned_count` metric is sent to both producer and consumer projects,
|
|
2155
|
+
# whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
|
|
2156
|
+
# the consumer project. monitored_resources: - type: library.googleapis.com/
|
|
2157
|
+
# Branch display_name: "Library Branch" description: "A branch of a library."
|
|
2158
|
+
# launch_stage: GA labels: - key: resource_container description: "The Cloud
|
|
2159
|
+
# container (ie. project id) for the Branch." - key: location description: "The
|
|
2160
|
+
# location of the library branch." - key: branch_id description: "The id of the
|
|
2161
|
+
# branch." metrics: - name: library.googleapis.com/book/returned_count
|
|
2162
|
+
# display_name: "Books Returned" description: "The count of books that have been
|
|
2163
|
+
# returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
|
|
2164
|
+
# labels: - key: customer_id description: "The id of the customer." - name:
|
|
2165
|
+
# library.googleapis.com/book/num_overdue display_name: "Books Overdue"
|
|
2166
|
+
# description: "The current number of overdue books." launch_stage: GA
|
|
2167
|
+
# metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
|
|
2168
|
+
# description: "The id of the customer." monitoring: producer_destinations: -
|
|
2169
|
+
# monitored_resource: library.googleapis.com/Branch metrics: - library.
|
|
2170
|
+
# googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
|
|
2171
|
+
# library.googleapis.com/Branch metrics: - library.googleapis.com/book/
|
|
2172
|
+
# returned_count - library.googleapis.com/book/num_overdue
|
|
2580
2173
|
class Monitoring
|
|
2581
2174
|
include Google::Apis::Core::Hashable
|
|
2582
2175
|
|
|
2583
|
-
# Monitoring configurations for sending metrics to the consumer project.
|
|
2584
|
-
#
|
|
2585
|
-
#
|
|
2586
|
-
#
|
|
2587
|
-
#
|
|
2588
|
-
#
|
|
2176
|
+
# Monitoring configurations for sending metrics to the consumer project. There
|
|
2177
|
+
# can be multiple consumer destinations. A monitored resource type may appear in
|
|
2178
|
+
# multiple monitoring destinations if different aggregations are needed for
|
|
2179
|
+
# different sets of metrics associated with that monitored resource type. A
|
|
2180
|
+
# monitored resource and metric pair may only be used once in the Monitoring
|
|
2181
|
+
# configuration.
|
|
2589
2182
|
# Corresponds to the JSON property `consumerDestinations`
|
|
2590
2183
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::MonitoringDestination>]
|
|
2591
2184
|
attr_accessor :consumer_destinations
|
|
2592
2185
|
|
|
2593
|
-
# Monitoring configurations for sending metrics to the producer project.
|
|
2594
|
-
#
|
|
2595
|
-
#
|
|
2596
|
-
#
|
|
2597
|
-
#
|
|
2598
|
-
#
|
|
2186
|
+
# Monitoring configurations for sending metrics to the producer project. There
|
|
2187
|
+
# can be multiple producer destinations. A monitored resource type may appear in
|
|
2188
|
+
# multiple monitoring destinations if different aggregations are needed for
|
|
2189
|
+
# different sets of metrics associated with that monitored resource type. A
|
|
2190
|
+
# monitored resource and metric pair may only be used once in the Monitoring
|
|
2191
|
+
# configuration.
|
|
2599
2192
|
# Corresponds to the JSON property `producerDestinations`
|
|
2600
2193
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::MonitoringDestination>]
|
|
2601
2194
|
attr_accessor :producer_destinations
|
|
@@ -2611,19 +2204,19 @@ module Google
|
|
|
2611
2204
|
end
|
|
2612
2205
|
end
|
|
2613
2206
|
|
|
2614
|
-
# Configuration of a specific monitoring destination (the producer project
|
|
2615
|
-
#
|
|
2207
|
+
# Configuration of a specific monitoring destination (the producer project or
|
|
2208
|
+
# the consumer project).
|
|
2616
2209
|
class MonitoringDestination
|
|
2617
2210
|
include Google::Apis::Core::Hashable
|
|
2618
2211
|
|
|
2619
|
-
# Types of the metrics to report to this monitoring destination.
|
|
2620
|
-
#
|
|
2212
|
+
# Types of the metrics to report to this monitoring destination. Each type must
|
|
2213
|
+
# be defined in Service.metrics section.
|
|
2621
2214
|
# Corresponds to the JSON property `metrics`
|
|
2622
2215
|
# @return [Array<String>]
|
|
2623
2216
|
attr_accessor :metrics
|
|
2624
2217
|
|
|
2625
|
-
# The monitored resource type. The type must be defined in
|
|
2626
|
-
#
|
|
2218
|
+
# The monitored resource type. The type must be defined in Service.
|
|
2219
|
+
# monitored_resources section.
|
|
2627
2220
|
# Corresponds to the JSON property `monitoredResource`
|
|
2628
2221
|
# @return [String]
|
|
2629
2222
|
attr_accessor :monitored_resource
|
|
@@ -2640,27 +2233,25 @@ module Google
|
|
|
2640
2233
|
end
|
|
2641
2234
|
|
|
2642
2235
|
# OAuth scopes are a way to define data and permissions on data. For example,
|
|
2643
|
-
# there are scopes defined for "Read-only access to Google Calendar" and
|
|
2644
|
-
#
|
|
2645
|
-
#
|
|
2646
|
-
#
|
|
2647
|
-
#
|
|
2648
|
-
#
|
|
2649
|
-
#
|
|
2650
|
-
#
|
|
2651
|
-
#
|
|
2652
|
-
#
|
|
2653
|
-
#
|
|
2654
|
-
#
|
|
2655
|
-
# due to the backend requiring additional scopes or permissions.
|
|
2236
|
+
# there are scopes defined for "Read-only access to Google Calendar" and "Access
|
|
2237
|
+
# to Cloud Platform". Users can consent to a scope for an application, giving it
|
|
2238
|
+
# permission to access that data on their behalf. OAuth scope specifications
|
|
2239
|
+
# should be fairly coarse grained; a user will need to see and understand the
|
|
2240
|
+
# text description of what your scope means. In most cases: use one or at most
|
|
2241
|
+
# two OAuth scopes for an entire family of products. If your product has
|
|
2242
|
+
# multiple APIs, you should probably be sharing the OAuth scope across all of
|
|
2243
|
+
# those APIs. When you need finer grained OAuth consent screens: talk with your
|
|
2244
|
+
# product management about how developers will use them in practice. Please note
|
|
2245
|
+
# that even though each of the canonical scopes is enough for a request to be
|
|
2246
|
+
# accepted and passed to the backend, a request can still fail due to the
|
|
2247
|
+
# backend requiring additional scopes or permissions.
|
|
2656
2248
|
class OAuthRequirements
|
|
2657
2249
|
include Google::Apis::Core::Hashable
|
|
2658
2250
|
|
|
2659
|
-
# The list of publicly documented OAuth scopes that are allowed access. An
|
|
2660
|
-
#
|
|
2661
|
-
#
|
|
2662
|
-
#
|
|
2663
|
-
# https://www.googleapis.com/auth/calendar.read
|
|
2251
|
+
# The list of publicly documented OAuth scopes that are allowed access. An OAuth
|
|
2252
|
+
# token containing any of these scopes will be accepted. Example:
|
|
2253
|
+
# canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.
|
|
2254
|
+
# googleapis.com/auth/calendar.read
|
|
2664
2255
|
# Corresponds to the JSON property `canonicalScopes`
|
|
2665
2256
|
# @return [String]
|
|
2666
2257
|
attr_accessor :canonical_scopes
|
|
@@ -2680,47 +2271,45 @@ module Google
|
|
|
2680
2271
|
class Operation
|
|
2681
2272
|
include Google::Apis::Core::Hashable
|
|
2682
2273
|
|
|
2683
|
-
# If the value is `false`, it means the operation is still in progress.
|
|
2684
|
-
#
|
|
2685
|
-
# available.
|
|
2274
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
2275
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
2686
2276
|
# Corresponds to the JSON property `done`
|
|
2687
2277
|
# @return [Boolean]
|
|
2688
2278
|
attr_accessor :done
|
|
2689
2279
|
alias_method :done?, :done
|
|
2690
2280
|
|
|
2691
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
2692
|
-
#
|
|
2693
|
-
#
|
|
2694
|
-
#
|
|
2695
|
-
#
|
|
2696
|
-
#
|
|
2281
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
2282
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2283
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
2284
|
+
# data: error code, error message, and error details. You can find out more
|
|
2285
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
2286
|
+
# //cloud.google.com/apis/design/errors).
|
|
2697
2287
|
# Corresponds to the JSON property `error`
|
|
2698
2288
|
# @return [Google::Apis::ServicenetworkingV1beta::Status]
|
|
2699
2289
|
attr_accessor :error
|
|
2700
2290
|
|
|
2701
|
-
# Service-specific metadata associated with the operation.
|
|
2702
|
-
#
|
|
2703
|
-
#
|
|
2704
|
-
#
|
|
2291
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
2292
|
+
# progress information and common metadata such as create time. Some services
|
|
2293
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
2294
|
+
# operation should document the metadata type, if any.
|
|
2705
2295
|
# Corresponds to the JSON property `metadata`
|
|
2706
2296
|
# @return [Hash<String,Object>]
|
|
2707
2297
|
attr_accessor :metadata
|
|
2708
2298
|
|
|
2709
2299
|
# The server-assigned name, which is only unique within the same service that
|
|
2710
|
-
# originally returns it. If you use the default HTTP mapping, the
|
|
2711
|
-
#
|
|
2300
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
2301
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
2712
2302
|
# Corresponds to the JSON property `name`
|
|
2713
2303
|
# @return [String]
|
|
2714
2304
|
attr_accessor :name
|
|
2715
2305
|
|
|
2716
|
-
# The normal response of the operation in case of success.
|
|
2717
|
-
# method returns no data on success, such as `Delete`, the response is
|
|
2718
|
-
#
|
|
2719
|
-
#
|
|
2720
|
-
#
|
|
2721
|
-
#
|
|
2722
|
-
#
|
|
2723
|
-
# `TakeSnapshotResponse`.
|
|
2306
|
+
# The normal response of the operation in case of success. If the original
|
|
2307
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
|
2308
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
|
2309
|
+
# the response should be the resource. For other methods, the response should
|
|
2310
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
|
2311
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
|
2312
|
+
# response type is `TakeSnapshotResponse`.
|
|
2724
2313
|
# Corresponds to the JSON property `response`
|
|
2725
2314
|
# @return [Hash<String,Object>]
|
|
2726
2315
|
attr_accessor :response
|
|
@@ -2745,17 +2334,17 @@ module Google
|
|
|
2745
2334
|
include Google::Apis::Core::Hashable
|
|
2746
2335
|
|
|
2747
2336
|
# The option's name. For protobuf built-in options (options defined in
|
|
2748
|
-
# descriptor.proto), this is the short name. For example, `"map_entry"`.
|
|
2749
|
-
#
|
|
2750
|
-
#
|
|
2337
|
+
# descriptor.proto), this is the short name. For example, `"map_entry"`. For
|
|
2338
|
+
# custom options, it should be the fully-qualified name. For example, `"google.
|
|
2339
|
+
# api.http"`.
|
|
2751
2340
|
# Corresponds to the JSON property `name`
|
|
2752
2341
|
# @return [String]
|
|
2753
2342
|
attr_accessor :name
|
|
2754
2343
|
|
|
2755
|
-
# The option's value packed in an Any message. If the value is a primitive,
|
|
2756
|
-
#
|
|
2757
|
-
#
|
|
2758
|
-
#
|
|
2344
|
+
# The option's value packed in an Any message. If the value is a primitive, the
|
|
2345
|
+
# corresponding wrapper type defined in google/protobuf/wrappers.proto should be
|
|
2346
|
+
# used. If the value is an enum, it should be stored as an int32 value using the
|
|
2347
|
+
# google.protobuf.Int32Value type.
|
|
2759
2348
|
# Corresponds to the JSON property `value`
|
|
2760
2349
|
# @return [Hash<String,Object>]
|
|
2761
2350
|
attr_accessor :value
|
|
@@ -2776,32 +2365,25 @@ module Google
|
|
|
2776
2365
|
class Page
|
|
2777
2366
|
include Google::Apis::Core::Hashable
|
|
2778
2367
|
|
|
2779
|
-
# The Markdown content of the page. You can use
|
|
2780
|
-
#
|
|
2368
|
+
# The Markdown content of the page. You can use (== include `path` ==) to
|
|
2369
|
+
# include content from a Markdown file.
|
|
2781
2370
|
# Corresponds to the JSON property `content`
|
|
2782
2371
|
# @return [String]
|
|
2783
2372
|
attr_accessor :content
|
|
2784
2373
|
|
|
2785
|
-
# The name of the page. It will be used as an identity of the page to
|
|
2786
|
-
#
|
|
2787
|
-
#
|
|
2788
|
-
#
|
|
2789
|
-
#
|
|
2790
|
-
#
|
|
2791
|
-
#
|
|
2792
|
-
# content: (== include tutorial.md ==)
|
|
2793
|
-
# subpages:
|
|
2794
|
-
# - name: Java
|
|
2795
|
-
# content: (== include tutorial_java.md ==)
|
|
2796
|
-
# </code></pre>
|
|
2797
|
-
# You can reference `Java` page using Markdown reference link syntax:
|
|
2798
|
-
# `Java`.
|
|
2374
|
+
# The name of the page. It will be used as an identity of the page to generate
|
|
2375
|
+
# URI of the page, text of the link to this page in navigation, etc. The full
|
|
2376
|
+
# page name (start from the root page name to this page concatenated with `.`)
|
|
2377
|
+
# can be used as reference to the page in your documentation. For example: pages:
|
|
2378
|
+
# - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java
|
|
2379
|
+
# content: (== include tutorial_java.md ==) You can reference `Java` page using
|
|
2380
|
+
# Markdown reference link syntax: `Java`.
|
|
2799
2381
|
# Corresponds to the JSON property `name`
|
|
2800
2382
|
# @return [String]
|
|
2801
2383
|
attr_accessor :name
|
|
2802
2384
|
|
|
2803
|
-
# Subpages of this page. The order of subpages specified here will be
|
|
2804
|
-
#
|
|
2385
|
+
# Subpages of this page. The order of subpages specified here will be honored in
|
|
2386
|
+
# the generated docset.
|
|
2805
2387
|
# Corresponds to the JSON property `subpages`
|
|
2806
2388
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Page>]
|
|
2807
2389
|
attr_accessor :subpages
|
|
@@ -2818,24 +2400,63 @@ module Google
|
|
|
2818
2400
|
end
|
|
2819
2401
|
end
|
|
2820
2402
|
|
|
2403
|
+
# DNS domain suffix for which requests originating in the producer VPC network
|
|
2404
|
+
# are resolved in the associated consumer VPC network.
|
|
2405
|
+
class PeeredDnsDomain
|
|
2406
|
+
include Google::Apis::Core::Hashable
|
|
2407
|
+
|
|
2408
|
+
# The DNS domain name suffix e.g. `example.com.`.
|
|
2409
|
+
# Corresponds to the JSON property `dnsSuffix`
|
|
2410
|
+
# @return [String]
|
|
2411
|
+
attr_accessor :dns_suffix
|
|
2412
|
+
|
|
2413
|
+
# User assigned name for this resource. Must be unique within the consumer
|
|
2414
|
+
# network. The name must be 1-63 characters long, must begin with a letter, end
|
|
2415
|
+
# with a letter or digit, and only contain lowercase letters, digits or dashes.
|
|
2416
|
+
# Corresponds to the JSON property `name`
|
|
2417
|
+
# @return [String]
|
|
2418
|
+
attr_accessor :name
|
|
2419
|
+
|
|
2420
|
+
def initialize(**args)
|
|
2421
|
+
update!(**args)
|
|
2422
|
+
end
|
|
2423
|
+
|
|
2424
|
+
# Update properties of this object
|
|
2425
|
+
def update!(**args)
|
|
2426
|
+
@dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix)
|
|
2427
|
+
@name = args[:name] if args.key?(:name)
|
|
2428
|
+
end
|
|
2429
|
+
end
|
|
2430
|
+
|
|
2431
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
|
2432
|
+
# CreatePeeredDnsDomain API.
|
|
2433
|
+
class PeeredDnsDomainMetadata
|
|
2434
|
+
include Google::Apis::Core::Hashable
|
|
2435
|
+
|
|
2436
|
+
def initialize(**args)
|
|
2437
|
+
update!(**args)
|
|
2438
|
+
end
|
|
2439
|
+
|
|
2440
|
+
# Update properties of this object
|
|
2441
|
+
def update!(**args)
|
|
2442
|
+
end
|
|
2443
|
+
end
|
|
2444
|
+
|
|
2821
2445
|
# Grouping of IAM role and IAM member.
|
|
2822
2446
|
class PolicyBinding
|
|
2823
2447
|
include Google::Apis::Core::Hashable
|
|
2824
2448
|
|
|
2825
|
-
# Required. Member to bind the role with. See
|
|
2826
|
-
#
|
|
2827
|
-
#
|
|
2828
|
-
# - user:myuser@mydomain.com
|
|
2829
|
-
# - serviceAccount:my-service-account@app.gserviceaccount.com
|
|
2449
|
+
# Required. Member to bind the role with. See /iam/docs/reference/rest/v1/Policy#
|
|
2450
|
+
# Binding for how to format each member. Eg. - user:myuser@mydomain.com -
|
|
2451
|
+
# serviceAccount:my-service-account@app.gserviceaccount.com
|
|
2830
2452
|
# Corresponds to the JSON property `member`
|
|
2831
2453
|
# @return [String]
|
|
2832
2454
|
attr_accessor :member
|
|
2833
2455
|
|
|
2834
2456
|
# Required. Role to apply. Only whitelisted roles can be used at the specified
|
|
2835
|
-
# granularity. The role must be one of the following:
|
|
2836
|
-
#
|
|
2837
|
-
# project
|
|
2838
|
-
# - 'roles/compute.securityAdmin' applied on the shared VPC host project
|
|
2457
|
+
# granularity. The role must be one of the following: - 'roles/container.
|
|
2458
|
+
# hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.
|
|
2459
|
+
# securityAdmin' applied on the shared VPC host project
|
|
2839
2460
|
# Corresponds to the JSON property `role`
|
|
2840
2461
|
# @return [String]
|
|
2841
2462
|
attr_accessor :role
|
|
@@ -2851,46 +2472,25 @@ module Google
|
|
|
2851
2472
|
end
|
|
2852
2473
|
end
|
|
2853
2474
|
|
|
2854
|
-
# Quota configuration helps to achieve fairness and budgeting in service
|
|
2855
|
-
#
|
|
2856
|
-
#
|
|
2857
|
-
#
|
|
2858
|
-
#
|
|
2859
|
-
#
|
|
2860
|
-
#
|
|
2861
|
-
#
|
|
2862
|
-
#
|
|
2863
|
-
#
|
|
2864
|
-
#
|
|
2865
|
-
# -
|
|
2866
|
-
#
|
|
2867
|
-
#
|
|
2868
|
-
#
|
|
2869
|
-
#
|
|
2870
|
-
#
|
|
2871
|
-
#
|
|
2872
|
-
#
|
|
2873
|
-
# # consuming at twice rate as the DeleteBook method.
|
|
2874
|
-
# metric_rules:
|
|
2875
|
-
# - selector: "*"
|
|
2876
|
-
# metric_costs:
|
|
2877
|
-
# library.googleapis.com/read_calls: 1
|
|
2878
|
-
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
2879
|
-
# metric_costs:
|
|
2880
|
-
# library.googleapis.com/write_calls: 2
|
|
2881
|
-
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
2882
|
-
# metric_costs:
|
|
2883
|
-
# library.googleapis.com/write_calls: 1
|
|
2884
|
-
# Corresponding Metric definition:
|
|
2885
|
-
# metrics:
|
|
2886
|
-
# - name: library.googleapis.com/read_calls
|
|
2887
|
-
# display_name: Read requests
|
|
2888
|
-
# metric_kind: DELTA
|
|
2889
|
-
# value_type: INT64
|
|
2890
|
-
# - name: library.googleapis.com/write_calls
|
|
2891
|
-
# display_name: Write requests
|
|
2892
|
-
# metric_kind: DELTA
|
|
2893
|
-
# value_type: INT64
|
|
2475
|
+
# Quota configuration helps to achieve fairness and budgeting in service usage.
|
|
2476
|
+
# The metric based quota configuration works this way: - The service
|
|
2477
|
+
# configuration defines a set of metrics. - For API calls, the quota.
|
|
2478
|
+
# metric_rules maps methods to metrics with corresponding costs. - The quota.
|
|
2479
|
+
# limits defines limits on the metrics, which will be used for quota checks at
|
|
2480
|
+
# runtime. An example quota configuration in yaml format: quota: limits: - name:
|
|
2481
|
+
# apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
|
|
2482
|
+
# project`" # rate limit for consumer projects values: STANDARD: 10000 # The
|
|
2483
|
+
# metric rules bind all methods to the read_calls metric, # except for the
|
|
2484
|
+
# UpdateBook and DeleteBook methods. These two methods # are mapped to the
|
|
2485
|
+
# write_calls metric, with the UpdateBook method # consuming at twice rate as
|
|
2486
|
+
# the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
|
|
2487
|
+
# googleapis.com/read_calls: 1 - selector: google.example.library.v1.
|
|
2488
|
+
# LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
|
|
2489
|
+
# selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
|
|
2490
|
+
# library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
|
|
2491
|
+
# - name: library.googleapis.com/read_calls display_name: Read requests
|
|
2492
|
+
# metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
|
|
2493
|
+
# write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
|
|
2894
2494
|
class Quota
|
|
2895
2495
|
include Google::Apis::Core::Hashable
|
|
2896
2496
|
|
|
@@ -2899,8 +2499,8 @@ module Google
|
|
|
2899
2499
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::QuotaLimit>]
|
|
2900
2500
|
attr_accessor :limits
|
|
2901
2501
|
|
|
2902
|
-
# List of `MetricRule` definitions, each one mapping a selected method to one
|
|
2903
|
-
#
|
|
2502
|
+
# List of `MetricRule` definitions, each one mapping a selected method to one or
|
|
2503
|
+
# more metrics.
|
|
2904
2504
|
# Corresponds to the JSON property `metricRules`
|
|
2905
2505
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::MetricRule>]
|
|
2906
2506
|
attr_accessor :metric_rules
|
|
@@ -2917,95 +2517,89 @@ module Google
|
|
|
2917
2517
|
end
|
|
2918
2518
|
|
|
2919
2519
|
# `QuotaLimit` defines a specific limit that applies over a specified duration
|
|
2920
|
-
# for a limit type. There can be at most one limit for a duration and limit
|
|
2921
|
-
#
|
|
2520
|
+
# for a limit type. There can be at most one limit for a duration and limit type
|
|
2521
|
+
# combination defined within a `QuotaGroup`.
|
|
2922
2522
|
class QuotaLimit
|
|
2923
2523
|
include Google::Apis::Core::Hashable
|
|
2924
2524
|
|
|
2925
|
-
# Default number of tokens that can be consumed during the specified
|
|
2926
|
-
#
|
|
2927
|
-
#
|
|
2928
|
-
#
|
|
2929
|
-
#
|
|
2930
|
-
#
|
|
2931
|
-
#
|
|
2932
|
-
# Used by group-based quotas only.
|
|
2525
|
+
# Default number of tokens that can be consumed during the specified duration.
|
|
2526
|
+
# This is the number of tokens assigned when a client application developer
|
|
2527
|
+
# activates the service for his/her project. Specifying a value of 0 will block
|
|
2528
|
+
# all requests. This can be used if you are provisioning quota to selected
|
|
2529
|
+
# consumers and blocking others. Similarly, a value of -1 will indicate an
|
|
2530
|
+
# unlimited quota. No other negative values are allowed. Used by group-based
|
|
2531
|
+
# quotas only.
|
|
2933
2532
|
# Corresponds to the JSON property `defaultLimit`
|
|
2934
2533
|
# @return [Fixnum]
|
|
2935
2534
|
attr_accessor :default_limit
|
|
2936
2535
|
|
|
2937
|
-
# Optional. User-visible, extended description for this quota limit.
|
|
2938
|
-
#
|
|
2939
|
-
#
|
|
2536
|
+
# Optional. User-visible, extended description for this quota limit. Should be
|
|
2537
|
+
# used only when more context is needed to understand this limit than provided
|
|
2538
|
+
# by the limit's display name (see: `display_name`).
|
|
2940
2539
|
# Corresponds to the JSON property `description`
|
|
2941
2540
|
# @return [String]
|
|
2942
2541
|
attr_accessor :description
|
|
2943
2542
|
|
|
2944
|
-
# User-visible display name for this limit.
|
|
2945
|
-
#
|
|
2946
|
-
#
|
|
2947
|
-
#
|
|
2543
|
+
# User-visible display name for this limit. Optional. If not set, the UI will
|
|
2544
|
+
# provide a default display name based on the quota configuration. This field
|
|
2545
|
+
# can be used to override the default display name generated from the
|
|
2546
|
+
# configuration.
|
|
2948
2547
|
# Corresponds to the JSON property `displayName`
|
|
2949
2548
|
# @return [String]
|
|
2950
2549
|
attr_accessor :display_name
|
|
2951
2550
|
|
|
2952
|
-
# Duration of this limit in textual notation. Must be "100s" or "1d".
|
|
2953
|
-
#
|
|
2551
|
+
# Duration of this limit in textual notation. Must be "100s" or "1d". Used by
|
|
2552
|
+
# group-based quotas only.
|
|
2954
2553
|
# Corresponds to the JSON property `duration`
|
|
2955
2554
|
# @return [String]
|
|
2956
2555
|
attr_accessor :duration
|
|
2957
2556
|
|
|
2958
|
-
# Free tier value displayed in the Developers Console for this limit.
|
|
2959
|
-
#
|
|
2960
|
-
#
|
|
2961
|
-
#
|
|
2962
|
-
#
|
|
2963
|
-
#
|
|
2964
|
-
# Used by group-based quotas only.
|
|
2557
|
+
# Free tier value displayed in the Developers Console for this limit. The free
|
|
2558
|
+
# tier is the number of tokens that will be subtracted from the billed amount
|
|
2559
|
+
# when billing is enabled. This field can only be set on a limit with duration "
|
|
2560
|
+
# 1d", in a billable group; it is invalid on any other limit. If this field is
|
|
2561
|
+
# not set, it defaults to 0, indicating that there is no free tier for this
|
|
2562
|
+
# service. Used by group-based quotas only.
|
|
2965
2563
|
# Corresponds to the JSON property `freeTier`
|
|
2966
2564
|
# @return [Fixnum]
|
|
2967
2565
|
attr_accessor :free_tier
|
|
2968
2566
|
|
|
2969
|
-
# Maximum number of tokens that can be consumed during the specified
|
|
2970
|
-
#
|
|
2971
|
-
#
|
|
2972
|
-
#
|
|
2973
|
-
#
|
|
2974
|
-
#
|
|
2975
|
-
# Used by group-based quotas only.
|
|
2567
|
+
# Maximum number of tokens that can be consumed during the specified duration.
|
|
2568
|
+
# Client application developers can override the default limit up to this
|
|
2569
|
+
# maximum. If specified, this value cannot be set to a value less than the
|
|
2570
|
+
# default limit. If not specified, it is set to the default limit. To allow
|
|
2571
|
+
# clients to apply overrides with no upper bound, set this to -1, indicating
|
|
2572
|
+
# unlimited maximum quota. Used by group-based quotas only.
|
|
2976
2573
|
# Corresponds to the JSON property `maxLimit`
|
|
2977
2574
|
# @return [Fixnum]
|
|
2978
2575
|
attr_accessor :max_limit
|
|
2979
2576
|
|
|
2980
|
-
# The name of the metric this quota limit applies to. The quota limits with
|
|
2981
|
-
#
|
|
2577
|
+
# The name of the metric this quota limit applies to. The quota limits with the
|
|
2578
|
+
# same metric will be checked together during runtime. The metric must be
|
|
2982
2579
|
# defined within the service config.
|
|
2983
2580
|
# Corresponds to the JSON property `metric`
|
|
2984
2581
|
# @return [String]
|
|
2985
2582
|
attr_accessor :metric
|
|
2986
2583
|
|
|
2987
|
-
# Name of the quota limit.
|
|
2988
|
-
#
|
|
2989
|
-
#
|
|
2990
|
-
# The maximum length of the limit name is 64 characters.
|
|
2584
|
+
# Name of the quota limit. The name must be provided, and it must be unique
|
|
2585
|
+
# within the service. The name can only include alphanumeric characters as well
|
|
2586
|
+
# as '-'. The maximum length of the limit name is 64 characters.
|
|
2991
2587
|
# Corresponds to the JSON property `name`
|
|
2992
2588
|
# @return [String]
|
|
2993
2589
|
attr_accessor :name
|
|
2994
2590
|
|
|
2995
|
-
# Specify the unit of the quota limit. It uses the same syntax as
|
|
2996
|
-
#
|
|
2997
|
-
#
|
|
2998
|
-
#
|
|
2999
|
-
#
|
|
3000
|
-
# Note: the order of unit components is insignificant.
|
|
3001
|
-
# The "1" at the beginning is required to follow the metric unit syntax.
|
|
2591
|
+
# Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
|
|
2592
|
+
# The supported unit kinds are determined by the quota backend system. Here are
|
|
2593
|
+
# some examples: * "1/min/`project`" for quota per minute per project. Note: the
|
|
2594
|
+
# order of unit components is insignificant. The "1" at the beginning is
|
|
2595
|
+
# required to follow the metric unit syntax.
|
|
3002
2596
|
# Corresponds to the JSON property `unit`
|
|
3003
2597
|
# @return [String]
|
|
3004
2598
|
attr_accessor :unit
|
|
3005
2599
|
|
|
3006
2600
|
# Tiered limit values. You must specify this as a key:value pair, with an
|
|
3007
|
-
# integer value that is the maximum number of requests allowed for the
|
|
3008
|
-
#
|
|
2601
|
+
# integer value that is the maximum number of requests allowed for the specified
|
|
2602
|
+
# unit. Currently only STANDARD is supported.
|
|
3009
2603
|
# Corresponds to the JSON property `values`
|
|
3010
2604
|
# @return [Hash<String,Fixnum>]
|
|
3011
2605
|
attr_accessor :values
|
|
@@ -3033,15 +2627,14 @@ module Google
|
|
|
3033
2627
|
class Range
|
|
3034
2628
|
include Google::Apis::Core::Hashable
|
|
3035
2629
|
|
|
3036
|
-
# CIDR range in "10.x.x.x/y" format that is within the
|
|
3037
|
-
#
|
|
2630
|
+
# CIDR range in "10.x.x.x/y" format that is within the allocated ranges and
|
|
2631
|
+
# currently unused.
|
|
3038
2632
|
# Corresponds to the JSON property `ipCidrRange`
|
|
3039
2633
|
# @return [String]
|
|
3040
2634
|
attr_accessor :ip_cidr_range
|
|
3041
2635
|
|
|
3042
2636
|
# In the Shared VPC host project, the VPC network that's peered with the
|
|
3043
|
-
# consumer network. For example:
|
|
3044
|
-
# `projects/1234321/global/networks/host-network`
|
|
2637
|
+
# consumer network. For example: `projects/1234321/global/networks/host-network`
|
|
3045
2638
|
# Corresponds to the JSON property `network`
|
|
3046
2639
|
# @return [String]
|
|
3047
2640
|
attr_accessor :network
|
|
@@ -3127,15 +2720,15 @@ module Google
|
|
|
3127
2720
|
attr_accessor :name
|
|
3128
2721
|
|
|
3129
2722
|
# Fully-qualified URL of the VPC network in the producer host tenant project
|
|
3130
|
-
# that this route applies to. For example:
|
|
3131
|
-
#
|
|
2723
|
+
# that this route applies to. For example: `projects/123456/global/networks/host-
|
|
2724
|
+
# network`
|
|
3132
2725
|
# Corresponds to the JSON property `network`
|
|
3133
2726
|
# @return [String]
|
|
3134
2727
|
attr_accessor :network
|
|
3135
2728
|
|
|
3136
2729
|
# Fully-qualified URL of the gateway that should handle matching packets that
|
|
3137
|
-
# this route applies to. For example:
|
|
3138
|
-
#
|
|
2730
|
+
# this route applies to. For example: `projects/123456/global/gateways/default-
|
|
2731
|
+
# internet-gateway`
|
|
3139
2732
|
# Corresponds to the JSON property `nextHopGateway`
|
|
3140
2733
|
# @return [String]
|
|
3141
2734
|
attr_accessor :next_hop_gateway
|
|
@@ -3157,21 +2750,18 @@ module Google
|
|
|
3157
2750
|
class SearchRangeRequest
|
|
3158
2751
|
include Google::Apis::Core::Hashable
|
|
3159
2752
|
|
|
3160
|
-
# Required. The prefix length of the IP range.
|
|
3161
|
-
#
|
|
3162
|
-
#
|
|
3163
|
-
#
|
|
3164
|
-
# peered network and returned in the result.
|
|
2753
|
+
# Required. The prefix length of the IP range. Use usual CIDR range notation.
|
|
2754
|
+
# For example, '30' to find unused x.x.x.x/30 CIDR range. Actual range will be
|
|
2755
|
+
# determined using allocated range for the consumer peered network and returned
|
|
2756
|
+
# in the result.
|
|
3165
2757
|
# Corresponds to the JSON property `ipPrefixLength`
|
|
3166
2758
|
# @return [Fixnum]
|
|
3167
2759
|
attr_accessor :ip_prefix_length
|
|
3168
2760
|
|
|
3169
|
-
# Network name in the consumer project.
|
|
3170
|
-
#
|
|
3171
|
-
#
|
|
3172
|
-
#
|
|
3173
|
-
# `project` is a project number, as in '12345'
|
|
3174
|
-
# `network` is network name.
|
|
2761
|
+
# Network name in the consumer project. This network must have been already
|
|
2762
|
+
# peered with a shared VPC network using CreateConnection method. Must be in a
|
|
2763
|
+
# form 'projects/`project`/global/networks/`network`'. `project` is a project
|
|
2764
|
+
# number, as in '12345' `network` is network name.
|
|
3175
2765
|
# Corresponds to the JSON property `network`
|
|
3176
2766
|
# @return [String]
|
|
3177
2767
|
attr_accessor :network
|
|
@@ -3188,50 +2778,32 @@ module Google
|
|
|
3188
2778
|
end
|
|
3189
2779
|
|
|
3190
2780
|
# `Service` is the root object of Google service configuration schema. It
|
|
3191
|
-
# describes basic information about a service, such as the name and the
|
|
3192
|
-
#
|
|
3193
|
-
#
|
|
3194
|
-
#
|
|
3195
|
-
#
|
|
3196
|
-
#
|
|
3197
|
-
#
|
|
3198
|
-
#
|
|
3199
|
-
#
|
|
3200
|
-
# apis:
|
|
3201
|
-
# - name: google.calendar.v3.Calendar
|
|
3202
|
-
# authentication:
|
|
3203
|
-
# providers:
|
|
3204
|
-
# - id: google_calendar_auth
|
|
3205
|
-
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
3206
|
-
# issuer: https://securetoken.google.com
|
|
3207
|
-
# rules:
|
|
3208
|
-
# - selector: "*"
|
|
3209
|
-
# requirements:
|
|
3210
|
-
# provider_id: google_calendar_auth
|
|
2781
|
+
# describes basic information about a service, such as the name and the title,
|
|
2782
|
+
# and delegates other aspects to sub-sections. Each sub-section is either a
|
|
2783
|
+
# proto message or a repeated proto message that configures a specific aspect,
|
|
2784
|
+
# such as auth. See each proto message definition for details. Example: type:
|
|
2785
|
+
# google.api.Service config_version: 3 name: calendar.googleapis.com title:
|
|
2786
|
+
# Google Calendar API apis: - name: google.calendar.v3.Calendar authentication:
|
|
2787
|
+
# providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/
|
|
2788
|
+
# oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*"
|
|
2789
|
+
# requirements: provider_id: google_calendar_auth
|
|
3211
2790
|
class Service
|
|
3212
2791
|
include Google::Apis::Core::Hashable
|
|
3213
2792
|
|
|
3214
|
-
# A list of API interfaces exported by this service. Only the `name` field
|
|
3215
|
-
#
|
|
3216
|
-
#
|
|
3217
|
-
#
|
|
3218
|
-
#
|
|
2793
|
+
# A list of API interfaces exported by this service. Only the `name` field of
|
|
2794
|
+
# the google.protobuf.Api needs to be provided by the configuration author, as
|
|
2795
|
+
# the remaining fields will be derived from the IDL during the normalization
|
|
2796
|
+
# process. It is an error to specify an API interface here which cannot be
|
|
2797
|
+
# resolved against the associated IDL files.
|
|
3219
2798
|
# Corresponds to the JSON property `apis`
|
|
3220
2799
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Api>]
|
|
3221
2800
|
attr_accessor :apis
|
|
3222
2801
|
|
|
3223
|
-
# `Authentication` defines the authentication configuration for an API.
|
|
3224
|
-
#
|
|
3225
|
-
#
|
|
3226
|
-
#
|
|
3227
|
-
#
|
|
3228
|
-
# - id: google_calendar_auth
|
|
3229
|
-
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
3230
|
-
# issuer: https://securetoken.google.com
|
|
3231
|
-
# rules:
|
|
3232
|
-
# - selector: "*"
|
|
3233
|
-
# requirements:
|
|
3234
|
-
# provider_id: google_calendar_auth
|
|
2802
|
+
# `Authentication` defines the authentication configuration for an API. Example
|
|
2803
|
+
# for an API targeted for external use: name: calendar.googleapis.com
|
|
2804
|
+
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
|
2805
|
+
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
|
2806
|
+
# selector: "*" requirements: provider_id: google_calendar_auth
|
|
3235
2807
|
# Corresponds to the JSON property `authentication`
|
|
3236
2808
|
# @return [Google::Apis::ServicenetworkingV1beta::Authentication]
|
|
3237
2809
|
attr_accessor :authentication
|
|
@@ -3241,211 +2813,136 @@ module Google
|
|
|
3241
2813
|
# @return [Google::Apis::ServicenetworkingV1beta::Backend]
|
|
3242
2814
|
attr_accessor :backend
|
|
3243
2815
|
|
|
3244
|
-
# Billing related configuration of the service.
|
|
3245
|
-
#
|
|
3246
|
-
#
|
|
3247
|
-
#
|
|
3248
|
-
#
|
|
3249
|
-
#
|
|
3250
|
-
#
|
|
3251
|
-
#
|
|
3252
|
-
# -
|
|
3253
|
-
#
|
|
3254
|
-
# - key:
|
|
3255
|
-
#
|
|
3256
|
-
#
|
|
3257
|
-
# -
|
|
3258
|
-
#
|
|
3259
|
-
# Custom label to define the city where the library branch is located
|
|
3260
|
-
# in.
|
|
3261
|
-
# - key: name
|
|
3262
|
-
# description: Custom label to define the name of the library branch.
|
|
3263
|
-
# metrics:
|
|
3264
|
-
# - name: library.googleapis.com/book/borrowed_count
|
|
3265
|
-
# metric_kind: DELTA
|
|
3266
|
-
# value_type: INT64
|
|
3267
|
-
# unit: "1"
|
|
3268
|
-
# billing:
|
|
3269
|
-
# consumer_destinations:
|
|
3270
|
-
# - monitored_resource: library.googleapis.com/billing_branch
|
|
3271
|
-
# metrics:
|
|
3272
|
-
# - library.googleapis.com/book/borrowed_count
|
|
2816
|
+
# Billing related configuration of the service. The following example shows how
|
|
2817
|
+
# to configure monitored resources and metrics for billing, `
|
|
2818
|
+
# consumer_destinations` is the only supported destination and the monitored
|
|
2819
|
+
# resources need at least one label key `cloud.googleapis.com/location` to
|
|
2820
|
+
# indicate the location of the billing usage, using different monitored
|
|
2821
|
+
# resources between monitoring and billing is recommended so they can be evolved
|
|
2822
|
+
# independently: monitored_resources: - type: library.googleapis.com/
|
|
2823
|
+
# billing_branch labels: - key: cloud.googleapis.com/location description: |
|
|
2824
|
+
# Predefined label to support billing location restriction. - key: city
|
|
2825
|
+
# description: | Custom label to define the city where the library branch is
|
|
2826
|
+
# located in. - key: name description: Custom label to define the name of the
|
|
2827
|
+
# library branch. metrics: - name: library.googleapis.com/book/borrowed_count
|
|
2828
|
+
# metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
|
|
2829
|
+
# - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
|
|
2830
|
+
# googleapis.com/book/borrowed_count
|
|
3273
2831
|
# Corresponds to the JSON property `billing`
|
|
3274
2832
|
# @return [Google::Apis::ServicenetworkingV1beta::Billing]
|
|
3275
2833
|
attr_accessor :billing
|
|
3276
2834
|
|
|
3277
|
-
# The semantic version of the service configuration. The config version
|
|
3278
|
-
#
|
|
3279
|
-
#
|
|
3280
|
-
#
|
|
2835
|
+
# The semantic version of the service configuration. The config version affects
|
|
2836
|
+
# the interpretation of the service configuration. For example, certain features
|
|
2837
|
+
# are enabled by default for certain config versions. The latest config version
|
|
2838
|
+
# is `3`.
|
|
3281
2839
|
# Corresponds to the JSON property `configVersion`
|
|
3282
2840
|
# @return [Fixnum]
|
|
3283
2841
|
attr_accessor :config_version
|
|
3284
2842
|
|
|
3285
|
-
# `Context` defines which contexts an API requests.
|
|
3286
|
-
#
|
|
3287
|
-
# context
|
|
3288
|
-
#
|
|
3289
|
-
#
|
|
3290
|
-
#
|
|
3291
|
-
# -
|
|
3292
|
-
#
|
|
3293
|
-
#
|
|
3294
|
-
#
|
|
3295
|
-
#
|
|
3296
|
-
#
|
|
3297
|
-
#
|
|
3298
|
-
# This also provides mechanism to whitelist any protobuf message extension that
|
|
3299
|
-
# can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
|
|
3300
|
-
# “x-goog-ext-<extension_id>-jspb” format. For example, list any service
|
|
3301
|
-
# specific protobuf types that can appear in grpc metadata as follows in your
|
|
3302
|
-
# yaml file:
|
|
3303
|
-
# Example:
|
|
3304
|
-
# context:
|
|
3305
|
-
# rules:
|
|
3306
|
-
# - selector: "google.example.library.v1.LibraryService.CreateBook"
|
|
3307
|
-
# allowed_request_extensions:
|
|
3308
|
-
# - google.foo.v1.NewExtension
|
|
3309
|
-
# allowed_response_extensions:
|
|
3310
|
-
# - google.foo.v1.NewExtension
|
|
3311
|
-
# You can also specify extension ID instead of fully qualified extension name
|
|
3312
|
-
# here.
|
|
2843
|
+
# `Context` defines which contexts an API requests. Example: context: rules: -
|
|
2844
|
+
# selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
|
|
2845
|
+
# context.OriginContext The above specifies that all methods in the API request `
|
|
2846
|
+
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
|
2847
|
+
# Available context types are defined in package `google.rpc.context`. This also
|
|
2848
|
+
# provides mechanism to whitelist any protobuf message extension that can be
|
|
2849
|
+
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
|
2850
|
+
# For example, list any service specific protobuf types that can appear in grpc
|
|
2851
|
+
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
|
2852
|
+
# google.example.library.v1.LibraryService.CreateBook"
|
|
2853
|
+
# allowed_request_extensions: - google.foo.v1.NewExtension
|
|
2854
|
+
# allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
|
|
2855
|
+
# extension ID instead of fully qualified extension name here.
|
|
3313
2856
|
# Corresponds to the JSON property `context`
|
|
3314
2857
|
# @return [Google::Apis::ServicenetworkingV1beta::Context]
|
|
3315
2858
|
attr_accessor :context
|
|
3316
2859
|
|
|
3317
|
-
# Selects and configures the service controller used by the service.
|
|
3318
|
-
#
|
|
3319
|
-
#
|
|
2860
|
+
# Selects and configures the service controller used by the service. The service
|
|
2861
|
+
# controller handles features like abuse, quota, billing, logging, monitoring,
|
|
2862
|
+
# etc.
|
|
3320
2863
|
# Corresponds to the JSON property `control`
|
|
3321
2864
|
# @return [Google::Apis::ServicenetworkingV1beta::Control]
|
|
3322
2865
|
attr_accessor :control
|
|
3323
2866
|
|
|
3324
|
-
# Customize service error responses.
|
|
3325
|
-
#
|
|
3326
|
-
#
|
|
3327
|
-
#
|
|
3328
|
-
# custom_error:
|
|
3329
|
-
# types:
|
|
3330
|
-
# - google.foo.v1.CustomError
|
|
3331
|
-
# - google.foo.v1.AnotherError
|
|
2867
|
+
# Customize service error responses. For example, list any service specific
|
|
2868
|
+
# protobuf types that can appear in error detail lists of error responses.
|
|
2869
|
+
# Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
|
|
2870
|
+
# AnotherError
|
|
3332
2871
|
# Corresponds to the JSON property `customError`
|
|
3333
2872
|
# @return [Google::Apis::ServicenetworkingV1beta::CustomError]
|
|
3334
2873
|
attr_accessor :custom_error
|
|
3335
2874
|
|
|
3336
|
-
# `Documentation` provides the information for describing a service.
|
|
3337
|
-
#
|
|
3338
|
-
#
|
|
3339
|
-
#
|
|
3340
|
-
#
|
|
3341
|
-
#
|
|
3342
|
-
#
|
|
3343
|
-
#
|
|
3344
|
-
#
|
|
3345
|
-
#
|
|
3346
|
-
#
|
|
3347
|
-
#
|
|
3348
|
-
#
|
|
3349
|
-
#
|
|
3350
|
-
#
|
|
3351
|
-
#
|
|
3352
|
-
#
|
|
3353
|
-
#
|
|
3354
|
-
#
|
|
3355
|
-
#
|
|
3356
|
-
#
|
|
3357
|
-
#
|
|
3358
|
-
#
|
|
3359
|
-
#
|
|
3360
|
-
#
|
|
3361
|
-
#
|
|
3362
|
-
# a documentation fragment is embedded.
|
|
3363
|
-
# Documentation from the IDL is merged with documentation defined
|
|
3364
|
-
# via the config at normalization time, where documentation provided
|
|
3365
|
-
# by config rules overrides IDL provided.
|
|
3366
|
-
# A number of constructs specific to the API platform are supported
|
|
3367
|
-
# in documentation text.
|
|
3368
|
-
# In order to reference a proto element, the following
|
|
3369
|
-
# notation can be used:
|
|
3370
|
-
# <pre><code>[fully.qualified.proto.name][]</code></pre>
|
|
3371
|
-
# To override the display text used for the link, this can be used:
|
|
3372
|
-
# <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
|
3373
|
-
# Text can be excluded from doc using the following notation:
|
|
3374
|
-
# <pre><code>(-- internal comment --)</code></pre>
|
|
3375
|
-
# A few directives are available in documentation. Note that
|
|
3376
|
-
# directives must appear on a single line to be properly
|
|
3377
|
-
# identified. The `include` directive includes a markdown file from
|
|
3378
|
-
# an external source:
|
|
3379
|
-
# <pre><code>(== include path/to/file ==)</code></pre>
|
|
3380
|
-
# The `resource_for` directive marks a message to be the resource of
|
|
3381
|
-
# a collection in REST view. If it is not specified, tools attempt
|
|
3382
|
-
# to infer the resource from the operations in a collection:
|
|
3383
|
-
# <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
|
3384
|
-
# The directive `suppress_warning` does not directly affect documentation
|
|
3385
|
-
# and is documented together with service config validation.
|
|
2875
|
+
# `Documentation` provides the information for describing a service. Example:
|
|
2876
|
+
# documentation: summary: > The Google Calendar API gives access to most
|
|
2877
|
+
# calendar features. pages: - name: Overview content: (== include google/foo/
|
|
2878
|
+
# overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
|
|
2879
|
+
# ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
|
|
2880
|
+
# rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
|
|
2881
|
+
# google.calendar.Calendar.Put description: > ... Documentation is provided in
|
|
2882
|
+
# markdown syntax. In addition to standard markdown features, definition lists,
|
|
2883
|
+
# tables and fenced code blocks are supported. Section headers can be provided
|
|
2884
|
+
# and are interpreted relative to the section nesting of the context where a
|
|
2885
|
+
# documentation fragment is embedded. Documentation from the IDL is merged with
|
|
2886
|
+
# documentation defined via the config at normalization time, where
|
|
2887
|
+
# documentation provided by config rules overrides IDL provided. A number of
|
|
2888
|
+
# constructs specific to the API platform are supported in documentation text.
|
|
2889
|
+
# In order to reference a proto element, the following notation can be used: [
|
|
2890
|
+
# fully.qualified.proto.name][] To override the display text used for the link,
|
|
2891
|
+
# this can be used: [display text][fully.qualified.proto.name] Text can be
|
|
2892
|
+
# excluded from doc using the following notation: (-- internal comment --) A few
|
|
2893
|
+
# directives are available in documentation. Note that directives must appear on
|
|
2894
|
+
# a single line to be properly identified. The `include` directive includes a
|
|
2895
|
+
# markdown file from an external source: (== include path/to/file ==) The `
|
|
2896
|
+
# resource_for` directive marks a message to be the resource of a collection in
|
|
2897
|
+
# REST view. If it is not specified, tools attempt to infer the resource from
|
|
2898
|
+
# the operations in a collection: (== resource_for v1.shelves.books ==) The
|
|
2899
|
+
# directive `suppress_warning` does not directly affect documentation and is
|
|
2900
|
+
# documented together with service config validation.
|
|
3386
2901
|
# Corresponds to the JSON property `documentation`
|
|
3387
2902
|
# @return [Google::Apis::ServicenetworkingV1beta::Documentation]
|
|
3388
2903
|
attr_accessor :documentation
|
|
3389
2904
|
|
|
3390
|
-
# Configuration for network endpoints.
|
|
3391
|
-
#
|
|
3392
|
-
#
|
|
2905
|
+
# Configuration for network endpoints. If this is empty, then an endpoint with
|
|
2906
|
+
# the same name as the service is automatically generated to service all defined
|
|
2907
|
+
# APIs.
|
|
3393
2908
|
# Corresponds to the JSON property `endpoints`
|
|
3394
2909
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Endpoint>]
|
|
3395
2910
|
attr_accessor :endpoints
|
|
3396
2911
|
|
|
3397
|
-
# A list of all enum types included in this API service.
|
|
3398
|
-
#
|
|
3399
|
-
#
|
|
3400
|
-
#
|
|
3401
|
-
# enums:
|
|
3402
|
-
# - name: google.someapi.v1.SomeEnum
|
|
2912
|
+
# A list of all enum types included in this API service. Enums referenced
|
|
2913
|
+
# directly or indirectly by the `apis` are automatically included. Enums which
|
|
2914
|
+
# are not referenced but shall be included should be listed here by name.
|
|
2915
|
+
# Example: enums: - name: google.someapi.v1.SomeEnum
|
|
3403
2916
|
# Corresponds to the JSON property `enums`
|
|
3404
2917
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Enum>]
|
|
3405
2918
|
attr_accessor :enums
|
|
3406
2919
|
|
|
3407
2920
|
# Defines the HTTP configuration for an API service. It contains a list of
|
|
3408
|
-
# HttpRule, each specifying the mapping of an RPC method
|
|
3409
|
-
#
|
|
2921
|
+
# HttpRule, each specifying the mapping of an RPC method to one or more HTTP
|
|
2922
|
+
# REST API methods.
|
|
3410
2923
|
# Corresponds to the JSON property `http`
|
|
3411
2924
|
# @return [Google::Apis::ServicenetworkingV1beta::Http]
|
|
3412
2925
|
attr_accessor :http
|
|
3413
2926
|
|
|
3414
|
-
# A unique ID for a specific instance of this message, typically assigned
|
|
3415
|
-
#
|
|
3416
|
-
#
|
|
3417
|
-
#
|
|
2927
|
+
# A unique ID for a specific instance of this message, typically assigned by the
|
|
2928
|
+
# client for tracking purpose. Must be no longer than 63 characters and only
|
|
2929
|
+
# lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server
|
|
2930
|
+
# may choose to generate one instead.
|
|
3418
2931
|
# Corresponds to the JSON property `id`
|
|
3419
2932
|
# @return [String]
|
|
3420
2933
|
attr_accessor :id
|
|
3421
2934
|
|
|
3422
|
-
# Logging configuration of the service.
|
|
3423
|
-
#
|
|
3424
|
-
#
|
|
3425
|
-
# log is sent to
|
|
3426
|
-
#
|
|
3427
|
-
#
|
|
3428
|
-
# -
|
|
3429
|
-
# labels:
|
|
3430
|
-
# -
|
|
3431
|
-
#
|
|
3432
|
-
#
|
|
3433
|
-
# description: The name of the branch.
|
|
3434
|
-
# logs:
|
|
3435
|
-
# - name: activity_history
|
|
3436
|
-
# labels:
|
|
3437
|
-
# - key: /customer_id
|
|
3438
|
-
# - name: purchase_history
|
|
3439
|
-
# logging:
|
|
3440
|
-
# producer_destinations:
|
|
3441
|
-
# - monitored_resource: library.googleapis.com/branch
|
|
3442
|
-
# logs:
|
|
3443
|
-
# - activity_history
|
|
3444
|
-
# - purchase_history
|
|
3445
|
-
# consumer_destinations:
|
|
3446
|
-
# - monitored_resource: library.googleapis.com/branch
|
|
3447
|
-
# logs:
|
|
3448
|
-
# - activity_history
|
|
2935
|
+
# Logging configuration of the service. The following example shows how to
|
|
2936
|
+
# configure logs to be sent to the producer and consumer projects. In the
|
|
2937
|
+
# example, the `activity_history` log is sent to both the producer and consumer
|
|
2938
|
+
# projects, whereas the `purchase_history` log is only sent to the producer
|
|
2939
|
+
# project. monitored_resources: - type: library.googleapis.com/branch labels: -
|
|
2940
|
+
# key: /city description: The city where the library branch is located in. - key:
|
|
2941
|
+
# /name description: The name of the branch. logs: - name: activity_history
|
|
2942
|
+
# labels: - key: /customer_id - name: purchase_history logging:
|
|
2943
|
+
# producer_destinations: - monitored_resource: library.googleapis.com/branch
|
|
2944
|
+
# logs: - activity_history - purchase_history consumer_destinations: -
|
|
2945
|
+
# monitored_resource: library.googleapis.com/branch logs: - activity_history
|
|
3449
2946
|
# Corresponds to the JSON property `logging`
|
|
3450
2947
|
# @return [Google::Apis::ServicenetworkingV1beta::Logging]
|
|
3451
2948
|
attr_accessor :logging
|
|
@@ -3460,70 +2957,41 @@ module Google
|
|
|
3460
2957
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::MetricDescriptor>]
|
|
3461
2958
|
attr_accessor :metrics
|
|
3462
2959
|
|
|
3463
|
-
# Defines the monitored resources used by this service. This is required
|
|
3464
|
-
#
|
|
2960
|
+
# Defines the monitored resources used by this service. This is required by the
|
|
2961
|
+
# Service.monitoring and Service.logging configurations.
|
|
3465
2962
|
# Corresponds to the JSON property `monitoredResources`
|
|
3466
2963
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::MonitoredResourceDescriptor>]
|
|
3467
2964
|
attr_accessor :monitored_resources
|
|
3468
2965
|
|
|
3469
|
-
# Monitoring configuration of the service.
|
|
3470
|
-
#
|
|
3471
|
-
#
|
|
3472
|
-
#
|
|
3473
|
-
#
|
|
3474
|
-
#
|
|
3475
|
-
#
|
|
3476
|
-
#
|
|
3477
|
-
# -
|
|
3478
|
-
#
|
|
3479
|
-
#
|
|
3480
|
-
#
|
|
3481
|
-
#
|
|
3482
|
-
# - key:
|
|
3483
|
-
#
|
|
3484
|
-
#
|
|
3485
|
-
#
|
|
3486
|
-
#
|
|
3487
|
-
#
|
|
3488
|
-
#
|
|
3489
|
-
#
|
|
3490
|
-
#
|
|
3491
|
-
# description: "The count of books that have been returned."
|
|
3492
|
-
# launch_stage: GA
|
|
3493
|
-
# metric_kind: DELTA
|
|
3494
|
-
# value_type: INT64
|
|
3495
|
-
# unit: "1"
|
|
3496
|
-
# labels:
|
|
3497
|
-
# - key: customer_id
|
|
3498
|
-
# description: "The id of the customer."
|
|
3499
|
-
# - name: library.googleapis.com/book/num_overdue
|
|
3500
|
-
# display_name: "Books Overdue"
|
|
3501
|
-
# description: "The current number of overdue books."
|
|
3502
|
-
# launch_stage: GA
|
|
3503
|
-
# metric_kind: GAUGE
|
|
3504
|
-
# value_type: INT64
|
|
3505
|
-
# unit: "1"
|
|
3506
|
-
# labels:
|
|
3507
|
-
# - key: customer_id
|
|
3508
|
-
# description: "The id of the customer."
|
|
3509
|
-
# monitoring:
|
|
3510
|
-
# producer_destinations:
|
|
3511
|
-
# - monitored_resource: library.googleapis.com/Branch
|
|
3512
|
-
# metrics:
|
|
3513
|
-
# - library.googleapis.com/book/returned_count
|
|
3514
|
-
# consumer_destinations:
|
|
3515
|
-
# - monitored_resource: library.googleapis.com/Branch
|
|
3516
|
-
# metrics:
|
|
3517
|
-
# - library.googleapis.com/book/returned_count
|
|
3518
|
-
# - library.googleapis.com/book/num_overdue
|
|
2966
|
+
# Monitoring configuration of the service. The example below shows how to
|
|
2967
|
+
# configure monitored resources and metrics for monitoring. In the example, a
|
|
2968
|
+
# monitored resource and two metrics are defined. The `library.googleapis.com/
|
|
2969
|
+
# book/returned_count` metric is sent to both producer and consumer projects,
|
|
2970
|
+
# whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
|
|
2971
|
+
# the consumer project. monitored_resources: - type: library.googleapis.com/
|
|
2972
|
+
# Branch display_name: "Library Branch" description: "A branch of a library."
|
|
2973
|
+
# launch_stage: GA labels: - key: resource_container description: "The Cloud
|
|
2974
|
+
# container (ie. project id) for the Branch." - key: location description: "The
|
|
2975
|
+
# location of the library branch." - key: branch_id description: "The id of the
|
|
2976
|
+
# branch." metrics: - name: library.googleapis.com/book/returned_count
|
|
2977
|
+
# display_name: "Books Returned" description: "The count of books that have been
|
|
2978
|
+
# returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
|
|
2979
|
+
# labels: - key: customer_id description: "The id of the customer." - name:
|
|
2980
|
+
# library.googleapis.com/book/num_overdue display_name: "Books Overdue"
|
|
2981
|
+
# description: "The current number of overdue books." launch_stage: GA
|
|
2982
|
+
# metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
|
|
2983
|
+
# description: "The id of the customer." monitoring: producer_destinations: -
|
|
2984
|
+
# monitored_resource: library.googleapis.com/Branch metrics: - library.
|
|
2985
|
+
# googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
|
|
2986
|
+
# library.googleapis.com/Branch metrics: - library.googleapis.com/book/
|
|
2987
|
+
# returned_count - library.googleapis.com/book/num_overdue
|
|
3519
2988
|
# Corresponds to the JSON property `monitoring`
|
|
3520
2989
|
# @return [Google::Apis::ServicenetworkingV1beta::Monitoring]
|
|
3521
2990
|
attr_accessor :monitoring
|
|
3522
2991
|
|
|
3523
|
-
# The service name, which is a DNS-like logical identifier for the
|
|
3524
|
-
#
|
|
3525
|
-
#
|
|
3526
|
-
# of the service also owns the DNS name.
|
|
2992
|
+
# The service name, which is a DNS-like logical identifier for the service, such
|
|
2993
|
+
# as `calendar.googleapis.com`. The service name typically goes through DNS
|
|
2994
|
+
# verification to make sure the owner of the service also owns the DNS name.
|
|
3527
2995
|
# Corresponds to the JSON property `name`
|
|
3528
2996
|
# @return [String]
|
|
3529
2997
|
attr_accessor :name
|
|
@@ -3533,46 +3001,25 @@ module Google
|
|
|
3533
3001
|
# @return [String]
|
|
3534
3002
|
attr_accessor :producer_project_id
|
|
3535
3003
|
|
|
3536
|
-
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3537
|
-
#
|
|
3538
|
-
#
|
|
3539
|
-
#
|
|
3540
|
-
#
|
|
3541
|
-
#
|
|
3542
|
-
#
|
|
3543
|
-
#
|
|
3544
|
-
#
|
|
3545
|
-
#
|
|
3546
|
-
#
|
|
3547
|
-
# -
|
|
3548
|
-
#
|
|
3549
|
-
#
|
|
3550
|
-
#
|
|
3551
|
-
#
|
|
3552
|
-
#
|
|
3553
|
-
#
|
|
3554
|
-
#
|
|
3555
|
-
# # consuming at twice rate as the DeleteBook method.
|
|
3556
|
-
# metric_rules:
|
|
3557
|
-
# - selector: "*"
|
|
3558
|
-
# metric_costs:
|
|
3559
|
-
# library.googleapis.com/read_calls: 1
|
|
3560
|
-
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
3561
|
-
# metric_costs:
|
|
3562
|
-
# library.googleapis.com/write_calls: 2
|
|
3563
|
-
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
3564
|
-
# metric_costs:
|
|
3565
|
-
# library.googleapis.com/write_calls: 1
|
|
3566
|
-
# Corresponding Metric definition:
|
|
3567
|
-
# metrics:
|
|
3568
|
-
# - name: library.googleapis.com/read_calls
|
|
3569
|
-
# display_name: Read requests
|
|
3570
|
-
# metric_kind: DELTA
|
|
3571
|
-
# value_type: INT64
|
|
3572
|
-
# - name: library.googleapis.com/write_calls
|
|
3573
|
-
# display_name: Write requests
|
|
3574
|
-
# metric_kind: DELTA
|
|
3575
|
-
# value_type: INT64
|
|
3004
|
+
# Quota configuration helps to achieve fairness and budgeting in service usage.
|
|
3005
|
+
# The metric based quota configuration works this way: - The service
|
|
3006
|
+
# configuration defines a set of metrics. - For API calls, the quota.
|
|
3007
|
+
# metric_rules maps methods to metrics with corresponding costs. - The quota.
|
|
3008
|
+
# limits defines limits on the metrics, which will be used for quota checks at
|
|
3009
|
+
# runtime. An example quota configuration in yaml format: quota: limits: - name:
|
|
3010
|
+
# apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
|
|
3011
|
+
# project`" # rate limit for consumer projects values: STANDARD: 10000 # The
|
|
3012
|
+
# metric rules bind all methods to the read_calls metric, # except for the
|
|
3013
|
+
# UpdateBook and DeleteBook methods. These two methods # are mapped to the
|
|
3014
|
+
# write_calls metric, with the UpdateBook method # consuming at twice rate as
|
|
3015
|
+
# the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
|
|
3016
|
+
# googleapis.com/read_calls: 1 - selector: google.example.library.v1.
|
|
3017
|
+
# LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
|
|
3018
|
+
# selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
|
|
3019
|
+
# library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
|
|
3020
|
+
# - name: library.googleapis.com/read_calls display_name: Read requests
|
|
3021
|
+
# metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
|
|
3022
|
+
# write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
|
|
3576
3023
|
# Corresponds to the JSON property `quota`
|
|
3577
3024
|
# @return [Google::Apis::ServicenetworkingV1beta::Quota]
|
|
3578
3025
|
attr_accessor :quota
|
|
@@ -3582,20 +3029,18 @@ module Google
|
|
|
3582
3029
|
# @return [Google::Apis::ServicenetworkingV1beta::SourceInfo]
|
|
3583
3030
|
attr_accessor :source_info
|
|
3584
3031
|
|
|
3585
|
-
# ### System parameter configuration
|
|
3586
|
-
#
|
|
3587
|
-
#
|
|
3588
|
-
#
|
|
3589
|
-
# change the names of the system parameters.
|
|
3032
|
+
# ### System parameter configuration A system parameter is a special kind of
|
|
3033
|
+
# parameter defined by the API system, not by an individual API. It is typically
|
|
3034
|
+
# mapped to an HTTP header and/or a URL query parameter. This configuration
|
|
3035
|
+
# specifies which methods change the names of the system parameters.
|
|
3590
3036
|
# Corresponds to the JSON property `systemParameters`
|
|
3591
3037
|
# @return [Google::Apis::ServicenetworkingV1beta::SystemParameters]
|
|
3592
3038
|
attr_accessor :system_parameters
|
|
3593
3039
|
|
|
3594
|
-
# A list of all proto message types included in this API service.
|
|
3595
|
-
#
|
|
3596
|
-
#
|
|
3597
|
-
#
|
|
3598
|
-
# to define system APIs in ESF.
|
|
3040
|
+
# A list of all proto message types included in this API service. It serves
|
|
3041
|
+
# similar purpose as [google.api.Service.types], except that these types are not
|
|
3042
|
+
# needed by user-defined APIs. Therefore, they will not show up in the generated
|
|
3043
|
+
# discovery doc. This field should only be used to define system APIs in ESF.
|
|
3599
3044
|
# Corresponds to the JSON property `systemTypes`
|
|
3600
3045
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Type>]
|
|
3601
3046
|
attr_accessor :system_types
|
|
@@ -3605,12 +3050,10 @@ module Google
|
|
|
3605
3050
|
# @return [String]
|
|
3606
3051
|
attr_accessor :title
|
|
3607
3052
|
|
|
3608
|
-
# A list of all proto message types included in this API service.
|
|
3609
|
-
#
|
|
3610
|
-
#
|
|
3611
|
-
#
|
|
3612
|
-
# should be listed here by name. Example:
|
|
3613
|
-
# types:
|
|
3053
|
+
# A list of all proto message types included in this API service. Types
|
|
3054
|
+
# referenced directly or indirectly by the `apis` are automatically included.
|
|
3055
|
+
# Messages which are not referenced but shall be included, such as types used by
|
|
3056
|
+
# the `google.protobuf.Any` type, should be listed here by name. Example: types:
|
|
3614
3057
|
# - name: google.protobuf.Int32
|
|
3615
3058
|
# Corresponds to the JSON property `types`
|
|
3616
3059
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Type>]
|
|
@@ -3657,32 +3100,28 @@ module Google
|
|
|
3657
3100
|
end
|
|
3658
3101
|
end
|
|
3659
3102
|
|
|
3660
|
-
# The per-product per-project service identity for a service.
|
|
3661
|
-
#
|
|
3662
|
-
#
|
|
3663
|
-
#
|
|
3664
|
-
#
|
|
3665
|
-
# - service_account_parent: "projects/123456789"
|
|
3666
|
-
# display_name: "Cloud XXX Service Agent"
|
|
3667
|
-
# description: "Used as the identity of Cloud XXX to access resources"
|
|
3103
|
+
# The per-product per-project service identity for a service. Use this field to
|
|
3104
|
+
# configure per-product per-project service identity. Example of a service
|
|
3105
|
+
# identity configuration. usage: service_identity: - service_account_parent: "
|
|
3106
|
+
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
|
3107
|
+
# as the identity of Cloud XXX to access resources"
|
|
3668
3108
|
class ServiceIdentity
|
|
3669
3109
|
include Google::Apis::Core::Hashable
|
|
3670
3110
|
|
|
3671
|
-
# Optional. A user-specified opaque description of the service account.
|
|
3672
|
-
#
|
|
3111
|
+
# Optional. A user-specified opaque description of the service account. Must be
|
|
3112
|
+
# less than or equal to 256 UTF-8 bytes.
|
|
3673
3113
|
# Corresponds to the JSON property `description`
|
|
3674
3114
|
# @return [String]
|
|
3675
3115
|
attr_accessor :description
|
|
3676
3116
|
|
|
3677
|
-
# Optional. A user-specified name for the service account.
|
|
3678
|
-
#
|
|
3117
|
+
# Optional. A user-specified name for the service account. Must be less than or
|
|
3118
|
+
# equal to 100 UTF-8 bytes.
|
|
3679
3119
|
# Corresponds to the JSON property `displayName`
|
|
3680
3120
|
# @return [String]
|
|
3681
3121
|
attr_accessor :display_name
|
|
3682
3122
|
|
|
3683
|
-
# A service account project that hosts the service accounts.
|
|
3684
|
-
#
|
|
3685
|
-
# `projects/123456789`
|
|
3123
|
+
# A service account project that hosts the service accounts. An example name
|
|
3124
|
+
# would be: `projects/123456789`
|
|
3686
3125
|
# Corresponds to the JSON property `serviceAccountParent`
|
|
3687
3126
|
# @return [String]
|
|
3688
3127
|
attr_accessor :service_account_parent
|
|
@@ -3699,13 +3138,13 @@ module Google
|
|
|
3699
3138
|
end
|
|
3700
3139
|
end
|
|
3701
3140
|
|
|
3702
|
-
# `SourceContext` represents information about the source of a
|
|
3703
|
-
#
|
|
3141
|
+
# `SourceContext` represents information about the source of a protobuf element,
|
|
3142
|
+
# like the file in which it is defined.
|
|
3704
3143
|
class SourceContext
|
|
3705
3144
|
include Google::Apis::Core::Hashable
|
|
3706
3145
|
|
|
3707
3146
|
# The path-qualified name of the .proto file that contained the associated
|
|
3708
|
-
# protobuf element.
|
|
3147
|
+
# protobuf element. For example: `"google/protobuf/source_context.proto"`.
|
|
3709
3148
|
# Corresponds to the JSON property `fileName`
|
|
3710
3149
|
# @return [String]
|
|
3711
3150
|
attr_accessor :file_name
|
|
@@ -3739,12 +3178,12 @@ module Google
|
|
|
3739
3178
|
end
|
|
3740
3179
|
end
|
|
3741
3180
|
|
|
3742
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
3743
|
-
#
|
|
3744
|
-
#
|
|
3745
|
-
#
|
|
3746
|
-
#
|
|
3747
|
-
#
|
|
3181
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
3182
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
3183
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
3184
|
+
# data: error code, error message, and error details. You can find out more
|
|
3185
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
3186
|
+
# //cloud.google.com/apis/design/errors).
|
|
3748
3187
|
class Status
|
|
3749
3188
|
include Google::Apis::Core::Hashable
|
|
3750
3189
|
|
|
@@ -3753,15 +3192,15 @@ module Google
|
|
|
3753
3192
|
# @return [Fixnum]
|
|
3754
3193
|
attr_accessor :code
|
|
3755
3194
|
|
|
3756
|
-
# A list of messages that carry the error details.
|
|
3195
|
+
# A list of messages that carry the error details. There is a common set of
|
|
3757
3196
|
# message types for APIs to use.
|
|
3758
3197
|
# Corresponds to the JSON property `details`
|
|
3759
3198
|
# @return [Array<Hash<String,Object>>]
|
|
3760
3199
|
attr_accessor :details
|
|
3761
3200
|
|
|
3762
|
-
# A developer-facing error message, which should be in English. Any
|
|
3763
|
-
#
|
|
3764
|
-
#
|
|
3201
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
3202
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
3203
|
+
# field, or localized by the client.
|
|
3765
3204
|
# Corresponds to the JSON property `message`
|
|
3766
3205
|
# @return [String]
|
|
3767
3206
|
attr_accessor :message
|
|
@@ -3788,21 +3227,19 @@ module Google
|
|
|
3788
3227
|
# @return [String]
|
|
3789
3228
|
attr_accessor :ip_cidr_range
|
|
3790
3229
|
|
|
3791
|
-
# Subnetwork name.
|
|
3792
|
-
# See https://cloud.google.com/compute/docs/vpc/
|
|
3230
|
+
# Subnetwork name. See https://cloud.google.com/compute/docs/vpc/
|
|
3793
3231
|
# Corresponds to the JSON property `name`
|
|
3794
3232
|
# @return [String]
|
|
3795
3233
|
attr_accessor :name
|
|
3796
3234
|
|
|
3797
3235
|
# In the Shared VPC host project, the VPC network that's peered with the
|
|
3798
|
-
# consumer network. For example:
|
|
3799
|
-
# `projects/1234321/global/networks/host-network`
|
|
3236
|
+
# consumer network. For example: `projects/1234321/global/networks/host-network`
|
|
3800
3237
|
# Corresponds to the JSON property `network`
|
|
3801
3238
|
# @return [String]
|
|
3802
3239
|
attr_accessor :network
|
|
3803
3240
|
|
|
3804
|
-
# This is a discovered subnet that is not within the current consumer
|
|
3805
|
-
#
|
|
3241
|
+
# This is a discovered subnet that is not within the current consumer allocated
|
|
3242
|
+
# ranges.
|
|
3806
3243
|
# Corresponds to the JSON property `outsideAllocation`
|
|
3807
3244
|
# @return [Boolean]
|
|
3808
3245
|
attr_accessor :outside_allocation
|
|
@@ -3827,8 +3264,7 @@ module Google
|
|
|
3827
3264
|
class SystemParameter
|
|
3828
3265
|
include Google::Apis::Core::Hashable
|
|
3829
3266
|
|
|
3830
|
-
# Define the HTTP header name to use for the parameter. It is case
|
|
3831
|
-
# insensitive.
|
|
3267
|
+
# Define the HTTP header name to use for the parameter. It is case insensitive.
|
|
3832
3268
|
# Corresponds to the JSON property `httpHeader`
|
|
3833
3269
|
# @return [String]
|
|
3834
3270
|
attr_accessor :http_header
|
|
@@ -3856,23 +3292,20 @@ module Google
|
|
|
3856
3292
|
end
|
|
3857
3293
|
end
|
|
3858
3294
|
|
|
3859
|
-
# Define a system parameter rule mapping system parameter definitions to
|
|
3860
|
-
# methods.
|
|
3295
|
+
# Define a system parameter rule mapping system parameter definitions to methods.
|
|
3861
3296
|
class SystemParameterRule
|
|
3862
3297
|
include Google::Apis::Core::Hashable
|
|
3863
3298
|
|
|
3864
|
-
# Define parameters. Multiple names may be defined for a parameter.
|
|
3865
|
-
#
|
|
3866
|
-
#
|
|
3867
|
-
#
|
|
3868
|
-
# parameter-dependent.
|
|
3299
|
+
# Define parameters. Multiple names may be defined for a parameter. For a given
|
|
3300
|
+
# method call, only one of them should be used. If multiple names are used the
|
|
3301
|
+
# behavior is implementation-dependent. If none of the specified names are
|
|
3302
|
+
# present the behavior is parameter-dependent.
|
|
3869
3303
|
# Corresponds to the JSON property `parameters`
|
|
3870
3304
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::SystemParameter>]
|
|
3871
3305
|
attr_accessor :parameters
|
|
3872
3306
|
|
|
3873
3307
|
# Selects the methods to which this rule applies. Use '*' to indicate all
|
|
3874
|
-
# methods in all APIs.
|
|
3875
|
-
# Refer to selector for syntax details.
|
|
3308
|
+
# methods in all APIs. Refer to selector for syntax details.
|
|
3876
3309
|
# Corresponds to the JSON property `selector`
|
|
3877
3310
|
# @return [String]
|
|
3878
3311
|
attr_accessor :selector
|
|
@@ -3888,36 +3321,23 @@ module Google
|
|
|
3888
3321
|
end
|
|
3889
3322
|
end
|
|
3890
3323
|
|
|
3891
|
-
# ### System parameter configuration
|
|
3892
|
-
#
|
|
3893
|
-
#
|
|
3894
|
-
#
|
|
3895
|
-
# change the names of the system parameters.
|
|
3324
|
+
# ### System parameter configuration A system parameter is a special kind of
|
|
3325
|
+
# parameter defined by the API system, not by an individual API. It is typically
|
|
3326
|
+
# mapped to an HTTP header and/or a URL query parameter. This configuration
|
|
3327
|
+
# specifies which methods change the names of the system parameters.
|
|
3896
3328
|
class SystemParameters
|
|
3897
3329
|
include Google::Apis::Core::Hashable
|
|
3898
3330
|
|
|
3899
|
-
# Define system parameters.
|
|
3900
|
-
#
|
|
3901
|
-
#
|
|
3902
|
-
#
|
|
3903
|
-
#
|
|
3904
|
-
# Example: define api key for
|
|
3905
|
-
# system_parameters
|
|
3906
|
-
#
|
|
3907
|
-
# -
|
|
3908
|
-
#
|
|
3909
|
-
# - name: api_key
|
|
3910
|
-
# url_query_parameter: api_key
|
|
3911
|
-
# Example: define 2 api key names for a specific method.
|
|
3912
|
-
# system_parameters
|
|
3913
|
-
# rules:
|
|
3914
|
-
# - selector: "/ListShelves"
|
|
3915
|
-
# parameters:
|
|
3916
|
-
# - name: api_key
|
|
3917
|
-
# http_header: Api-Key1
|
|
3918
|
-
# - name: api_key
|
|
3919
|
-
# http_header: Api-Key2
|
|
3920
|
-
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
3331
|
+
# Define system parameters. The parameters defined here will override the
|
|
3332
|
+
# default parameters implemented by the system. If this field is missing from
|
|
3333
|
+
# the service config, default system parameters will be used. Default system
|
|
3334
|
+
# parameters and names is implementation-dependent. Example: define api key for
|
|
3335
|
+
# all methods system_parameters rules: - selector: "*" parameters: - name:
|
|
3336
|
+
# api_key url_query_parameter: api_key Example: define 2 api key names for a
|
|
3337
|
+
# specific method. system_parameters rules: - selector: "/ListShelves"
|
|
3338
|
+
# parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header:
|
|
3339
|
+
# Api-Key2 **NOTE:** All service configuration rules follow "last one wins"
|
|
3340
|
+
# order.
|
|
3921
3341
|
# Corresponds to the JSON property `rules`
|
|
3922
3342
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::SystemParameterRule>]
|
|
3923
3343
|
attr_accessor :rules
|
|
@@ -3956,8 +3376,8 @@ module Google
|
|
|
3956
3376
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::Option>]
|
|
3957
3377
|
attr_accessor :options
|
|
3958
3378
|
|
|
3959
|
-
# `SourceContext` represents information about the source of a
|
|
3960
|
-
#
|
|
3379
|
+
# `SourceContext` represents information about the source of a protobuf element,
|
|
3380
|
+
# like the file in which it is defined.
|
|
3961
3381
|
# Corresponds to the JSON property `sourceContext`
|
|
3962
3382
|
# @return [Google::Apis::ServicenetworkingV1beta::SourceContext]
|
|
3963
3383
|
attr_accessor :source_context
|
|
@@ -4001,37 +3421,33 @@ module Google
|
|
|
4001
3421
|
include Google::Apis::Core::Hashable
|
|
4002
3422
|
|
|
4003
3423
|
# The full resource name of a channel used for sending notifications to the
|
|
4004
|
-
# service producer.
|
|
4005
|
-
#
|
|
4006
|
-
#
|
|
4007
|
-
#
|
|
4008
|
-
#
|
|
4009
|
-
# documented in https://cloud.google.com/pubsub/docs/overview.
|
|
3424
|
+
# service producer. Google Service Management currently only supports [Google
|
|
3425
|
+
# Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To
|
|
3426
|
+
# use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/
|
|
3427
|
+
# Sub topic that uses the Cloud Pub/Sub topic name format documented in https://
|
|
3428
|
+
# cloud.google.com/pubsub/docs/overview.
|
|
4010
3429
|
# Corresponds to the JSON property `producerNotificationChannel`
|
|
4011
3430
|
# @return [String]
|
|
4012
3431
|
attr_accessor :producer_notification_channel
|
|
4013
3432
|
|
|
4014
3433
|
# Requirements that must be satisfied before a consumer project can use the
|
|
4015
|
-
# service. Each requirement is of the form
|
|
4016
|
-
#
|
|
3434
|
+
# service. Each requirement is of the form /; for example 'serviceusage.
|
|
3435
|
+
# googleapis.com/billing-enabled'.
|
|
4017
3436
|
# Corresponds to the JSON property `requirements`
|
|
4018
3437
|
# @return [Array<String>]
|
|
4019
3438
|
attr_accessor :requirements
|
|
4020
3439
|
|
|
4021
|
-
# A list of usage rules that apply to individual API methods.
|
|
4022
|
-
#
|
|
3440
|
+
# A list of usage rules that apply to individual API methods. **NOTE:** All
|
|
3441
|
+
# service configuration rules follow "last one wins" order.
|
|
4023
3442
|
# Corresponds to the JSON property `rules`
|
|
4024
3443
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::UsageRule>]
|
|
4025
3444
|
attr_accessor :rules
|
|
4026
3445
|
|
|
4027
|
-
# The per-product per-project service identity for a service.
|
|
4028
|
-
#
|
|
4029
|
-
#
|
|
4030
|
-
#
|
|
4031
|
-
#
|
|
4032
|
-
# - service_account_parent: "projects/123456789"
|
|
4033
|
-
# display_name: "Cloud XXX Service Agent"
|
|
4034
|
-
# description: "Used as the identity of Cloud XXX to access resources"
|
|
3446
|
+
# The per-product per-project service identity for a service. Use this field to
|
|
3447
|
+
# configure per-product per-project service identity. Example of a service
|
|
3448
|
+
# identity configuration. usage: service_identity: - service_account_parent: "
|
|
3449
|
+
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
|
3450
|
+
# as the identity of Cloud XXX to access resources"
|
|
4035
3451
|
# Corresponds to the JSON property `serviceIdentity`
|
|
4036
3452
|
# @return [Google::Apis::ServicenetworkingV1beta::ServiceIdentity]
|
|
4037
3453
|
attr_accessor :service_identity
|
|
@@ -4049,45 +3465,36 @@ module Google
|
|
|
4049
3465
|
end
|
|
4050
3466
|
end
|
|
4051
3467
|
|
|
4052
|
-
# Usage configuration rules for the service.
|
|
4053
|
-
#
|
|
4054
|
-
#
|
|
4055
|
-
#
|
|
4056
|
-
#
|
|
4057
|
-
#
|
|
4058
|
-
#
|
|
4059
|
-
#
|
|
4060
|
-
#
|
|
4061
|
-
#
|
|
4062
|
-
# rules:
|
|
4063
|
-
# - selector: "*"
|
|
4064
|
-
# allow_unregistered_calls: true
|
|
4065
|
-
# Example of a method that wants to allow unregistered calls.
|
|
4066
|
-
# usage:
|
|
4067
|
-
# rules:
|
|
4068
|
-
# - selector: "google.example.library.v1.LibraryService.CreateBook"
|
|
4069
|
-
# allow_unregistered_calls: true
|
|
3468
|
+
# Usage configuration rules for the service. NOTE: Under development. Use this
|
|
3469
|
+
# rule to configure unregistered calls for the service. Unregistered calls are
|
|
3470
|
+
# calls that do not contain consumer project identity. (Example: calls that do
|
|
3471
|
+
# not contain an API key). By default, API methods do not allow unregistered
|
|
3472
|
+
# calls, and each method call must be identified by a consumer project identity.
|
|
3473
|
+
# Use this rule to allow/disallow unregistered calls. Example of an API that
|
|
3474
|
+
# wants to allow unregistered calls for entire service. usage: rules: - selector:
|
|
3475
|
+
# "*" allow_unregistered_calls: true Example of a method that wants to allow
|
|
3476
|
+
# unregistered calls. usage: rules: - selector: "google.example.library.v1.
|
|
3477
|
+
# LibraryService.CreateBook" allow_unregistered_calls: true
|
|
4070
3478
|
class UsageRule
|
|
4071
3479
|
include Google::Apis::Core::Hashable
|
|
4072
3480
|
|
|
4073
|
-
# If true, the selected method allows unregistered calls, e.g. calls
|
|
4074
|
-
#
|
|
3481
|
+
# If true, the selected method allows unregistered calls, e.g. calls that don't
|
|
3482
|
+
# identify any user or application.
|
|
4075
3483
|
# Corresponds to the JSON property `allowUnregisteredCalls`
|
|
4076
3484
|
# @return [Boolean]
|
|
4077
3485
|
attr_accessor :allow_unregistered_calls
|
|
4078
3486
|
alias_method :allow_unregistered_calls?, :allow_unregistered_calls
|
|
4079
3487
|
|
|
4080
3488
|
# Selects the methods to which this rule applies. Use '*' to indicate all
|
|
4081
|
-
# methods in all APIs.
|
|
4082
|
-
# Refer to selector for syntax details.
|
|
3489
|
+
# methods in all APIs. Refer to selector for syntax details.
|
|
4083
3490
|
# Corresponds to the JSON property `selector`
|
|
4084
3491
|
# @return [String]
|
|
4085
3492
|
attr_accessor :selector
|
|
4086
3493
|
|
|
4087
|
-
# If true, the selected method should skip service control and the control
|
|
4088
|
-
#
|
|
4089
|
-
#
|
|
4090
|
-
#
|
|
3494
|
+
# If true, the selected method should skip service control and the control plane
|
|
3495
|
+
# features, such as quota and billing, will not be available. This flag is used
|
|
3496
|
+
# by Google Cloud Endpoints to bypass checks for internal methods, such as
|
|
3497
|
+
# service health check methods.
|
|
4091
3498
|
# Corresponds to the JSON property `skipServiceControl`
|
|
4092
3499
|
# @return [Boolean]
|
|
4093
3500
|
attr_accessor :skip_service_control
|