google-api-client 0.42.2 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +535 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +59 -83
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
- data/generated/google/apis/admin_directory_v1/service.rb +535 -998
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -270
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +183 -242
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
- data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +6 -8
- data/generated/google/apis/apigee_v1/classes.rb +1123 -1214
- data/generated/google/apis/apigee_v1/representations.rb +139 -0
- data/generated/google/apis/apigee_v1/service.rb +1018 -1151
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +381 -553
- data/generated/google/apis/bigquery_v2/representations.rb +16 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +107 -118
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +11 -9
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +91 -116
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +382 -365
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +883 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +765 -1036
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +131 -156
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -718
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +977 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +388 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -58
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -23
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1021 -137
- data/generated/google/apis/compute_alpha/representations.rb +208 -4
- data/generated/google/apis/compute_alpha/service.rb +710 -699
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +607 -82
- data/generated/google/apis/compute_beta/representations.rb +114 -1
- data/generated/google/apis/compute_beta/service.rb +623 -612
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1014 -99
- data/generated/google/apis/compute_v1/representations.rb +390 -15
- data/generated/google/apis/compute_v1/service.rb +809 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +996 -965
- data/generated/google/apis/container_v1/representations.rb +75 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +14 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +116 -5
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -492
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1150 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
- data/generated/google/apis/datafusion_v1/representations.rb +395 -0
- data/generated/google/apis/datafusion_v1/service.rb +667 -0
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +250 -328
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +274 -323
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1318 -1613
- data/generated/google/apis/dialogflow_v2/representations.rb +53 -15
- data/generated/google/apis/dialogflow_v2/service.rb +324 -448
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1396 -1705
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +53 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -996
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8210 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3461 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +158 -7
- data/generated/google/apis/displayvideo_v1/representations.rb +41 -0
- data/generated/google/apis/displayvideo_v1/service.rb +147 -31
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +17 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +23 -7
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +325 -375
- data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +530 -149
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -77
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +172 -210
- data/generated/google/apis/fitness_v1/service.rb +125 -146
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +207 -266
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +635 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -844
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +887 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +60 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1149 -1109
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +431 -556
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +956 -1144
- data/generated/google/apis/ml_v1/representations.rb +65 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +119 -37
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +260 -339
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -181
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +258 -14
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +59 -47
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +148 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +517 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsublite_v1.rb +34 -0
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +14 -13
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +38 -2
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +148 -146
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +517 -49
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1124 -1788
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +116 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +526 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1078 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +67 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2156
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +438 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +106 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +22 -23
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +189 -285
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +672 -931
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +122 -78
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +122 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -138
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -138
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +71 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -73
- data/generated/google/apis/workflows_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +904 -1594
- data/generated/google/apis/youtube_v3/representations.rb +0 -214
- data/generated/google/apis/youtube_v3/service.rb +971 -1397
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +98 -36
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/asset-inventory/docs/quickstart
|
26
26
|
module CloudassetV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200911'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,15 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudassetV1
|
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::CloudassetV1::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::CloudassetV1::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::CloudassetV1::GoogleCloudOrgpolicyV1Policy>]
|
155
112
|
attr_accessor :org_policy
|
@@ -160,21 +117,20 @@ 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::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
|
174
130
|
attr_accessor :service_perimeter
|
175
131
|
|
176
|
-
# The last update timestamp of an asset. update_time is updated when
|
177
|
-
#
|
132
|
+
# The last update timestamp of an asset. update_time is updated when create/
|
133
|
+
# update/delete operation is performed.
|
178
134
|
# Corresponds to the JSON property `updateTime`
|
179
135
|
# @return [String]
|
180
136
|
attr_accessor :update_time
|
@@ -198,53 +154,21 @@ module Google
|
|
198
154
|
end
|
199
155
|
end
|
200
156
|
|
201
|
-
# Specifies the audit configuration for a service.
|
202
|
-
#
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
#
|
210
|
-
# `
|
211
|
-
# "
|
212
|
-
# `
|
213
|
-
#
|
214
|
-
#
|
215
|
-
#
|
216
|
-
# "log_type": "DATA_READ",
|
217
|
-
# "exempted_members": [
|
218
|
-
# "user:jose@example.com"
|
219
|
-
# ]
|
220
|
-
# `,
|
221
|
-
# `
|
222
|
-
# "log_type": "DATA_WRITE"
|
223
|
-
# `,
|
224
|
-
# `
|
225
|
-
# "log_type": "ADMIN_READ"
|
226
|
-
# `
|
227
|
-
# ]
|
228
|
-
# `,
|
229
|
-
# `
|
230
|
-
# "service": "sampleservice.googleapis.com",
|
231
|
-
# "audit_log_configs": [
|
232
|
-
# `
|
233
|
-
# "log_type": "DATA_READ"
|
234
|
-
# `,
|
235
|
-
# `
|
236
|
-
# "log_type": "DATA_WRITE",
|
237
|
-
# "exempted_members": [
|
238
|
-
# "user:aliya@example.com"
|
239
|
-
# ]
|
240
|
-
# `
|
241
|
-
# ]
|
242
|
-
# `
|
243
|
-
# ]
|
244
|
-
# `
|
245
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
246
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
247
|
-
# aliya@example.com from DATA_WRITE logging.
|
157
|
+
# Specifies the audit configuration for a service. The configuration determines
|
158
|
+
# which permission types are logged, and what identities, if any, are exempted
|
159
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
160
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
161
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
162
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
163
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
164
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
165
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
166
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
167
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
168
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
169
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
170
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
171
|
+
# DATA_WRITE logging.
|
248
172
|
class AuditConfig
|
249
173
|
include Google::Apis::Core::Hashable
|
250
174
|
|
@@ -253,9 +177,9 @@ module Google
|
|
253
177
|
# @return [Array<Google::Apis::CloudassetV1::AuditLogConfig>]
|
254
178
|
attr_accessor :audit_log_configs
|
255
179
|
|
256
|
-
# Specifies a service that will be enabled for audit logging.
|
257
|
-
#
|
258
|
-
#
|
180
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
181
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
182
|
+
# value that covers all services.
|
259
183
|
# Corresponds to the JSON property `service`
|
260
184
|
# @return [String]
|
261
185
|
attr_accessor :service
|
@@ -271,28 +195,15 @@ module Google
|
|
271
195
|
end
|
272
196
|
end
|
273
197
|
|
274
|
-
# Provides the configuration for logging a type of permissions.
|
275
|
-
#
|
276
|
-
# `
|
277
|
-
#
|
278
|
-
#
|
279
|
-
# "log_type": "DATA_READ",
|
280
|
-
# "exempted_members": [
|
281
|
-
# "user:jose@example.com"
|
282
|
-
# ]
|
283
|
-
# `,
|
284
|
-
# `
|
285
|
-
# "log_type": "DATA_WRITE"
|
286
|
-
# `
|
287
|
-
# ]
|
288
|
-
# `
|
289
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
290
|
-
# jose@example.com from DATA_READ logging.
|
198
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
199
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
200
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
201
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
202
|
+
# DATA_READ logging.
|
291
203
|
class AuditLogConfig
|
292
204
|
include Google::Apis::Core::Hashable
|
293
205
|
|
294
|
-
# Specifies the identities that do not cause logging for this type of
|
295
|
-
# permission.
|
206
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
296
207
|
# Follows the same format of Binding.members.
|
297
208
|
# Corresponds to the JSON property `exemptedMembers`
|
298
209
|
# @return [Array<String>]
|
@@ -337,26 +248,55 @@ module Google
|
|
337
248
|
class BigQueryDestination
|
338
249
|
include Google::Apis::Core::Hashable
|
339
250
|
|
340
|
-
# Required. The BigQuery dataset in format
|
341
|
-
#
|
342
|
-
#
|
343
|
-
# an INVALID_ARGUMENT error.
|
251
|
+
# Required. The BigQuery dataset in format "projects/projectId/datasets/
|
252
|
+
# datasetId", to which the snapshot result should be exported. If this dataset
|
253
|
+
# does not exist, the export call returns an INVALID_ARGUMENT error.
|
344
254
|
# Corresponds to the JSON property `dataset`
|
345
255
|
# @return [String]
|
346
256
|
attr_accessor :dataset
|
347
257
|
|
348
|
-
# If the destination table already exists and this flag is `TRUE`, the
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
258
|
+
# If the destination table already exists and this flag is `TRUE`, the table
|
259
|
+
# will be overwritten by the contents of assets snapshot. If the flag is `FALSE`
|
260
|
+
# or unset and the destination table already exists, the export call returns an
|
261
|
+
# INVALID_ARGUMEMT error.
|
352
262
|
# Corresponds to the JSON property `force`
|
353
263
|
# @return [Boolean]
|
354
264
|
attr_accessor :force
|
355
265
|
alias_method :force?, :force
|
356
266
|
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
267
|
+
# Specifications of BigQuery partitioned table as export destination.
|
268
|
+
# Corresponds to the JSON property `partitionSpec`
|
269
|
+
# @return [Google::Apis::CloudassetV1::PartitionSpec]
|
270
|
+
attr_accessor :partition_spec
|
271
|
+
|
272
|
+
# If this flag is `TRUE`, the snapshot results will be written to one or
|
273
|
+
# multiple tables, each of which contains results of one asset type. The [force]
|
274
|
+
# and [partition_spec] fields will apply to each of them. Field [table] will be
|
275
|
+
# concatenated with "_" and the asset type names (see https://cloud.google.com/
|
276
|
+
# asset-inventory/docs/supported-asset-types for supported asset types) to
|
277
|
+
# construct per-asset-type table names, in which all non-alphanumeric characters
|
278
|
+
# like "." and "/" will be substituted by "_". Example: if field [table] is "
|
279
|
+
# mytable" and snapshot results contain "storage.googleapis.com/Bucket" assets,
|
280
|
+
# the corresponding table name will be "mytable_storage_googleapis_com_Bucket".
|
281
|
+
# If any of these tables does not exist, a new table with the concatenated name
|
282
|
+
# will be created. When [content_type] in the ExportAssetsRequest is `RESOURCE`,
|
283
|
+
# the schema of each table will include RECORD-type columns mapped to the nested
|
284
|
+
# fields in the Asset.resource.data field of that asset type (up to the 15
|
285
|
+
# nested level BigQuery supports (https://cloud.google.com/bigquery/docs/nested-
|
286
|
+
# repeated#limitations)). The fields in >15 nested levels will be stored in JSON
|
287
|
+
# format string as a child column of its parent RECORD column. If error occurs
|
288
|
+
# when exporting to any table, the whole export call will return an error but
|
289
|
+
# the export results that already succeed will persist. Example: if exporting to
|
290
|
+
# table_type_A succeeds when exporting to table_type_B fails during one export
|
291
|
+
# call, the results in table_type_A will persist and there will not be partial
|
292
|
+
# results persisting in a table.
|
293
|
+
# Corresponds to the JSON property `separateTablesPerAssetType`
|
294
|
+
# @return [Boolean]
|
295
|
+
attr_accessor :separate_tables_per_asset_type
|
296
|
+
alias_method :separate_tables_per_asset_type?, :separate_tables_per_asset_type
|
297
|
+
|
298
|
+
# Required. The BigQuery table to which the snapshot result should be written.
|
299
|
+
# If this table does not exist, a new table with the given name will be created.
|
360
300
|
# Corresponds to the JSON property `table`
|
361
301
|
# @return [String]
|
362
302
|
attr_accessor :table
|
@@ -369,6 +309,8 @@ module Google
|
|
369
309
|
def update!(**args)
|
370
310
|
@dataset = args[:dataset] if args.key?(:dataset)
|
371
311
|
@force = args[:force] if args.key?(:force)
|
312
|
+
@partition_spec = args[:partition_spec] if args.key?(:partition_spec)
|
313
|
+
@separate_tables_per_asset_type = args[:separate_tables_per_asset_type] if args.key?(:separate_tables_per_asset_type)
|
372
314
|
@table = args[:table] if args.key?(:table)
|
373
315
|
end
|
374
316
|
end
|
@@ -377,69 +319,57 @@ module Google
|
|
377
319
|
class Binding
|
378
320
|
include Google::Apis::Core::Hashable
|
379
321
|
|
380
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
# description: "Determines if
|
386
|
-
# expression: "document.
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
395
|
-
# Example (Data Manipulation):
|
396
|
-
# title: "Notification string"
|
397
|
-
# description: "Create a notification string with a timestamp."
|
398
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
399
|
-
# The exact variables and functions that may be referenced within an expression
|
400
|
-
# are determined by the service that evaluates it. See the service
|
401
|
-
# documentation for additional information.
|
322
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
323
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
324
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
325
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
326
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
327
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
328
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
329
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
330
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
331
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
332
|
+
# string" description: "Create a notification string with a timestamp."
|
333
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
334
|
+
# exact variables and functions that may be referenced within an expression are
|
335
|
+
# determined by the service that evaluates it. See the service documentation for
|
336
|
+
# additional information.
|
402
337
|
# Corresponds to the JSON property `condition`
|
403
338
|
# @return [Google::Apis::CloudassetV1::Expr]
|
404
339
|
attr_accessor :condition
|
405
340
|
|
406
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
407
|
-
#
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
412
|
-
# * `
|
413
|
-
# account. For example, `
|
414
|
-
# * `
|
415
|
-
#
|
416
|
-
#
|
417
|
-
# For example, `
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
# deleted
|
426
|
-
#
|
427
|
-
# If the
|
428
|
-
# `
|
429
|
-
# role in the binding.
|
430
|
-
#
|
431
|
-
#
|
432
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
433
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
434
|
-
# recovered group retains the role in the binding.
|
435
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
436
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
341
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
342
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
343
|
+
# that represents anyone who is on the internet; with or without a Google
|
344
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
345
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
346
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
347
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
348
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
349
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
350
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
351
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
352
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
353
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
354
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
355
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
356
|
+
# identifier) representing a service account that has been recently deleted. For
|
357
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
358
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
359
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
360
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
361
|
+
# identifier) representing a Google group that has been recently deleted. For
|
362
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
363
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
364
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
365
|
+
# primary) that represents all the users of that domain. For example, `google.
|
366
|
+
# com` or `example.com`.
|
437
367
|
# Corresponds to the JSON property `members`
|
438
368
|
# @return [Array<String>]
|
439
369
|
attr_accessor :members
|
440
370
|
|
441
|
-
# Role that is assigned to `members`.
|
442
|
-
#
|
371
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
372
|
+
# , or `roles/owner`.
|
443
373
|
# Corresponds to the JSON property `role`
|
444
374
|
# @return [String]
|
445
375
|
attr_accessor :role
|
@@ -460,17 +390,16 @@ module Google
|
|
460
390
|
class CreateFeedRequest
|
461
391
|
include Google::Apis::Core::Hashable
|
462
392
|
|
463
|
-
# An asset feed used to export asset updates to a destinations.
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
467
|
-
# Pub/Sub topics.
|
393
|
+
# An asset feed used to export asset updates to a destinations. An asset feed
|
394
|
+
# filter controls what updates are exported. The asset feed must be created
|
395
|
+
# within a project, organization, or folder. Supported destinations are: Pub/Sub
|
396
|
+
# topics.
|
468
397
|
# Corresponds to the JSON property `feed`
|
469
398
|
# @return [Google::Apis::CloudassetV1::Feed]
|
470
399
|
attr_accessor :feed
|
471
400
|
|
472
|
-
# Required. This is the client-assigned asset feed identifier and it needs to
|
473
|
-
#
|
401
|
+
# Required. This is the client-assigned asset feed identifier and it needs to be
|
402
|
+
# unique under a specific parent project/folder/organization.
|
474
403
|
# Corresponds to the JSON property `feedId`
|
475
404
|
# @return [String]
|
476
405
|
attr_accessor :feed_id
|
@@ -486,13 +415,11 @@ module Google
|
|
486
415
|
end
|
487
416
|
end
|
488
417
|
|
489
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
# `
|
495
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
418
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
419
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
420
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
421
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
422
|
+
# `Empty` is empty JSON object ````.
|
496
423
|
class Empty
|
497
424
|
include Google::Apis::Core::Hashable
|
498
425
|
|
@@ -509,13 +436,13 @@ module Google
|
|
509
436
|
class Explanation
|
510
437
|
include Google::Apis::Core::Hashable
|
511
438
|
|
512
|
-
# The map from roles to their included permissions that match the
|
513
|
-
#
|
514
|
-
#
|
515
|
-
#
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
439
|
+
# The map from roles to their included permissions that match the permission
|
440
|
+
# query (i.e., a query containing `policy.role.permissions:`). Example: if query
|
441
|
+
# `policy.role.permissions:compute.disk.get` matches a policy binding that
|
442
|
+
# contains owner role, the matched_permissions will be ``"roles/owner": ["
|
443
|
+
# compute.disk.get"]``. The roles can also be found in the returned `policy`
|
444
|
+
# bindings. Note that the map is populated only for requests with permission
|
445
|
+
# queries.
|
519
446
|
# Corresponds to the JSON property `matchedPermissions`
|
520
447
|
# @return [Hash<String,Google::Apis::CloudassetV1::Permissions>]
|
521
448
|
attr_accessor :matched_permissions
|
@@ -534,20 +461,17 @@ module Google
|
|
534
461
|
class ExportAssetsRequest
|
535
462
|
include Google::Apis::Core::Hashable
|
536
463
|
|
537
|
-
# A list of asset types to take a snapshot for. For example:
|
538
|
-
#
|
539
|
-
#
|
540
|
-
# * "
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
#
|
547
|
-
#
|
548
|
-
# snapshot all asset types. See [Introduction to Cloud Asset
|
549
|
-
# Inventory](https://cloud.google.com/asset-inventory/docs/overview)
|
550
|
-
# for all supported asset types.
|
464
|
+
# A list of asset types to take a snapshot for. For example: "compute.googleapis.
|
465
|
+
# com/Disk". Regular expressions are also supported. For example: * "compute.
|
466
|
+
# googleapis.com.*" snapshots resources whose asset type starts with "compute.
|
467
|
+
# googleapis.com". * ".*Instance" snapshots resources whose asset type ends with
|
468
|
+
# "Instance". * ".*Instance.*" snapshots resources whose asset type contains "
|
469
|
+
# Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all
|
470
|
+
# supported regular expression syntax. If the regular expression does not match
|
471
|
+
# any supported asset type, an INVALID_ARGUMENT error will be returned. If
|
472
|
+
# specified, only matching assets will be returned, otherwise, it will snapshot
|
473
|
+
# all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.
|
474
|
+
# google.com/asset-inventory/docs/overview) for all supported asset types.
|
551
475
|
# Corresponds to the JSON property `assetTypes`
|
552
476
|
# @return [Array<String>]
|
553
477
|
attr_accessor :asset_types
|
@@ -564,10 +488,10 @@ module Google
|
|
564
488
|
attr_accessor :output_config
|
565
489
|
|
566
490
|
# Timestamp to take an asset snapshot. This can only be set to a timestamp
|
567
|
-
# between the current time and the current time minus 35 days (inclusive).
|
568
|
-
#
|
569
|
-
#
|
570
|
-
#
|
491
|
+
# between the current time and the current time minus 35 days (inclusive). If
|
492
|
+
# not specified, the current time will be used. Due to delays in resource data
|
493
|
+
# collection and indexing, there is a volatile window during which running the
|
494
|
+
# same query may get different results.
|
571
495
|
# Corresponds to the JSON property `readTime`
|
572
496
|
# @return [String]
|
573
497
|
attr_accessor :read_time
|
@@ -585,52 +509,43 @@ module Google
|
|
585
509
|
end
|
586
510
|
end
|
587
511
|
|
588
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
# description: "Determines if
|
594
|
-
# expression: "document.
|
595
|
-
#
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
# Example (Data Manipulation):
|
604
|
-
# title: "Notification string"
|
605
|
-
# description: "Create a notification string with a timestamp."
|
606
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
607
|
-
# The exact variables and functions that may be referenced within an expression
|
608
|
-
# are determined by the service that evaluates it. See the service
|
609
|
-
# documentation for additional information.
|
512
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
513
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
514
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
515
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
516
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
517
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
518
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
519
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
520
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
521
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
522
|
+
# string" description: "Create a notification string with a timestamp."
|
523
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
524
|
+
# exact variables and functions that may be referenced within an expression are
|
525
|
+
# determined by the service that evaluates it. See the service documentation for
|
526
|
+
# additional information.
|
610
527
|
class Expr
|
611
528
|
include Google::Apis::Core::Hashable
|
612
529
|
|
613
|
-
# Optional. Description of the expression. This is a longer text which
|
614
|
-
#
|
530
|
+
# Optional. Description of the expression. This is a longer text which describes
|
531
|
+
# the expression, e.g. when hovered over it in a UI.
|
615
532
|
# Corresponds to the JSON property `description`
|
616
533
|
# @return [String]
|
617
534
|
attr_accessor :description
|
618
535
|
|
619
|
-
# Textual representation of an expression in Common Expression Language
|
620
|
-
# syntax.
|
536
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
621
537
|
# Corresponds to the JSON property `expression`
|
622
538
|
# @return [String]
|
623
539
|
attr_accessor :expression
|
624
540
|
|
625
|
-
# Optional. String indicating the location of the expression for error
|
626
|
-
#
|
541
|
+
# Optional. String indicating the location of the expression for error reporting,
|
542
|
+
# e.g. a file name and a position in the file.
|
627
543
|
# Corresponds to the JSON property `location`
|
628
544
|
# @return [String]
|
629
545
|
attr_accessor :location
|
630
546
|
|
631
|
-
# Optional. Title for the expression, i.e. a short string describing
|
632
|
-
#
|
633
|
-
# expression.
|
547
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
548
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
634
549
|
# Corresponds to the JSON property `title`
|
635
550
|
# @return [String]
|
636
551
|
attr_accessor :title
|
@@ -648,66 +563,53 @@ module Google
|
|
648
563
|
end
|
649
564
|
end
|
650
565
|
|
651
|
-
# An asset feed used to export asset updates to a destinations.
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
# Pub/Sub topics.
|
566
|
+
# An asset feed used to export asset updates to a destinations. An asset feed
|
567
|
+
# filter controls what updates are exported. The asset feed must be created
|
568
|
+
# within a project, organization, or folder. Supported destinations are: Pub/Sub
|
569
|
+
# topics.
|
656
570
|
class Feed
|
657
571
|
include Google::Apis::Core::Hashable
|
658
572
|
|
659
573
|
# A list of the full names of the assets to receive updates. You must specify
|
660
574
|
# either or both of asset_names and asset_types. Only asset updates matching
|
661
|
-
# specified asset_names or asset_types are exported to the feed.
|
662
|
-
#
|
663
|
-
#
|
664
|
-
#
|
665
|
-
# See [Resource
|
666
|
-
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
667
|
-
# for more info.
|
575
|
+
# specified asset_names or asset_types are exported to the feed. Example: `//
|
576
|
+
# compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
|
577
|
+
# . See [Resource Names](https://cloud.google.com/apis/design/resource_names#
|
578
|
+
# full_resource_name) for more info.
|
668
579
|
# Corresponds to the JSON property `assetNames`
|
669
580
|
# @return [Array<String>]
|
670
581
|
attr_accessor :asset_names
|
671
582
|
|
672
|
-
# A list of types of the assets to receive updates. You must specify either
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
676
|
-
#
|
677
|
-
# topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
678
|
-
# for a list of all supported asset types.
|
583
|
+
# A list of types of the assets to receive updates. You must specify either or
|
584
|
+
# both of asset_names and asset_types. Only asset updates matching specified
|
585
|
+
# asset_names or asset_types are exported to the feed. Example: `"compute.
|
586
|
+
# googleapis.com/Disk"` See [this topic](https://cloud.google.com/asset-
|
587
|
+
# inventory/docs/supported-asset-types) for a list of all supported asset types.
|
679
588
|
# Corresponds to the JSON property `assetTypes`
|
680
589
|
# @return [Array<String>]
|
681
590
|
attr_accessor :asset_types
|
682
591
|
|
683
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
684
|
-
#
|
685
|
-
#
|
686
|
-
#
|
687
|
-
#
|
688
|
-
# description: "Determines if
|
689
|
-
# expression: "document.
|
690
|
-
#
|
691
|
-
#
|
692
|
-
#
|
693
|
-
#
|
694
|
-
#
|
695
|
-
#
|
696
|
-
#
|
697
|
-
#
|
698
|
-
# Example (Data Manipulation):
|
699
|
-
# title: "Notification string"
|
700
|
-
# description: "Create a notification string with a timestamp."
|
701
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
702
|
-
# The exact variables and functions that may be referenced within an expression
|
703
|
-
# are determined by the service that evaluates it. See the service
|
704
|
-
# documentation for additional information.
|
592
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
593
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
594
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
595
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
596
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
597
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
598
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
599
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
600
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
601
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
602
|
+
# string" description: "Create a notification string with a timestamp."
|
603
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
604
|
+
# exact variables and functions that may be referenced within an expression are
|
605
|
+
# determined by the service that evaluates it. See the service documentation for
|
606
|
+
# additional information.
|
705
607
|
# Corresponds to the JSON property `condition`
|
706
608
|
# @return [Google::Apis::CloudassetV1::Expr]
|
707
609
|
attr_accessor :condition
|
708
610
|
|
709
|
-
# Asset content type. If not specified, no content but the asset name and
|
710
|
-
#
|
611
|
+
# Asset content type. If not specified, no content but the asset name and type
|
612
|
+
# will be returned.
|
711
613
|
# Corresponds to the JSON property `contentType`
|
712
614
|
# @return [String]
|
713
615
|
attr_accessor :content_type
|
@@ -717,12 +619,11 @@ module Google
|
|
717
619
|
# @return [Google::Apis::CloudassetV1::FeedOutputConfig]
|
718
620
|
attr_accessor :feed_output_config
|
719
621
|
|
720
|
-
# Required. The format will be
|
721
|
-
#
|
722
|
-
#
|
723
|
-
#
|
724
|
-
#
|
725
|
-
# project/folder/organization.
|
622
|
+
# Required. The format will be projects/`project_number`/feeds/`client-
|
623
|
+
# assigned_feed_identifier` or folders/`folder_number`/feeds/`client-
|
624
|
+
# assigned_feed_identifier` or organizations/`organization_number`/feeds/`client-
|
625
|
+
# assigned_feed_identifier` The client-assigned feed identifier must be unique
|
626
|
+
# within the parent project/folder/organization.
|
726
627
|
# Corresponds to the JSON property `name`
|
727
628
|
# @return [String]
|
728
629
|
attr_accessor :name
|
@@ -765,24 +666,22 @@ module Google
|
|
765
666
|
class GcsDestination
|
766
667
|
include Google::Apis::Core::Hashable
|
767
668
|
|
768
|
-
# The uri of the Cloud Storage object. It's the same uri that is used by
|
769
|
-
#
|
770
|
-
#
|
771
|
-
#
|
772
|
-
# for more information.
|
669
|
+
# The uri of the Cloud Storage object. It's the same uri that is used by gsutil.
|
670
|
+
# Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
|
671
|
+
# Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for
|
672
|
+
# more information.
|
773
673
|
# Corresponds to the JSON property `uri`
|
774
674
|
# @return [String]
|
775
675
|
attr_accessor :uri
|
776
676
|
|
777
|
-
# The uri prefix of all generated Cloud Storage objects. Example:
|
778
|
-
#
|
779
|
-
#
|
780
|
-
#
|
781
|
-
#
|
782
|
-
#
|
783
|
-
#
|
784
|
-
#
|
785
|
-
# already exists.
|
677
|
+
# The uri prefix of all generated Cloud Storage objects. Example: "gs://
|
678
|
+
# bucket_name/object_name_prefix". Each object uri is in format: "gs://
|
679
|
+
# bucket_name/object_name_prefix// and only contains assets for that type.
|
680
|
+
# starts from 0. Example: "gs://bucket_name/object_name_prefix/compute.
|
681
|
+
# googleapis.com/Disk/0" is the first shard of output objects containing all
|
682
|
+
# compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned
|
683
|
+
# if file with the same name "gs://bucket_name/object_name_prefix" already
|
684
|
+
# exists.
|
786
685
|
# Corresponds to the JSON property `uriPrefix`
|
787
686
|
# @return [String]
|
788
687
|
attr_accessor :uri_prefix
|
@@ -803,45 +702,29 @@ module Google
|
|
803
702
|
class GoogleCloudOrgpolicyV1BooleanPolicy
|
804
703
|
include Google::Apis::Core::Hashable
|
805
704
|
|
806
|
-
# If `true`, then the `Policy` is enforced. If `false`, then any
|
807
|
-
#
|
808
|
-
#
|
809
|
-
# `
|
810
|
-
#
|
811
|
-
#
|
812
|
-
# - If the `Policy` at this
|
813
|
-
# port connection attempts will be allowed.
|
814
|
-
# - If
|
815
|
-
# port connection attempts will be
|
816
|
-
#
|
817
|
-
#
|
818
|
-
#
|
819
|
-
#
|
820
|
-
#
|
821
|
-
#
|
822
|
-
#
|
823
|
-
#
|
824
|
-
#
|
825
|
-
# `organizations/foo` has a `Policy` with:
|
826
|
-
# `
|
827
|
-
#
|
828
|
-
#
|
829
|
-
# enforced.
|
830
|
-
# Example 2 (enforcement gets replaced):
|
831
|
-
# `organizations/foo` has a `Policy` with:
|
832
|
-
# `enforced: false`
|
833
|
-
# `projects/bar` has a `Policy` with:
|
834
|
-
# `enforced: true`
|
835
|
-
# The constraint at `organizations/foo` is not enforced.
|
836
|
-
# The constraint at `projects/bar` is enforced.
|
837
|
-
# Example 3 (RestoreDefault):
|
838
|
-
# `organizations/foo` has a `Policy` with:
|
839
|
-
# `enforced: true`
|
840
|
-
# `projects/bar` has a `Policy` with:
|
841
|
-
# `RestoreDefault: ```
|
842
|
-
# The constraint at `organizations/foo` is enforced.
|
843
|
-
# The constraint at `projects/bar` is not enforced, because
|
844
|
-
# `constraint_default` for the `Constraint` is `ALLOW`.
|
705
|
+
# If `true`, then the `Policy` is enforced. If `false`, then any configuration
|
706
|
+
# is acceptable. Suppose you have a `Constraint` `constraints/compute.
|
707
|
+
# disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
|
708
|
+
# for that `Constraint` exhibits the following behavior: - If the `Policy` at
|
709
|
+
# this resource has enforced set to `false`, serial port connection attempts
|
710
|
+
# will be allowed. - If the `Policy` at this resource has enforced set to `true`,
|
711
|
+
# serial port connection attempts will be refused. - If the `Policy` at this
|
712
|
+
# resource is `RestoreDefault`, serial port connection attempts will be allowed.
|
713
|
+
# - If no `Policy` is set at this resource or anywhere higher in the resource
|
714
|
+
# hierarchy, serial port connection attempts will be allowed. - If no `Policy`
|
715
|
+
# is set at this resource, but one exists higher in the resource hierarchy, the
|
716
|
+
# behavior is as if the`Policy` were set at this resource. The following
|
717
|
+
# examples demonstrate the different possible layerings: Example 1 (nearest `
|
718
|
+
# Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
|
719
|
+
# projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
|
720
|
+
# organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
|
721
|
+
# `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
|
722
|
+
# a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
|
723
|
+
# enforced. The constraint at `projects/bar` is enforced. Example 3 (
|
724
|
+
# RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
|
725
|
+
# projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
|
726
|
+
# organizations/foo` is enforced. The constraint at `projects/bar` is not
|
727
|
+
# enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
|
845
728
|
# Corresponds to the JSON property `enforced`
|
846
729
|
# @return [Boolean]
|
847
730
|
attr_accessor :enforced
|
@@ -857,26 +740,22 @@ module Google
|
|
857
740
|
end
|
858
741
|
end
|
859
742
|
|
860
|
-
# Used in `policy_type` to specify how `list_policy` behaves at this
|
861
|
-
#
|
862
|
-
#
|
863
|
-
#
|
864
|
-
#
|
865
|
-
#
|
866
|
-
#
|
867
|
-
#
|
868
|
-
#
|
869
|
-
#
|
870
|
-
#
|
871
|
-
#
|
872
|
-
#
|
873
|
-
#
|
874
|
-
#
|
875
|
-
#
|
876
|
-
# `denied_values` in the same `Policy` if `all_values` is
|
877
|
-
# `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
878
|
-
# values. If `all_values` is set to either `ALLOW` or `DENY`,
|
879
|
-
# `allowed_values` and `denied_values` must be unset.
|
743
|
+
# Used in `policy_type` to specify how `list_policy` behaves at this resource. `
|
744
|
+
# ListPolicy` can define specific values and subtrees of Cloud Resource Manager
|
745
|
+
# resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
|
746
|
+
# or denied by setting the `allowed_values` and `denied_values` fields. This is
|
747
|
+
# achieved by using the `under:` and optional `is:` prefixes. The `under:`
|
748
|
+
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
749
|
+
# denote specific values, and is required only if the value contains a ":".
|
750
|
+
# Values prefixed with "is:" are treated the same as values with no prefix.
|
751
|
+
# Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
|
752
|
+
# "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
|
753
|
+
# e.g. "organizations/1234" The `supports_under` field of the associated `
|
754
|
+
# Constraint` defines whether ancestry prefixes can be used. You can set `
|
755
|
+
# allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
|
756
|
+
# ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
757
|
+
# values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
|
758
|
+
# and `denied_values` must be unset.
|
880
759
|
class GoogleCloudOrgpolicyV1ListPolicy
|
881
760
|
include Google::Apis::Core::Hashable
|
882
761
|
|
@@ -885,112 +764,83 @@ module Google
|
|
885
764
|
# @return [String]
|
886
765
|
attr_accessor :all_values
|
887
766
|
|
888
|
-
# List of values allowed
|
889
|
-
#
|
767
|
+
# List of values allowed at this resource. Can only be set if `all_values` is
|
768
|
+
# set to `ALL_VALUES_UNSPECIFIED`.
|
890
769
|
# Corresponds to the JSON property `allowedValues`
|
891
770
|
# @return [Array<String>]
|
892
771
|
attr_accessor :allowed_values
|
893
772
|
|
894
|
-
# List of values denied at this resource. Can only be set if `all_values`
|
895
|
-
#
|
773
|
+
# List of values denied at this resource. Can only be set if `all_values` is set
|
774
|
+
# to `ALL_VALUES_UNSPECIFIED`.
|
896
775
|
# Corresponds to the JSON property `deniedValues`
|
897
776
|
# @return [Array<String>]
|
898
777
|
attr_accessor :denied_values
|
899
778
|
|
900
|
-
# Determines the inheritance behavior for this `Policy`.
|
901
|
-
#
|
902
|
-
#
|
903
|
-
#
|
904
|
-
#
|
905
|
-
#
|
906
|
-
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
912
|
-
#
|
913
|
-
#
|
914
|
-
#
|
915
|
-
#
|
916
|
-
#
|
917
|
-
#
|
918
|
-
# `
|
919
|
-
#
|
920
|
-
#
|
921
|
-
# `
|
922
|
-
#
|
923
|
-
# `organizations/foo` has a `Policy`
|
924
|
-
# `allowed_values: "E1" allowed_values:"E2"`
|
925
|
-
# `
|
926
|
-
# `
|
927
|
-
#
|
928
|
-
#
|
929
|
-
#
|
930
|
-
# `organizations/foo`
|
931
|
-
# `
|
932
|
-
#
|
933
|
-
#
|
934
|
-
# The accepted values at `organizations/foo` are `E1`, `E2`.
|
935
|
-
# The accepted values at `projects/bar` are
|
936
|
-
#
|
937
|
-
# `organizations/foo` has
|
938
|
-
# `
|
939
|
-
#
|
940
|
-
# `
|
941
|
-
#
|
942
|
-
#
|
943
|
-
#
|
944
|
-
# `organizations/foo` has a `Policy`
|
945
|
-
# `allowed_values: "E1" allowed_values:"E2"`
|
946
|
-
# `
|
947
|
-
# `
|
948
|
-
#
|
949
|
-
#
|
950
|
-
#
|
951
|
-
# `
|
952
|
-
#
|
953
|
-
#
|
954
|
-
# `projects/bar`
|
955
|
-
#
|
956
|
-
# the value of `constraint_default` (if `ALLOW`, all; if
|
957
|
-
# `DENY`, none).
|
958
|
-
# Example 6 (ListConstraint allowing all):
|
959
|
-
# `organizations/foo` has a `Policy` with values:
|
960
|
-
# `allowed_values: "E1" allowed_values: "E2"`
|
961
|
-
# `projects/bar` has a `Policy` with:
|
962
|
-
# `all: ALLOW`
|
963
|
-
# The accepted values at `organizations/foo` are `E1`, E2`.
|
964
|
-
# Any value is accepted at `projects/bar`.
|
965
|
-
# Example 7 (ListConstraint allowing none):
|
966
|
-
# `organizations/foo` has a `Policy` with values:
|
967
|
-
# `allowed_values: "E1" allowed_values: "E2"`
|
968
|
-
# `projects/bar` has a `Policy` with:
|
969
|
-
# `all: DENY`
|
970
|
-
# The accepted values at `organizations/foo` are `E1`, E2`.
|
971
|
-
# No value is accepted at `projects/bar`.
|
972
|
-
# Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
|
973
|
-
# Given the following resource hierarchy
|
974
|
-
# O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
|
975
|
-
# `organizations/foo` has a `Policy` with values:
|
976
|
-
# `allowed_values: "under:organizations/O1"`
|
977
|
-
# `projects/bar` has a `Policy` with:
|
978
|
-
# `allowed_values: "under:projects/P3"`
|
979
|
-
# `denied_values: "under:folders/F2"`
|
980
|
-
# The accepted values at `organizations/foo` are `organizations/O1`,
|
981
|
-
# `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
|
982
|
-
# `projects/P3`.
|
983
|
-
# The accepted values at `projects/bar` are `organizations/O1`,
|
984
|
-
# `folders/F1`, `projects/P1`.
|
779
|
+
# Determines the inheritance behavior for this `Policy`. By default, a `
|
780
|
+
# ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
|
781
|
+
# resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
|
782
|
+
# the values from the effective `Policy` of the parent resource are inherited,
|
783
|
+
# meaning the values set in this `Policy` are added to the values inherited up
|
784
|
+
# the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
|
785
|
+
# and denied values isn't recommended in most circumstances to keep the
|
786
|
+
# configuration simple and understandable. However, it is possible to set a `
|
787
|
+
# Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
|
788
|
+
# set. In this case, the values that are allowed must be in `allowed_values`
|
789
|
+
# and not present in `denied_values`. For example, suppose you have a `
|
790
|
+
# Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
|
791
|
+
# of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
|
792
|
+
# that at the Organization level, a `Policy` is applied that restricts the
|
793
|
+
# allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
|
794
|
+
# project below the Organization that has `inherit_from_parent` set to `false`
|
795
|
+
# and field all_values set to DENY, then an attempt to activate any API will be
|
796
|
+
# denied. The following examples demonstrate different possible layerings for `
|
797
|
+
# projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
|
798
|
+
# `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
|
799
|
+
# allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
|
800
|
+
# values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
|
801
|
+
# organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
|
802
|
+
# E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
|
803
|
+
# with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
|
804
|
+
# Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
|
805
|
+
# accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
|
806
|
+
# projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
|
807
|
+
# allowed and denied values): `organizations/foo` has a `Policy` with values: `
|
808
|
+
# allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
|
809
|
+
# `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
|
810
|
+
# . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
|
811
|
+
# organizations/foo` has a `Policy` with values: `allowed_values: "E1"
|
812
|
+
# allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
|
813
|
+
# RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
|
814
|
+
# The accepted values at `projects/bar` are either all or none depending on the
|
815
|
+
# value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
|
816
|
+
# no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
|
817
|
+
# projects/bar` has no `Policy` set. The accepted values at both levels are
|
818
|
+
# either all or none depending on the value of `constraint_default` (if `ALLOW`,
|
819
|
+
# all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
|
820
|
+
# foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
|
821
|
+
# projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
|
822
|
+
# organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
|
823
|
+
# Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
|
824
|
+
# with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
|
825
|
+
# Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
|
826
|
+
# E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
|
827
|
+
# subtrees of Resource Manager hierarchy): Given the following resource
|
828
|
+
# hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
|
829
|
+
# Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
|
830
|
+
# has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
|
831
|
+
# under:folders/F2"` The accepted values at `organizations/foo` are `
|
832
|
+
# organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
|
833
|
+
# projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
|
834
|
+
# folders/F1`, `projects/P1`.
|
985
835
|
# Corresponds to the JSON property `inheritFromParent`
|
986
836
|
# @return [Boolean]
|
987
837
|
attr_accessor :inherit_from_parent
|
988
838
|
alias_method :inherit_from_parent?, :inherit_from_parent
|
989
839
|
|
990
|
-
# Optional. The Google Cloud Console will try to default to a configuration
|
991
|
-
#
|
992
|
-
#
|
993
|
-
#
|
840
|
+
# Optional. The Google Cloud Console will try to default to a configuration that
|
841
|
+
# matches the value specified in this `Policy`. If `suggested_value` is not set,
|
842
|
+
# it will inherit the value specified higher in the hierarchy, unless `
|
843
|
+
# inherit_from_parent` is `false`.
|
994
844
|
# Corresponds to the JSON property `suggestedValue`
|
995
845
|
# @return [String]
|
996
846
|
attr_accessor :suggested_value
|
@@ -1020,76 +870,65 @@ module Google
|
|
1020
870
|
# @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1BooleanPolicy]
|
1021
871
|
attr_accessor :boolean_policy
|
1022
872
|
|
1023
|
-
# The name of the `Constraint` the `Policy` is configuring, for example,
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
# constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
|
1027
|
-
# is available.
|
873
|
+
# The name of the `Constraint` the `Policy` is configuring, for example, `
|
874
|
+
# constraints/serviceuser.services`. A [list of available constraints](/resource-
|
875
|
+
# manager/docs/organization-policy/org-policy-constraints) is available.
|
1028
876
|
# Immutable after creation.
|
1029
877
|
# Corresponds to the JSON property `constraint`
|
1030
878
|
# @return [String]
|
1031
879
|
attr_accessor :constraint
|
1032
880
|
|
1033
881
|
# An opaque tag indicating the current version of the `Policy`, used for
|
1034
|
-
# concurrency control.
|
1035
|
-
#
|
1036
|
-
# `
|
1037
|
-
# `
|
1038
|
-
#
|
1039
|
-
# `
|
1040
|
-
#
|
1041
|
-
#
|
1042
|
-
# read-modify-write loop for concurrency control. Not setting the `etag`in a
|
1043
|
-
# `SetOrgPolicy` request will result in an unconditional write of the
|
1044
|
-
# `Policy`.
|
882
|
+
# concurrency control. When the `Policy` is returned from either a `GetPolicy`
|
883
|
+
# or a `ListOrgPolicy` request, this `etag` indicates the version of the current
|
884
|
+
# `Policy` to use when executing a read-modify-write loop. When the `Policy` is
|
885
|
+
# returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
|
886
|
+
# the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
|
887
|
+
# returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
|
888
|
+
# concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
|
889
|
+
# result in an unconditional write of the `Policy`.
|
1045
890
|
# Corresponds to the JSON property `etag`
|
1046
891
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1047
892
|
# @return [String]
|
1048
893
|
attr_accessor :etag
|
1049
894
|
|
1050
|
-
# Used in `policy_type` to specify how `list_policy` behaves at this
|
1051
|
-
#
|
1052
|
-
#
|
1053
|
-
#
|
1054
|
-
#
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
#
|
1060
|
-
#
|
1061
|
-
#
|
1062
|
-
#
|
1063
|
-
#
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
# `denied_values` in the same `Policy` if `all_values` is
|
1067
|
-
# `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
1068
|
-
# values. If `all_values` is set to either `ALLOW` or `DENY`,
|
1069
|
-
# `allowed_values` and `denied_values` must be unset.
|
895
|
+
# Used in `policy_type` to specify how `list_policy` behaves at this resource. `
|
896
|
+
# ListPolicy` can define specific values and subtrees of Cloud Resource Manager
|
897
|
+
# resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
|
898
|
+
# or denied by setting the `allowed_values` and `denied_values` fields. This is
|
899
|
+
# achieved by using the `under:` and optional `is:` prefixes. The `under:`
|
900
|
+
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
901
|
+
# denote specific values, and is required only if the value contains a ":".
|
902
|
+
# Values prefixed with "is:" are treated the same as values with no prefix.
|
903
|
+
# Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
|
904
|
+
# "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
|
905
|
+
# e.g. "organizations/1234" The `supports_under` field of the associated `
|
906
|
+
# Constraint` defines whether ancestry prefixes can be used. You can set `
|
907
|
+
# allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
|
908
|
+
# ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
909
|
+
# values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
|
910
|
+
# and `denied_values` must be unset.
|
1070
911
|
# Corresponds to the JSON property `listPolicy`
|
1071
912
|
# @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1ListPolicy]
|
1072
913
|
attr_accessor :list_policy
|
1073
914
|
|
1074
|
-
# Ignores policies set above this resource and restores the
|
1075
|
-
#
|
1076
|
-
#
|
1077
|
-
# Suppose that
|
1078
|
-
#
|
1079
|
-
#
|
1080
|
-
# the
|
1081
|
-
#
|
1082
|
-
#
|
1083
|
-
# enforcement of the `Constraint` for only those projects, allowing those
|
1084
|
-
# projects to have all services activated.
|
915
|
+
# Ignores policies set above this resource and restores the `constraint_default`
|
916
|
+
# enforcement behavior of the specific `Constraint` at this resource. Suppose
|
917
|
+
# that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
|
918
|
+
# serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
|
919
|
+
# their Organization resource node that restricts the allowed service
|
920
|
+
# activations to deny all service activations. They could then set a `Policy`
|
921
|
+
# with the `policy_type` `restore_default` on several experimental projects,
|
922
|
+
# restoring the `constraint_default` enforcement of the `Constraint` for only
|
923
|
+
# those projects, allowing those projects to have all services activated.
|
1085
924
|
# Corresponds to the JSON property `restoreDefault`
|
1086
925
|
# @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1RestoreDefault]
|
1087
926
|
attr_accessor :restore_default
|
1088
927
|
|
1089
|
-
# The time stamp the `Policy` was previously updated. This is set by the
|
1090
|
-
#
|
1091
|
-
#
|
1092
|
-
#
|
928
|
+
# The time stamp the `Policy` was previously updated. This is set by the server,
|
929
|
+
# not specified by the caller, and represents the last time a call to `
|
930
|
+
# SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
|
931
|
+
# ignored.
|
1093
932
|
# Corresponds to the JSON property `updateTime`
|
1094
933
|
# @return [String]
|
1095
934
|
attr_accessor :update_time
|
@@ -1115,17 +954,15 @@ module Google
|
|
1115
954
|
end
|
1116
955
|
end
|
1117
956
|
|
1118
|
-
# Ignores policies set above this resource and restores the
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
# Suppose that
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
# the
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
# enforcement of the `Constraint` for only those projects, allowing those
|
1128
|
-
# projects to have all services activated.
|
957
|
+
# Ignores policies set above this resource and restores the `constraint_default`
|
958
|
+
# enforcement behavior of the specific `Constraint` at this resource. Suppose
|
959
|
+
# that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
|
960
|
+
# serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
|
961
|
+
# their Organization resource node that restricts the allowed service
|
962
|
+
# activations to deny all service activations. They could then set a `Policy`
|
963
|
+
# with the `policy_type` `restore_default` on several experimental projects,
|
964
|
+
# restoring the `constraint_default` enforcement of the `Constraint` for only
|
965
|
+
# those projects, allowing those projects to have all services activated.
|
1129
966
|
class GoogleCloudOrgpolicyV1RestoreDefault
|
1130
967
|
include Google::Apis::Core::Hashable
|
1131
968
|
|
@@ -1150,8 +987,8 @@ module Google
|
|
1150
987
|
attr_accessor :basic
|
1151
988
|
|
1152
989
|
# `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
|
1153
|
-
# to represent the necessary conditions for the level to apply to a request.
|
1154
|
-
#
|
990
|
+
# to represent the necessary conditions for the level to apply to a request. See
|
991
|
+
# CEL spec at: https://github.com/google/cel-spec
|
1155
992
|
# Corresponds to the JSON property `custom`
|
1156
993
|
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1CustomLevel]
|
1157
994
|
attr_accessor :custom
|
@@ -1161,10 +998,10 @@ module Google
|
|
1161
998
|
# @return [String]
|
1162
999
|
attr_accessor :description
|
1163
1000
|
|
1164
|
-
# Required. Resource name for the Access Level. The `short_name` component
|
1165
|
-
#
|
1166
|
-
#
|
1167
|
-
#
|
1001
|
+
# Required. Resource name for the Access Level. The `short_name` component must
|
1002
|
+
# begin with a letter and only include alphanumeric and '_'. Format: `
|
1003
|
+
# accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
|
1004
|
+
# the `short_name` component is 50 characters.
|
1168
1005
|
# Corresponds to the JSON property `name`
|
1169
1006
|
# @return [String]
|
1170
1007
|
attr_accessor :name
|
@@ -1189,30 +1026,29 @@ module Google
|
|
1189
1026
|
end
|
1190
1027
|
|
1191
1028
|
# `AccessPolicy` is a container for `AccessLevels` (which define the necessary
|
1192
|
-
# attributes to use Google Cloud services) and `ServicePerimeters` (which
|
1193
|
-
#
|
1194
|
-
#
|
1195
|
-
#
|
1029
|
+
# attributes to use Google Cloud services) and `ServicePerimeters` (which define
|
1030
|
+
# regions of services able to freely pass data within a perimeter). An access
|
1031
|
+
# policy is globally visible within an organization, and the restrictions it
|
1032
|
+
# specifies apply to all projects within an organization.
|
1196
1033
|
class GoogleIdentityAccesscontextmanagerV1AccessPolicy
|
1197
1034
|
include Google::Apis::Core::Hashable
|
1198
1035
|
|
1199
|
-
# Output only. An opaque identifier for the current version of the
|
1200
|
-
#
|
1201
|
-
#
|
1202
|
-
#
|
1036
|
+
# Output only. An opaque identifier for the current version of the `AccessPolicy`
|
1037
|
+
# . This will always be a strongly validated etag, meaning that two Access
|
1038
|
+
# Polices will be identical if and only if their etags are identical. Clients
|
1039
|
+
# should not expect this to be in any specific format.
|
1203
1040
|
# Corresponds to the JSON property `etag`
|
1204
1041
|
# @return [String]
|
1205
1042
|
attr_accessor :etag
|
1206
1043
|
|
1207
|
-
# Output only. Resource name of the `AccessPolicy`. Format:
|
1208
|
-
#
|
1044
|
+
# Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
|
1045
|
+
# policy_id``
|
1209
1046
|
# Corresponds to the JSON property `name`
|
1210
1047
|
# @return [String]
|
1211
1048
|
attr_accessor :name
|
1212
1049
|
|
1213
|
-
# Required. The parent of this `AccessPolicy` in the Cloud Resource
|
1214
|
-
#
|
1215
|
-
# `organizations/`organization_id``
|
1050
|
+
# Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy.
|
1051
|
+
# Currently immutable once created. Format: `organizations/`organization_id``
|
1216
1052
|
# Corresponds to the JSON property `parent`
|
1217
1053
|
# @return [String]
|
1218
1054
|
attr_accessor :parent
|
@@ -1240,10 +1076,10 @@ module Google
|
|
1240
1076
|
include Google::Apis::Core::Hashable
|
1241
1077
|
|
1242
1078
|
# How the `conditions` list should be combined to determine if a request is
|
1243
|
-
# granted this `AccessLevel`. If AND is used, each `Condition` in
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
#
|
1079
|
+
# granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
|
1080
|
+
# must be satisfied for the `AccessLevel` to be applied. If OR is used, at least
|
1081
|
+
# one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be
|
1082
|
+
# applied. Default behavior is AND.
|
1247
1083
|
# Corresponds to the JSON property `combiningFunction`
|
1248
1084
|
# @return [String]
|
1249
1085
|
attr_accessor :combining_function
|
@@ -1277,54 +1113,48 @@ module Google
|
|
1277
1113
|
# devices to be granted access levels, it does not do any enforcement on the
|
1278
1114
|
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
1279
1115
|
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
1280
|
-
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
|
1281
|
-
#
|
1282
|
-
#
|
1283
|
-
# Windows desktops.
|
1116
|
+
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
|
1117
|
+
# encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
|
1118
|
+
# originating from encrypted Linux desktops and encrypted Windows desktops.
|
1284
1119
|
# Corresponds to the JSON property `devicePolicy`
|
1285
1120
|
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1DevicePolicy]
|
1286
1121
|
attr_accessor :device_policy
|
1287
1122
|
|
1288
|
-
# CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
|
1289
|
-
#
|
1123
|
+
# CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
|
1124
|
+
# CIDR IP address block, the specified IP address portion must be properly
|
1290
1125
|
# truncated (i.e. all the host bits must be zero) or the input is considered
|
1291
|
-
# malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
|
1292
|
-
#
|
1293
|
-
#
|
1294
|
-
#
|
1295
|
-
# addresses are allowed.
|
1126
|
+
# malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not.
|
1127
|
+
# Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is
|
1128
|
+
# not. The originating IP of a request must be in one of the listed subnets in
|
1129
|
+
# order for this Condition to be true. If empty, all IP addresses are allowed.
|
1296
1130
|
# Corresponds to the JSON property `ipSubnetworks`
|
1297
1131
|
# @return [Array<String>]
|
1298
1132
|
attr_accessor :ip_subnetworks
|
1299
1133
|
|
1300
|
-
# The request must be made by one of the provided user or service
|
1301
|
-
#
|
1302
|
-
# Syntax:
|
1303
|
-
# `user:`emailid``
|
1304
|
-
# `serviceAccount:`emailid``
|
1134
|
+
# The request must be made by one of the provided user or service accounts.
|
1135
|
+
# Groups are not supported. Syntax: `user:`emailid`` `serviceAccount:`emailid``
|
1305
1136
|
# If not specified, a request may come from any user.
|
1306
1137
|
# Corresponds to the JSON property `members`
|
1307
1138
|
# @return [Array<String>]
|
1308
1139
|
attr_accessor :members
|
1309
1140
|
|
1310
1141
|
# Whether to negate the Condition. If true, the Condition becomes a NAND over
|
1311
|
-
# its non-empty fields, each field must be false for the Condition overall to
|
1312
|
-
#
|
1142
|
+
# its non-empty fields, each field must be false for the Condition overall to be
|
1143
|
+
# satisfied. Defaults to false.
|
1313
1144
|
# Corresponds to the JSON property `negate`
|
1314
1145
|
# @return [Boolean]
|
1315
1146
|
attr_accessor :negate
|
1316
1147
|
alias_method :negate?, :negate
|
1317
1148
|
|
1318
|
-
# The request must originate from one of the provided countries/regions.
|
1319
|
-
#
|
1149
|
+
# The request must originate from one of the provided countries/regions. Must be
|
1150
|
+
# valid ISO 3166-1 alpha-2 codes.
|
1320
1151
|
# Corresponds to the JSON property `regions`
|
1321
1152
|
# @return [Array<String>]
|
1322
1153
|
attr_accessor :regions
|
1323
1154
|
|
1324
1155
|
# A list of other access levels defined in the same `Policy`, referenced by
|
1325
|
-
# resource name. Referencing an `AccessLevel` which does not exist is an
|
1326
|
-
#
|
1327
|
-
# to be true. Example:
|
1156
|
+
# resource name. Referencing an `AccessLevel` which does not exist is an error.
|
1157
|
+
# All access levels listed must be granted for the Condition to be true. Example:
|
1328
1158
|
# "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
|
1329
1159
|
# Corresponds to the JSON property `requiredAccessLevels`
|
1330
1160
|
# @return [Array<String>]
|
@@ -1346,33 +1176,26 @@ module Google
|
|
1346
1176
|
end
|
1347
1177
|
|
1348
1178
|
# `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
|
1349
|
-
# to represent the necessary conditions for the level to apply to a request.
|
1350
|
-
#
|
1179
|
+
# to represent the necessary conditions for the level to apply to a request. See
|
1180
|
+
# CEL spec at: https://github.com/google/cel-spec
|
1351
1181
|
class GoogleIdentityAccesscontextmanagerV1CustomLevel
|
1352
1182
|
include Google::Apis::Core::Hashable
|
1353
1183
|
|
1354
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
1355
|
-
#
|
1356
|
-
#
|
1357
|
-
#
|
1358
|
-
#
|
1359
|
-
# description: "Determines if
|
1360
|
-
# expression: "document.
|
1361
|
-
#
|
1362
|
-
#
|
1363
|
-
#
|
1364
|
-
#
|
1365
|
-
#
|
1366
|
-
#
|
1367
|
-
#
|
1368
|
-
#
|
1369
|
-
# Example (Data Manipulation):
|
1370
|
-
# title: "Notification string"
|
1371
|
-
# description: "Create a notification string with a timestamp."
|
1372
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
1373
|
-
# The exact variables and functions that may be referenced within an expression
|
1374
|
-
# are determined by the service that evaluates it. See the service
|
1375
|
-
# documentation for additional information.
|
1184
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
1185
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
1186
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
1187
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
1188
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
1189
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
1190
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
1191
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
1192
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
1193
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
1194
|
+
# string" description: "Create a notification string with a timestamp."
|
1195
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
1196
|
+
# exact variables and functions that may be referenced within an expression are
|
1197
|
+
# determined by the service that evaluates it. See the service documentation for
|
1198
|
+
# additional information.
|
1376
1199
|
# Corresponds to the JSON property `expr`
|
1377
1200
|
# @return [Google::Apis::CloudassetV1::Expr]
|
1378
1201
|
attr_accessor :expr
|
@@ -1392,15 +1215,13 @@ module Google
|
|
1392
1215
|
# devices to be granted access levels, it does not do any enforcement on the
|
1393
1216
|
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
1394
1217
|
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
1395
|
-
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
|
1396
|
-
#
|
1397
|
-
#
|
1398
|
-
# Windows desktops.
|
1218
|
+
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
|
1219
|
+
# encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
|
1220
|
+
# originating from encrypted Linux desktops and encrypted Windows desktops.
|
1399
1221
|
class GoogleIdentityAccesscontextmanagerV1DevicePolicy
|
1400
1222
|
include Google::Apis::Core::Hashable
|
1401
1223
|
|
1402
|
-
# Allowed device management levels, an empty list allows all management
|
1403
|
-
# levels.
|
1224
|
+
# Allowed device management levels, an empty list allows all management levels.
|
1404
1225
|
# Corresponds to the JSON property `allowedDeviceManagementLevels`
|
1405
1226
|
# @return [Array<String>]
|
1406
1227
|
attr_accessor :allowed_device_management_levels
|
@@ -1453,9 +1274,9 @@ module Google
|
|
1453
1274
|
class GoogleIdentityAccesscontextmanagerV1OsConstraint
|
1454
1275
|
include Google::Apis::Core::Hashable
|
1455
1276
|
|
1456
|
-
# The minimum allowed OS version. If not set, any version of this OS
|
1457
|
-
#
|
1458
|
-
#
|
1277
|
+
# The minimum allowed OS version. If not set, any version of this OS satisfies
|
1278
|
+
# the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"
|
1279
|
+
# `.
|
1459
1280
|
# Corresponds to the JSON property `minimumVersion`
|
1460
1281
|
# @return [String]
|
1461
1282
|
attr_accessor :minimum_version
|
@@ -1465,10 +1286,10 @@ module Google
|
|
1465
1286
|
# @return [String]
|
1466
1287
|
attr_accessor :os_type
|
1467
1288
|
|
1468
|
-
# Only allows requests from devices with a verified Chrome OS.
|
1469
|
-
#
|
1470
|
-
#
|
1471
|
-
#
|
1289
|
+
# Only allows requests from devices with a verified Chrome OS. Verifications
|
1290
|
+
# includes requirements that the device is enterprise-managed, conformant to
|
1291
|
+
# domain policies, and the caller has permission to call the API targeted by the
|
1292
|
+
# request.
|
1472
1293
|
# Corresponds to the JSON property `requireVerifiedChromeOs`
|
1473
1294
|
# @return [Boolean]
|
1474
1295
|
attr_accessor :require_verified_chrome_os
|
@@ -1487,37 +1308,34 @@ module Google
|
|
1487
1308
|
end
|
1488
1309
|
|
1489
1310
|
# `ServicePerimeter` describes a set of Google Cloud resources which can freely
|
1490
|
-
# import and export data amongst themselves, but not export outside of the
|
1491
|
-
#
|
1311
|
+
# import and export data amongst themselves, but not export outside of the `
|
1312
|
+
# ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
1492
1313
|
# has a target outside of the `ServicePerimeter`, the request will be blocked.
|
1493
1314
|
# Otherwise the request is allowed. There are two types of Service Perimeter -
|
1494
|
-
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single
|
1495
|
-
#
|
1496
|
-
#
|
1497
|
-
#
|
1498
|
-
# Bridges.
|
1315
|
+
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
|
1316
|
+
# Cloud project can only belong to a single regular Service Perimeter. Service
|
1317
|
+
# Perimeter Bridges can contain only Google Cloud projects as members, a single
|
1318
|
+
# Google Cloud project may belong to multiple Service Perimeter Bridges.
|
1499
1319
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
|
1500
1320
|
include Google::Apis::Core::Hashable
|
1501
1321
|
|
1502
|
-
# Description of the `ServicePerimeter` and its use. Does not affect
|
1503
|
-
# behavior.
|
1322
|
+
# Description of the `ServicePerimeter` and its use. Does not affect behavior.
|
1504
1323
|
# Corresponds to the JSON property `description`
|
1505
1324
|
# @return [String]
|
1506
1325
|
attr_accessor :description
|
1507
1326
|
|
1508
|
-
# Required. Resource name for the ServicePerimeter.
|
1509
|
-
#
|
1510
|
-
#
|
1327
|
+
# Required. Resource name for the ServicePerimeter. The `short_name` component
|
1328
|
+
# must begin with a letter and only include alphanumeric and '_'. Format: `
|
1329
|
+
# accessPolicies/`policy_id`/servicePerimeters/`short_name``
|
1511
1330
|
# Corresponds to the JSON property `name`
|
1512
1331
|
# @return [String]
|
1513
1332
|
attr_accessor :name
|
1514
1333
|
|
1515
|
-
# Perimeter type indicator. A single project is
|
1516
|
-
#
|
1517
|
-
#
|
1518
|
-
#
|
1519
|
-
#
|
1520
|
-
# empty.
|
1334
|
+
# Perimeter type indicator. A single project is allowed to be a member of single
|
1335
|
+
# regular perimeter, but multiple service perimeter bridges. A project cannot be
|
1336
|
+
# a included in a perimeter bridge without being included in regular perimeter.
|
1337
|
+
# For perimeter bridges, the restricted service list as well as access level
|
1338
|
+
# lists must be empty.
|
1521
1339
|
# Corresponds to the JSON property `perimeterType`
|
1522
1340
|
# @return [String]
|
1523
1341
|
attr_accessor :perimeter_type
|
@@ -1539,16 +1357,15 @@ module Google
|
|
1539
1357
|
# @return [String]
|
1540
1358
|
attr_accessor :title
|
1541
1359
|
|
1542
|
-
# Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
|
1543
|
-
#
|
1544
|
-
#
|
1545
|
-
#
|
1546
|
-
#
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
#
|
1550
|
-
#
|
1551
|
-
# fields in the spec are set to non-default values.
|
1360
|
+
# Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
|
1361
|
+
# for all Service Perimeters, and that spec is identical to the status for those
|
1362
|
+
# Service Perimeters. When this flag is set, it inhibits the generation of the
|
1363
|
+
# implicit spec, thereby allowing the user to explicitly provide a configuration
|
1364
|
+
# ("spec") to use in a dry-run version of the Service Perimeter. This allows the
|
1365
|
+
# user to test changes to the enforced config ("status") without actually
|
1366
|
+
# enforcing them. This testing is done through analyzing the differences between
|
1367
|
+
# currently enforced and suggested restrictions. use_explicit_dry_run_spec must
|
1368
|
+
# bet set to True if any of the fields in the spec are set to non-default values.
|
1552
1369
|
# Corresponds to the JSON property `useExplicitDryRunSpec`
|
1553
1370
|
# @return [Boolean]
|
1554
1371
|
attr_accessor :use_explicit_dry_run_spec
|
@@ -1575,14 +1392,13 @@ module Google
|
|
1575
1392
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
|
1576
1393
|
include Google::Apis::Core::Hashable
|
1577
1394
|
|
1578
|
-
# A list of `AccessLevel` resource names that allow resources within the
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
#
|
1584
|
-
#
|
1585
|
-
# For Service Perimeter Bridge, must be empty.
|
1395
|
+
# A list of `AccessLevel` resource names that allow resources within the `
|
1396
|
+
# ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must
|
1397
|
+
# be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `
|
1398
|
+
# AccessLevel` is a syntax error. If no `AccessLevel` names are listed,
|
1399
|
+
# resources within the perimeter can only be accessed via Google Cloud calls
|
1400
|
+
# with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/
|
1401
|
+
# accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
|
1586
1402
|
# Corresponds to the JSON property `accessLevels`
|
1587
1403
|
# @return [Array<String>]
|
1588
1404
|
attr_accessor :access_levels
|
@@ -1593,16 +1409,14 @@ module Google
|
|
1593
1409
|
# @return [Array<String>]
|
1594
1410
|
attr_accessor :resources
|
1595
1411
|
|
1596
|
-
# Google Cloud services that are subject to the Service Perimeter
|
1597
|
-
#
|
1598
|
-
#
|
1599
|
-
# access restrictions.
|
1412
|
+
# Google Cloud services that are subject to the Service Perimeter restrictions.
|
1413
|
+
# For example, if `storage.googleapis.com` is specified, access to the storage
|
1414
|
+
# buckets inside the perimeter must meet the perimeter's access restrictions.
|
1600
1415
|
# Corresponds to the JSON property `restrictedServices`
|
1601
1416
|
# @return [Array<String>]
|
1602
1417
|
attr_accessor :restricted_services
|
1603
1418
|
|
1604
|
-
# Specifies how APIs are allowed to communicate within the Service
|
1605
|
-
# Perimeter.
|
1419
|
+
# Specifies how APIs are allowed to communicate within the Service Perimeter.
|
1606
1420
|
# Corresponds to the JSON property `vpcAccessibleServices`
|
1607
1421
|
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
|
1608
1422
|
attr_accessor :vpc_accessible_services
|
@@ -1620,19 +1434,20 @@ module Google
|
|
1620
1434
|
end
|
1621
1435
|
end
|
1622
1436
|
|
1623
|
-
# Specifies how APIs are allowed to communicate within the Service
|
1624
|
-
# Perimeter.
|
1437
|
+
# Specifies how APIs are allowed to communicate within the Service Perimeter.
|
1625
1438
|
class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
|
1626
1439
|
include Google::Apis::Core::Hashable
|
1627
1440
|
|
1628
|
-
# The list of APIs usable within the Service Perimeter. Must be empty
|
1629
|
-
#
|
1441
|
+
# The list of APIs usable within the Service Perimeter. Must be empty unless '
|
1442
|
+
# enable_restriction' is True. You can specify a list of individual services, as
|
1443
|
+
# well as include the 'RESTRICTED-SERVICES' value, which automatically includes
|
1444
|
+
# all of the services protected by the perimeter.
|
1630
1445
|
# Corresponds to the JSON property `allowedServices`
|
1631
1446
|
# @return [Array<String>]
|
1632
1447
|
attr_accessor :allowed_services
|
1633
1448
|
|
1634
|
-
# Whether to restrict API calls within the Service Perimeter to the list of
|
1635
|
-
#
|
1449
|
+
# Whether to restrict API calls within the Service Perimeter to the list of APIs
|
1450
|
+
# specified in 'allowed_services'.
|
1636
1451
|
# Corresponds to the JSON property `enableRestriction`
|
1637
1452
|
# @return [Boolean]
|
1638
1453
|
attr_accessor :enable_restriction
|
@@ -1659,90 +1474,52 @@ module Google
|
|
1659
1474
|
attr_accessor :explanation
|
1660
1475
|
|
1661
1476
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1662
|
-
# controls for Google Cloud resources.
|
1663
|
-
# A `
|
1664
|
-
#
|
1665
|
-
#
|
1666
|
-
#
|
1667
|
-
#
|
1668
|
-
#
|
1669
|
-
#
|
1670
|
-
#
|
1671
|
-
#
|
1672
|
-
#
|
1673
|
-
# [
|
1674
|
-
#
|
1675
|
-
#
|
1676
|
-
# `
|
1677
|
-
# "
|
1678
|
-
# `
|
1679
|
-
# "
|
1680
|
-
#
|
1681
|
-
#
|
1682
|
-
#
|
1683
|
-
#
|
1684
|
-
#
|
1685
|
-
#
|
1686
|
-
#
|
1687
|
-
#
|
1688
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1689
|
-
# "members": [
|
1690
|
-
# "user:eve@example.com"
|
1691
|
-
# ],
|
1692
|
-
# "condition": `
|
1693
|
-
# "title": "expirable access",
|
1694
|
-
# "description": "Does not grant access after Sep 2020",
|
1695
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1696
|
-
# ",
|
1697
|
-
# `
|
1698
|
-
# `
|
1699
|
-
# ],
|
1700
|
-
# "etag": "BwWWja0YfJA=",
|
1701
|
-
# "version": 3
|
1702
|
-
# `
|
1703
|
-
# **YAML example:**
|
1704
|
-
# bindings:
|
1705
|
-
# - members:
|
1706
|
-
# - user:mike@example.com
|
1707
|
-
# - group:admins@example.com
|
1708
|
-
# - domain:google.com
|
1709
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1710
|
-
# role: roles/resourcemanager.organizationAdmin
|
1711
|
-
# - members:
|
1712
|
-
# - user:eve@example.com
|
1713
|
-
# role: roles/resourcemanager.organizationViewer
|
1714
|
-
# condition:
|
1715
|
-
# title: expirable access
|
1716
|
-
# description: Does not grant access after Sep 2020
|
1717
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1718
|
-
# - etag: BwWWja0YfJA=
|
1719
|
-
# - version: 3
|
1720
|
-
# For a description of IAM and its features, see the
|
1721
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1477
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1478
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1479
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1480
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1481
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1482
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1483
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1484
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1485
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1486
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1487
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1488
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1489
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1490
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1491
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1492
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1493
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1494
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1495
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1496
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1497
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1498
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1499
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1500
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1501
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1502
|
+
# google.com/iam/docs/).
|
1722
1503
|
# Corresponds to the JSON property `policy`
|
1723
1504
|
# @return [Google::Apis::CloudassetV1::Policy]
|
1724
1505
|
attr_accessor :policy
|
1725
1506
|
|
1726
1507
|
# The project that the associated GCP resource belongs to, in the form of
|
1727
1508
|
# projects/`PROJECT_NUMBER`. If an IAM policy is set on a resource (like VM
|
1728
|
-
# instance, Cloud Storage bucket), the project field will indicate the
|
1729
|
-
#
|
1730
|
-
#
|
1731
|
-
#
|
1732
|
-
# * specify the `scope` field as this project in your search request.
|
1509
|
+
# instance, Cloud Storage bucket), the project field will indicate the project
|
1510
|
+
# that contains the resource. If an IAM policy is set on a folder or orgnization,
|
1511
|
+
# the project field will be empty. To search against the `project`: * specify
|
1512
|
+
# the `scope` field as this project in your search request.
|
1733
1513
|
# Corresponds to the JSON property `project`
|
1734
1514
|
# @return [String]
|
1735
1515
|
attr_accessor :project
|
1736
1516
|
|
1737
1517
|
# The full resource name of the resource associated with this IAM policy.
|
1738
|
-
# Example:
|
1739
|
-
#
|
1740
|
-
#
|
1741
|
-
#
|
1742
|
-
#
|
1743
|
-
# for more information.
|
1744
|
-
# To search against the `resource`:
|
1745
|
-
# * use a field query. Example: `resource : "organizations/123"`
|
1518
|
+
# Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/
|
1519
|
+
# instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://
|
1520
|
+
# cloud.google.com/asset-inventory/docs/resource-name-format) for more
|
1521
|
+
# information. To search against the `resource`: * use a field query. Example: `
|
1522
|
+
# resource:organizations/123`
|
1746
1523
|
# Corresponds to the JSON property `resource`
|
1747
1524
|
# @return [String]
|
1748
1525
|
attr_accessor :resource
|
@@ -1784,47 +1561,45 @@ module Google
|
|
1784
1561
|
class Operation
|
1785
1562
|
include Google::Apis::Core::Hashable
|
1786
1563
|
|
1787
|
-
# If the value is `false`, it means the operation is still in progress.
|
1788
|
-
#
|
1789
|
-
# available.
|
1564
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
1565
|
+
# , the operation is completed, and either `error` or `response` is available.
|
1790
1566
|
# Corresponds to the JSON property `done`
|
1791
1567
|
# @return [Boolean]
|
1792
1568
|
attr_accessor :done
|
1793
1569
|
alias_method :done?, :done
|
1794
1570
|
|
1795
|
-
# The `Status` type defines a logical error model that is suitable for
|
1796
|
-
#
|
1797
|
-
#
|
1798
|
-
#
|
1799
|
-
#
|
1800
|
-
#
|
1571
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1572
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1573
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1574
|
+
# data: error code, error message, and error details. You can find out more
|
1575
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1576
|
+
# //cloud.google.com/apis/design/errors).
|
1801
1577
|
# Corresponds to the JSON property `error`
|
1802
1578
|
# @return [Google::Apis::CloudassetV1::Status]
|
1803
1579
|
attr_accessor :error
|
1804
1580
|
|
1805
|
-
# Service-specific metadata associated with the operation.
|
1806
|
-
#
|
1807
|
-
#
|
1808
|
-
#
|
1581
|
+
# Service-specific metadata associated with the operation. It typically contains
|
1582
|
+
# progress information and common metadata such as create time. Some services
|
1583
|
+
# might not provide such metadata. Any method that returns a long-running
|
1584
|
+
# operation should document the metadata type, if any.
|
1809
1585
|
# Corresponds to the JSON property `metadata`
|
1810
1586
|
# @return [Hash<String,Object>]
|
1811
1587
|
attr_accessor :metadata
|
1812
1588
|
|
1813
1589
|
# The server-assigned name, which is only unique within the same service that
|
1814
|
-
# originally returns it. If you use the default HTTP mapping, the
|
1815
|
-
#
|
1590
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
1591
|
+
# be a resource name ending with `operations/`unique_id``.
|
1816
1592
|
# Corresponds to the JSON property `name`
|
1817
1593
|
# @return [String]
|
1818
1594
|
attr_accessor :name
|
1819
1595
|
|
1820
|
-
# The normal response of the operation in case of success.
|
1821
|
-
# method returns no data on success, such as `Delete`, the response is
|
1822
|
-
#
|
1823
|
-
#
|
1824
|
-
#
|
1825
|
-
#
|
1826
|
-
#
|
1827
|
-
# `TakeSnapshotResponse`.
|
1596
|
+
# The normal response of the operation in case of success. If the original
|
1597
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
1598
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
1599
|
+
# the response should be the resource. For other methods, the response should
|
1600
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
1601
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
1602
|
+
# response type is `TakeSnapshotResponse`.
|
1828
1603
|
# Corresponds to the JSON property `response`
|
1829
1604
|
# @return [Hash<String,Object>]
|
1830
1605
|
attr_accessor :response
|
@@ -1868,6 +1643,25 @@ module Google
|
|
1868
1643
|
end
|
1869
1644
|
end
|
1870
1645
|
|
1646
|
+
# Specifications of BigQuery partitioned table as export destination.
|
1647
|
+
class PartitionSpec
|
1648
|
+
include Google::Apis::Core::Hashable
|
1649
|
+
|
1650
|
+
# The partition key for BigQuery partitioned table.
|
1651
|
+
# Corresponds to the JSON property `partitionKey`
|
1652
|
+
# @return [String]
|
1653
|
+
attr_accessor :partition_key
|
1654
|
+
|
1655
|
+
def initialize(**args)
|
1656
|
+
update!(**args)
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
# Update properties of this object
|
1660
|
+
def update!(**args)
|
1661
|
+
@partition_key = args[:partition_key] if args.key?(:partition_key)
|
1662
|
+
end
|
1663
|
+
end
|
1664
|
+
|
1871
1665
|
# IAM permissions
|
1872
1666
|
class Permissions
|
1873
1667
|
include Google::Apis::Core::Hashable
|
@@ -1888,66 +1682,32 @@ module Google
|
|
1888
1682
|
end
|
1889
1683
|
|
1890
1684
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1891
|
-
# controls for Google Cloud resources.
|
1892
|
-
# A `
|
1893
|
-
#
|
1894
|
-
#
|
1895
|
-
#
|
1896
|
-
#
|
1897
|
-
#
|
1898
|
-
#
|
1899
|
-
#
|
1900
|
-
#
|
1901
|
-
#
|
1902
|
-
# [
|
1903
|
-
#
|
1904
|
-
#
|
1905
|
-
# `
|
1906
|
-
# "
|
1907
|
-
# `
|
1908
|
-
# "
|
1909
|
-
#
|
1910
|
-
#
|
1911
|
-
#
|
1912
|
-
#
|
1913
|
-
#
|
1914
|
-
#
|
1915
|
-
#
|
1916
|
-
#
|
1917
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1918
|
-
# "members": [
|
1919
|
-
# "user:eve@example.com"
|
1920
|
-
# ],
|
1921
|
-
# "condition": `
|
1922
|
-
# "title": "expirable access",
|
1923
|
-
# "description": "Does not grant access after Sep 2020",
|
1924
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1925
|
-
# ",
|
1926
|
-
# `
|
1927
|
-
# `
|
1928
|
-
# ],
|
1929
|
-
# "etag": "BwWWja0YfJA=",
|
1930
|
-
# "version": 3
|
1931
|
-
# `
|
1932
|
-
# **YAML example:**
|
1933
|
-
# bindings:
|
1934
|
-
# - members:
|
1935
|
-
# - user:mike@example.com
|
1936
|
-
# - group:admins@example.com
|
1937
|
-
# - domain:google.com
|
1938
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1939
|
-
# role: roles/resourcemanager.organizationAdmin
|
1940
|
-
# - members:
|
1941
|
-
# - user:eve@example.com
|
1942
|
-
# role: roles/resourcemanager.organizationViewer
|
1943
|
-
# condition:
|
1944
|
-
# title: expirable access
|
1945
|
-
# description: Does not grant access after Sep 2020
|
1946
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1947
|
-
# - etag: BwWWja0YfJA=
|
1948
|
-
# - version: 3
|
1949
|
-
# For a description of IAM and its features, see the
|
1950
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1685
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1686
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1687
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1688
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1689
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1690
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1691
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1692
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1693
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1694
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1695
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1696
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1697
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1698
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1699
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1700
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1701
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1702
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1703
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1704
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1705
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1706
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1707
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1708
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1709
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1710
|
+
# google.com/iam/docs/).
|
1951
1711
|
class Policy
|
1952
1712
|
include Google::Apis::Core::Hashable
|
1953
1713
|
|
@@ -1956,48 +1716,44 @@ module Google
|
|
1956
1716
|
# @return [Array<Google::Apis::CloudassetV1::AuditConfig>]
|
1957
1717
|
attr_accessor :audit_configs
|
1958
1718
|
|
1959
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1960
|
-
#
|
1961
|
-
#
|
1719
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
1720
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
1721
|
+
# the `bindings` must contain at least one member.
|
1962
1722
|
# Corresponds to the JSON property `bindings`
|
1963
1723
|
# @return [Array<Google::Apis::CloudassetV1::Binding>]
|
1964
1724
|
attr_accessor :bindings
|
1965
1725
|
|
1966
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1967
|
-
#
|
1968
|
-
#
|
1969
|
-
#
|
1970
|
-
#
|
1971
|
-
#
|
1972
|
-
#
|
1973
|
-
#
|
1974
|
-
#
|
1975
|
-
#
|
1976
|
-
#
|
1726
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1727
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
1728
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1729
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1730
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1731
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1732
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
1733
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1734
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1735
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1736
|
+
# are lost.
|
1977
1737
|
# Corresponds to the JSON property `etag`
|
1978
1738
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1979
1739
|
# @return [String]
|
1980
1740
|
attr_accessor :etag
|
1981
1741
|
|
1982
|
-
# Specifies the format of the policy.
|
1983
|
-
#
|
1984
|
-
#
|
1985
|
-
#
|
1986
|
-
#
|
1987
|
-
#
|
1988
|
-
#
|
1989
|
-
#
|
1990
|
-
#
|
1991
|
-
#
|
1992
|
-
#
|
1993
|
-
#
|
1994
|
-
#
|
1995
|
-
#
|
1996
|
-
#
|
1997
|
-
# specify any valid version or leave the field unset.
|
1998
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1999
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
2000
|
-
# policies).
|
1742
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1743
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
1744
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
1745
|
+
# applies to the following operations: * Getting a policy that includes a
|
1746
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
1747
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
1748
|
+
# with or without a condition, from a policy that includes conditions **
|
1749
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1750
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1751
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1752
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
1753
|
+
# any conditions, operations on that policy may specify any valid version or
|
1754
|
+
# leave the field unset. To learn which resources support conditions in their
|
1755
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1756
|
+
# conditions/resource-policies).
|
2001
1757
|
# Corresponds to the JSON property `version`
|
2002
1758
|
# @return [Fixnum]
|
2003
1759
|
attr_accessor :version
|
@@ -2019,8 +1775,8 @@ module Google
|
|
2019
1775
|
class PubsubDestination
|
2020
1776
|
include Google::Apis::Core::Hashable
|
2021
1777
|
|
2022
|
-
# The name of the Pub/Sub topic to publish to.
|
2023
|
-
#
|
1778
|
+
# The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/
|
1779
|
+
# topics/TOPIC_ID`.
|
2024
1780
|
# Corresponds to the JSON property `topic`
|
2025
1781
|
# @return [String]
|
2026
1782
|
attr_accessor :topic
|
@@ -2039,53 +1795,48 @@ module Google
|
|
2039
1795
|
class Resource
|
2040
1796
|
include Google::Apis::Core::Hashable
|
2041
1797
|
|
2042
|
-
# The content of the resource, in which some sensitive fields are removed
|
2043
|
-
#
|
1798
|
+
# The content of the resource, in which some sensitive fields are removed and
|
1799
|
+
# may not be present.
|
2044
1800
|
# Corresponds to the JSON property `data`
|
2045
1801
|
# @return [Hash<String,Object>]
|
2046
1802
|
attr_accessor :data
|
2047
1803
|
|
2048
1804
|
# The URL of the discovery document containing the resource's JSON schema.
|
2049
|
-
# Example:
|
2050
|
-
#
|
2051
|
-
# This value is unspecified for resources that do not have an API based on a
|
1805
|
+
# Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
|
1806
|
+
# value is unspecified for resources that do not have an API based on a
|
2052
1807
|
# discovery document, such as Cloud Bigtable.
|
2053
1808
|
# Corresponds to the JSON property `discoveryDocumentUri`
|
2054
1809
|
# @return [String]
|
2055
1810
|
attr_accessor :discovery_document_uri
|
2056
1811
|
|
2057
|
-
# The JSON schema name listed in the discovery document. Example:
|
2058
|
-
#
|
2059
|
-
# This value is unspecified for resources that do not have an API based on a
|
1812
|
+
# The JSON schema name listed in the discovery document. Example: `Project` This
|
1813
|
+
# value is unspecified for resources that do not have an API based on a
|
2060
1814
|
# discovery document, such as Cloud Bigtable.
|
2061
1815
|
# Corresponds to the JSON property `discoveryName`
|
2062
1816
|
# @return [String]
|
2063
1817
|
attr_accessor :discovery_name
|
2064
1818
|
|
2065
|
-
# The location of the resource in Google Cloud, such as its zone and region.
|
2066
|
-
#
|
1819
|
+
# The location of the resource in Google Cloud, such as its zone and region. For
|
1820
|
+
# more information, see https://cloud.google.com/about/locations/.
|
2067
1821
|
# Corresponds to the JSON property `location`
|
2068
1822
|
# @return [String]
|
2069
1823
|
attr_accessor :location
|
2070
1824
|
|
2071
|
-
# The full name of the immediate parent of this resource. See
|
2072
|
-
#
|
2073
|
-
#
|
2074
|
-
#
|
2075
|
-
#
|
2076
|
-
#
|
2077
|
-
#
|
2078
|
-
# Example:
|
2079
|
-
# `//cloudresourcemanager.googleapis.com/projects/my_project_123`
|
2080
|
-
# For third-party assets, this field may be set differently.
|
1825
|
+
# The full name of the immediate parent of this resource. See [Resource Names](
|
1826
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name) for
|
1827
|
+
# more information. For Google Cloud assets, this value is the parent resource
|
1828
|
+
# defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
|
1829
|
+
# overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
|
1830
|
+
# projects/my_project_123` For third-party assets, this field may be set
|
1831
|
+
# differently.
|
2081
1832
|
# Corresponds to the JSON property `parent`
|
2082
1833
|
# @return [String]
|
2083
1834
|
attr_accessor :parent
|
2084
1835
|
|
2085
|
-
# The REST URL for accessing the resource. An HTTP `GET` request using this
|
2086
|
-
#
|
2087
|
-
#
|
2088
|
-
#
|
1836
|
+
# The REST URL for accessing the resource. An HTTP `GET` request using this URL
|
1837
|
+
# returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
|
1838
|
+
# com/v1/projects/my-project-123` This value is unspecified for resources
|
1839
|
+
# without a REST API.
|
2089
1840
|
# Corresponds to the JSON property `resourceUrl`
|
2090
1841
|
# @return [String]
|
2091
1842
|
attr_accessor :resource_url
|
@@ -2111,105 +1862,90 @@ module Google
|
|
2111
1862
|
end
|
2112
1863
|
end
|
2113
1864
|
|
2114
|
-
# A result of Resource Search, containing information of a cloud
|
1865
|
+
# A result of Resource Search, containing information of a cloud resource.
|
2115
1866
|
class ResourceSearchResult
|
2116
1867
|
include Google::Apis::Core::Hashable
|
2117
1868
|
|
2118
|
-
# The additional attributes of this resource. The attributes may vary
|
2119
|
-
# one resource type to another. Examples: `projectId` for Project,
|
2120
|
-
#
|
2121
|
-
#
|
2122
|
-
#
|
2123
|
-
#
|
2124
|
-
# types#
|
2125
|
-
# of
|
2126
|
-
#
|
2127
|
-
#
|
2128
|
-
#
|
2129
|
-
#
|
2130
|
-
#
|
2131
|
-
# `additional_attributes = ` dnsName: "foobar" ``, you can issue a query
|
2132
|
-
# `"foobar"`.
|
1869
|
+
# The additional searchable attributes of this resource. The attributes may vary
|
1870
|
+
# from one resource type to another. Examples: `projectId` for Project, `dnsName`
|
1871
|
+
# for DNS ManagedZone. This field contains a subset of the resource metadata
|
1872
|
+
# fields that are returned by the List or Get APIs provided by the corresponding
|
1873
|
+
# GCP service (e.g., Compute Engine). see [API references and supported
|
1874
|
+
# searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-
|
1875
|
+
# asset-types#searchable_asset_types) for more information. You can search
|
1876
|
+
# values of these fields through free text search. However, you should not
|
1877
|
+
# consume the field programically as the field names and values may change as
|
1878
|
+
# the GCP service updates to a new incompatible API version. To search against
|
1879
|
+
# the `additional_attributes`: * use a free text query to match the attributes
|
1880
|
+
# values. Example: to search `additional_attributes = ` dnsName: "foobar" ``,
|
1881
|
+
# you can issue a query `foobar`.
|
2133
1882
|
# Corresponds to the JSON property `additionalAttributes`
|
2134
1883
|
# @return [Hash<String,Object>]
|
2135
1884
|
attr_accessor :additional_attributes
|
2136
1885
|
|
2137
|
-
# The type of this resource. Example: `compute.googleapis.com/Disk`.
|
2138
|
-
#
|
2139
|
-
#
|
1886
|
+
# The type of this resource. Example: `compute.googleapis.com/Disk`. To search
|
1887
|
+
# against the `asset_type`: * specify the `asset_type` field in your search
|
1888
|
+
# request.
|
2140
1889
|
# Corresponds to the JSON property `assetType`
|
2141
1890
|
# @return [String]
|
2142
1891
|
attr_accessor :asset_type
|
2143
1892
|
|
2144
1893
|
# One or more paragraphs of text description of this resource. Maximum length
|
2145
|
-
# could be up to 1M bytes.
|
2146
|
-
#
|
2147
|
-
#
|
2148
|
-
# * use a free text query. Example: `"*important instance*"`
|
1894
|
+
# could be up to 1M bytes. To search against the `description`: * use a field
|
1895
|
+
# query. Example: `description:"*important instance*"` * use a free text query.
|
1896
|
+
# Example: `"*important instance*"`
|
2149
1897
|
# Corresponds to the JSON property `description`
|
2150
1898
|
# @return [String]
|
2151
1899
|
attr_accessor :description
|
2152
1900
|
|
2153
|
-
# The display name of this resource.
|
2154
|
-
#
|
2155
|
-
#
|
2156
|
-
# * use a free text query. Example: `"My Instance"`
|
1901
|
+
# The display name of this resource. To search against the `display_name`: * use
|
1902
|
+
# a field query. Example: `displayName:"My Instance"` * use a free text query.
|
1903
|
+
# Example: `"My Instance"`
|
2157
1904
|
# Corresponds to the JSON property `displayName`
|
2158
1905
|
# @return [String]
|
2159
1906
|
attr_accessor :display_name
|
2160
1907
|
|
2161
1908
|
# Labels associated with this resource. See [Labelling and grouping GCP
|
2162
1909
|
# resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
|
2163
|
-
# your-google-cloud-platform-resources)
|
2164
|
-
#
|
2165
|
-
#
|
2166
|
-
#
|
2167
|
-
#
|
2168
|
-
# - query by a given label. Example: `labels.env : "prod"`
|
2169
|
-
# - query by a given label'sexistence. Example: `labels.env : *`
|
2170
|
-
# * use a free text query. Example: `"prod"`
|
1910
|
+
# your-google-cloud-platform-resources) for more information. To search against
|
1911
|
+
# the `labels`: * use a field query: - query on any label's key or value.
|
1912
|
+
# Example: `labels:prod` - query by a given label. Example: `labels.env:prod` -
|
1913
|
+
# query by a given label's existence. Example: `labels.env:*` * use a free text
|
1914
|
+
# query. Example: `prod`
|
2171
1915
|
# Corresponds to the JSON property `labels`
|
2172
1916
|
# @return [Hash<String,String>]
|
2173
1917
|
attr_accessor :labels
|
2174
1918
|
|
2175
|
-
# Location can be `global`, regional like `us-east1`, or zonal like
|
2176
|
-
# `us-
|
2177
|
-
#
|
2178
|
-
# * use a field query. Example: `location : "us-west*"`
|
2179
|
-
# * use a free text query. Example: `"us-west*"`
|
1919
|
+
# Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
|
1920
|
+
# To search against the `location`: * use a field query. Example: `location:us-
|
1921
|
+
# west*` * use a free text query. Example: `us-west*`
|
2180
1922
|
# Corresponds to the JSON property `location`
|
2181
1923
|
# @return [String]
|
2182
1924
|
attr_accessor :location
|
2183
1925
|
|
2184
|
-
# The full resource name of this resource. Example:
|
2185
|
-
#
|
2186
|
-
#
|
2187
|
-
#
|
2188
|
-
#
|
2189
|
-
#
|
2190
|
-
# To search against the `name`:
|
2191
|
-
# * use a field query. Example: `name : "instance1"`
|
2192
|
-
# * use a free text query. Example: `"instance1"`
|
1926
|
+
# The full resource name of this resource. Example: `//compute.googleapis.com/
|
1927
|
+
# projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset
|
1928
|
+
# Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/
|
1929
|
+
# resource-name-format) for more information. To search against the `name`: *
|
1930
|
+
# use a field query. Example: `name:instance1` * use a free text query. Example:
|
1931
|
+
# `instance1`
|
2193
1932
|
# Corresponds to the JSON property `name`
|
2194
1933
|
# @return [String]
|
2195
1934
|
attr_accessor :name
|
2196
1935
|
|
2197
1936
|
# Network tags associated with this resource. Like labels, network tags are a
|
2198
|
-
# type of annotations used to group GCP resources. See [Labelling GCP
|
2199
|
-
#
|
2200
|
-
#
|
2201
|
-
#
|
2202
|
-
#
|
2203
|
-
# * use a field query. Example: `networkTags : "internal"`
|
2204
|
-
# * use a free text query. Example: `"internal"`
|
1937
|
+
# type of annotations used to group GCP resources. See [Labelling GCP resources](
|
1938
|
+
# https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-
|
1939
|
+
# cloud-platform-resources) for more information. To search against the `
|
1940
|
+
# network_tags`: * use a field query. Example: `networkTags:internal` * use a
|
1941
|
+
# free text query. Example: `internal`
|
2205
1942
|
# Corresponds to the JSON property `networkTags`
|
2206
1943
|
# @return [Array<String>]
|
2207
1944
|
attr_accessor :network_tags
|
2208
1945
|
|
2209
|
-
# The project that this resource belongs to, in the form of
|
2210
|
-
#
|
2211
|
-
#
|
2212
|
-
# * specify the `scope` field as this project in your search request.
|
1946
|
+
# The project that this resource belongs to, in the form of projects/`
|
1947
|
+
# PROJECT_NUMBER`. To search against the `project`: * specify the `scope` field
|
1948
|
+
# as this project in your search request.
|
2213
1949
|
# Corresponds to the JSON property `project`
|
2214
1950
|
# @return [String]
|
2215
1951
|
attr_accessor :project
|
@@ -2237,14 +1973,14 @@ module Google
|
|
2237
1973
|
include Google::Apis::Core::Hashable
|
2238
1974
|
|
2239
1975
|
# Set if there are more results than those appearing in this response; to get
|
2240
|
-
# the next set of results, call this method again, using this value as the
|
2241
|
-
#
|
1976
|
+
# the next set of results, call this method again, using this value as the `
|
1977
|
+
# page_token`.
|
2242
1978
|
# Corresponds to the JSON property `nextPageToken`
|
2243
1979
|
# @return [String]
|
2244
1980
|
attr_accessor :next_page_token
|
2245
1981
|
|
2246
|
-
# A list of IamPolicy that match the search query. Related information such
|
2247
|
-
#
|
1982
|
+
# A list of IamPolicy that match the search query. Related information such as
|
1983
|
+
# the associated resource is returned along with the policy.
|
2248
1984
|
# Corresponds to the JSON property `results`
|
2249
1985
|
# @return [Array<Google::Apis::CloudassetV1::IamPolicySearchResult>]
|
2250
1986
|
attr_accessor :results
|
@@ -2264,9 +2000,9 @@ module Google
|
|
2264
2000
|
class SearchAllResourcesResponse
|
2265
2001
|
include Google::Apis::Core::Hashable
|
2266
2002
|
|
2267
|
-
# If there are more results than those appearing in this response, then
|
2268
|
-
#
|
2269
|
-
#
|
2003
|
+
# If there are more results than those appearing in this response, then `
|
2004
|
+
# next_page_token` is included. To get the next set of results, call this method
|
2005
|
+
# again using the value of `next_page_token` as `page_token`.
|
2270
2006
|
# Corresponds to the JSON property `nextPageToken`
|
2271
2007
|
# @return [String]
|
2272
2008
|
attr_accessor :next_page_token
|
@@ -2288,12 +2024,12 @@ module Google
|
|
2288
2024
|
end
|
2289
2025
|
end
|
2290
2026
|
|
2291
|
-
# The `Status` type defines a logical error model that is suitable for
|
2292
|
-
#
|
2293
|
-
#
|
2294
|
-
#
|
2295
|
-
#
|
2296
|
-
#
|
2027
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2028
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2029
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2030
|
+
# data: error code, error message, and error details. You can find out more
|
2031
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
2032
|
+
# //cloud.google.com/apis/design/errors).
|
2297
2033
|
class Status
|
2298
2034
|
include Google::Apis::Core::Hashable
|
2299
2035
|
|
@@ -2302,15 +2038,15 @@ module Google
|
|
2302
2038
|
# @return [Fixnum]
|
2303
2039
|
attr_accessor :code
|
2304
2040
|
|
2305
|
-
# A list of messages that carry the error details.
|
2041
|
+
# A list of messages that carry the error details. There is a common set of
|
2306
2042
|
# message types for APIs to use.
|
2307
2043
|
# Corresponds to the JSON property `details`
|
2308
2044
|
# @return [Array<Hash<String,Object>>]
|
2309
2045
|
attr_accessor :details
|
2310
2046
|
|
2311
|
-
# A developer-facing error message, which should be in English. Any
|
2312
|
-
#
|
2313
|
-
#
|
2047
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
2048
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
2049
|
+
# field, or localized by the client.
|
2314
2050
|
# Corresponds to the JSON property `message`
|
2315
2051
|
# @return [String]
|
2316
2052
|
attr_accessor :message
|
@@ -2332,15 +2068,12 @@ module Google
|
|
2332
2068
|
class TemporalAsset
|
2333
2069
|
include Google::Apis::Core::Hashable
|
2334
2070
|
|
2335
|
-
# An asset in Google Cloud. An asset can be any resource in the Google Cloud
|
2336
|
-
#
|
2337
|
-
# hierarchy
|
2338
|
-
#
|
2339
|
-
#
|
2340
|
-
#
|
2341
|
-
# See [Supported asset
|
2342
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
2343
|
-
# for more information.
|
2071
|
+
# An asset in Google Cloud. An asset can be any resource in the Google Cloud [
|
2072
|
+
# resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
|
2073
|
+
# platform-resource-hierarchy), a resource outside the Google Cloud resource
|
2074
|
+
# hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
|
2075
|
+
# (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
|
2076
|
+
# asset-inventory/docs/supported-asset-types) for more information.
|
2344
2077
|
# Corresponds to the JSON property `asset`
|
2345
2078
|
# @return [Google::Apis::CloudassetV1::Asset]
|
2346
2079
|
attr_accessor :asset
|
@@ -2351,15 +2084,12 @@ module Google
|
|
2351
2084
|
attr_accessor :deleted
|
2352
2085
|
alias_method :deleted?, :deleted
|
2353
2086
|
|
2354
|
-
# An asset in Google Cloud. An asset can be any resource in the Google Cloud
|
2355
|
-
#
|
2356
|
-
# hierarchy
|
2357
|
-
#
|
2358
|
-
#
|
2359
|
-
#
|
2360
|
-
# See [Supported asset
|
2361
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
2362
|
-
# for more information.
|
2087
|
+
# An asset in Google Cloud. An asset can be any resource in the Google Cloud [
|
2088
|
+
# resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
|
2089
|
+
# platform-resource-hierarchy), a resource outside the Google Cloud resource
|
2090
|
+
# hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
|
2091
|
+
# (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
|
2092
|
+
# asset-inventory/docs/supported-asset-types) for more information.
|
2363
2093
|
# Corresponds to the JSON property `priorAsset`
|
2364
2094
|
# @return [Google::Apis::CloudassetV1::Asset]
|
2365
2095
|
attr_accessor :prior_asset
|
@@ -2418,18 +2148,17 @@ module Google
|
|
2418
2148
|
class UpdateFeedRequest
|
2419
2149
|
include Google::Apis::Core::Hashable
|
2420
2150
|
|
2421
|
-
# An asset feed used to export asset updates to a destinations.
|
2422
|
-
#
|
2423
|
-
#
|
2424
|
-
#
|
2425
|
-
# Pub/Sub topics.
|
2151
|
+
# An asset feed used to export asset updates to a destinations. An asset feed
|
2152
|
+
# filter controls what updates are exported. The asset feed must be created
|
2153
|
+
# within a project, organization, or folder. Supported destinations are: Pub/Sub
|
2154
|
+
# topics.
|
2426
2155
|
# Corresponds to the JSON property `feed`
|
2427
2156
|
# @return [Google::Apis::CloudassetV1::Feed]
|
2428
2157
|
attr_accessor :feed
|
2429
2158
|
|
2430
|
-
# Required. Only updates the `feed` fields indicated by this mask.
|
2431
|
-
#
|
2432
|
-
#
|
2159
|
+
# Required. Only updates the `feed` fields indicated by this mask. The field
|
2160
|
+
# mask must not be empty, and it must not contain fields that are immutable or
|
2161
|
+
# only set by the server.
|
2433
2162
|
# Corresponds to the JSON property `updateMask`
|
2434
2163
|
# @return [String]
|
2435
2164
|
attr_accessor :update_mask
|