google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -22,15 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudassetV1p5beta1
|
24
24
|
|
25
|
-
# An asset in Google Cloud. An asset can be any resource in the Google Cloud
|
26
|
-
#
|
27
|
-
# hierarchy
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
# See [Supported asset
|
32
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
33
|
-
# for more information.
|
25
|
+
# An asset in Google Cloud. An asset can be any resource in the Google Cloud [
|
26
|
+
# resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
|
27
|
+
# platform-resource-hierarchy), a resource outside the Google Cloud resource
|
28
|
+
# hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
|
29
|
+
# (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
|
30
|
+
# asset-inventory/docs/supported-asset-types) for more information.
|
34
31
|
class Asset
|
35
32
|
include Google::Apis::Core::Hashable
|
36
33
|
|
@@ -42,114 +39,74 @@ module Google
|
|
42
39
|
attr_accessor :access_level
|
43
40
|
|
44
41
|
# `AccessPolicy` is a container for `AccessLevels` (which define the necessary
|
45
|
-
# attributes to use Google Cloud services) and `ServicePerimeters` (which
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
42
|
+
# attributes to use Google Cloud services) and `ServicePerimeters` (which define
|
43
|
+
# regions of services able to freely pass data within a perimeter). An access
|
44
|
+
# policy is globally visible within an organization, and the restrictions it
|
45
|
+
# specifies apply to all projects within an organization.
|
49
46
|
# Corresponds to the JSON property `accessPolicy`
|
50
47
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
|
51
48
|
attr_accessor :access_policy
|
52
49
|
|
53
|
-
# The ancestry path of an asset in Google Cloud [resource
|
54
|
-
#
|
55
|
-
# resource
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# asset itself.
|
60
|
-
# Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
|
50
|
+
# The ancestry path of an asset in Google Cloud [resource hierarchy](https://
|
51
|
+
# cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
|
52
|
+
# represented as a list of relative resource names. An ancestry path starts with
|
53
|
+
# the closest ancestor in the hierarchy and ends at root. If the asset is a
|
54
|
+
# project, folder, or organization, the ancestry path starts from the asset
|
55
|
+
# itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
|
61
56
|
# Corresponds to the JSON property `ancestors`
|
62
57
|
# @return [Array<String>]
|
63
58
|
attr_accessor :ancestors
|
64
59
|
|
65
|
-
# The type of the asset. Example: `compute.googleapis.com/Disk`
|
66
|
-
#
|
67
|
-
# types
|
68
|
-
# for more information.
|
60
|
+
# The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
|
61
|
+
# asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
|
62
|
+
# types) for more information.
|
69
63
|
# Corresponds to the JSON property `assetType`
|
70
64
|
# @return [String]
|
71
65
|
attr_accessor :asset_type
|
72
66
|
|
73
67
|
# An Identity and Access Management (IAM) policy, which specifies access
|
74
|
-
# controls for Google Cloud resources.
|
75
|
-
# A `
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
# [
|
86
|
-
#
|
87
|
-
#
|
88
|
-
# `
|
89
|
-
# "
|
90
|
-
# `
|
91
|
-
# "
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
101
|
-
# "members": [
|
102
|
-
# "user:eve@example.com"
|
103
|
-
# ],
|
104
|
-
# "condition": `
|
105
|
-
# "title": "expirable access",
|
106
|
-
# "description": "Does not grant access after Sep 2020",
|
107
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
108
|
-
# ",
|
109
|
-
# `
|
110
|
-
# `
|
111
|
-
# ],
|
112
|
-
# "etag": "BwWWja0YfJA=",
|
113
|
-
# "version": 3
|
114
|
-
# `
|
115
|
-
# **YAML example:**
|
116
|
-
# bindings:
|
117
|
-
# - members:
|
118
|
-
# - user:mike@example.com
|
119
|
-
# - group:admins@example.com
|
120
|
-
# - domain:google.com
|
121
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
122
|
-
# role: roles/resourcemanager.organizationAdmin
|
123
|
-
# - members:
|
124
|
-
# - user:eve@example.com
|
125
|
-
# role: roles/resourcemanager.organizationViewer
|
126
|
-
# condition:
|
127
|
-
# title: expirable access
|
128
|
-
# description: Does not grant access after Sep 2020
|
129
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
130
|
-
# - etag: BwWWja0YfJA=
|
131
|
-
# - version: 3
|
132
|
-
# For a description of IAM and its features, see the
|
133
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
68
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
69
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
70
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
71
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
72
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
73
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
74
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
75
|
+
# condition can add constraints based on attributes of the request, the resource,
|
76
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
77
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
78
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
79
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
80
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
81
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
82
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
83
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
84
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
85
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
86
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
87
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
88
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
89
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
90
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
91
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
92
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
93
|
+
# google.com/iam/docs/).
|
134
94
|
# Corresponds to the JSON property `iamPolicy`
|
135
95
|
# @return [Google::Apis::CloudassetV1p5beta1::Policy]
|
136
96
|
attr_accessor :iam_policy
|
137
97
|
|
138
|
-
# The full name of the asset. Example:
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
# names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
143
|
-
# for more information.
|
98
|
+
# The full name of the asset. Example: `//compute.googleapis.com/projects/
|
99
|
+
# my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
|
100
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name) for more
|
101
|
+
# information.
|
144
102
|
# Corresponds to the JSON property `name`
|
145
103
|
# @return [String]
|
146
104
|
attr_accessor :name
|
147
105
|
|
148
|
-
# A representation of an [organization
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
# set on a given resource.
|
106
|
+
# A representation of an [organization policy](https://cloud.google.com/resource-
|
107
|
+
# manager/docs/organization-policy/overview#organization_policy). There can be
|
108
|
+
# more than one organization policy with different constraints set on a given
|
109
|
+
# resource.
|
153
110
|
# Corresponds to the JSON property `orgPolicy`
|
154
111
|
# @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1Policy>]
|
155
112
|
attr_accessor :org_policy
|
@@ -160,15 +117,14 @@ module Google
|
|
160
117
|
attr_accessor :resource
|
161
118
|
|
162
119
|
# `ServicePerimeter` describes a set of Google Cloud resources which can freely
|
163
|
-
# import and export data amongst themselves, but not export outside of the
|
164
|
-
#
|
120
|
+
# import and export data amongst themselves, but not export outside of the `
|
121
|
+
# ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
165
122
|
# has a target outside of the `ServicePerimeter`, the request will be blocked.
|
166
123
|
# Otherwise the request is allowed. There are two types of Service Perimeter -
|
167
|
-
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single
|
168
|
-
#
|
169
|
-
#
|
170
|
-
#
|
171
|
-
# Bridges.
|
124
|
+
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
|
125
|
+
# Cloud project can only belong to a single regular Service Perimeter. Service
|
126
|
+
# Perimeter Bridges can contain only Google Cloud projects as members, a single
|
127
|
+
# Google Cloud project may belong to multiple Service Perimeter Bridges.
|
172
128
|
# Corresponds to the JSON property `servicePerimeter`
|
173
129
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
|
174
130
|
attr_accessor :service_perimeter
|
@@ -191,53 +147,21 @@ module Google
|
|
191
147
|
end
|
192
148
|
end
|
193
149
|
|
194
|
-
# Specifies the audit configuration for a service.
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
203
|
-
# `
|
204
|
-
# "
|
205
|
-
# `
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
# "log_type": "DATA_READ",
|
210
|
-
# "exempted_members": [
|
211
|
-
# "user:jose@example.com"
|
212
|
-
# ]
|
213
|
-
# `,
|
214
|
-
# `
|
215
|
-
# "log_type": "DATA_WRITE"
|
216
|
-
# `,
|
217
|
-
# `
|
218
|
-
# "log_type": "ADMIN_READ"
|
219
|
-
# `
|
220
|
-
# ]
|
221
|
-
# `,
|
222
|
-
# `
|
223
|
-
# "service": "sampleservice.googleapis.com",
|
224
|
-
# "audit_log_configs": [
|
225
|
-
# `
|
226
|
-
# "log_type": "DATA_READ"
|
227
|
-
# `,
|
228
|
-
# `
|
229
|
-
# "log_type": "DATA_WRITE",
|
230
|
-
# "exempted_members": [
|
231
|
-
# "user:aliya@example.com"
|
232
|
-
# ]
|
233
|
-
# `
|
234
|
-
# ]
|
235
|
-
# `
|
236
|
-
# ]
|
237
|
-
# `
|
238
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
239
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
240
|
-
# aliya@example.com from DATA_WRITE logging.
|
150
|
+
# Specifies the audit configuration for a service. The configuration determines
|
151
|
+
# which permission types are logged, and what identities, if any, are exempted
|
152
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
153
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
154
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
155
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
156
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
157
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
158
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
159
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
160
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
161
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
162
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
163
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
164
|
+
# DATA_WRITE logging.
|
241
165
|
class AuditConfig
|
242
166
|
include Google::Apis::Core::Hashable
|
243
167
|
|
@@ -246,9 +170,9 @@ module Google
|
|
246
170
|
# @return [Array<Google::Apis::CloudassetV1p5beta1::AuditLogConfig>]
|
247
171
|
attr_accessor :audit_log_configs
|
248
172
|
|
249
|
-
# Specifies a service that will be enabled for audit logging.
|
250
|
-
#
|
251
|
-
#
|
173
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
174
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
175
|
+
# value that covers all services.
|
252
176
|
# Corresponds to the JSON property `service`
|
253
177
|
# @return [String]
|
254
178
|
attr_accessor :service
|
@@ -264,28 +188,15 @@ module Google
|
|
264
188
|
end
|
265
189
|
end
|
266
190
|
|
267
|
-
# Provides the configuration for logging a type of permissions.
|
268
|
-
#
|
269
|
-
# `
|
270
|
-
#
|
271
|
-
#
|
272
|
-
# "log_type": "DATA_READ",
|
273
|
-
# "exempted_members": [
|
274
|
-
# "user:jose@example.com"
|
275
|
-
# ]
|
276
|
-
# `,
|
277
|
-
# `
|
278
|
-
# "log_type": "DATA_WRITE"
|
279
|
-
# `
|
280
|
-
# ]
|
281
|
-
# `
|
282
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
283
|
-
# jose@example.com from DATA_READ logging.
|
191
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
192
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
193
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
194
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
195
|
+
# DATA_READ logging.
|
284
196
|
class AuditLogConfig
|
285
197
|
include Google::Apis::Core::Hashable
|
286
198
|
|
287
|
-
# Specifies the identities that do not cause logging for this type of
|
288
|
-
# permission.
|
199
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
289
200
|
# Follows the same format of Binding.members.
|
290
201
|
# Corresponds to the JSON property `exemptedMembers`
|
291
202
|
# @return [Array<String>]
|
@@ -311,69 +222,57 @@ module Google
|
|
311
222
|
class Binding
|
312
223
|
include Google::Apis::Core::Hashable
|
313
224
|
|
314
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
# description: "Determines if
|
320
|
-
# expression: "document.
|
321
|
-
#
|
322
|
-
#
|
323
|
-
#
|
324
|
-
#
|
325
|
-
#
|
326
|
-
#
|
327
|
-
#
|
328
|
-
#
|
329
|
-
# Example (Data Manipulation):
|
330
|
-
# title: "Notification string"
|
331
|
-
# description: "Create a notification string with a timestamp."
|
332
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
333
|
-
# The exact variables and functions that may be referenced within an expression
|
334
|
-
# are determined by the service that evaluates it. See the service
|
335
|
-
# documentation for additional information.
|
225
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
226
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
227
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
228
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
229
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
230
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
231
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
232
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
233
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
234
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
235
|
+
# string" description: "Create a notification string with a timestamp."
|
236
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
237
|
+
# exact variables and functions that may be referenced within an expression are
|
238
|
+
# determined by the service that evaluates it. See the service documentation for
|
239
|
+
# additional information.
|
336
240
|
# Corresponds to the JSON property `condition`
|
337
241
|
# @return [Google::Apis::CloudassetV1p5beta1::Expr]
|
338
242
|
attr_accessor :condition
|
339
243
|
|
340
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
# * `
|
347
|
-
# account. For example, `
|
348
|
-
# * `
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# For example, `
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
# deleted
|
360
|
-
#
|
361
|
-
# If the
|
362
|
-
# `
|
363
|
-
# role in the binding.
|
364
|
-
#
|
365
|
-
#
|
366
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
367
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
368
|
-
# recovered group retains the role in the binding.
|
369
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
370
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
244
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
245
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
246
|
+
# that represents anyone who is on the internet; with or without a Google
|
247
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
248
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
249
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
250
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
251
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
252
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
253
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
254
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
255
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
256
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
257
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
258
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
259
|
+
# identifier) representing a service account that has been recently deleted. For
|
260
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
261
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
262
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
263
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
264
|
+
# identifier) representing a Google group that has been recently deleted. For
|
265
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
266
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
267
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
268
|
+
# primary) that represents all the users of that domain. For example, `google.
|
269
|
+
# com` or `example.com`.
|
371
270
|
# Corresponds to the JSON property `members`
|
372
271
|
# @return [Array<String>]
|
373
272
|
attr_accessor :members
|
374
273
|
|
375
|
-
# Role that is assigned to `members`.
|
376
|
-
#
|
274
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
275
|
+
# , or `roles/owner`.
|
377
276
|
# Corresponds to the JSON property `role`
|
378
277
|
# @return [String]
|
379
278
|
attr_accessor :role
|
@@ -390,52 +289,43 @@ module Google
|
|
390
289
|
end
|
391
290
|
end
|
392
291
|
|
393
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
397
|
-
#
|
398
|
-
# description: "Determines if
|
399
|
-
# expression: "document.
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
408
|
-
# Example (Data Manipulation):
|
409
|
-
# title: "Notification string"
|
410
|
-
# description: "Create a notification string with a timestamp."
|
411
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
412
|
-
# The exact variables and functions that may be referenced within an expression
|
413
|
-
# are determined by the service that evaluates it. See the service
|
414
|
-
# documentation for additional information.
|
292
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
293
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
294
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
295
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
296
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
297
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
298
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
299
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
300
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
301
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
302
|
+
# string" description: "Create a notification string with a timestamp."
|
303
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
304
|
+
# exact variables and functions that may be referenced within an expression are
|
305
|
+
# determined by the service that evaluates it. See the service documentation for
|
306
|
+
# additional information.
|
415
307
|
class Expr
|
416
308
|
include Google::Apis::Core::Hashable
|
417
309
|
|
418
|
-
# Optional. Description of the expression. This is a longer text which
|
419
|
-
#
|
310
|
+
# Optional. Description of the expression. This is a longer text which describes
|
311
|
+
# the expression, e.g. when hovered over it in a UI.
|
420
312
|
# Corresponds to the JSON property `description`
|
421
313
|
# @return [String]
|
422
314
|
attr_accessor :description
|
423
315
|
|
424
|
-
# Textual representation of an expression in Common Expression Language
|
425
|
-
# syntax.
|
316
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
426
317
|
# Corresponds to the JSON property `expression`
|
427
318
|
# @return [String]
|
428
319
|
attr_accessor :expression
|
429
320
|
|
430
|
-
# Optional. String indicating the location of the expression for error
|
431
|
-
#
|
321
|
+
# Optional. String indicating the location of the expression for error reporting,
|
322
|
+
# e.g. a file name and a position in the file.
|
432
323
|
# Corresponds to the JSON property `location`
|
433
324
|
# @return [String]
|
434
325
|
attr_accessor :location
|
435
326
|
|
436
|
-
# Optional. Title for the expression, i.e. a short string describing
|
437
|
-
#
|
438
|
-
# expression.
|
327
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
328
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
439
329
|
# Corresponds to the JSON property `title`
|
440
330
|
# @return [String]
|
441
331
|
attr_accessor :title
|
@@ -458,45 +348,29 @@ module Google
|
|
458
348
|
class GoogleCloudOrgpolicyV1BooleanPolicy
|
459
349
|
include Google::Apis::Core::Hashable
|
460
350
|
|
461
|
-
# If `true`, then the `Policy` is enforced. If `false`, then any
|
462
|
-
#
|
463
|
-
#
|
464
|
-
# `
|
465
|
-
#
|
466
|
-
#
|
467
|
-
# - If the `Policy` at this
|
468
|
-
# port connection attempts will be allowed.
|
469
|
-
# - If
|
470
|
-
# port connection attempts will be
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
# `organizations/foo` has a `Policy` with:
|
481
|
-
# `
|
482
|
-
#
|
483
|
-
#
|
484
|
-
# enforced.
|
485
|
-
# Example 2 (enforcement gets replaced):
|
486
|
-
# `organizations/foo` has a `Policy` with:
|
487
|
-
# `enforced: false`
|
488
|
-
# `projects/bar` has a `Policy` with:
|
489
|
-
# `enforced: true`
|
490
|
-
# The constraint at `organizations/foo` is not enforced.
|
491
|
-
# The constraint at `projects/bar` is enforced.
|
492
|
-
# Example 3 (RestoreDefault):
|
493
|
-
# `organizations/foo` has a `Policy` with:
|
494
|
-
# `enforced: true`
|
495
|
-
# `projects/bar` has a `Policy` with:
|
496
|
-
# `RestoreDefault: ```
|
497
|
-
# The constraint at `organizations/foo` is enforced.
|
498
|
-
# The constraint at `projects/bar` is not enforced, because
|
499
|
-
# `constraint_default` for the `Constraint` is `ALLOW`.
|
351
|
+
# If `true`, then the `Policy` is enforced. If `false`, then any configuration
|
352
|
+
# is acceptable. Suppose you have a `Constraint` `constraints/compute.
|
353
|
+
# disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
|
354
|
+
# for that `Constraint` exhibits the following behavior: - If the `Policy` at
|
355
|
+
# this resource has enforced set to `false`, serial port connection attempts
|
356
|
+
# will be allowed. - If the `Policy` at this resource has enforced set to `true`,
|
357
|
+
# serial port connection attempts will be refused. - If the `Policy` at this
|
358
|
+
# resource is `RestoreDefault`, serial port connection attempts will be allowed.
|
359
|
+
# - If no `Policy` is set at this resource or anywhere higher in the resource
|
360
|
+
# hierarchy, serial port connection attempts will be allowed. - If no `Policy`
|
361
|
+
# is set at this resource, but one exists higher in the resource hierarchy, the
|
362
|
+
# behavior is as if the`Policy` were set at this resource. The following
|
363
|
+
# examples demonstrate the different possible layerings: Example 1 (nearest `
|
364
|
+
# Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
|
365
|
+
# projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
|
366
|
+
# organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
|
367
|
+
# `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
|
368
|
+
# a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
|
369
|
+
# enforced. The constraint at `projects/bar` is enforced. Example 3 (
|
370
|
+
# RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
|
371
|
+
# projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
|
372
|
+
# organizations/foo` is enforced. The constraint at `projects/bar` is not
|
373
|
+
# enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
|
500
374
|
# Corresponds to the JSON property `enforced`
|
501
375
|
# @return [Boolean]
|
502
376
|
attr_accessor :enforced
|
@@ -512,26 +386,22 @@ module Google
|
|
512
386
|
end
|
513
387
|
end
|
514
388
|
|
515
|
-
# Used in `policy_type` to specify how `list_policy` behaves at this
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
#
|
523
|
-
#
|
524
|
-
#
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
#
|
529
|
-
#
|
530
|
-
#
|
531
|
-
# `denied_values` in the same `Policy` if `all_values` is
|
532
|
-
# `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
533
|
-
# values. If `all_values` is set to either `ALLOW` or `DENY`,
|
534
|
-
# `allowed_values` and `denied_values` must be unset.
|
389
|
+
# Used in `policy_type` to specify how `list_policy` behaves at this resource. `
|
390
|
+
# ListPolicy` can define specific values and subtrees of Cloud Resource Manager
|
391
|
+
# resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
|
392
|
+
# or denied by setting the `allowed_values` and `denied_values` fields. This is
|
393
|
+
# achieved by using the `under:` and optional `is:` prefixes. The `under:`
|
394
|
+
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
395
|
+
# denote specific values, and is required only if the value contains a ":".
|
396
|
+
# Values prefixed with "is:" are treated the same as values with no prefix.
|
397
|
+
# Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
|
398
|
+
# "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
|
399
|
+
# e.g. "organizations/1234" The `supports_under` field of the associated `
|
400
|
+
# Constraint` defines whether ancestry prefixes can be used. You can set `
|
401
|
+
# allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
|
402
|
+
# ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
403
|
+
# values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
|
404
|
+
# and `denied_values` must be unset.
|
535
405
|
class GoogleCloudOrgpolicyV1ListPolicy
|
536
406
|
include Google::Apis::Core::Hashable
|
537
407
|
|
@@ -540,112 +410,83 @@ module Google
|
|
540
410
|
# @return [String]
|
541
411
|
attr_accessor :all_values
|
542
412
|
|
543
|
-
# List of values allowed
|
544
|
-
#
|
413
|
+
# List of values allowed at this resource. Can only be set if `all_values` is
|
414
|
+
# set to `ALL_VALUES_UNSPECIFIED`.
|
545
415
|
# Corresponds to the JSON property `allowedValues`
|
546
416
|
# @return [Array<String>]
|
547
417
|
attr_accessor :allowed_values
|
548
418
|
|
549
|
-
# List of values denied at this resource. Can only be set if `all_values`
|
550
|
-
#
|
419
|
+
# List of values denied at this resource. Can only be set if `all_values` is set
|
420
|
+
# to `ALL_VALUES_UNSPECIFIED`.
|
551
421
|
# Corresponds to the JSON property `deniedValues`
|
552
422
|
# @return [Array<String>]
|
553
423
|
attr_accessor :denied_values
|
554
424
|
|
555
|
-
# Determines the inheritance behavior for this `Policy`.
|
556
|
-
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
#
|
569
|
-
#
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
# `
|
574
|
-
#
|
575
|
-
#
|
576
|
-
# `
|
577
|
-
#
|
578
|
-
# `organizations/foo` has a `Policy`
|
579
|
-
# `allowed_values: "E1" allowed_values:"E2"`
|
580
|
-
# `
|
581
|
-
# `
|
582
|
-
#
|
583
|
-
#
|
584
|
-
#
|
585
|
-
# `organizations/foo`
|
586
|
-
# `
|
587
|
-
#
|
588
|
-
#
|
589
|
-
# The accepted values at `organizations/foo` are `E1`, `E2`.
|
590
|
-
# The accepted values at `projects/bar` are
|
591
|
-
#
|
592
|
-
# `organizations/foo` has
|
593
|
-
# `
|
594
|
-
#
|
595
|
-
# `
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
599
|
-
# `organizations/foo` has a `Policy`
|
600
|
-
# `allowed_values: "E1" allowed_values:"E2"`
|
601
|
-
# `
|
602
|
-
# `
|
603
|
-
#
|
604
|
-
#
|
605
|
-
#
|
606
|
-
# `
|
607
|
-
#
|
608
|
-
#
|
609
|
-
# `projects/bar`
|
610
|
-
#
|
611
|
-
# the value of `constraint_default` (if `ALLOW`, all; if
|
612
|
-
# `DENY`, none).
|
613
|
-
# Example 6 (ListConstraint allowing all):
|
614
|
-
# `organizations/foo` has a `Policy` with values:
|
615
|
-
# `allowed_values: "E1" allowed_values: "E2"`
|
616
|
-
# `projects/bar` has a `Policy` with:
|
617
|
-
# `all: ALLOW`
|
618
|
-
# The accepted values at `organizations/foo` are `E1`, E2`.
|
619
|
-
# Any value is accepted at `projects/bar`.
|
620
|
-
# Example 7 (ListConstraint allowing none):
|
621
|
-
# `organizations/foo` has a `Policy` with values:
|
622
|
-
# `allowed_values: "E1" allowed_values: "E2"`
|
623
|
-
# `projects/bar` has a `Policy` with:
|
624
|
-
# `all: DENY`
|
625
|
-
# The accepted values at `organizations/foo` are `E1`, E2`.
|
626
|
-
# No value is accepted at `projects/bar`.
|
627
|
-
# Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
|
628
|
-
# Given the following resource hierarchy
|
629
|
-
# O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
|
630
|
-
# `organizations/foo` has a `Policy` with values:
|
631
|
-
# `allowed_values: "under:organizations/O1"`
|
632
|
-
# `projects/bar` has a `Policy` with:
|
633
|
-
# `allowed_values: "under:projects/P3"`
|
634
|
-
# `denied_values: "under:folders/F2"`
|
635
|
-
# The accepted values at `organizations/foo` are `organizations/O1`,
|
636
|
-
# `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
|
637
|
-
# `projects/P3`.
|
638
|
-
# The accepted values at `projects/bar` are `organizations/O1`,
|
639
|
-
# `folders/F1`, `projects/P1`.
|
425
|
+
# Determines the inheritance behavior for this `Policy`. By default, a `
|
426
|
+
# ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
|
427
|
+
# resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
|
428
|
+
# the values from the effective `Policy` of the parent resource are inherited,
|
429
|
+
# meaning the values set in this `Policy` are added to the values inherited up
|
430
|
+
# the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
|
431
|
+
# and denied values isn't recommended in most circumstances to keep the
|
432
|
+
# configuration simple and understandable. However, it is possible to set a `
|
433
|
+
# Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
|
434
|
+
# set. In this case, the values that are allowed must be in `allowed_values`
|
435
|
+
# and not present in `denied_values`. For example, suppose you have a `
|
436
|
+
# Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
|
437
|
+
# of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
|
438
|
+
# that at the Organization level, a `Policy` is applied that restricts the
|
439
|
+
# allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
|
440
|
+
# project below the Organization that has `inherit_from_parent` set to `false`
|
441
|
+
# and field all_values set to DENY, then an attempt to activate any API will be
|
442
|
+
# denied. The following examples demonstrate different possible layerings for `
|
443
|
+
# projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
|
444
|
+
# `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
|
445
|
+
# allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
|
446
|
+
# values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
|
447
|
+
# organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
|
448
|
+
# E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
|
449
|
+
# with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
|
450
|
+
# Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
|
451
|
+
# accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
|
452
|
+
# projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
|
453
|
+
# allowed and denied values): `organizations/foo` has a `Policy` with values: `
|
454
|
+
# allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
|
455
|
+
# `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
|
456
|
+
# . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
|
457
|
+
# organizations/foo` has a `Policy` with values: `allowed_values: "E1"
|
458
|
+
# allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
|
459
|
+
# RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
|
460
|
+
# The accepted values at `projects/bar` are either all or none depending on the
|
461
|
+
# value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
|
462
|
+
# no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
|
463
|
+
# projects/bar` has no `Policy` set. The accepted values at both levels are
|
464
|
+
# either all or none depending on the value of `constraint_default` (if `ALLOW`,
|
465
|
+
# all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
|
466
|
+
# foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
|
467
|
+
# projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
|
468
|
+
# organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
|
469
|
+
# Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
|
470
|
+
# with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
|
471
|
+
# Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
|
472
|
+
# E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
|
473
|
+
# subtrees of Resource Manager hierarchy): Given the following resource
|
474
|
+
# hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
|
475
|
+
# Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
|
476
|
+
# has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
|
477
|
+
# under:folders/F2"` The accepted values at `organizations/foo` are `
|
478
|
+
# organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
|
479
|
+
# projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
|
480
|
+
# folders/F1`, `projects/P1`.
|
640
481
|
# Corresponds to the JSON property `inheritFromParent`
|
641
482
|
# @return [Boolean]
|
642
483
|
attr_accessor :inherit_from_parent
|
643
484
|
alias_method :inherit_from_parent?, :inherit_from_parent
|
644
485
|
|
645
|
-
# Optional. The Google Cloud Console will try to default to a configuration
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
486
|
+
# Optional. The Google Cloud Console will try to default to a configuration that
|
487
|
+
# matches the value specified in this `Policy`. If `suggested_value` is not set,
|
488
|
+
# it will inherit the value specified higher in the hierarchy, unless `
|
489
|
+
# inherit_from_parent` is `false`.
|
649
490
|
# Corresponds to the JSON property `suggestedValue`
|
650
491
|
# @return [String]
|
651
492
|
attr_accessor :suggested_value
|
@@ -675,76 +516,65 @@ module Google
|
|
675
516
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1BooleanPolicy]
|
676
517
|
attr_accessor :boolean_policy
|
677
518
|
|
678
|
-
# The name of the `Constraint` the `Policy` is configuring, for example,
|
679
|
-
#
|
680
|
-
#
|
681
|
-
# constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
|
682
|
-
# is available.
|
519
|
+
# The name of the `Constraint` the `Policy` is configuring, for example, `
|
520
|
+
# constraints/serviceuser.services`. A [list of available constraints](/resource-
|
521
|
+
# manager/docs/organization-policy/org-policy-constraints) is available.
|
683
522
|
# Immutable after creation.
|
684
523
|
# Corresponds to the JSON property `constraint`
|
685
524
|
# @return [String]
|
686
525
|
attr_accessor :constraint
|
687
526
|
|
688
527
|
# An opaque tag indicating the current version of the `Policy`, used for
|
689
|
-
# concurrency control.
|
690
|
-
#
|
691
|
-
# `
|
692
|
-
# `
|
693
|
-
#
|
694
|
-
# `
|
695
|
-
#
|
696
|
-
#
|
697
|
-
# read-modify-write loop for concurrency control. Not setting the `etag`in a
|
698
|
-
# `SetOrgPolicy` request will result in an unconditional write of the
|
699
|
-
# `Policy`.
|
528
|
+
# concurrency control. When the `Policy` is returned from either a `GetPolicy`
|
529
|
+
# or a `ListOrgPolicy` request, this `etag` indicates the version of the current
|
530
|
+
# `Policy` to use when executing a read-modify-write loop. When the `Policy` is
|
531
|
+
# returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
|
532
|
+
# the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
|
533
|
+
# returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
|
534
|
+
# concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
|
535
|
+
# result in an unconditional write of the `Policy`.
|
700
536
|
# Corresponds to the JSON property `etag`
|
701
537
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
702
538
|
# @return [String]
|
703
539
|
attr_accessor :etag
|
704
540
|
|
705
|
-
# Used in `policy_type` to specify how `list_policy` behaves at this
|
706
|
-
#
|
707
|
-
#
|
708
|
-
#
|
709
|
-
#
|
710
|
-
#
|
711
|
-
#
|
712
|
-
#
|
713
|
-
#
|
714
|
-
#
|
715
|
-
#
|
716
|
-
#
|
717
|
-
#
|
718
|
-
#
|
719
|
-
#
|
720
|
-
#
|
721
|
-
# `denied_values` in the same `Policy` if `all_values` is
|
722
|
-
# `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
723
|
-
# values. If `all_values` is set to either `ALLOW` or `DENY`,
|
724
|
-
# `allowed_values` and `denied_values` must be unset.
|
541
|
+
# Used in `policy_type` to specify how `list_policy` behaves at this resource. `
|
542
|
+
# ListPolicy` can define specific values and subtrees of Cloud Resource Manager
|
543
|
+
# resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
|
544
|
+
# or denied by setting the `allowed_values` and `denied_values` fields. This is
|
545
|
+
# achieved by using the `under:` and optional `is:` prefixes. The `under:`
|
546
|
+
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
547
|
+
# denote specific values, and is required only if the value contains a ":".
|
548
|
+
# Values prefixed with "is:" are treated the same as values with no prefix.
|
549
|
+
# Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
|
550
|
+
# "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
|
551
|
+
# e.g. "organizations/1234" The `supports_under` field of the associated `
|
552
|
+
# Constraint` defines whether ancestry prefixes can be used. You can set `
|
553
|
+
# allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
|
554
|
+
# ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
555
|
+
# values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
|
556
|
+
# and `denied_values` must be unset.
|
725
557
|
# Corresponds to the JSON property `listPolicy`
|
726
558
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1ListPolicy]
|
727
559
|
attr_accessor :list_policy
|
728
560
|
|
729
|
-
# Ignores policies set above this resource and restores the
|
730
|
-
#
|
731
|
-
#
|
732
|
-
# Suppose that
|
733
|
-
#
|
734
|
-
#
|
735
|
-
# the
|
736
|
-
#
|
737
|
-
#
|
738
|
-
# enforcement of the `Constraint` for only those projects, allowing those
|
739
|
-
# projects to have all services activated.
|
561
|
+
# Ignores policies set above this resource and restores the `constraint_default`
|
562
|
+
# enforcement behavior of the specific `Constraint` at this resource. Suppose
|
563
|
+
# that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
|
564
|
+
# serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
|
565
|
+
# their Organization resource node that restricts the allowed service
|
566
|
+
# activations to deny all service activations. They could then set a `Policy`
|
567
|
+
# with the `policy_type` `restore_default` on several experimental projects,
|
568
|
+
# restoring the `constraint_default` enforcement of the `Constraint` for only
|
569
|
+
# those projects, allowing those projects to have all services activated.
|
740
570
|
# Corresponds to the JSON property `restoreDefault`
|
741
571
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1RestoreDefault]
|
742
572
|
attr_accessor :restore_default
|
743
573
|
|
744
|
-
# The time stamp the `Policy` was previously updated. This is set by the
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
574
|
+
# The time stamp the `Policy` was previously updated. This is set by the server,
|
575
|
+
# not specified by the caller, and represents the last time a call to `
|
576
|
+
# SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
|
577
|
+
# ignored.
|
748
578
|
# Corresponds to the JSON property `updateTime`
|
749
579
|
# @return [String]
|
750
580
|
attr_accessor :update_time
|
@@ -770,17 +600,15 @@ module Google
|
|
770
600
|
end
|
771
601
|
end
|
772
602
|
|
773
|
-
# Ignores policies set above this resource and restores the
|
774
|
-
#
|
775
|
-
#
|
776
|
-
# Suppose that
|
777
|
-
#
|
778
|
-
#
|
779
|
-
# the
|
780
|
-
#
|
781
|
-
#
|
782
|
-
# enforcement of the `Constraint` for only those projects, allowing those
|
783
|
-
# projects to have all services activated.
|
603
|
+
# Ignores policies set above this resource and restores the `constraint_default`
|
604
|
+
# enforcement behavior of the specific `Constraint` at this resource. Suppose
|
605
|
+
# that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
|
606
|
+
# serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
|
607
|
+
# their Organization resource node that restricts the allowed service
|
608
|
+
# activations to deny all service activations. They could then set a `Policy`
|
609
|
+
# with the `policy_type` `restore_default` on several experimental projects,
|
610
|
+
# restoring the `constraint_default` enforcement of the `Constraint` for only
|
611
|
+
# those projects, allowing those projects to have all services activated.
|
784
612
|
class GoogleCloudOrgpolicyV1RestoreDefault
|
785
613
|
include Google::Apis::Core::Hashable
|
786
614
|
|
@@ -805,8 +633,8 @@ module Google
|
|
805
633
|
attr_accessor :basic
|
806
634
|
|
807
635
|
# `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
|
808
|
-
# to represent the necessary conditions for the level to apply to a request.
|
809
|
-
#
|
636
|
+
# to represent the necessary conditions for the level to apply to a request. See
|
637
|
+
# CEL spec at: https://github.com/google/cel-spec
|
810
638
|
# Corresponds to the JSON property `custom`
|
811
639
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1CustomLevel]
|
812
640
|
attr_accessor :custom
|
@@ -816,10 +644,10 @@ module Google
|
|
816
644
|
# @return [String]
|
817
645
|
attr_accessor :description
|
818
646
|
|
819
|
-
# Required. Resource name for the Access Level. The `short_name` component
|
820
|
-
#
|
821
|
-
#
|
822
|
-
#
|
647
|
+
# Required. Resource name for the Access Level. The `short_name` component must
|
648
|
+
# begin with a letter and only include alphanumeric and '_'. Format: `
|
649
|
+
# accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
|
650
|
+
# the `short_name` component is 50 characters.
|
823
651
|
# Corresponds to the JSON property `name`
|
824
652
|
# @return [String]
|
825
653
|
attr_accessor :name
|
@@ -844,30 +672,29 @@ module Google
|
|
844
672
|
end
|
845
673
|
|
846
674
|
# `AccessPolicy` is a container for `AccessLevels` (which define the necessary
|
847
|
-
# attributes to use Google Cloud services) and `ServicePerimeters` (which
|
848
|
-
#
|
849
|
-
#
|
850
|
-
#
|
675
|
+
# attributes to use Google Cloud services) and `ServicePerimeters` (which define
|
676
|
+
# regions of services able to freely pass data within a perimeter). An access
|
677
|
+
# policy is globally visible within an organization, and the restrictions it
|
678
|
+
# specifies apply to all projects within an organization.
|
851
679
|
class GoogleIdentityAccesscontextmanagerV1AccessPolicy
|
852
680
|
include Google::Apis::Core::Hashable
|
853
681
|
|
854
|
-
# Output only. An opaque identifier for the current version of the
|
855
|
-
#
|
856
|
-
#
|
857
|
-
#
|
682
|
+
# Output only. An opaque identifier for the current version of the `AccessPolicy`
|
683
|
+
# . This will always be a strongly validated etag, meaning that two Access
|
684
|
+
# Polices will be identical if and only if their etags are identical. Clients
|
685
|
+
# should not expect this to be in any specific format.
|
858
686
|
# Corresponds to the JSON property `etag`
|
859
687
|
# @return [String]
|
860
688
|
attr_accessor :etag
|
861
689
|
|
862
|
-
# Output only. Resource name of the `AccessPolicy`. Format:
|
863
|
-
#
|
690
|
+
# Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
|
691
|
+
# policy_id``
|
864
692
|
# Corresponds to the JSON property `name`
|
865
693
|
# @return [String]
|
866
694
|
attr_accessor :name
|
867
695
|
|
868
|
-
# Required. The parent of this `AccessPolicy` in the Cloud Resource
|
869
|
-
#
|
870
|
-
# `organizations/`organization_id``
|
696
|
+
# Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy.
|
697
|
+
# Currently immutable once created. Format: `organizations/`organization_id``
|
871
698
|
# Corresponds to the JSON property `parent`
|
872
699
|
# @return [String]
|
873
700
|
attr_accessor :parent
|
@@ -895,10 +722,10 @@ module Google
|
|
895
722
|
include Google::Apis::Core::Hashable
|
896
723
|
|
897
724
|
# How the `conditions` list should be combined to determine if a request is
|
898
|
-
# granted this `AccessLevel`. If AND is used, each `Condition` in
|
899
|
-
#
|
900
|
-
#
|
901
|
-
#
|
725
|
+
# granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
|
726
|
+
# must be satisfied for the `AccessLevel` to be applied. If OR is used, at least
|
727
|
+
# one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be
|
728
|
+
# applied. Default behavior is AND.
|
902
729
|
# Corresponds to the JSON property `combiningFunction`
|
903
730
|
# @return [String]
|
904
731
|
attr_accessor :combining_function
|
@@ -932,54 +759,48 @@ module Google
|
|
932
759
|
# devices to be granted access levels, it does not do any enforcement on the
|
933
760
|
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
934
761
|
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
935
|
-
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
|
936
|
-
#
|
937
|
-
#
|
938
|
-
# Windows desktops.
|
762
|
+
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
|
763
|
+
# encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
|
764
|
+
# originating from encrypted Linux desktops and encrypted Windows desktops.
|
939
765
|
# Corresponds to the JSON property `devicePolicy`
|
940
766
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1DevicePolicy]
|
941
767
|
attr_accessor :device_policy
|
942
768
|
|
943
|
-
# CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
|
944
|
-
#
|
769
|
+
# CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
|
770
|
+
# CIDR IP address block, the specified IP address portion must be properly
|
945
771
|
# truncated (i.e. all the host bits must be zero) or the input is considered
|
946
|
-
# malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
|
947
|
-
#
|
948
|
-
#
|
949
|
-
#
|
950
|
-
# addresses are allowed.
|
772
|
+
# malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not.
|
773
|
+
# Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is
|
774
|
+
# not. The originating IP of a request must be in one of the listed subnets in
|
775
|
+
# order for this Condition to be true. If empty, all IP addresses are allowed.
|
951
776
|
# Corresponds to the JSON property `ipSubnetworks`
|
952
777
|
# @return [Array<String>]
|
953
778
|
attr_accessor :ip_subnetworks
|
954
779
|
|
955
|
-
# The request must be made by one of the provided user or service
|
956
|
-
#
|
957
|
-
# Syntax:
|
958
|
-
# `user:`emailid``
|
959
|
-
# `serviceAccount:`emailid``
|
780
|
+
# The request must be made by one of the provided user or service accounts.
|
781
|
+
# Groups are not supported. Syntax: `user:`emailid`` `serviceAccount:`emailid``
|
960
782
|
# If not specified, a request may come from any user.
|
961
783
|
# Corresponds to the JSON property `members`
|
962
784
|
# @return [Array<String>]
|
963
785
|
attr_accessor :members
|
964
786
|
|
965
787
|
# Whether to negate the Condition. If true, the Condition becomes a NAND over
|
966
|
-
# its non-empty fields, each field must be false for the Condition overall to
|
967
|
-
#
|
788
|
+
# its non-empty fields, each field must be false for the Condition overall to be
|
789
|
+
# satisfied. Defaults to false.
|
968
790
|
# Corresponds to the JSON property `negate`
|
969
791
|
# @return [Boolean]
|
970
792
|
attr_accessor :negate
|
971
793
|
alias_method :negate?, :negate
|
972
794
|
|
973
|
-
# The request must originate from one of the provided countries/regions.
|
974
|
-
#
|
795
|
+
# The request must originate from one of the provided countries/regions. Must be
|
796
|
+
# valid ISO 3166-1 alpha-2 codes.
|
975
797
|
# Corresponds to the JSON property `regions`
|
976
798
|
# @return [Array<String>]
|
977
799
|
attr_accessor :regions
|
978
800
|
|
979
801
|
# A list of other access levels defined in the same `Policy`, referenced by
|
980
|
-
# resource name. Referencing an `AccessLevel` which does not exist is an
|
981
|
-
#
|
982
|
-
# to be true. Example:
|
802
|
+
# resource name. Referencing an `AccessLevel` which does not exist is an error.
|
803
|
+
# All access levels listed must be granted for the Condition to be true. Example:
|
983
804
|
# "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
|
984
805
|
# Corresponds to the JSON property `requiredAccessLevels`
|
985
806
|
# @return [Array<String>]
|
@@ -1001,33 +822,26 @@ module Google
|
|
1001
822
|
end
|
1002
823
|
|
1003
824
|
# `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
|
1004
|
-
# to represent the necessary conditions for the level to apply to a request.
|
1005
|
-
#
|
825
|
+
# to represent the necessary conditions for the level to apply to a request. See
|
826
|
+
# CEL spec at: https://github.com/google/cel-spec
|
1006
827
|
class GoogleIdentityAccesscontextmanagerV1CustomLevel
|
1007
828
|
include Google::Apis::Core::Hashable
|
1008
829
|
|
1009
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
1010
|
-
#
|
1011
|
-
#
|
1012
|
-
#
|
1013
|
-
#
|
1014
|
-
# description: "Determines if
|
1015
|
-
# expression: "document.
|
1016
|
-
#
|
1017
|
-
#
|
1018
|
-
#
|
1019
|
-
#
|
1020
|
-
#
|
1021
|
-
#
|
1022
|
-
#
|
1023
|
-
#
|
1024
|
-
# Example (Data Manipulation):
|
1025
|
-
# title: "Notification string"
|
1026
|
-
# description: "Create a notification string with a timestamp."
|
1027
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
1028
|
-
# The exact variables and functions that may be referenced within an expression
|
1029
|
-
# are determined by the service that evaluates it. See the service
|
1030
|
-
# documentation for additional information.
|
830
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
831
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
832
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
833
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
834
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
835
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
836
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
837
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
838
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
839
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
840
|
+
# string" description: "Create a notification string with a timestamp."
|
841
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
842
|
+
# exact variables and functions that may be referenced within an expression are
|
843
|
+
# determined by the service that evaluates it. See the service documentation for
|
844
|
+
# additional information.
|
1031
845
|
# Corresponds to the JSON property `expr`
|
1032
846
|
# @return [Google::Apis::CloudassetV1p5beta1::Expr]
|
1033
847
|
attr_accessor :expr
|
@@ -1047,15 +861,13 @@ module Google
|
|
1047
861
|
# devices to be granted access levels, it does not do any enforcement on the
|
1048
862
|
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
1049
863
|
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
1050
|
-
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
|
1051
|
-
#
|
1052
|
-
#
|
1053
|
-
# Windows desktops.
|
864
|
+
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
|
865
|
+
# encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
|
866
|
+
# originating from encrypted Linux desktops and encrypted Windows desktops.
|
1054
867
|
class GoogleIdentityAccesscontextmanagerV1DevicePolicy
|
1055
868
|
include Google::Apis::Core::Hashable
|
1056
869
|
|
1057
|
-
# Allowed device management levels, an empty list allows all management
|
1058
|
-
# levels.
|
870
|
+
# Allowed device management levels, an empty list allows all management levels.
|
1059
871
|
# Corresponds to the JSON property `allowedDeviceManagementLevels`
|
1060
872
|
# @return [Array<String>]
|
1061
873
|
attr_accessor :allowed_device_management_levels
|
@@ -1108,9 +920,9 @@ module Google
|
|
1108
920
|
class GoogleIdentityAccesscontextmanagerV1OsConstraint
|
1109
921
|
include Google::Apis::Core::Hashable
|
1110
922
|
|
1111
|
-
# The minimum allowed OS version. If not set, any version of this OS
|
1112
|
-
#
|
1113
|
-
#
|
923
|
+
# The minimum allowed OS version. If not set, any version of this OS satisfies
|
924
|
+
# the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"
|
925
|
+
# `.
|
1114
926
|
# Corresponds to the JSON property `minimumVersion`
|
1115
927
|
# @return [String]
|
1116
928
|
attr_accessor :minimum_version
|
@@ -1120,10 +932,10 @@ module Google
|
|
1120
932
|
# @return [String]
|
1121
933
|
attr_accessor :os_type
|
1122
934
|
|
1123
|
-
# Only allows requests from devices with a verified Chrome OS.
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
#
|
935
|
+
# Only allows requests from devices with a verified Chrome OS. Verifications
|
936
|
+
# includes requirements that the device is enterprise-managed, conformant to
|
937
|
+
# domain policies, and the caller has permission to call the API targeted by the
|
938
|
+
# request.
|
1127
939
|
# Corresponds to the JSON property `requireVerifiedChromeOs`
|
1128
940
|
# @return [Boolean]
|
1129
941
|
attr_accessor :require_verified_chrome_os
|
@@ -1142,37 +954,34 @@ module Google
|
|
1142
954
|
end
|
1143
955
|
|
1144
956
|
# `ServicePerimeter` describes a set of Google Cloud resources which can freely
|
1145
|
-
# import and export data amongst themselves, but not export outside of the
|
1146
|
-
#
|
957
|
+
# import and export data amongst themselves, but not export outside of the `
|
958
|
+
# ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
1147
959
|
# has a target outside of the `ServicePerimeter`, the request will be blocked.
|
1148
960
|
# Otherwise the request is allowed. There are two types of Service Perimeter -
|
1149
|
-
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single
|
1150
|
-
#
|
1151
|
-
#
|
1152
|
-
#
|
1153
|
-
# Bridges.
|
961
|
+
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
|
962
|
+
# Cloud project can only belong to a single regular Service Perimeter. Service
|
963
|
+
# Perimeter Bridges can contain only Google Cloud projects as members, a single
|
964
|
+
# Google Cloud project may belong to multiple Service Perimeter Bridges.
|
1154
965
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
|
1155
966
|
include Google::Apis::Core::Hashable
|
1156
967
|
|
1157
|
-
# Description of the `ServicePerimeter` and its use. Does not affect
|
1158
|
-
# behavior.
|
968
|
+
# Description of the `ServicePerimeter` and its use. Does not affect behavior.
|
1159
969
|
# Corresponds to the JSON property `description`
|
1160
970
|
# @return [String]
|
1161
971
|
attr_accessor :description
|
1162
972
|
|
1163
|
-
# Required. Resource name for the ServicePerimeter.
|
1164
|
-
#
|
1165
|
-
#
|
973
|
+
# Required. Resource name for the ServicePerimeter. The `short_name` component
|
974
|
+
# must begin with a letter and only include alphanumeric and '_'. Format: `
|
975
|
+
# accessPolicies/`policy_id`/servicePerimeters/`short_name``
|
1166
976
|
# Corresponds to the JSON property `name`
|
1167
977
|
# @return [String]
|
1168
978
|
attr_accessor :name
|
1169
979
|
|
1170
|
-
# Perimeter type indicator. A single project is
|
1171
|
-
#
|
1172
|
-
#
|
1173
|
-
#
|
1174
|
-
#
|
1175
|
-
# empty.
|
980
|
+
# Perimeter type indicator. A single project is allowed to be a member of single
|
981
|
+
# regular perimeter, but multiple service perimeter bridges. A project cannot be
|
982
|
+
# a included in a perimeter bridge without being included in regular perimeter.
|
983
|
+
# For perimeter bridges, the restricted service list as well as access level
|
984
|
+
# lists must be empty.
|
1176
985
|
# Corresponds to the JSON property `perimeterType`
|
1177
986
|
# @return [String]
|
1178
987
|
attr_accessor :perimeter_type
|
@@ -1194,16 +1003,15 @@ module Google
|
|
1194
1003
|
# @return [String]
|
1195
1004
|
attr_accessor :title
|
1196
1005
|
|
1197
|
-
# Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
|
1198
|
-
#
|
1199
|
-
#
|
1200
|
-
#
|
1201
|
-
#
|
1202
|
-
#
|
1203
|
-
#
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
# fields in the spec are set to non-default values.
|
1006
|
+
# Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
|
1007
|
+
# for all Service Perimeters, and that spec is identical to the status for those
|
1008
|
+
# Service Perimeters. When this flag is set, it inhibits the generation of the
|
1009
|
+
# implicit spec, thereby allowing the user to explicitly provide a configuration
|
1010
|
+
# ("spec") to use in a dry-run version of the Service Perimeter. This allows the
|
1011
|
+
# user to test changes to the enforced config ("status") without actually
|
1012
|
+
# enforcing them. This testing is done through analyzing the differences between
|
1013
|
+
# currently enforced and suggested restrictions. use_explicit_dry_run_spec must
|
1014
|
+
# bet set to True if any of the fields in the spec are set to non-default values.
|
1207
1015
|
# Corresponds to the JSON property `useExplicitDryRunSpec`
|
1208
1016
|
# @return [Boolean]
|
1209
1017
|
attr_accessor :use_explicit_dry_run_spec
|
@@ -1230,14 +1038,13 @@ module Google
|
|
1230
1038
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
|
1231
1039
|
include Google::Apis::Core::Hashable
|
1232
1040
|
|
1233
|
-
# A list of `AccessLevel` resource names that allow resources within the
|
1234
|
-
#
|
1235
|
-
#
|
1236
|
-
#
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
# For Service Perimeter Bridge, must be empty.
|
1041
|
+
# A list of `AccessLevel` resource names that allow resources within the `
|
1042
|
+
# ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must
|
1043
|
+
# be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `
|
1044
|
+
# AccessLevel` is a syntax error. If no `AccessLevel` names are listed,
|
1045
|
+
# resources within the perimeter can only be accessed via Google Cloud calls
|
1046
|
+
# with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/
|
1047
|
+
# accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
|
1241
1048
|
# Corresponds to the JSON property `accessLevels`
|
1242
1049
|
# @return [Array<String>]
|
1243
1050
|
attr_accessor :access_levels
|
@@ -1248,16 +1055,14 @@ module Google
|
|
1248
1055
|
# @return [Array<String>]
|
1249
1056
|
attr_accessor :resources
|
1250
1057
|
|
1251
|
-
# Google Cloud services that are subject to the Service Perimeter
|
1252
|
-
#
|
1253
|
-
#
|
1254
|
-
# access restrictions.
|
1058
|
+
# Google Cloud services that are subject to the Service Perimeter restrictions.
|
1059
|
+
# For example, if `storage.googleapis.com` is specified, access to the storage
|
1060
|
+
# buckets inside the perimeter must meet the perimeter's access restrictions.
|
1255
1061
|
# Corresponds to the JSON property `restrictedServices`
|
1256
1062
|
# @return [Array<String>]
|
1257
1063
|
attr_accessor :restricted_services
|
1258
1064
|
|
1259
|
-
# Specifies how APIs are allowed to communicate within the Service
|
1260
|
-
# Perimeter.
|
1065
|
+
# Specifies how APIs are allowed to communicate within the Service Perimeter.
|
1261
1066
|
# Corresponds to the JSON property `vpcAccessibleServices`
|
1262
1067
|
# @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
|
1263
1068
|
attr_accessor :vpc_accessible_services
|
@@ -1275,21 +1080,20 @@ module Google
|
|
1275
1080
|
end
|
1276
1081
|
end
|
1277
1082
|
|
1278
|
-
# Specifies how APIs are allowed to communicate within the Service
|
1279
|
-
# Perimeter.
|
1083
|
+
# Specifies how APIs are allowed to communicate within the Service Perimeter.
|
1280
1084
|
class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
|
1281
1085
|
include Google::Apis::Core::Hashable
|
1282
1086
|
|
1283
|
-
# The list of APIs usable within the Service Perimeter. Must be empty
|
1284
|
-
#
|
1285
|
-
#
|
1286
|
-
#
|
1087
|
+
# The list of APIs usable within the Service Perimeter. Must be empty unless '
|
1088
|
+
# enable_restriction' is True. You can specify a list of individual services, as
|
1089
|
+
# well as include the 'RESTRICTED-SERVICES' value, which automatically includes
|
1090
|
+
# all of the services protected by the perimeter.
|
1287
1091
|
# Corresponds to the JSON property `allowedServices`
|
1288
1092
|
# @return [Array<String>]
|
1289
1093
|
attr_accessor :allowed_services
|
1290
1094
|
|
1291
|
-
# Whether to restrict API calls within the Service Perimeter to the list of
|
1292
|
-
#
|
1095
|
+
# Whether to restrict API calls within the Service Perimeter to the list of APIs
|
1096
|
+
# specified in 'allowed_services'.
|
1293
1097
|
# Corresponds to the JSON property `enableRestriction`
|
1294
1098
|
# @return [Boolean]
|
1295
1099
|
attr_accessor :enable_restriction
|
@@ -1339,66 +1143,32 @@ module Google
|
|
1339
1143
|
end
|
1340
1144
|
|
1341
1145
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1342
|
-
# controls for Google Cloud resources.
|
1343
|
-
# A `
|
1344
|
-
#
|
1345
|
-
#
|
1346
|
-
#
|
1347
|
-
#
|
1348
|
-
#
|
1349
|
-
#
|
1350
|
-
#
|
1351
|
-
#
|
1352
|
-
#
|
1353
|
-
# [
|
1354
|
-
#
|
1355
|
-
#
|
1356
|
-
# `
|
1357
|
-
# "
|
1358
|
-
# `
|
1359
|
-
# "
|
1360
|
-
#
|
1361
|
-
#
|
1362
|
-
#
|
1363
|
-
#
|
1364
|
-
#
|
1365
|
-
#
|
1366
|
-
#
|
1367
|
-
#
|
1368
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1369
|
-
# "members": [
|
1370
|
-
# "user:eve@example.com"
|
1371
|
-
# ],
|
1372
|
-
# "condition": `
|
1373
|
-
# "title": "expirable access",
|
1374
|
-
# "description": "Does not grant access after Sep 2020",
|
1375
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1376
|
-
# ",
|
1377
|
-
# `
|
1378
|
-
# `
|
1379
|
-
# ],
|
1380
|
-
# "etag": "BwWWja0YfJA=",
|
1381
|
-
# "version": 3
|
1382
|
-
# `
|
1383
|
-
# **YAML example:**
|
1384
|
-
# bindings:
|
1385
|
-
# - members:
|
1386
|
-
# - user:mike@example.com
|
1387
|
-
# - group:admins@example.com
|
1388
|
-
# - domain:google.com
|
1389
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1390
|
-
# role: roles/resourcemanager.organizationAdmin
|
1391
|
-
# - members:
|
1392
|
-
# - user:eve@example.com
|
1393
|
-
# role: roles/resourcemanager.organizationViewer
|
1394
|
-
# condition:
|
1395
|
-
# title: expirable access
|
1396
|
-
# description: Does not grant access after Sep 2020
|
1397
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1398
|
-
# - etag: BwWWja0YfJA=
|
1399
|
-
# - version: 3
|
1400
|
-
# For a description of IAM and its features, see the
|
1401
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1146
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1147
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1148
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1149
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1150
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1151
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1152
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1153
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1154
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1155
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1156
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1157
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1158
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1159
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1160
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1161
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1162
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1163
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1164
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1165
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1166
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1167
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1168
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1169
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1170
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1171
|
+
# google.com/iam/docs/).
|
1402
1172
|
class Policy
|
1403
1173
|
include Google::Apis::Core::Hashable
|
1404
1174
|
|
@@ -1407,48 +1177,44 @@ module Google
|
|
1407
1177
|
# @return [Array<Google::Apis::CloudassetV1p5beta1::AuditConfig>]
|
1408
1178
|
attr_accessor :audit_configs
|
1409
1179
|
|
1410
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1411
|
-
#
|
1412
|
-
#
|
1180
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
1181
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
1182
|
+
# the `bindings` must contain at least one member.
|
1413
1183
|
# Corresponds to the JSON property `bindings`
|
1414
1184
|
# @return [Array<Google::Apis::CloudassetV1p5beta1::Binding>]
|
1415
1185
|
attr_accessor :bindings
|
1416
1186
|
|
1417
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1418
|
-
#
|
1419
|
-
#
|
1420
|
-
#
|
1421
|
-
#
|
1422
|
-
#
|
1423
|
-
#
|
1424
|
-
#
|
1425
|
-
#
|
1426
|
-
#
|
1427
|
-
#
|
1187
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1188
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
1189
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1190
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1191
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1192
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1193
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
1194
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1195
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1196
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1197
|
+
# are lost.
|
1428
1198
|
# Corresponds to the JSON property `etag`
|
1429
1199
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1430
1200
|
# @return [String]
|
1431
1201
|
attr_accessor :etag
|
1432
1202
|
|
1433
|
-
# Specifies the format of the policy.
|
1434
|
-
#
|
1435
|
-
#
|
1436
|
-
#
|
1437
|
-
#
|
1438
|
-
#
|
1439
|
-
#
|
1440
|
-
#
|
1441
|
-
#
|
1442
|
-
#
|
1443
|
-
#
|
1444
|
-
#
|
1445
|
-
#
|
1446
|
-
#
|
1447
|
-
#
|
1448
|
-
# specify any valid version or leave the field unset.
|
1449
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1450
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1451
|
-
# policies).
|
1203
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1204
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
1205
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
1206
|
+
# applies to the following operations: * Getting a policy that includes a
|
1207
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
1208
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
1209
|
+
# with or without a condition, from a policy that includes conditions **
|
1210
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1211
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1212
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1213
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
1214
|
+
# any conditions, operations on that policy may specify any valid version or
|
1215
|
+
# leave the field unset. To learn which resources support conditions in their
|
1216
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1217
|
+
# conditions/resource-policies).
|
1452
1218
|
# Corresponds to the JSON property `version`
|
1453
1219
|
# @return [Fixnum]
|
1454
1220
|
attr_accessor :version
|
@@ -1470,47 +1236,42 @@ module Google
|
|
1470
1236
|
class Resource
|
1471
1237
|
include Google::Apis::Core::Hashable
|
1472
1238
|
|
1473
|
-
# The content of the resource, in which some sensitive fields are removed
|
1474
|
-
#
|
1239
|
+
# The content of the resource, in which some sensitive fields are removed and
|
1240
|
+
# may not be present.
|
1475
1241
|
# Corresponds to the JSON property `data`
|
1476
1242
|
# @return [Hash<String,Object>]
|
1477
1243
|
attr_accessor :data
|
1478
1244
|
|
1479
1245
|
# The URL of the discovery document containing the resource's JSON schema.
|
1480
|
-
# Example:
|
1481
|
-
#
|
1482
|
-
# This value is unspecified for resources that do not have an API based on a
|
1246
|
+
# Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
|
1247
|
+
# value is unspecified for resources that do not have an API based on a
|
1483
1248
|
# discovery document, such as Cloud Bigtable.
|
1484
1249
|
# Corresponds to the JSON property `discoveryDocumentUri`
|
1485
1250
|
# @return [String]
|
1486
1251
|
attr_accessor :discovery_document_uri
|
1487
1252
|
|
1488
|
-
# The JSON schema name listed in the discovery document. Example:
|
1489
|
-
#
|
1490
|
-
# This value is unspecified for resources that do not have an API based on a
|
1253
|
+
# The JSON schema name listed in the discovery document. Example: `Project` This
|
1254
|
+
# value is unspecified for resources that do not have an API based on a
|
1491
1255
|
# discovery document, such as Cloud Bigtable.
|
1492
1256
|
# Corresponds to the JSON property `discoveryName`
|
1493
1257
|
# @return [String]
|
1494
1258
|
attr_accessor :discovery_name
|
1495
1259
|
|
1496
|
-
# The full name of the immediate parent of this resource. See
|
1497
|
-
#
|
1498
|
-
#
|
1499
|
-
#
|
1500
|
-
#
|
1501
|
-
#
|
1502
|
-
#
|
1503
|
-
# Example:
|
1504
|
-
# `//cloudresourcemanager.googleapis.com/projects/my_project_123`
|
1505
|
-
# For third-party assets, this field may be set differently.
|
1260
|
+
# The full name of the immediate parent of this resource. See [Resource Names](
|
1261
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name) for
|
1262
|
+
# more information. For Google Cloud assets, this value is the parent resource
|
1263
|
+
# defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
|
1264
|
+
# overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
|
1265
|
+
# projects/my_project_123` For third-party assets, this field may be set
|
1266
|
+
# differently.
|
1506
1267
|
# Corresponds to the JSON property `parent`
|
1507
1268
|
# @return [String]
|
1508
1269
|
attr_accessor :parent
|
1509
1270
|
|
1510
|
-
# The REST URL for accessing the resource. An HTTP `GET` request using this
|
1511
|
-
#
|
1512
|
-
#
|
1513
|
-
#
|
1271
|
+
# The REST URL for accessing the resource. An HTTP `GET` request using this URL
|
1272
|
+
# returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
|
1273
|
+
# com/v1/projects/my-project-123` This value is unspecified for resources
|
1274
|
+
# without a REST API.
|
1514
1275
|
# Corresponds to the JSON property `resourceUrl`
|
1515
1276
|
# @return [String]
|
1516
1277
|
attr_accessor :resource_url
|