google-api-client 0.42.2 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +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
|
@@ -215,6 +215,7 @@ module Google
|
|
|
215
215
|
class Binding
|
|
216
216
|
# @private
|
|
217
217
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
218
|
+
property :binding_id, as: 'bindingId'
|
|
218
219
|
property :condition, as: 'condition', class: Google::Apis::SecretmanagerV1beta1::Expr, decorator: Google::Apis::SecretmanagerV1beta1::Expr::Representation
|
|
219
220
|
|
|
220
221
|
collection :members, as: 'members'
|
|
@@ -117,11 +117,11 @@ module Google
|
|
|
117
117
|
execute_or_queue_command(command, &block)
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
# Creates a new SecretVersion containing secret data and attaches
|
|
121
|
-
#
|
|
120
|
+
# Creates a new SecretVersion containing secret data and attaches it to an
|
|
121
|
+
# existing Secret.
|
|
122
122
|
# @param [String] parent
|
|
123
|
-
# Required. The resource name of the Secret to associate with the
|
|
124
|
-
#
|
|
123
|
+
# Required. The resource name of the Secret to associate with the SecretVersion
|
|
124
|
+
# in the format `projects/*/secrets/*`.
|
|
125
125
|
# @param [Google::Apis::SecretmanagerV1beta1::AddSecretVersionRequest] add_secret_version_request_object
|
|
126
126
|
# @param [String] fields
|
|
127
127
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -154,14 +154,13 @@ module Google
|
|
|
154
154
|
|
|
155
155
|
# Creates a new Secret containing no SecretVersions.
|
|
156
156
|
# @param [String] parent
|
|
157
|
-
# Required. The resource name of the project to associate with the
|
|
158
|
-
#
|
|
157
|
+
# Required. The resource name of the project to associate with the Secret, in
|
|
158
|
+
# the format `projects/*`.
|
|
159
159
|
# @param [Google::Apis::SecretmanagerV1beta1::Secret] secret_object
|
|
160
160
|
# @param [String] secret_id
|
|
161
|
-
# Required. This must be unique within the project.
|
|
162
|
-
#
|
|
163
|
-
#
|
|
164
|
-
# underscore (`_`) characters.
|
|
161
|
+
# Required. This must be unique within the project. A secret ID is a string with
|
|
162
|
+
# a maximum length of 255 characters and can contain uppercase and lowercase
|
|
163
|
+
# letters, numerals, and the hyphen (`-`) and underscore (`_`) characters.
|
|
165
164
|
# @param [String] fields
|
|
166
165
|
# Selector specifying which fields to include in a partial response.
|
|
167
166
|
# @param [String] quota_user
|
|
@@ -194,8 +193,8 @@ module Google
|
|
|
194
193
|
|
|
195
194
|
# Deletes a Secret.
|
|
196
195
|
# @param [String] name
|
|
197
|
-
# Required. The resource name of the Secret to delete in the format
|
|
198
|
-
#
|
|
196
|
+
# Required. The resource name of the Secret to delete in the format `projects/*/
|
|
197
|
+
# secrets/*`.
|
|
199
198
|
# @param [String] fields
|
|
200
199
|
# Selector specifying which fields to include in a partial response.
|
|
201
200
|
# @param [String] quota_user
|
|
@@ -254,21 +253,19 @@ module Google
|
|
|
254
253
|
execute_or_queue_command(command, &block)
|
|
255
254
|
end
|
|
256
255
|
|
|
257
|
-
# Gets the access control policy for a secret.
|
|
258
|
-
#
|
|
256
|
+
# Gets the access control policy for a secret. Returns empty policy if the
|
|
257
|
+
# secret exists and does not have a policy set.
|
|
259
258
|
# @param [String] resource
|
|
260
|
-
# REQUIRED: The resource for which the policy is being requested.
|
|
261
|
-
#
|
|
259
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
260
|
+
# operation documentation for the appropriate value for this field.
|
|
262
261
|
# @param [Fixnum] options_requested_policy_version
|
|
263
|
-
# Optional. The policy format version to be returned.
|
|
264
|
-
#
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
#
|
|
268
|
-
#
|
|
269
|
-
#
|
|
270
|
-
# [IAM
|
|
271
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
262
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
|
263
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
|
264
|
+
# policies with any conditional bindings must specify version 3. Policies
|
|
265
|
+
# without any conditional bindings may specify any valid value or leave the
|
|
266
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
|
267
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
268
|
+
# resource-policies).
|
|
272
269
|
# @param [String] fields
|
|
273
270
|
# Selector specifying which fields to include in a partial response.
|
|
274
271
|
# @param [String] quota_user
|
|
@@ -299,15 +296,15 @@ module Google
|
|
|
299
296
|
|
|
300
297
|
# Lists Secrets.
|
|
301
298
|
# @param [String] parent
|
|
302
|
-
# Required. The resource name of the project associated with the
|
|
303
|
-
#
|
|
299
|
+
# Required. The resource name of the project associated with the Secrets, in the
|
|
300
|
+
# format `projects/*`.
|
|
304
301
|
# @param [Fixnum] page_size
|
|
305
302
|
# Optional. The maximum number of results to be returned in a single page. If
|
|
306
|
-
# set to 0, the server decides the number of results to return. If the
|
|
307
|
-
#
|
|
303
|
+
# set to 0, the server decides the number of results to return. If the number is
|
|
304
|
+
# greater than 25000, it is capped at 25000.
|
|
308
305
|
# @param [String] page_token
|
|
309
|
-
# Optional. Pagination token, returned earlier via
|
|
310
|
-
#
|
|
306
|
+
# Optional. Pagination token, returned earlier via ListSecretsResponse.
|
|
307
|
+
# next_page_token.
|
|
311
308
|
# @param [String] fields
|
|
312
309
|
# Selector specifying which fields to include in a partial response.
|
|
313
310
|
# @param [String] quota_user
|
|
@@ -374,13 +371,12 @@ module Google
|
|
|
374
371
|
execute_or_queue_command(command, &block)
|
|
375
372
|
end
|
|
376
373
|
|
|
377
|
-
# Sets the access control policy on the specified secret. Replaces any
|
|
378
|
-
#
|
|
379
|
-
#
|
|
380
|
-
# to the policy set on the associated Secret.
|
|
374
|
+
# Sets the access control policy on the specified secret. Replaces any existing
|
|
375
|
+
# policy. Permissions on SecretVersions are enforced according to the policy set
|
|
376
|
+
# on the associated Secret.
|
|
381
377
|
# @param [String] resource
|
|
382
|
-
# REQUIRED: The resource for which the policy is being specified.
|
|
383
|
-
#
|
|
378
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
379
|
+
# operation documentation for the appropriate value for this field.
|
|
384
380
|
# @param [Google::Apis::SecretmanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
385
381
|
# @param [String] fields
|
|
386
382
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -411,15 +407,14 @@ module Google
|
|
|
411
407
|
execute_or_queue_command(command, &block)
|
|
412
408
|
end
|
|
413
409
|
|
|
414
|
-
# Returns permissions that a caller has for the specified secret.
|
|
415
|
-
#
|
|
416
|
-
#
|
|
417
|
-
#
|
|
418
|
-
#
|
|
419
|
-
# may "fail open" without warning.
|
|
410
|
+
# Returns permissions that a caller has for the specified secret. If the secret
|
|
411
|
+
# does not exist, this call returns an empty set of permissions, not a NOT_FOUND
|
|
412
|
+
# error. Note: This operation is designed to be used for building permission-
|
|
413
|
+
# aware UIs and command-line tools, not for authorization checking. This
|
|
414
|
+
# operation may "fail open" without warning.
|
|
420
415
|
# @param [String] resource
|
|
421
|
-
# REQUIRED: The resource for which the policy detail is being requested.
|
|
422
|
-
#
|
|
416
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
417
|
+
# operation documentation for the appropriate value for this field.
|
|
423
418
|
# @param [Google::Apis::SecretmanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
424
419
|
# @param [String] fields
|
|
425
420
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -450,12 +445,11 @@ module Google
|
|
|
450
445
|
execute_or_queue_command(command, &block)
|
|
451
446
|
end
|
|
452
447
|
|
|
453
|
-
# Accesses a SecretVersion. This call returns the secret data.
|
|
454
|
-
#
|
|
455
|
-
# SecretVersion.
|
|
448
|
+
# Accesses a SecretVersion. This call returns the secret data. `projects/*/
|
|
449
|
+
# secrets/*/versions/latest` is an alias to the `latest` SecretVersion.
|
|
456
450
|
# @param [String] name
|
|
457
|
-
# Required. The resource name of the SecretVersion in the format
|
|
458
|
-
#
|
|
451
|
+
# Required. The resource name of the SecretVersion in the format `projects/*/
|
|
452
|
+
# secrets/*/versions/*`.
|
|
459
453
|
# @param [String] fields
|
|
460
454
|
# Selector specifying which fields to include in a partial response.
|
|
461
455
|
# @param [String] quota_user
|
|
@@ -483,13 +477,11 @@ module Google
|
|
|
483
477
|
execute_or_queue_command(command, &block)
|
|
484
478
|
end
|
|
485
479
|
|
|
486
|
-
# Destroys a SecretVersion.
|
|
487
|
-
#
|
|
488
|
-
# DESTROYED and irrevocably destroys the
|
|
489
|
-
# secret data.
|
|
480
|
+
# Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED and
|
|
481
|
+
# irrevocably destroys the secret data.
|
|
490
482
|
# @param [String] name
|
|
491
|
-
# Required. The resource name of the SecretVersion to destroy in the format
|
|
492
|
-
#
|
|
483
|
+
# Required. The resource name of the SecretVersion to destroy in the format `
|
|
484
|
+
# projects/*/secrets/*/versions/*`.
|
|
493
485
|
# @param [Google::Apis::SecretmanagerV1beta1::DestroySecretVersionRequest] destroy_secret_version_request_object
|
|
494
486
|
# @param [String] fields
|
|
495
487
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -520,12 +512,10 @@ module Google
|
|
|
520
512
|
execute_or_queue_command(command, &block)
|
|
521
513
|
end
|
|
522
514
|
|
|
523
|
-
# Disables a SecretVersion.
|
|
524
|
-
# Sets the state of the SecretVersion to
|
|
525
|
-
# DISABLED.
|
|
515
|
+
# Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED.
|
|
526
516
|
# @param [String] name
|
|
527
|
-
# Required. The resource name of the SecretVersion to disable in the format
|
|
528
|
-
#
|
|
517
|
+
# Required. The resource name of the SecretVersion to disable in the format `
|
|
518
|
+
# projects/*/secrets/*/versions/*`.
|
|
529
519
|
# @param [Google::Apis::SecretmanagerV1beta1::DisableSecretVersionRequest] disable_secret_version_request_object
|
|
530
520
|
# @param [String] fields
|
|
531
521
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -556,12 +546,10 @@ module Google
|
|
|
556
546
|
execute_or_queue_command(command, &block)
|
|
557
547
|
end
|
|
558
548
|
|
|
559
|
-
# Enables a SecretVersion.
|
|
560
|
-
# Sets the state of the SecretVersion to
|
|
561
|
-
# ENABLED.
|
|
549
|
+
# Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED.
|
|
562
550
|
# @param [String] name
|
|
563
|
-
# Required. The resource name of the SecretVersion to enable in the format
|
|
564
|
-
#
|
|
551
|
+
# Required. The resource name of the SecretVersion to enable in the format `
|
|
552
|
+
# projects/*/secrets/*/versions/*`.
|
|
565
553
|
# @param [Google::Apis::SecretmanagerV1beta1::EnableSecretVersionRequest] enable_secret_version_request_object
|
|
566
554
|
# @param [String] fields
|
|
567
555
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -592,14 +580,12 @@ module Google
|
|
|
592
580
|
execute_or_queue_command(command, &block)
|
|
593
581
|
end
|
|
594
582
|
|
|
595
|
-
# Gets metadata for a SecretVersion.
|
|
596
|
-
#
|
|
597
|
-
# SecretVersion.
|
|
583
|
+
# Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is
|
|
584
|
+
# an alias to the `latest` SecretVersion.
|
|
598
585
|
# @param [String] name
|
|
599
|
-
# Required. The resource name of the SecretVersion in the format
|
|
600
|
-
# `projects/*/secrets/*/versions
|
|
601
|
-
#
|
|
602
|
-
# SecretVersion.
|
|
586
|
+
# Required. The resource name of the SecretVersion in the format `projects/*/
|
|
587
|
+
# secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` is an alias to
|
|
588
|
+
# the `latest` SecretVersion.
|
|
603
589
|
# @param [String] fields
|
|
604
590
|
# Selector specifying which fields to include in a partial response.
|
|
605
591
|
# @param [String] quota_user
|
|
@@ -627,19 +613,17 @@ module Google
|
|
|
627
613
|
execute_or_queue_command(command, &block)
|
|
628
614
|
end
|
|
629
615
|
|
|
630
|
-
# Lists SecretVersions. This call does not return secret
|
|
631
|
-
# data.
|
|
616
|
+
# Lists SecretVersions. This call does not return secret data.
|
|
632
617
|
# @param [String] parent
|
|
633
|
-
# Required. The resource name of the Secret associated with the
|
|
634
|
-
#
|
|
635
|
-
# `projects/*/secrets/*`.
|
|
618
|
+
# Required. The resource name of the Secret associated with the SecretVersions
|
|
619
|
+
# to list, in the format `projects/*/secrets/*`.
|
|
636
620
|
# @param [Fixnum] page_size
|
|
637
621
|
# Optional. The maximum number of results to be returned in a single page. If
|
|
638
|
-
# set to 0, the server decides the number of results to return. If the
|
|
639
|
-
#
|
|
622
|
+
# set to 0, the server decides the number of results to return. If the number is
|
|
623
|
+
# greater than 25000, it is capped at 25000.
|
|
640
624
|
# @param [String] page_token
|
|
641
|
-
# Optional. Pagination token, returned earlier via
|
|
642
|
-
#
|
|
625
|
+
# Optional. Pagination token, returned earlier via ListSecretVersionsResponse.
|
|
626
|
+
# next_page_token][].
|
|
643
627
|
# @param [String] fields
|
|
644
628
|
# Selector specifying which fields to include in a partial response.
|
|
645
629
|
# @param [String] quota_user
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
|
27
27
|
module SecuritycenterV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200820'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -22,12 +22,11 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module SecuritycenterV1
|
|
24
24
|
|
|
25
|
-
# Security Command Center representation of a Google Cloud
|
|
26
|
-
# resource
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
# Google Cloud resource.
|
|
25
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
26
|
+
# is a Security Command Center resource that captures information about a single
|
|
27
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
|
28
|
+
# context of Security Command Center and don't affect the referenced Google
|
|
29
|
+
# Cloud resource.
|
|
31
30
|
class Asset
|
|
32
31
|
include Google::Apis::Core::Hashable
|
|
33
32
|
|
|
@@ -38,22 +37,20 @@ module Google
|
|
|
38
37
|
|
|
39
38
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
|
40
39
|
# described by the Security Command Center asset. This information is managed
|
|
41
|
-
# and defined by the Google Cloud resource and cannot be modified by the
|
|
42
|
-
# user.
|
|
40
|
+
# and defined by the Google Cloud resource and cannot be modified by the user.
|
|
43
41
|
# Corresponds to the JSON property `iamPolicy`
|
|
44
42
|
# @return [Google::Apis::SecuritycenterV1::IamPolicy]
|
|
45
43
|
attr_accessor :iam_policy
|
|
46
44
|
|
|
47
|
-
# The relative resource name of this asset. See:
|
|
48
|
-
#
|
|
49
|
-
#
|
|
50
|
-
# "organizations/`organization_id`/assets/`asset_id`".
|
|
45
|
+
# The relative resource name of this asset. See: https://cloud.google.com/apis/
|
|
46
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
47
|
+
# organization_id`/assets/`asset_id`".
|
|
51
48
|
# Corresponds to the JSON property `name`
|
|
52
49
|
# @return [String]
|
|
53
50
|
attr_accessor :name
|
|
54
51
|
|
|
55
|
-
# Resource managed properties. These properties are managed and defined by
|
|
56
|
-
#
|
|
52
|
+
# Resource managed properties. These properties are managed and defined by the
|
|
53
|
+
# Google Cloud resource and cannot be modified by the user.
|
|
57
54
|
# Corresponds to the JSON property `resourceProperties`
|
|
58
55
|
# @return [Hash<String,Object>]
|
|
59
56
|
attr_accessor :resource_properties
|
|
@@ -64,10 +61,10 @@ module Google
|
|
|
64
61
|
# @return [Google::Apis::SecuritycenterV1::SecurityCenterProperties]
|
|
65
62
|
attr_accessor :security_center_properties
|
|
66
63
|
|
|
67
|
-
# User specified security marks that are attached to the parent Security
|
|
68
|
-
#
|
|
69
|
-
#
|
|
70
|
-
#
|
|
64
|
+
# User specified security marks that are attached to the parent Security Command
|
|
65
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
66
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
67
|
+
# permissions on the organization.
|
|
71
68
|
# Corresponds to the JSON property `securityMarks`
|
|
72
69
|
# @return [Google::Apis::SecuritycenterV1::SecurityMarks]
|
|
73
70
|
attr_accessor :security_marks
|
|
@@ -119,53 +116,21 @@ module Google
|
|
|
119
116
|
end
|
|
120
117
|
end
|
|
121
118
|
|
|
122
|
-
# Specifies the audit configuration for a service.
|
|
123
|
-
#
|
|
124
|
-
#
|
|
125
|
-
#
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
#
|
|
129
|
-
#
|
|
130
|
-
#
|
|
131
|
-
# `
|
|
132
|
-
# "
|
|
133
|
-
# `
|
|
134
|
-
#
|
|
135
|
-
#
|
|
136
|
-
#
|
|
137
|
-
# "log_type": "DATA_READ",
|
|
138
|
-
# "exempted_members": [
|
|
139
|
-
# "user:jose@example.com"
|
|
140
|
-
# ]
|
|
141
|
-
# `,
|
|
142
|
-
# `
|
|
143
|
-
# "log_type": "DATA_WRITE"
|
|
144
|
-
# `,
|
|
145
|
-
# `
|
|
146
|
-
# "log_type": "ADMIN_READ"
|
|
147
|
-
# `
|
|
148
|
-
# ]
|
|
149
|
-
# `,
|
|
150
|
-
# `
|
|
151
|
-
# "service": "sampleservice.googleapis.com",
|
|
152
|
-
# "audit_log_configs": [
|
|
153
|
-
# `
|
|
154
|
-
# "log_type": "DATA_READ"
|
|
155
|
-
# `,
|
|
156
|
-
# `
|
|
157
|
-
# "log_type": "DATA_WRITE",
|
|
158
|
-
# "exempted_members": [
|
|
159
|
-
# "user:aliya@example.com"
|
|
160
|
-
# ]
|
|
161
|
-
# `
|
|
162
|
-
# ]
|
|
163
|
-
# `
|
|
164
|
-
# ]
|
|
165
|
-
# `
|
|
166
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
167
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
168
|
-
# aliya@example.com from DATA_WRITE logging.
|
|
119
|
+
# Specifies the audit configuration for a service. The configuration determines
|
|
120
|
+
# which permission types are logged, and what identities, if any, are exempted
|
|
121
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
|
122
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
|
123
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
|
124
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
|
125
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
|
126
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
|
127
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
|
128
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
|
129
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
|
130
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
|
131
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
|
132
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
|
133
|
+
# DATA_WRITE logging.
|
|
169
134
|
class AuditConfig
|
|
170
135
|
include Google::Apis::Core::Hashable
|
|
171
136
|
|
|
@@ -174,9 +139,9 @@ module Google
|
|
|
174
139
|
# @return [Array<Google::Apis::SecuritycenterV1::AuditLogConfig>]
|
|
175
140
|
attr_accessor :audit_log_configs
|
|
176
141
|
|
|
177
|
-
# Specifies a service that will be enabled for audit logging.
|
|
178
|
-
#
|
|
179
|
-
#
|
|
142
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
|
143
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
144
|
+
# value that covers all services.
|
|
180
145
|
# Corresponds to the JSON property `service`
|
|
181
146
|
# @return [String]
|
|
182
147
|
attr_accessor :service
|
|
@@ -192,28 +157,15 @@ module Google
|
|
|
192
157
|
end
|
|
193
158
|
end
|
|
194
159
|
|
|
195
|
-
# Provides the configuration for logging a type of permissions.
|
|
196
|
-
#
|
|
197
|
-
# `
|
|
198
|
-
#
|
|
199
|
-
#
|
|
200
|
-
# "log_type": "DATA_READ",
|
|
201
|
-
# "exempted_members": [
|
|
202
|
-
# "user:jose@example.com"
|
|
203
|
-
# ]
|
|
204
|
-
# `,
|
|
205
|
-
# `
|
|
206
|
-
# "log_type": "DATA_WRITE"
|
|
207
|
-
# `
|
|
208
|
-
# ]
|
|
209
|
-
# `
|
|
210
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
211
|
-
# jose@example.com from DATA_READ logging.
|
|
160
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
|
161
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
|
162
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
|
163
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
|
164
|
+
# DATA_READ logging.
|
|
212
165
|
class AuditLogConfig
|
|
213
166
|
include Google::Apis::Core::Hashable
|
|
214
167
|
|
|
215
|
-
# Specifies the identities that do not cause logging for this type of
|
|
216
|
-
# permission.
|
|
168
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
|
217
169
|
# Follows the same format of Binding.members.
|
|
218
170
|
# Corresponds to the JSON property `exemptedMembers`
|
|
219
171
|
# @return [Array<String>]
|
|
@@ -239,69 +191,57 @@ module Google
|
|
|
239
191
|
class Binding
|
|
240
192
|
include Google::Apis::Core::Hashable
|
|
241
193
|
|
|
242
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
243
|
-
#
|
|
244
|
-
#
|
|
245
|
-
#
|
|
246
|
-
#
|
|
247
|
-
# description: "Determines if
|
|
248
|
-
# expression: "document.
|
|
249
|
-
#
|
|
250
|
-
#
|
|
251
|
-
#
|
|
252
|
-
#
|
|
253
|
-
#
|
|
254
|
-
#
|
|
255
|
-
#
|
|
256
|
-
#
|
|
257
|
-
# Example (Data Manipulation):
|
|
258
|
-
# title: "Notification string"
|
|
259
|
-
# description: "Create a notification string with a timestamp."
|
|
260
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
261
|
-
# The exact variables and functions that may be referenced within an expression
|
|
262
|
-
# are determined by the service that evaluates it. See the service
|
|
263
|
-
# documentation for additional information.
|
|
194
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
195
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
196
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
197
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
198
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
199
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
200
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
201
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
202
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
203
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
204
|
+
# string" description: "Create a notification string with a timestamp."
|
|
205
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
206
|
+
# exact variables and functions that may be referenced within an expression are
|
|
207
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
208
|
+
# additional information.
|
|
264
209
|
# Corresponds to the JSON property `condition`
|
|
265
210
|
# @return [Google::Apis::SecuritycenterV1::Expr]
|
|
266
211
|
attr_accessor :condition
|
|
267
212
|
|
|
268
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
269
|
-
#
|
|
270
|
-
#
|
|
271
|
-
#
|
|
272
|
-
#
|
|
273
|
-
#
|
|
274
|
-
# * `
|
|
275
|
-
# account. For example, `
|
|
276
|
-
# * `
|
|
277
|
-
#
|
|
278
|
-
#
|
|
279
|
-
# For example, `
|
|
280
|
-
#
|
|
281
|
-
#
|
|
282
|
-
#
|
|
283
|
-
#
|
|
284
|
-
#
|
|
285
|
-
#
|
|
286
|
-
#
|
|
287
|
-
# deleted
|
|
288
|
-
#
|
|
289
|
-
# If the
|
|
290
|
-
# `
|
|
291
|
-
# role in the binding.
|
|
292
|
-
#
|
|
293
|
-
#
|
|
294
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
295
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
296
|
-
# recovered group retains the role in the binding.
|
|
297
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
298
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
|
213
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
|
214
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
|
215
|
+
# that represents anyone who is on the internet; with or without a Google
|
|
216
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
|
217
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
|
218
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
|
219
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
|
220
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
|
221
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
|
222
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
|
223
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
|
224
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
|
225
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
|
226
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
|
227
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
228
|
+
# identifier) representing a service account that has been recently deleted. For
|
|
229
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
230
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
|
231
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
|
232
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
233
|
+
# identifier) representing a Google group that has been recently deleted. For
|
|
234
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
|
235
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
|
236
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
|
237
|
+
# primary) that represents all the users of that domain. For example, `google.
|
|
238
|
+
# com` or `example.com`.
|
|
299
239
|
# Corresponds to the JSON property `members`
|
|
300
240
|
# @return [Array<String>]
|
|
301
241
|
attr_accessor :members
|
|
302
242
|
|
|
303
|
-
# Role that is assigned to `members`.
|
|
304
|
-
#
|
|
243
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
|
244
|
+
# , or `roles/owner`.
|
|
305
245
|
# Corresponds to the JSON property `role`
|
|
306
246
|
# @return [String]
|
|
307
247
|
attr_accessor :role
|
|
@@ -318,13 +258,11 @@ module Google
|
|
|
318
258
|
end
|
|
319
259
|
end
|
|
320
260
|
|
|
321
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
325
|
-
#
|
|
326
|
-
# `
|
|
327
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
261
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
262
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
263
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
264
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
265
|
+
# `Empty` is empty JSON object ````.
|
|
328
266
|
class Empty
|
|
329
267
|
include Google::Apis::Core::Hashable
|
|
330
268
|
|
|
@@ -337,52 +275,43 @@ module Google
|
|
|
337
275
|
end
|
|
338
276
|
end
|
|
339
277
|
|
|
340
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
341
|
-
#
|
|
342
|
-
#
|
|
343
|
-
#
|
|
344
|
-
#
|
|
345
|
-
# description: "Determines if
|
|
346
|
-
# expression: "document.
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
351
|
-
#
|
|
352
|
-
#
|
|
353
|
-
#
|
|
354
|
-
#
|
|
355
|
-
# Example (Data Manipulation):
|
|
356
|
-
# title: "Notification string"
|
|
357
|
-
# description: "Create a notification string with a timestamp."
|
|
358
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
359
|
-
# The exact variables and functions that may be referenced within an expression
|
|
360
|
-
# are determined by the service that evaluates it. See the service
|
|
361
|
-
# documentation for additional information.
|
|
278
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
279
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
280
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
281
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
282
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
283
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
284
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
285
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
286
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
287
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
288
|
+
# string" description: "Create a notification string with a timestamp."
|
|
289
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
290
|
+
# exact variables and functions that may be referenced within an expression are
|
|
291
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
292
|
+
# additional information.
|
|
362
293
|
class Expr
|
|
363
294
|
include Google::Apis::Core::Hashable
|
|
364
295
|
|
|
365
|
-
# Optional. Description of the expression. This is a longer text which
|
|
366
|
-
#
|
|
296
|
+
# Optional. Description of the expression. This is a longer text which describes
|
|
297
|
+
# the expression, e.g. when hovered over it in a UI.
|
|
367
298
|
# Corresponds to the JSON property `description`
|
|
368
299
|
# @return [String]
|
|
369
300
|
attr_accessor :description
|
|
370
301
|
|
|
371
|
-
# Textual representation of an expression in Common Expression Language
|
|
372
|
-
# syntax.
|
|
302
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
|
373
303
|
# Corresponds to the JSON property `expression`
|
|
374
304
|
# @return [String]
|
|
375
305
|
attr_accessor :expression
|
|
376
306
|
|
|
377
|
-
# Optional. String indicating the location of the expression for error
|
|
378
|
-
#
|
|
307
|
+
# Optional. String indicating the location of the expression for error reporting,
|
|
308
|
+
# e.g. a file name and a position in the file.
|
|
379
309
|
# Corresponds to the JSON property `location`
|
|
380
310
|
# @return [String]
|
|
381
311
|
attr_accessor :location
|
|
382
312
|
|
|
383
|
-
# Optional. Title for the expression, i.e. a short string describing
|
|
384
|
-
#
|
|
385
|
-
# expression.
|
|
313
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
|
314
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
|
386
315
|
# Corresponds to the JSON property `title`
|
|
387
316
|
# @return [String]
|
|
388
317
|
attr_accessor :title
|
|
@@ -400,18 +329,16 @@ module Google
|
|
|
400
329
|
end
|
|
401
330
|
end
|
|
402
331
|
|
|
403
|
-
# Security Command Center finding.
|
|
404
|
-
#
|
|
405
|
-
#
|
|
406
|
-
#
|
|
407
|
-
#
|
|
408
|
-
# finding.
|
|
332
|
+
# Security Command Center finding. A finding is a record of assessment data like
|
|
333
|
+
# security, risk, health, or privacy, that is ingested into Security Command
|
|
334
|
+
# Center for presentation, notification, analysis, policy testing, and
|
|
335
|
+
# enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
|
|
336
|
+
# Engine application is a finding.
|
|
409
337
|
class Finding
|
|
410
338
|
include Google::Apis::Core::Hashable
|
|
411
339
|
|
|
412
|
-
# The additional taxonomy group within findings from a given source.
|
|
413
|
-
#
|
|
414
|
-
# Example: "XSS_FLASH_INJECTION"
|
|
340
|
+
# The additional taxonomy group within findings from a given source. This field
|
|
341
|
+
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
415
342
|
# Corresponds to the JSON property `category`
|
|
416
343
|
# @return [String]
|
|
417
344
|
attr_accessor :category
|
|
@@ -421,59 +348,58 @@ module Google
|
|
|
421
348
|
# @return [String]
|
|
422
349
|
attr_accessor :create_time
|
|
423
350
|
|
|
424
|
-
# The time at which the event took place
|
|
425
|
-
# represents an open firewall it would
|
|
426
|
-
# the firewall became open. The accuracy
|
|
351
|
+
# The time at which the event took place, or when an update to the finding
|
|
352
|
+
# occurred. For example, if the finding represents an open firewall it would
|
|
353
|
+
# capture the time the detector believes the firewall became open. The accuracy
|
|
354
|
+
# is determined by the detector. If the finding were to be resolved afterward,
|
|
355
|
+
# this time would reflect when the finding was resolved.
|
|
427
356
|
# Corresponds to the JSON property `eventTime`
|
|
428
357
|
# @return [String]
|
|
429
358
|
attr_accessor :event_time
|
|
430
359
|
|
|
431
|
-
# The URI that, if available, points to a web page outside of Security
|
|
432
|
-
#
|
|
433
|
-
#
|
|
360
|
+
# The URI that, if available, points to a web page outside of Security Command
|
|
361
|
+
# Center where additional information about the finding can be found. This field
|
|
362
|
+
# is guaranteed to be either empty or a well formed URL.
|
|
434
363
|
# Corresponds to the JSON property `externalUri`
|
|
435
364
|
# @return [String]
|
|
436
365
|
attr_accessor :external_uri
|
|
437
366
|
|
|
438
|
-
# The relative resource name of this finding. See:
|
|
439
|
-
#
|
|
440
|
-
#
|
|
441
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
367
|
+
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
|
368
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
369
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
442
370
|
# Corresponds to the JSON property `name`
|
|
443
371
|
# @return [String]
|
|
444
372
|
attr_accessor :name
|
|
445
373
|
|
|
446
|
-
# The relative resource name of the source the finding belongs to. See:
|
|
447
|
-
#
|
|
448
|
-
#
|
|
449
|
-
#
|
|
450
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
|
374
|
+
# The relative resource name of the source the finding belongs to. See: https://
|
|
375
|
+
# cloud.google.com/apis/design/resource_names#relative_resource_name This field
|
|
376
|
+
# is immutable after creation time. For example: "organizations/`organization_id`
|
|
377
|
+
# /sources/`source_id`"
|
|
451
378
|
# Corresponds to the JSON property `parent`
|
|
452
379
|
# @return [String]
|
|
453
380
|
attr_accessor :parent
|
|
454
381
|
|
|
455
|
-
# For findings on Google Cloud resources, the full resource
|
|
456
|
-
#
|
|
457
|
-
#
|
|
458
|
-
#
|
|
459
|
-
#
|
|
460
|
-
# creation time.
|
|
382
|
+
# For findings on Google Cloud resources, the full resource name of the Google
|
|
383
|
+
# Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
|
|
384
|
+
# resource_names#full_resource_name When the finding is for a non-Google Cloud
|
|
385
|
+
# resource, the resourceName can be a customer or partner defined string. This
|
|
386
|
+
# field is immutable after creation time.
|
|
461
387
|
# Corresponds to the JSON property `resourceName`
|
|
462
388
|
# @return [String]
|
|
463
389
|
attr_accessor :resource_name
|
|
464
390
|
|
|
465
|
-
# User specified security marks that are attached to the parent Security
|
|
466
|
-
#
|
|
467
|
-
#
|
|
468
|
-
#
|
|
391
|
+
# User specified security marks that are attached to the parent Security Command
|
|
392
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
393
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
394
|
+
# permissions on the organization.
|
|
469
395
|
# Corresponds to the JSON property `securityMarks`
|
|
470
396
|
# @return [Google::Apis::SecuritycenterV1::SecurityMarks]
|
|
471
397
|
attr_accessor :security_marks
|
|
472
398
|
|
|
473
|
-
# Source specific properties. These properties are managed by the source
|
|
474
|
-
#
|
|
475
|
-
#
|
|
476
|
-
#
|
|
399
|
+
# Source specific properties. These properties are managed by the source that
|
|
400
|
+
# writes the finding. The key names in the source_properties map must be between
|
|
401
|
+
# 1 and 255 characters, and must start with a letter and contain alphanumeric
|
|
402
|
+
# characters or underscores only.
|
|
477
403
|
# Corresponds to the JSON property `sourceProperties`
|
|
478
404
|
# @return [Hash<String,Object>]
|
|
479
405
|
attr_accessor :source_properties
|
|
@@ -525,15 +451,13 @@ module Google
|
|
|
525
451
|
class GetPolicyOptions
|
|
526
452
|
include Google::Apis::Core::Hashable
|
|
527
453
|
|
|
528
|
-
# Optional. The policy format version to be returned.
|
|
529
|
-
#
|
|
530
|
-
#
|
|
531
|
-
#
|
|
532
|
-
#
|
|
533
|
-
#
|
|
534
|
-
#
|
|
535
|
-
# [IAM
|
|
536
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
454
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
|
455
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
|
456
|
+
# policies with any conditional bindings must specify version 3. Policies
|
|
457
|
+
# without any conditional bindings may specify any valid value or leave the
|
|
458
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
|
459
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
460
|
+
# resource-policies).
|
|
537
461
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
|
538
462
|
# @return [Fixnum]
|
|
539
463
|
attr_accessor :requested_policy_version
|
|
@@ -552,12 +476,11 @@ module Google
|
|
|
552
476
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
|
553
477
|
include Google::Apis::Core::Hashable
|
|
554
478
|
|
|
555
|
-
# Security Command Center finding.
|
|
556
|
-
#
|
|
557
|
-
#
|
|
558
|
-
#
|
|
559
|
-
#
|
|
560
|
-
# finding.
|
|
479
|
+
# Security Command Center finding. A finding is a record of assessment data like
|
|
480
|
+
# security, risk, health, or privacy, that is ingested into Security Command
|
|
481
|
+
# Center for presentation, notification, analysis, policy testing, and
|
|
482
|
+
# enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
|
|
483
|
+
# Engine application is a finding.
|
|
561
484
|
# Corresponds to the JSON property `finding`
|
|
562
485
|
# @return [Google::Apis::SecuritycenterV1::Finding]
|
|
563
486
|
attr_accessor :finding
|
|
@@ -588,8 +511,8 @@ module Google
|
|
|
588
511
|
class GoogleCloudSecuritycenterV1Resource
|
|
589
512
|
include Google::Apis::Core::Hashable
|
|
590
513
|
|
|
591
|
-
# The full resource name of the resource. See:
|
|
592
|
-
#
|
|
514
|
+
# The full resource name of the resource. See: https://cloud.google.com/apis/
|
|
515
|
+
# design/resource_names#full_resource_name
|
|
593
516
|
# Corresponds to the JSON property `name`
|
|
594
517
|
# @return [String]
|
|
595
518
|
attr_accessor :name
|
|
@@ -678,12 +601,11 @@ module Google
|
|
|
678
601
|
end
|
|
679
602
|
end
|
|
680
603
|
|
|
681
|
-
# Security Command Center representation of a Google Cloud
|
|
682
|
-
# resource
|
|
683
|
-
#
|
|
684
|
-
#
|
|
685
|
-
#
|
|
686
|
-
# Google Cloud resource.
|
|
604
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
605
|
+
# is a Security Command Center resource that captures information about a single
|
|
606
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
|
607
|
+
# context of Security Command Center and don't affect the referenced Google
|
|
608
|
+
# Cloud resource.
|
|
687
609
|
class GoogleCloudSecuritycenterV1p1beta1Asset
|
|
688
610
|
include Google::Apis::Core::Hashable
|
|
689
611
|
|
|
@@ -694,22 +616,20 @@ module Google
|
|
|
694
616
|
|
|
695
617
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
|
696
618
|
# described by the Security Command Center asset. This information is managed
|
|
697
|
-
# and defined by the Google Cloud resource and cannot be modified by the
|
|
698
|
-
# user.
|
|
619
|
+
# and defined by the Google Cloud resource and cannot be modified by the user.
|
|
699
620
|
# Corresponds to the JSON property `iamPolicy`
|
|
700
621
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
|
|
701
622
|
attr_accessor :iam_policy
|
|
702
623
|
|
|
703
|
-
# The relative resource name of this asset. See:
|
|
704
|
-
#
|
|
705
|
-
#
|
|
706
|
-
# "organizations/`organization_id`/assets/`asset_id`".
|
|
624
|
+
# The relative resource name of this asset. See: https://cloud.google.com/apis/
|
|
625
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
626
|
+
# organization_id`/assets/`asset_id`".
|
|
707
627
|
# Corresponds to the JSON property `name`
|
|
708
628
|
# @return [String]
|
|
709
629
|
attr_accessor :name
|
|
710
630
|
|
|
711
|
-
# Resource managed properties. These properties are managed and defined by
|
|
712
|
-
#
|
|
631
|
+
# Resource managed properties. These properties are managed and defined by the
|
|
632
|
+
# Google Cloud resource and cannot be modified by the user.
|
|
713
633
|
# Corresponds to the JSON property `resourceProperties`
|
|
714
634
|
# @return [Hash<String,Object>]
|
|
715
635
|
attr_accessor :resource_properties
|
|
@@ -720,16 +640,15 @@ module Google
|
|
|
720
640
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
|
|
721
641
|
attr_accessor :security_center_properties
|
|
722
642
|
|
|
723
|
-
# User specified security marks that are attached to the parent Security
|
|
724
|
-
#
|
|
725
|
-
#
|
|
726
|
-
#
|
|
643
|
+
# User specified security marks that are attached to the parent Security Command
|
|
644
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
645
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
646
|
+
# permissions on the organization.
|
|
727
647
|
# Corresponds to the JSON property `securityMarks`
|
|
728
648
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
|
729
649
|
attr_accessor :security_marks
|
|
730
650
|
|
|
731
|
-
# The time at which the asset was last updated, added, or deleted in Cloud
|
|
732
|
-
# SCC.
|
|
651
|
+
# The time at which the asset was last updated, added, or deleted in Cloud SCC.
|
|
733
652
|
# Corresponds to the JSON property `updateTime`
|
|
734
653
|
# @return [String]
|
|
735
654
|
attr_accessor :update_time
|
|
@@ -750,17 +669,15 @@ module Google
|
|
|
750
669
|
end
|
|
751
670
|
end
|
|
752
671
|
|
|
753
|
-
# Security Command Center finding.
|
|
754
|
-
#
|
|
755
|
-
#
|
|
756
|
-
#
|
|
757
|
-
# in an App Engine application is a finding.
|
|
672
|
+
# Security Command Center finding. A finding is a record of assessment data (
|
|
673
|
+
# security, risk, health or privacy) ingested into Security Command Center for
|
|
674
|
+
# presentation, notification, analysis, policy testing, and enforcement. For
|
|
675
|
+
# example, an XSS vulnerability in an App Engine application is a finding.
|
|
758
676
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
|
759
677
|
include Google::Apis::Core::Hashable
|
|
760
678
|
|
|
761
|
-
# The additional taxonomy group within findings from a given source.
|
|
762
|
-
#
|
|
763
|
-
# Example: "XSS_FLASH_INJECTION"
|
|
679
|
+
# The additional taxonomy group within findings from a given source. This field
|
|
680
|
+
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
764
681
|
# Corresponds to the JSON property `category`
|
|
765
682
|
# @return [String]
|
|
766
683
|
attr_accessor :category
|
|
@@ -770,59 +687,63 @@ module Google
|
|
|
770
687
|
# @return [String]
|
|
771
688
|
attr_accessor :create_time
|
|
772
689
|
|
|
773
|
-
# The time at which the event took place
|
|
774
|
-
# represents an open firewall it would
|
|
775
|
-
# the firewall became open. The accuracy
|
|
690
|
+
# The time at which the event took place, or when an update to the finding
|
|
691
|
+
# occurred. For example, if the finding represents an open firewall it would
|
|
692
|
+
# capture the time the detector believes the firewall became open. The accuracy
|
|
693
|
+
# is determined by the detector. If the finding were to be resolved afterward,
|
|
694
|
+
# this time would reflect when the finding was resolved.
|
|
776
695
|
# Corresponds to the JSON property `eventTime`
|
|
777
696
|
# @return [String]
|
|
778
697
|
attr_accessor :event_time
|
|
779
698
|
|
|
780
|
-
# The URI that, if available, points to a web page outside of Security
|
|
781
|
-
#
|
|
782
|
-
#
|
|
699
|
+
# The URI that, if available, points to a web page outside of Security Command
|
|
700
|
+
# Center where additional information about the finding can be found. This field
|
|
701
|
+
# is guaranteed to be either empty or a well formed URL.
|
|
783
702
|
# Corresponds to the JSON property `externalUri`
|
|
784
703
|
# @return [String]
|
|
785
704
|
attr_accessor :external_uri
|
|
786
705
|
|
|
787
|
-
# The relative resource name of this finding. See:
|
|
788
|
-
#
|
|
789
|
-
#
|
|
790
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
706
|
+
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
|
707
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
708
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
791
709
|
# Corresponds to the JSON property `name`
|
|
792
710
|
# @return [String]
|
|
793
711
|
attr_accessor :name
|
|
794
712
|
|
|
795
|
-
# The relative resource name of the source the finding belongs to. See:
|
|
796
|
-
#
|
|
797
|
-
#
|
|
798
|
-
#
|
|
799
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
|
713
|
+
# The relative resource name of the source the finding belongs to. See: https://
|
|
714
|
+
# cloud.google.com/apis/design/resource_names#relative_resource_name This field
|
|
715
|
+
# is immutable after creation time. For example: "organizations/`organization_id`
|
|
716
|
+
# /sources/`source_id`"
|
|
800
717
|
# Corresponds to the JSON property `parent`
|
|
801
718
|
# @return [String]
|
|
802
719
|
attr_accessor :parent
|
|
803
720
|
|
|
804
|
-
# For findings on Google Cloud resources, the full resource
|
|
805
|
-
#
|
|
806
|
-
#
|
|
807
|
-
#
|
|
808
|
-
#
|
|
809
|
-
# creation time.
|
|
721
|
+
# For findings on Google Cloud resources, the full resource name of the Google
|
|
722
|
+
# Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
|
|
723
|
+
# resource_names#full_resource_name When the finding is for a non-Google Cloud
|
|
724
|
+
# resource, the resourceName can be a customer or partner defined string. This
|
|
725
|
+
# field is immutable after creation time.
|
|
810
726
|
# Corresponds to the JSON property `resourceName`
|
|
811
727
|
# @return [String]
|
|
812
728
|
attr_accessor :resource_name
|
|
813
729
|
|
|
814
|
-
# User specified security marks that are attached to the parent Security
|
|
815
|
-
#
|
|
816
|
-
#
|
|
817
|
-
#
|
|
730
|
+
# User specified security marks that are attached to the parent Security Command
|
|
731
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
732
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
733
|
+
# permissions on the organization.
|
|
818
734
|
# Corresponds to the JSON property `securityMarks`
|
|
819
735
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
|
820
736
|
attr_accessor :security_marks
|
|
821
737
|
|
|
822
|
-
#
|
|
823
|
-
#
|
|
824
|
-
#
|
|
825
|
-
|
|
738
|
+
# The severity of the finding.
|
|
739
|
+
# Corresponds to the JSON property `severity`
|
|
740
|
+
# @return [String]
|
|
741
|
+
attr_accessor :severity
|
|
742
|
+
|
|
743
|
+
# Source specific properties. These properties are managed by the source that
|
|
744
|
+
# writes the finding. The key names in the source_properties map must be between
|
|
745
|
+
# 1 and 255 characters, and must start with a letter and contain alphanumeric
|
|
746
|
+
# characters or underscores only.
|
|
826
747
|
# Corresponds to the JSON property `sourceProperties`
|
|
827
748
|
# @return [Hash<String,Object>]
|
|
828
749
|
attr_accessor :source_properties
|
|
@@ -846,6 +767,7 @@ module Google
|
|
|
846
767
|
@parent = args[:parent] if args.key?(:parent)
|
|
847
768
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
848
769
|
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
|
770
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
849
771
|
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
|
850
772
|
@state = args[:state] if args.key?(:state)
|
|
851
773
|
end
|
|
@@ -853,14 +775,12 @@ module Google
|
|
|
853
775
|
|
|
854
776
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
|
855
777
|
# described by the Security Command Center asset. This information is managed
|
|
856
|
-
# and defined by the Google Cloud resource and cannot be modified by the
|
|
857
|
-
# user.
|
|
778
|
+
# and defined by the Google Cloud resource and cannot be modified by the user.
|
|
858
779
|
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
|
859
780
|
include Google::Apis::Core::Hashable
|
|
860
781
|
|
|
861
|
-
# The JSON representation of the Policy associated with the asset.
|
|
862
|
-
#
|
|
863
|
-
# format details.
|
|
782
|
+
# The JSON representation of the Policy associated with the asset. See https://
|
|
783
|
+
# cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
|
|
864
784
|
# Corresponds to the JSON property `policyBlob`
|
|
865
785
|
# @return [String]
|
|
866
786
|
attr_accessor :policy_blob
|
|
@@ -879,11 +799,10 @@ module Google
|
|
|
879
799
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
|
880
800
|
include Google::Apis::Core::Hashable
|
|
881
801
|
|
|
882
|
-
# Security Command Center finding.
|
|
883
|
-
#
|
|
884
|
-
#
|
|
885
|
-
#
|
|
886
|
-
# in an App Engine application is a finding.
|
|
802
|
+
# Security Command Center finding. A finding is a record of assessment data (
|
|
803
|
+
# security, risk, health or privacy) ingested into Security Command Center for
|
|
804
|
+
# presentation, notification, analysis, policy testing, and enforcement. For
|
|
805
|
+
# example, an XSS vulnerability in an App Engine application is a finding.
|
|
887
806
|
# Corresponds to the JSON property `finding`
|
|
888
807
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Finding]
|
|
889
808
|
attr_accessor :finding
|
|
@@ -898,8 +817,8 @@ module Google
|
|
|
898
817
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource]
|
|
899
818
|
attr_accessor :resource
|
|
900
819
|
|
|
901
|
-
# Wrapper over asset object that also captures the state change for the asset
|
|
902
|
-
#
|
|
820
|
+
# Wrapper over asset object that also captures the state change for the asset e.
|
|
821
|
+
# g. if it was a newly created asset vs updated or deleted asset.
|
|
903
822
|
# Corresponds to the JSON property `temporalAsset`
|
|
904
823
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
|
|
905
824
|
attr_accessor :temporal_asset
|
|
@@ -921,8 +840,8 @@ module Google
|
|
|
921
840
|
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
922
841
|
include Google::Apis::Core::Hashable
|
|
923
842
|
|
|
924
|
-
# The full resource name of the resource. See:
|
|
925
|
-
#
|
|
843
|
+
# The full resource name of the resource. See: https://cloud.google.com/apis/
|
|
844
|
+
# design/resource_names#full_resource_name
|
|
926
845
|
# Corresponds to the JSON property `name`
|
|
927
846
|
# @return [String]
|
|
928
847
|
attr_accessor :name
|
|
@@ -996,9 +915,9 @@ module Google
|
|
|
996
915
|
# @return [String]
|
|
997
916
|
attr_accessor :resource_display_name
|
|
998
917
|
|
|
999
|
-
# The full resource name of the Google Cloud resource this asset
|
|
1000
|
-
#
|
|
1001
|
-
#
|
|
918
|
+
# The full resource name of the Google Cloud resource this asset represents.
|
|
919
|
+
# This field is immutable after create time. See: https://cloud.google.com/apis/
|
|
920
|
+
# design/resource_names#full_resource_name
|
|
1002
921
|
# Corresponds to the JSON property `resourceName`
|
|
1003
922
|
# @return [String]
|
|
1004
923
|
attr_accessor :resource_name
|
|
@@ -1008,8 +927,8 @@ module Google
|
|
|
1008
927
|
# @return [Array<String>]
|
|
1009
928
|
attr_accessor :resource_owners
|
|
1010
929
|
|
|
1011
|
-
# The full resource name of the immediate parent of the resource. See:
|
|
1012
|
-
#
|
|
930
|
+
# The full resource name of the immediate parent of the resource. See: https://
|
|
931
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
1013
932
|
# Corresponds to the JSON property `resourceParent`
|
|
1014
933
|
# @return [String]
|
|
1015
934
|
attr_accessor :resource_parent
|
|
@@ -1019,8 +938,8 @@ module Google
|
|
|
1019
938
|
# @return [String]
|
|
1020
939
|
attr_accessor :resource_parent_display_name
|
|
1021
940
|
|
|
1022
|
-
# The full resource name of the project the resource belongs to. See:
|
|
1023
|
-
#
|
|
941
|
+
# The full resource name of the project the resource belongs to. See: https://
|
|
942
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
1024
943
|
# Corresponds to the JSON property `resourceProject`
|
|
1025
944
|
# @return [String]
|
|
1026
945
|
attr_accessor :resource_project
|
|
@@ -1030,10 +949,9 @@ module Google
|
|
|
1030
949
|
# @return [String]
|
|
1031
950
|
attr_accessor :resource_project_display_name
|
|
1032
951
|
|
|
1033
|
-
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
|
1034
|
-
#
|
|
1035
|
-
#
|
|
1036
|
-
# immutable after create time.
|
|
952
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
|
|
953
|
+
# and ORGANIZATION. This is a case insensitive field defined by Security Command
|
|
954
|
+
# Center and/or the producer of the resource and is immutable after create time.
|
|
1037
955
|
# Corresponds to the JSON property `resourceType`
|
|
1038
956
|
# @return [String]
|
|
1039
957
|
attr_accessor :resource_type
|
|
@@ -1055,30 +973,26 @@ module Google
|
|
|
1055
973
|
end
|
|
1056
974
|
end
|
|
1057
975
|
|
|
1058
|
-
# User specified security marks that are attached to the parent Security
|
|
1059
|
-
#
|
|
1060
|
-
#
|
|
1061
|
-
#
|
|
976
|
+
# User specified security marks that are attached to the parent Security Command
|
|
977
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
978
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
979
|
+
# permissions on the organization.
|
|
1062
980
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
|
1063
981
|
include Google::Apis::Core::Hashable
|
|
1064
982
|
|
|
1065
983
|
# Mutable user specified security marks belonging to the parent resource.
|
|
1066
|
-
# Constraints are as follows:
|
|
1067
|
-
#
|
|
1068
|
-
#
|
|
1069
|
-
#
|
|
1070
|
-
# * Values have leading and trailing whitespace trimmed, remaining
|
|
1071
|
-
# characters must be between 1 - 4096 characters (inclusive)
|
|
984
|
+
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
|
985
|
+
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
|
986
|
+
# numbers, underscores, or dashes * Values have leading and trailing whitespace
|
|
987
|
+
# trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
|
|
1072
988
|
# Corresponds to the JSON property `marks`
|
|
1073
989
|
# @return [Hash<String,String>]
|
|
1074
990
|
attr_accessor :marks
|
|
1075
991
|
|
|
1076
|
-
# The relative resource name of the SecurityMarks. See:
|
|
1077
|
-
#
|
|
1078
|
-
#
|
|
1079
|
-
#
|
|
1080
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
|
1081
|
-
# securityMarks".
|
|
992
|
+
# The relative resource name of the SecurityMarks. See: https://cloud.google.com/
|
|
993
|
+
# apis/design/resource_names#relative_resource_name Examples: "organizations/`
|
|
994
|
+
# organization_id`/assets/`asset_id`/securityMarks" "organizations/`
|
|
995
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
|
|
1082
996
|
# Corresponds to the JSON property `name`
|
|
1083
997
|
# @return [String]
|
|
1084
998
|
attr_accessor :name
|
|
@@ -1094,17 +1008,16 @@ module Google
|
|
|
1094
1008
|
end
|
|
1095
1009
|
end
|
|
1096
1010
|
|
|
1097
|
-
# Wrapper over asset object that also captures the state change for the asset
|
|
1098
|
-
#
|
|
1011
|
+
# Wrapper over asset object that also captures the state change for the asset e.
|
|
1012
|
+
# g. if it was a newly created asset vs updated or deleted asset.
|
|
1099
1013
|
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
|
1100
1014
|
include Google::Apis::Core::Hashable
|
|
1101
1015
|
|
|
1102
|
-
# Security Command Center representation of a Google Cloud
|
|
1103
|
-
# resource
|
|
1104
|
-
#
|
|
1105
|
-
#
|
|
1106
|
-
#
|
|
1107
|
-
# Google Cloud resource.
|
|
1016
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
1017
|
+
# is a Security Command Center resource that captures information about a single
|
|
1018
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
|
1019
|
+
# context of Security Command Center and don't affect the referenced Google
|
|
1020
|
+
# Cloud resource.
|
|
1108
1021
|
# Corresponds to the JSON property `asset`
|
|
1109
1022
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset]
|
|
1110
1023
|
attr_accessor :asset
|
|
@@ -1130,119 +1043,93 @@ module Google
|
|
|
1130
1043
|
include Google::Apis::Core::Hashable
|
|
1131
1044
|
|
|
1132
1045
|
# When compare_duration is set, the GroupResult's "state_change" property is
|
|
1133
|
-
# updated to indicate whether the asset was added, removed, or remained
|
|
1134
|
-
#
|
|
1135
|
-
#
|
|
1136
|
-
#
|
|
1137
|
-
#
|
|
1138
|
-
#
|
|
1139
|
-
#
|
|
1140
|
-
#
|
|
1141
|
-
#
|
|
1142
|
-
#
|
|
1143
|
-
#
|
|
1144
|
-
#
|
|
1145
|
-
# compare_duration
|
|
1146
|
-
#
|
|
1147
|
-
#
|
|
1148
|
-
#
|
|
1149
|
-
# If compare_duration is not specified, then the only possible state_change
|
|
1150
|
-
# is "UNUSED", which will be the state_change set for all assets present at
|
|
1151
|
-
# read_time.
|
|
1152
|
-
# If this field is set then `state_change` must be a specified field in
|
|
1153
|
-
# `group_by`.
|
|
1046
|
+
# updated to indicate whether the asset was added, removed, or remained present
|
|
1047
|
+
# during the compare_duration period of time that precedes the read_time. This
|
|
1048
|
+
# is the time between (read_time - compare_duration) and read_time. The state
|
|
1049
|
+
# change value is derived based on the presence of the asset at the two points
|
|
1050
|
+
# in time. Intermediate state changes between the two times don't affect the
|
|
1051
|
+
# result. For example, the results aren't affected if the asset is removed and
|
|
1052
|
+
# re-created again. Possible "state_change" values when compare_duration is
|
|
1053
|
+
# specified: * "ADDED": indicates that the asset was not present at the start of
|
|
1054
|
+
# compare_duration, but present at reference_time. * "REMOVED": indicates that
|
|
1055
|
+
# the asset was present at the start of compare_duration, but not present at
|
|
1056
|
+
# reference_time. * "ACTIVE": indicates that the asset was present at both the
|
|
1057
|
+
# start and the end of the time period defined by compare_duration and
|
|
1058
|
+
# reference_time. If compare_duration is not specified, then the only possible
|
|
1059
|
+
# state_change is "UNUSED", which will be the state_change set for all assets
|
|
1060
|
+
# present at read_time. If this field is set then `state_change` must be a
|
|
1061
|
+
# specified field in `group_by`.
|
|
1154
1062
|
# Corresponds to the JSON property `compareDuration`
|
|
1155
1063
|
# @return [String]
|
|
1156
1064
|
attr_accessor :compare_duration
|
|
1157
1065
|
|
|
1158
|
-
# Expression that defines the filter to apply across assets.
|
|
1159
|
-
#
|
|
1160
|
-
#
|
|
1161
|
-
#
|
|
1162
|
-
#
|
|
1163
|
-
#
|
|
1164
|
-
#
|
|
1165
|
-
# *
|
|
1166
|
-
# *
|
|
1167
|
-
# *
|
|
1168
|
-
#
|
|
1169
|
-
#
|
|
1170
|
-
#
|
|
1171
|
-
#
|
|
1172
|
-
# *
|
|
1173
|
-
#
|
|
1174
|
-
#
|
|
1175
|
-
# *
|
|
1176
|
-
#
|
|
1177
|
-
#
|
|
1178
|
-
#
|
|
1179
|
-
#
|
|
1180
|
-
#
|
|
1181
|
-
#
|
|
1182
|
-
#
|
|
1183
|
-
#
|
|
1184
|
-
#
|
|
1185
|
-
#
|
|
1186
|
-
#
|
|
1187
|
-
#
|
|
1188
|
-
#
|
|
1189
|
-
# * iam_policy.policy_blob: `=`, `:`
|
|
1190
|
-
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
|
1191
|
-
# * security_marks.marks: `=`, `:`
|
|
1192
|
-
# * security_center_properties.resource_name: `=`, `:`
|
|
1193
|
-
# * security_center_properties.resource_display_name: `=`, `:`
|
|
1194
|
-
# * security_center_properties.resource_type: `=`, `:`
|
|
1195
|
-
# * security_center_properties.resource_parent: `=`, `:`
|
|
1196
|
-
# * security_center_properties.resource_parent_display_name: `=`, `:`
|
|
1197
|
-
# * security_center_properties.resource_project: `=`, `:`
|
|
1198
|
-
# * security_center_properties.resource_project_display_name: `=`, `:`
|
|
1199
|
-
# * security_center_properties.resource_owners: `=`, `:`
|
|
1200
|
-
# For example, `resource_properties.size = 100` is a valid filter string.
|
|
1201
|
-
# Use a partial match on the empty string to filter based on a property
|
|
1202
|
-
# existing: `resource_properties.my_property : ""`
|
|
1203
|
-
# Use a negated partial match on the empty string to filter based on a
|
|
1204
|
-
# property not existing: `-resource_properties.my_property : ""`
|
|
1066
|
+
# Expression that defines the filter to apply across assets. The expression is a
|
|
1067
|
+
# list of zero or more restrictions combined via logical operators `AND` and `OR`
|
|
1068
|
+
# . Parentheses are supported, and `OR` has higher precedence than `AND`.
|
|
1069
|
+
# Restrictions have the form ` ` and may have a `-` character in front of them
|
|
1070
|
+
# to indicate negation. The fields map to those defined in the Asset resource.
|
|
1071
|
+
# Examples include: * name * security_center_properties.resource_name *
|
|
1072
|
+
# resource_properties.a_property * security_marks.marks.marka The supported
|
|
1073
|
+
# operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer
|
|
1074
|
+
# values. * `:`, meaning substring matching, for strings. The supported value
|
|
1075
|
+
# types are: * string literals in quotes. * integer literals without quotes. *
|
|
1076
|
+
# boolean literals `true` and `false` without quotes. The following field and
|
|
1077
|
+
# operator combinations are supported: * name: `=` * update_time: `=`, `>`, `<`,
|
|
1078
|
+
# `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string.
|
|
1079
|
+
# Examples: `update_time = "2019-06-10T16:07:18-07:00"` `update_time =
|
|
1080
|
+
# 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be
|
|
1081
|
+
# milliseconds since epoch or an RFC3339 string. Examples: `create_time = "2019-
|
|
1082
|
+
# 06-10T16:07:18-07:00"` `create_time = 1560208038000` * iam_policy.policy_blob:
|
|
1083
|
+
# `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` *
|
|
1084
|
+
# security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`,
|
|
1085
|
+
# `:` * security_center_properties.resource_display_name: `=`, `:` *
|
|
1086
|
+
# security_center_properties.resource_type: `=`, `:` *
|
|
1087
|
+
# security_center_properties.resource_parent: `=`, `:` *
|
|
1088
|
+
# security_center_properties.resource_parent_display_name: `=`, `:` *
|
|
1089
|
+
# security_center_properties.resource_project: `=`, `:` *
|
|
1090
|
+
# security_center_properties.resource_project_display_name: `=`, `:` *
|
|
1091
|
+
# security_center_properties.resource_owners: `=`, `:` For example, `
|
|
1092
|
+
# resource_properties.size = 100` is a valid filter string. Use a partial match
|
|
1093
|
+
# on the empty string to filter based on a property existing: `
|
|
1094
|
+
# resource_properties.my_property : ""` Use a negated partial match on the empty
|
|
1095
|
+
# string to filter based on a property not existing: `-resource_properties.
|
|
1096
|
+
# my_property : ""`
|
|
1205
1097
|
# Corresponds to the JSON property `filter`
|
|
1206
1098
|
# @return [String]
|
|
1207
1099
|
attr_accessor :filter
|
|
1208
1100
|
|
|
1209
1101
|
# Required. Expression that defines what assets fields to use for grouping. The
|
|
1210
|
-
# string
|
|
1211
|
-
#
|
|
1212
|
-
#
|
|
1213
|
-
#
|
|
1214
|
-
#
|
|
1215
|
-
#
|
|
1216
|
-
# * security_center_properties.
|
|
1217
|
-
# *
|
|
1218
|
-
# * security_center_properties.
|
|
1219
|
-
# * security_center_properties.
|
|
1220
|
-
#
|
|
1221
|
-
# The following fields are supported when compare_duration is set:
|
|
1222
|
-
# * security_center_properties.resource_type
|
|
1223
|
-
# * security_center_properties.resource_project_display_name
|
|
1224
|
-
# * security_center_properties.resource_parent_display_name
|
|
1102
|
+
# string value should follow SQL syntax: comma separated list of fields. For
|
|
1103
|
+
# example: "security_center_properties.resource_project,
|
|
1104
|
+
# security_center_properties.project". The following fields are supported when
|
|
1105
|
+
# compare_duration is not set: * security_center_properties.resource_project *
|
|
1106
|
+
# security_center_properties.resource_project_display_name *
|
|
1107
|
+
# security_center_properties.resource_type * security_center_properties.
|
|
1108
|
+
# resource_parent * security_center_properties.resource_parent_display_name The
|
|
1109
|
+
# following fields are supported when compare_duration is set: *
|
|
1110
|
+
# security_center_properties.resource_type * security_center_properties.
|
|
1111
|
+
# resource_project_display_name * security_center_properties.
|
|
1112
|
+
# resource_parent_display_name
|
|
1225
1113
|
# Corresponds to the JSON property `groupBy`
|
|
1226
1114
|
# @return [String]
|
|
1227
1115
|
attr_accessor :group_by
|
|
1228
1116
|
|
|
1229
|
-
# The maximum number of results to return in a single response. Default is
|
|
1230
|
-
#
|
|
1117
|
+
# The maximum number of results to return in a single response. Default is 10,
|
|
1118
|
+
# minimum is 1, maximum is 1000.
|
|
1231
1119
|
# Corresponds to the JSON property `pageSize`
|
|
1232
1120
|
# @return [Fixnum]
|
|
1233
1121
|
attr_accessor :page_size
|
|
1234
1122
|
|
|
1235
|
-
# The value returned by the last `GroupAssetsResponse`; indicates
|
|
1236
|
-
#
|
|
1237
|
-
#
|
|
1123
|
+
# The value returned by the last `GroupAssetsResponse`; indicates that this is a
|
|
1124
|
+
# continuation of a prior `GroupAssets` call, and that the system should return
|
|
1125
|
+
# the next page of data.
|
|
1238
1126
|
# Corresponds to the JSON property `pageToken`
|
|
1239
1127
|
# @return [String]
|
|
1240
1128
|
attr_accessor :page_token
|
|
1241
1129
|
|
|
1242
|
-
# Time used as a reference point when filtering assets. The filter is limited
|
|
1243
|
-
#
|
|
1244
|
-
# specific time. Absence of this field will default to the API's version of
|
|
1245
|
-
# NOW.
|
|
1130
|
+
# Time used as a reference point when filtering assets. The filter is limited to
|
|
1131
|
+
# assets existing at the supplied time and their values are those at that
|
|
1132
|
+
# specific time. Absence of this field will default to the API's version of NOW.
|
|
1246
1133
|
# Corresponds to the JSON property `readTime`
|
|
1247
1134
|
# @return [String]
|
|
1248
1135
|
attr_accessor :read_time
|
|
@@ -1266,9 +1153,9 @@ module Google
|
|
|
1266
1153
|
class GroupAssetsResponse
|
|
1267
1154
|
include Google::Apis::Core::Hashable
|
|
1268
1155
|
|
|
1269
|
-
# Group results. There exists an element for each existing unique
|
|
1270
|
-
#
|
|
1271
|
-
#
|
|
1156
|
+
# Group results. There exists an element for each existing unique combination of
|
|
1157
|
+
# property/values. The element contains a count for the number of times those
|
|
1158
|
+
# specific property/values appear.
|
|
1272
1159
|
# Corresponds to the JSON property `groupByResults`
|
|
1273
1160
|
# @return [Array<Google::Apis::SecuritycenterV1::GroupResult>]
|
|
1274
1161
|
attr_accessor :group_by_results
|
|
@@ -1307,108 +1194,79 @@ module Google
|
|
|
1307
1194
|
include Google::Apis::Core::Hashable
|
|
1308
1195
|
|
|
1309
1196
|
# When compare_duration is set, the GroupResult's "state_change" attribute is
|
|
1310
|
-
# updated to indicate whether the finding had its state changed, the
|
|
1311
|
-
#
|
|
1312
|
-
# compare_duration period of time that precedes the read_time. This is the
|
|
1313
|
-
#
|
|
1314
|
-
#
|
|
1315
|
-
#
|
|
1316
|
-
#
|
|
1317
|
-
#
|
|
1318
|
-
#
|
|
1319
|
-
#
|
|
1320
|
-
#
|
|
1321
|
-
# state at
|
|
1322
|
-
# * "
|
|
1323
|
-
# filter at the start of compare_duration
|
|
1324
|
-
#
|
|
1325
|
-
#
|
|
1326
|
-
#
|
|
1327
|
-
#
|
|
1328
|
-
#
|
|
1329
|
-
#
|
|
1330
|
-
# the filter at read_time.
|
|
1331
|
-
# If compare_duration is not specified, then the only possible state_change
|
|
1332
|
-
# is "UNUSED", which will be the state_change set for all findings present
|
|
1333
|
-
# at read_time.
|
|
1334
|
-
# If this field is set then `state_change` must be a specified field in
|
|
1335
|
-
# `group_by`.
|
|
1197
|
+
# updated to indicate whether the finding had its state changed, the finding's
|
|
1198
|
+
# state remained unchanged, or if the finding was added during the
|
|
1199
|
+
# compare_duration period of time that precedes the read_time. This is the time
|
|
1200
|
+
# between (read_time - compare_duration) and read_time. The state_change value
|
|
1201
|
+
# is derived based on the presence and state of the finding at the two points in
|
|
1202
|
+
# time. Intermediate state changes between the two times don't affect the result.
|
|
1203
|
+
# For example, the results aren't affected if the finding is made inactive and
|
|
1204
|
+
# then active again. Possible "state_change" values when compare_duration is
|
|
1205
|
+
# specified: * "CHANGED": indicates that the finding was present and matched the
|
|
1206
|
+
# given filter at the start of compare_duration, but changed its state at
|
|
1207
|
+
# read_time. * "UNCHANGED": indicates that the finding was present and matched
|
|
1208
|
+
# the given filter at the start of compare_duration and did not change state at
|
|
1209
|
+
# read_time. * "ADDED": indicates that the finding did not match the given
|
|
1210
|
+
# filter or was not present at the start of compare_duration, but was present at
|
|
1211
|
+
# read_time. * "REMOVED": indicates that the finding was present and matched the
|
|
1212
|
+
# filter at the start of compare_duration, but did not match the filter at
|
|
1213
|
+
# read_time. If compare_duration is not specified, then the only possible
|
|
1214
|
+
# state_change is "UNUSED", which will be the state_change set for all findings
|
|
1215
|
+
# present at read_time. If this field is set then `state_change` must be a
|
|
1216
|
+
# specified field in `group_by`.
|
|
1336
1217
|
# Corresponds to the JSON property `compareDuration`
|
|
1337
1218
|
# @return [String]
|
|
1338
1219
|
attr_accessor :compare_duration
|
|
1339
1220
|
|
|
1340
|
-
# Expression that defines the filter to apply across findings.
|
|
1341
|
-
#
|
|
1342
|
-
#
|
|
1343
|
-
#
|
|
1344
|
-
#
|
|
1345
|
-
#
|
|
1346
|
-
# *
|
|
1347
|
-
# *
|
|
1348
|
-
# *
|
|
1349
|
-
# The
|
|
1350
|
-
# * `=`
|
|
1351
|
-
# *
|
|
1352
|
-
#
|
|
1353
|
-
#
|
|
1354
|
-
# *
|
|
1355
|
-
#
|
|
1356
|
-
#
|
|
1357
|
-
#
|
|
1358
|
-
#
|
|
1359
|
-
#
|
|
1360
|
-
# * resource_name: `=`, `:`
|
|
1361
|
-
# * state: `=`, `:`
|
|
1362
|
-
# * category: `=`, `:`
|
|
1363
|
-
# * external_uri: `=`, `:`
|
|
1364
|
-
# * event_time: `=`, `>`, `<`, `>=`, `<=`
|
|
1365
|
-
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
|
1366
|
-
# Examples:
|
|
1367
|
-
# `event_time = "2019-06-10T16:07:18-07:00"`
|
|
1368
|
-
# `event_time = 1560208038000`
|
|
1369
|
-
# * security_marks.marks: `=`, `:`
|
|
1370
|
-
# * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
|
1371
|
-
# For example, `source_properties.size = 100` is a valid filter string.
|
|
1372
|
-
# Use a partial match on the empty string to filter based on a property
|
|
1373
|
-
# existing: `source_properties.my_property : ""`
|
|
1374
|
-
# Use a negated partial match on the empty string to filter based on a
|
|
1375
|
-
# property not existing: `-source_properties.my_property : ""`
|
|
1221
|
+
# Expression that defines the filter to apply across findings. The expression is
|
|
1222
|
+
# a list of one or more restrictions combined via logical operators `AND` and `
|
|
1223
|
+
# OR`. Parentheses are supported, and `OR` has higher precedence than `AND`.
|
|
1224
|
+
# Restrictions have the form ` ` and may have a `-` character in front of them
|
|
1225
|
+
# to indicate negation. Examples include: * name * source_properties.a_property *
|
|
1226
|
+
# security_marks.marks.marka The supported operators are: * `=` for all value
|
|
1227
|
+
# types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring
|
|
1228
|
+
# matching, for strings. The supported value types are: * string literals in
|
|
1229
|
+
# quotes. * integer literals without quotes. * boolean literals `true` and `
|
|
1230
|
+
# false` without quotes. The following field and operator combinations are
|
|
1231
|
+
# supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
|
|
1232
|
+
# `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
|
|
1233
|
+
# `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
|
|
1234
|
+
# string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
|
|
1235
|
+
# 1560208038000` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`,
|
|
1236
|
+
# `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid
|
|
1237
|
+
# filter string. Use a partial match on the empty string to filter based on a
|
|
1238
|
+
# property existing: `source_properties.my_property : ""` Use a negated partial
|
|
1239
|
+
# match on the empty string to filter based on a property not existing: `-
|
|
1240
|
+
# source_properties.my_property : ""`
|
|
1376
1241
|
# Corresponds to the JSON property `filter`
|
|
1377
1242
|
# @return [String]
|
|
1378
1243
|
attr_accessor :filter
|
|
1379
1244
|
|
|
1380
1245
|
# Required. Expression that defines what assets fields to use for grouping (
|
|
1381
|
-
# including
|
|
1382
|
-
#
|
|
1383
|
-
#
|
|
1384
|
-
#
|
|
1385
|
-
# * resource_name
|
|
1386
|
-
# * category
|
|
1387
|
-
# * state
|
|
1388
|
-
# * parent
|
|
1389
|
-
# The following fields are supported when compare_duration is set:
|
|
1390
|
-
# * state_change
|
|
1246
|
+
# including `state_change`). The string value should follow SQL syntax: comma
|
|
1247
|
+
# separated list of fields. For example: "parent,resource_name". The following
|
|
1248
|
+
# fields are supported: * resource_name * category * state * parent The
|
|
1249
|
+
# following fields are supported when compare_duration is set: * state_change
|
|
1391
1250
|
# Corresponds to the JSON property `groupBy`
|
|
1392
1251
|
# @return [String]
|
|
1393
1252
|
attr_accessor :group_by
|
|
1394
1253
|
|
|
1395
|
-
# The maximum number of results to return in a single response. Default is
|
|
1396
|
-
#
|
|
1254
|
+
# The maximum number of results to return in a single response. Default is 10,
|
|
1255
|
+
# minimum is 1, maximum is 1000.
|
|
1397
1256
|
# Corresponds to the JSON property `pageSize`
|
|
1398
1257
|
# @return [Fixnum]
|
|
1399
1258
|
attr_accessor :page_size
|
|
1400
1259
|
|
|
1401
|
-
# The value returned by the last `GroupFindingsResponse`; indicates
|
|
1402
|
-
#
|
|
1403
|
-
#
|
|
1260
|
+
# The value returned by the last `GroupFindingsResponse`; indicates that this is
|
|
1261
|
+
# a continuation of a prior `GroupFindings` call, and that the system should
|
|
1262
|
+
# return the next page of data.
|
|
1404
1263
|
# Corresponds to the JSON property `pageToken`
|
|
1405
1264
|
# @return [String]
|
|
1406
1265
|
attr_accessor :page_token
|
|
1407
1266
|
|
|
1408
|
-
# Time used as a reference point when filtering findings. The filter is
|
|
1409
|
-
#
|
|
1410
|
-
#
|
|
1411
|
-
# API's version of NOW.
|
|
1267
|
+
# Time used as a reference point when filtering findings. The filter is limited
|
|
1268
|
+
# to findings existing at the supplied time and their values are those at that
|
|
1269
|
+
# specific time. Absence of this field will default to the API's version of NOW.
|
|
1412
1270
|
# Corresponds to the JSON property `readTime`
|
|
1413
1271
|
# @return [String]
|
|
1414
1272
|
attr_accessor :read_time
|
|
@@ -1432,9 +1290,9 @@ module Google
|
|
|
1432
1290
|
class GroupFindingsResponse
|
|
1433
1291
|
include Google::Apis::Core::Hashable
|
|
1434
1292
|
|
|
1435
|
-
# Group results. There exists an element for each existing unique
|
|
1436
|
-
#
|
|
1437
|
-
#
|
|
1293
|
+
# Group results. There exists an element for each existing unique combination of
|
|
1294
|
+
# property/values. The element contains a count for the number of times those
|
|
1295
|
+
# specific property/values appear.
|
|
1438
1296
|
# Corresponds to the JSON property `groupByResults`
|
|
1439
1297
|
# @return [Array<Google::Apis::SecuritycenterV1::GroupResult>]
|
|
1440
1298
|
attr_accessor :group_by_results
|
|
@@ -1495,14 +1353,12 @@ module Google
|
|
|
1495
1353
|
|
|
1496
1354
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
|
1497
1355
|
# described by the Security Command Center asset. This information is managed
|
|
1498
|
-
# and defined by the Google Cloud resource and cannot be modified by the
|
|
1499
|
-
# user.
|
|
1356
|
+
# and defined by the Google Cloud resource and cannot be modified by the user.
|
|
1500
1357
|
class IamPolicy
|
|
1501
1358
|
include Google::Apis::Core::Hashable
|
|
1502
1359
|
|
|
1503
|
-
# The JSON representation of the Policy associated with the asset.
|
|
1504
|
-
#
|
|
1505
|
-
# details.
|
|
1360
|
+
# The JSON representation of the Policy associated with the asset. See https://
|
|
1361
|
+
# cloud.google.com/iam/reference/rest/v1/Policy for format details.
|
|
1506
1362
|
# Corresponds to the JSON property `policyBlob`
|
|
1507
1363
|
# @return [String]
|
|
1508
1364
|
attr_accessor :policy_blob
|
|
@@ -1559,12 +1415,11 @@ module Google
|
|
|
1559
1415
|
class ListAssetsResult
|
|
1560
1416
|
include Google::Apis::Core::Hashable
|
|
1561
1417
|
|
|
1562
|
-
# Security Command Center representation of a Google Cloud
|
|
1563
|
-
# resource
|
|
1564
|
-
#
|
|
1565
|
-
#
|
|
1566
|
-
#
|
|
1567
|
-
# Google Cloud resource.
|
|
1418
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
1419
|
+
# is a Security Command Center resource that captures information about a single
|
|
1420
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
|
1421
|
+
# context of Security Command Center and don't affect the referenced Google
|
|
1422
|
+
# Cloud resource.
|
|
1568
1423
|
# Corresponds to the JSON property `asset`
|
|
1569
1424
|
# @return [Google::Apis::SecuritycenterV1::Asset]
|
|
1570
1425
|
attr_accessor :asset
|
|
@@ -1627,18 +1482,17 @@ module Google
|
|
|
1627
1482
|
class ListFindingsResult
|
|
1628
1483
|
include Google::Apis::Core::Hashable
|
|
1629
1484
|
|
|
1630
|
-
# Security Command Center finding.
|
|
1631
|
-
#
|
|
1632
|
-
#
|
|
1633
|
-
#
|
|
1634
|
-
#
|
|
1635
|
-
# finding.
|
|
1485
|
+
# Security Command Center finding. A finding is a record of assessment data like
|
|
1486
|
+
# security, risk, health, or privacy, that is ingested into Security Command
|
|
1487
|
+
# Center for presentation, notification, analysis, policy testing, and
|
|
1488
|
+
# enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
|
|
1489
|
+
# Engine application is a finding.
|
|
1636
1490
|
# Corresponds to the JSON property `finding`
|
|
1637
1491
|
# @return [Google::Apis::SecuritycenterV1::Finding]
|
|
1638
1492
|
attr_accessor :finding
|
|
1639
1493
|
|
|
1640
|
-
# Information related to the Google Cloud resource that is
|
|
1641
|
-
#
|
|
1494
|
+
# Information related to the Google Cloud resource that is associated with this
|
|
1495
|
+
# finding. LINT.IfChange
|
|
1642
1496
|
# Corresponds to the JSON property `resource`
|
|
1643
1497
|
# @return [Google::Apis::SecuritycenterV1::Resource]
|
|
1644
1498
|
attr_accessor :resource
|
|
@@ -1737,9 +1591,9 @@ module Google
|
|
|
1737
1591
|
end
|
|
1738
1592
|
end
|
|
1739
1593
|
|
|
1740
|
-
# Cloud Security Command Center (Cloud SCC) notification configs.
|
|
1741
|
-
#
|
|
1742
|
-
#
|
|
1594
|
+
# Cloud Security Command Center (Cloud SCC) notification configs. A notification
|
|
1595
|
+
# config is a Cloud SCC resource that contains the configuration to send
|
|
1596
|
+
# notifications for create/update events of findings, assets and etc.
|
|
1743
1597
|
class NotificationConfig
|
|
1744
1598
|
include Google::Apis::Core::Hashable
|
|
1745
1599
|
|
|
@@ -1748,28 +1602,27 @@ module Google
|
|
|
1748
1602
|
# @return [String]
|
|
1749
1603
|
attr_accessor :description
|
|
1750
1604
|
|
|
1751
|
-
# The relative resource name of this notification config. See:
|
|
1752
|
-
#
|
|
1753
|
-
#
|
|
1754
|
-
# "organizations/`organization_id`/notificationConfigs/notify_public_bucket".
|
|
1605
|
+
# The relative resource name of this notification config. See: https://cloud.
|
|
1606
|
+
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
|
1607
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket".
|
|
1755
1608
|
# Corresponds to the JSON property `name`
|
|
1756
1609
|
# @return [String]
|
|
1757
1610
|
attr_accessor :name
|
|
1758
1611
|
|
|
1759
|
-
# The PubSub topic to send notifications to. Its format is
|
|
1760
|
-
#
|
|
1612
|
+
# The PubSub topic to send notifications to. Its format is "projects/[project_id]
|
|
1613
|
+
# /topics/[topic]".
|
|
1761
1614
|
# Corresponds to the JSON property `pubsubTopic`
|
|
1762
1615
|
# @return [String]
|
|
1763
1616
|
attr_accessor :pubsub_topic
|
|
1764
1617
|
|
|
1765
|
-
# Output only. The service account that needs "pubsub.topics.publish"
|
|
1766
|
-
#
|
|
1618
|
+
# Output only. The service account that needs "pubsub.topics.publish" permission
|
|
1619
|
+
# to publish to the PubSub topic.
|
|
1767
1620
|
# Corresponds to the JSON property `serviceAccount`
|
|
1768
1621
|
# @return [String]
|
|
1769
1622
|
attr_accessor :service_account
|
|
1770
1623
|
|
|
1771
|
-
# The config for streaming-based notifications, which send each event as soon
|
|
1772
|
-
#
|
|
1624
|
+
# The config for streaming-based notifications, which send each event as soon as
|
|
1625
|
+
# it is detected.
|
|
1773
1626
|
# Corresponds to the JSON property `streamingConfig`
|
|
1774
1627
|
# @return [Google::Apis::SecuritycenterV1::StreamingConfig]
|
|
1775
1628
|
attr_accessor :streaming_config
|
|
@@ -1793,47 +1646,45 @@ module Google
|
|
|
1793
1646
|
class Operation
|
|
1794
1647
|
include Google::Apis::Core::Hashable
|
|
1795
1648
|
|
|
1796
|
-
# If the value is `false`, it means the operation is still in progress.
|
|
1797
|
-
#
|
|
1798
|
-
# available.
|
|
1649
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
1650
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
1799
1651
|
# Corresponds to the JSON property `done`
|
|
1800
1652
|
# @return [Boolean]
|
|
1801
1653
|
attr_accessor :done
|
|
1802
1654
|
alias_method :done?, :done
|
|
1803
1655
|
|
|
1804
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
1805
|
-
#
|
|
1806
|
-
#
|
|
1807
|
-
#
|
|
1808
|
-
#
|
|
1809
|
-
#
|
|
1656
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
1657
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1658
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1659
|
+
# data: error code, error message, and error details. You can find out more
|
|
1660
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
1661
|
+
# //cloud.google.com/apis/design/errors).
|
|
1810
1662
|
# Corresponds to the JSON property `error`
|
|
1811
1663
|
# @return [Google::Apis::SecuritycenterV1::Status]
|
|
1812
1664
|
attr_accessor :error
|
|
1813
1665
|
|
|
1814
|
-
# Service-specific metadata associated with the operation.
|
|
1815
|
-
#
|
|
1816
|
-
#
|
|
1817
|
-
#
|
|
1666
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
1667
|
+
# progress information and common metadata such as create time. Some services
|
|
1668
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
1669
|
+
# operation should document the metadata type, if any.
|
|
1818
1670
|
# Corresponds to the JSON property `metadata`
|
|
1819
1671
|
# @return [Hash<String,Object>]
|
|
1820
1672
|
attr_accessor :metadata
|
|
1821
1673
|
|
|
1822
1674
|
# The server-assigned name, which is only unique within the same service that
|
|
1823
|
-
# originally returns it. If you use the default HTTP mapping, the
|
|
1824
|
-
#
|
|
1675
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
1676
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
1825
1677
|
# Corresponds to the JSON property `name`
|
|
1826
1678
|
# @return [String]
|
|
1827
1679
|
attr_accessor :name
|
|
1828
1680
|
|
|
1829
|
-
# The normal response of the operation in case of success.
|
|
1830
|
-
# method returns no data on success, such as `Delete`, the response is
|
|
1831
|
-
#
|
|
1832
|
-
#
|
|
1833
|
-
#
|
|
1834
|
-
#
|
|
1835
|
-
#
|
|
1836
|
-
# `TakeSnapshotResponse`.
|
|
1681
|
+
# The normal response of the operation in case of success. If the original
|
|
1682
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
|
1683
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
|
1684
|
+
# the response should be the resource. For other methods, the response should
|
|
1685
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
|
1686
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
|
1687
|
+
# response type is `TakeSnapshotResponse`.
|
|
1837
1688
|
# Corresponds to the JSON property `response`
|
|
1838
1689
|
# @return [Hash<String,Object>]
|
|
1839
1690
|
attr_accessor :response
|
|
@@ -1852,8 +1703,8 @@ module Google
|
|
|
1852
1703
|
end
|
|
1853
1704
|
end
|
|
1854
1705
|
|
|
1855
|
-
# User specified settings that are attached to the Security Command
|
|
1856
|
-
#
|
|
1706
|
+
# User specified settings that are attached to the Security Command Center
|
|
1707
|
+
# organization.
|
|
1857
1708
|
class OrganizationSettings
|
|
1858
1709
|
include Google::Apis::Core::Hashable
|
|
1859
1710
|
|
|
@@ -1862,19 +1713,17 @@ module Google
|
|
|
1862
1713
|
# @return [Google::Apis::SecuritycenterV1::AssetDiscoveryConfig]
|
|
1863
1714
|
attr_accessor :asset_discovery_config
|
|
1864
1715
|
|
|
1865
|
-
# A flag that indicates if Asset Discovery should be enabled. If the flag is
|
|
1866
|
-
#
|
|
1867
|
-
#
|
|
1868
|
-
# occur.
|
|
1716
|
+
# A flag that indicates if Asset Discovery should be enabled. If the flag is set
|
|
1717
|
+
# to `true`, then discovery of assets will occur. If it is set to `false, all
|
|
1718
|
+
# historical assets will remain, but discovery of future assets will not occur.
|
|
1869
1719
|
# Corresponds to the JSON property `enableAssetDiscovery`
|
|
1870
1720
|
# @return [Boolean]
|
|
1871
1721
|
attr_accessor :enable_asset_discovery
|
|
1872
1722
|
alias_method :enable_asset_discovery?, :enable_asset_discovery
|
|
1873
1723
|
|
|
1874
|
-
# The relative resource name of the settings. See:
|
|
1875
|
-
#
|
|
1876
|
-
#
|
|
1877
|
-
# "organizations/`organization_id`/organizationSettings".
|
|
1724
|
+
# The relative resource name of the settings. See: https://cloud.google.com/apis/
|
|
1725
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
1726
|
+
# organization_id`/organizationSettings".
|
|
1878
1727
|
# Corresponds to the JSON property `name`
|
|
1879
1728
|
# @return [String]
|
|
1880
1729
|
attr_accessor :name
|
|
@@ -1892,66 +1741,32 @@ module Google
|
|
|
1892
1741
|
end
|
|
1893
1742
|
|
|
1894
1743
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
1895
|
-
# controls for Google Cloud resources.
|
|
1896
|
-
# A `
|
|
1897
|
-
#
|
|
1898
|
-
#
|
|
1899
|
-
#
|
|
1900
|
-
#
|
|
1901
|
-
#
|
|
1902
|
-
#
|
|
1903
|
-
#
|
|
1904
|
-
#
|
|
1905
|
-
#
|
|
1906
|
-
# [
|
|
1907
|
-
#
|
|
1908
|
-
#
|
|
1909
|
-
# `
|
|
1910
|
-
# "
|
|
1911
|
-
# `
|
|
1912
|
-
# "
|
|
1913
|
-
#
|
|
1914
|
-
#
|
|
1915
|
-
#
|
|
1916
|
-
#
|
|
1917
|
-
#
|
|
1918
|
-
#
|
|
1919
|
-
#
|
|
1920
|
-
#
|
|
1921
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
1922
|
-
# "members": [
|
|
1923
|
-
# "user:eve@example.com"
|
|
1924
|
-
# ],
|
|
1925
|
-
# "condition": `
|
|
1926
|
-
# "title": "expirable access",
|
|
1927
|
-
# "description": "Does not grant access after Sep 2020",
|
|
1928
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
1929
|
-
# ",
|
|
1930
|
-
# `
|
|
1931
|
-
# `
|
|
1932
|
-
# ],
|
|
1933
|
-
# "etag": "BwWWja0YfJA=",
|
|
1934
|
-
# "version": 3
|
|
1935
|
-
# `
|
|
1936
|
-
# **YAML example:**
|
|
1937
|
-
# bindings:
|
|
1938
|
-
# - members:
|
|
1939
|
-
# - user:mike@example.com
|
|
1940
|
-
# - group:admins@example.com
|
|
1941
|
-
# - domain:google.com
|
|
1942
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
1943
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
1944
|
-
# - members:
|
|
1945
|
-
# - user:eve@example.com
|
|
1946
|
-
# role: roles/resourcemanager.organizationViewer
|
|
1947
|
-
# condition:
|
|
1948
|
-
# title: expirable access
|
|
1949
|
-
# description: Does not grant access after Sep 2020
|
|
1950
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
1951
|
-
# - etag: BwWWja0YfJA=
|
|
1952
|
-
# - version: 3
|
|
1953
|
-
# For a description of IAM and its features, see the
|
|
1954
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
1744
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
1745
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
1746
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
1747
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
1748
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
1749
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
1750
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
1751
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
1752
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
1753
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
1754
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
1755
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
1756
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
1757
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
1758
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
1759
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
1760
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
1761
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
1762
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
1763
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
1764
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
1765
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
1766
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
1767
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
1768
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
1769
|
+
# google.com/iam/docs/).
|
|
1955
1770
|
class Policy
|
|
1956
1771
|
include Google::Apis::Core::Hashable
|
|
1957
1772
|
|
|
@@ -1960,48 +1775,44 @@ module Google
|
|
|
1960
1775
|
# @return [Array<Google::Apis::SecuritycenterV1::AuditConfig>]
|
|
1961
1776
|
attr_accessor :audit_configs
|
|
1962
1777
|
|
|
1963
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
1964
|
-
#
|
|
1965
|
-
#
|
|
1778
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
|
1779
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
|
1780
|
+
# the `bindings` must contain at least one member.
|
|
1966
1781
|
# Corresponds to the JSON property `bindings`
|
|
1967
1782
|
# @return [Array<Google::Apis::SecuritycenterV1::Binding>]
|
|
1968
1783
|
attr_accessor :bindings
|
|
1969
1784
|
|
|
1970
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
|
1971
|
-
#
|
|
1972
|
-
#
|
|
1973
|
-
#
|
|
1974
|
-
#
|
|
1975
|
-
#
|
|
1976
|
-
#
|
|
1977
|
-
#
|
|
1978
|
-
#
|
|
1979
|
-
#
|
|
1980
|
-
#
|
|
1785
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
|
1786
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
1787
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
|
1788
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
|
1789
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
|
1790
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
|
1791
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
|
1792
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
|
1793
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
|
1794
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
|
1795
|
+
# are lost.
|
|
1981
1796
|
# Corresponds to the JSON property `etag`
|
|
1982
1797
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1983
1798
|
# @return [String]
|
|
1984
1799
|
attr_accessor :etag
|
|
1985
1800
|
|
|
1986
|
-
# Specifies the format of the policy.
|
|
1987
|
-
#
|
|
1988
|
-
#
|
|
1989
|
-
#
|
|
1990
|
-
#
|
|
1991
|
-
#
|
|
1992
|
-
#
|
|
1993
|
-
#
|
|
1994
|
-
#
|
|
1995
|
-
#
|
|
1996
|
-
#
|
|
1997
|
-
#
|
|
1998
|
-
#
|
|
1999
|
-
#
|
|
2000
|
-
#
|
|
2001
|
-
# specify any valid version or leave the field unset.
|
|
2002
|
-
# To learn which resources support conditions in their IAM policies, see the
|
|
2003
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
2004
|
-
# policies).
|
|
1801
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
|
1802
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
|
1803
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
|
1804
|
+
# applies to the following operations: * Getting a policy that includes a
|
|
1805
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
|
1806
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
|
1807
|
+
# with or without a condition, from a policy that includes conditions **
|
|
1808
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
|
1809
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
|
1810
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
|
1811
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
|
1812
|
+
# any conditions, operations on that policy may specify any valid version or
|
|
1813
|
+
# leave the field unset. To learn which resources support conditions in their
|
|
1814
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
|
1815
|
+
# conditions/resource-policies).
|
|
2005
1816
|
# Corresponds to the JSON property `version`
|
|
2006
1817
|
# @return [Fixnum]
|
|
2007
1818
|
attr_accessor :version
|
|
@@ -2019,13 +1830,13 @@ module Google
|
|
|
2019
1830
|
end
|
|
2020
1831
|
end
|
|
2021
1832
|
|
|
2022
|
-
# Information related to the Google Cloud resource that is
|
|
2023
|
-
#
|
|
1833
|
+
# Information related to the Google Cloud resource that is associated with this
|
|
1834
|
+
# finding. LINT.IfChange
|
|
2024
1835
|
class Resource
|
|
2025
1836
|
include Google::Apis::Core::Hashable
|
|
2026
1837
|
|
|
2027
|
-
# The full resource name of the resource. See:
|
|
2028
|
-
#
|
|
1838
|
+
# The full resource name of the resource. See: https://cloud.google.com/apis/
|
|
1839
|
+
# design/resource_names#full_resource_name
|
|
2029
1840
|
# Corresponds to the JSON property `name`
|
|
2030
1841
|
# @return [String]
|
|
2031
1842
|
attr_accessor :name
|
|
@@ -2087,9 +1898,9 @@ module Google
|
|
|
2087
1898
|
# @return [String]
|
|
2088
1899
|
attr_accessor :resource_display_name
|
|
2089
1900
|
|
|
2090
|
-
# The full resource name of the Google Cloud resource this asset
|
|
2091
|
-
#
|
|
2092
|
-
#
|
|
1901
|
+
# The full resource name of the Google Cloud resource this asset represents.
|
|
1902
|
+
# This field is immutable after create time. See: https://cloud.google.com/apis/
|
|
1903
|
+
# design/resource_names#full_resource_name
|
|
2093
1904
|
# Corresponds to the JSON property `resourceName`
|
|
2094
1905
|
# @return [String]
|
|
2095
1906
|
attr_accessor :resource_name
|
|
@@ -2099,8 +1910,8 @@ module Google
|
|
|
2099
1910
|
# @return [Array<String>]
|
|
2100
1911
|
attr_accessor :resource_owners
|
|
2101
1912
|
|
|
2102
|
-
# The full resource name of the immediate parent of the resource. See:
|
|
2103
|
-
#
|
|
1913
|
+
# The full resource name of the immediate parent of the resource. See: https://
|
|
1914
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
2104
1915
|
# Corresponds to the JSON property `resourceParent`
|
|
2105
1916
|
# @return [String]
|
|
2106
1917
|
attr_accessor :resource_parent
|
|
@@ -2110,8 +1921,8 @@ module Google
|
|
|
2110
1921
|
# @return [String]
|
|
2111
1922
|
attr_accessor :resource_parent_display_name
|
|
2112
1923
|
|
|
2113
|
-
# The full resource name of the project the resource belongs to. See:
|
|
2114
|
-
#
|
|
1924
|
+
# The full resource name of the project the resource belongs to. See: https://
|
|
1925
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
2115
1926
|
# Corresponds to the JSON property `resourceProject`
|
|
2116
1927
|
# @return [String]
|
|
2117
1928
|
attr_accessor :resource_project
|
|
@@ -2121,10 +1932,9 @@ module Google
|
|
|
2121
1932
|
# @return [String]
|
|
2122
1933
|
attr_accessor :resource_project_display_name
|
|
2123
1934
|
|
|
2124
|
-
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
|
2125
|
-
#
|
|
2126
|
-
#
|
|
2127
|
-
# immutable after create time.
|
|
1935
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
|
|
1936
|
+
# and ORGANIZATION. This is a case insensitive field defined by Security Command
|
|
1937
|
+
# Center and/or the producer of the resource and is immutable after create time.
|
|
2128
1938
|
# Corresponds to the JSON property `resourceType`
|
|
2129
1939
|
# @return [String]
|
|
2130
1940
|
attr_accessor :resource_type
|
|
@@ -2146,30 +1956,26 @@ module Google
|
|
|
2146
1956
|
end
|
|
2147
1957
|
end
|
|
2148
1958
|
|
|
2149
|
-
# User specified security marks that are attached to the parent Security
|
|
2150
|
-
#
|
|
2151
|
-
#
|
|
2152
|
-
#
|
|
1959
|
+
# User specified security marks that are attached to the parent Security Command
|
|
1960
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
1961
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
1962
|
+
# permissions on the organization.
|
|
2153
1963
|
class SecurityMarks
|
|
2154
1964
|
include Google::Apis::Core::Hashable
|
|
2155
1965
|
|
|
2156
1966
|
# Mutable user specified security marks belonging to the parent resource.
|
|
2157
|
-
# Constraints are as follows:
|
|
2158
|
-
#
|
|
2159
|
-
#
|
|
2160
|
-
#
|
|
2161
|
-
# * Values have leading and trailing whitespace trimmed, remaining
|
|
2162
|
-
# characters must be between 1 - 4096 characters (inclusive)
|
|
1967
|
+
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
|
1968
|
+
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
|
1969
|
+
# numbers, underscores, or dashes * Values have leading and trailing whitespace
|
|
1970
|
+
# trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
|
|
2163
1971
|
# Corresponds to the JSON property `marks`
|
|
2164
1972
|
# @return [Hash<String,String>]
|
|
2165
1973
|
attr_accessor :marks
|
|
2166
1974
|
|
|
2167
|
-
# The relative resource name of the SecurityMarks. See:
|
|
2168
|
-
#
|
|
2169
|
-
#
|
|
2170
|
-
#
|
|
2171
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
|
2172
|
-
# securityMarks".
|
|
1975
|
+
# The relative resource name of the SecurityMarks. See: https://cloud.google.com/
|
|
1976
|
+
# apis/design/resource_names#relative_resource_name Examples: "organizations/`
|
|
1977
|
+
# organization_id`/assets/`asset_id`/securityMarks" "organizations/`
|
|
1978
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
|
|
2173
1979
|
# Corresponds to the JSON property `name`
|
|
2174
1980
|
# @return [String]
|
|
2175
1981
|
attr_accessor :name
|
|
@@ -2215,74 +2021,39 @@ module Google
|
|
|
2215
2021
|
include Google::Apis::Core::Hashable
|
|
2216
2022
|
|
|
2217
2023
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
2218
|
-
# controls for Google Cloud resources.
|
|
2219
|
-
# A `
|
|
2220
|
-
#
|
|
2221
|
-
#
|
|
2222
|
-
#
|
|
2223
|
-
#
|
|
2224
|
-
#
|
|
2225
|
-
#
|
|
2226
|
-
#
|
|
2227
|
-
#
|
|
2228
|
-
#
|
|
2229
|
-
# [
|
|
2230
|
-
#
|
|
2231
|
-
#
|
|
2232
|
-
# `
|
|
2233
|
-
# "
|
|
2234
|
-
# `
|
|
2235
|
-
# "
|
|
2236
|
-
#
|
|
2237
|
-
#
|
|
2238
|
-
#
|
|
2239
|
-
#
|
|
2240
|
-
#
|
|
2241
|
-
#
|
|
2242
|
-
#
|
|
2243
|
-
#
|
|
2244
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
2245
|
-
# "members": [
|
|
2246
|
-
# "user:eve@example.com"
|
|
2247
|
-
# ],
|
|
2248
|
-
# "condition": `
|
|
2249
|
-
# "title": "expirable access",
|
|
2250
|
-
# "description": "Does not grant access after Sep 2020",
|
|
2251
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
2252
|
-
# ",
|
|
2253
|
-
# `
|
|
2254
|
-
# `
|
|
2255
|
-
# ],
|
|
2256
|
-
# "etag": "BwWWja0YfJA=",
|
|
2257
|
-
# "version": 3
|
|
2258
|
-
# `
|
|
2259
|
-
# **YAML example:**
|
|
2260
|
-
# bindings:
|
|
2261
|
-
# - members:
|
|
2262
|
-
# - user:mike@example.com
|
|
2263
|
-
# - group:admins@example.com
|
|
2264
|
-
# - domain:google.com
|
|
2265
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
2266
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
2267
|
-
# - members:
|
|
2268
|
-
# - user:eve@example.com
|
|
2269
|
-
# role: roles/resourcemanager.organizationViewer
|
|
2270
|
-
# condition:
|
|
2271
|
-
# title: expirable access
|
|
2272
|
-
# description: Does not grant access after Sep 2020
|
|
2273
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
2274
|
-
# - etag: BwWWja0YfJA=
|
|
2275
|
-
# - version: 3
|
|
2276
|
-
# For a description of IAM and its features, see the
|
|
2277
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
2024
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
2025
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
2026
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
2027
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
2028
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
2029
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
2030
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
2031
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
2032
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
2033
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
2034
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
2035
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
2036
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
2037
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
2038
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
2039
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
2040
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
2041
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
2042
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
2043
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
2044
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
2045
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
2046
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
2047
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
2048
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
2049
|
+
# google.com/iam/docs/).
|
|
2278
2050
|
# Corresponds to the JSON property `policy`
|
|
2279
2051
|
# @return [Google::Apis::SecuritycenterV1::Policy]
|
|
2280
2052
|
attr_accessor :policy
|
|
2281
2053
|
|
|
2282
2054
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
2283
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
|
2284
|
-
#
|
|
2285
|
-
# `paths: "bindings, etag"`
|
|
2055
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
|
2056
|
+
# default mask is used: `paths: "bindings, etag"`
|
|
2286
2057
|
# Corresponds to the JSON property `updateMask`
|
|
2287
2058
|
# @return [String]
|
|
2288
2059
|
attr_accessor :update_mask
|
|
@@ -2298,37 +2069,32 @@ module Google
|
|
|
2298
2069
|
end
|
|
2299
2070
|
end
|
|
2300
2071
|
|
|
2301
|
-
# Security Command Center finding source. A finding source
|
|
2302
|
-
#
|
|
2303
|
-
#
|
|
2304
|
-
# other tools.
|
|
2072
|
+
# Security Command Center finding source. A finding source is an entity or a
|
|
2073
|
+
# mechanism that can produce a finding. A source is like a container of findings
|
|
2074
|
+
# that come from the same scanner, logger, monitor, and other tools.
|
|
2305
2075
|
class Source
|
|
2306
2076
|
include Google::Apis::Core::Hashable
|
|
2307
2077
|
|
|
2308
|
-
# The description of the source (max of 1024 characters).
|
|
2309
|
-
#
|
|
2310
|
-
#
|
|
2311
|
-
#
|
|
2312
|
-
#
|
|
2313
|
-
# (XSS), Flash injection, mixed content (HTTP in HTTPS), and
|
|
2314
|
-
# outdated or insecure libraries."
|
|
2078
|
+
# The description of the source (max of 1024 characters). Example: "Web Security
|
|
2079
|
+
# Scanner is a web security scanner for common vulnerabilities in App Engine
|
|
2080
|
+
# applications. It can automatically scan and detect four common vulnerabilities,
|
|
2081
|
+
# including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in
|
|
2082
|
+
# HTTPS), and outdated or insecure libraries."
|
|
2315
2083
|
# Corresponds to the JSON property `description`
|
|
2316
2084
|
# @return [String]
|
|
2317
2085
|
attr_accessor :description
|
|
2318
2086
|
|
|
2319
|
-
# The source's display name.
|
|
2320
|
-
#
|
|
2321
|
-
#
|
|
2322
|
-
#
|
|
2323
|
-
# (inclusive).
|
|
2087
|
+
# The source's display name. A source's display name must be unique amongst its
|
|
2088
|
+
# siblings, for example, two sources with the same parent can't share the same
|
|
2089
|
+
# display name. The display name must have a length between 1 and 64 characters (
|
|
2090
|
+
# inclusive).
|
|
2324
2091
|
# Corresponds to the JSON property `displayName`
|
|
2325
2092
|
# @return [String]
|
|
2326
2093
|
attr_accessor :display_name
|
|
2327
2094
|
|
|
2328
|
-
# The relative resource name of this source. See:
|
|
2329
|
-
#
|
|
2330
|
-
#
|
|
2331
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
|
2095
|
+
# The relative resource name of this source. See: https://cloud.google.com/apis/
|
|
2096
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
2097
|
+
# organization_id`/sources/`source_id`"
|
|
2332
2098
|
# Corresponds to the JSON property `name`
|
|
2333
2099
|
# @return [String]
|
|
2334
2100
|
attr_accessor :name
|
|
@@ -2345,12 +2111,12 @@ module Google
|
|
|
2345
2111
|
end
|
|
2346
2112
|
end
|
|
2347
2113
|
|
|
2348
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
2349
|
-
#
|
|
2350
|
-
#
|
|
2351
|
-
#
|
|
2352
|
-
#
|
|
2353
|
-
#
|
|
2114
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
2115
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2116
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
2117
|
+
# data: error code, error message, and error details. You can find out more
|
|
2118
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
2119
|
+
# //cloud.google.com/apis/design/errors).
|
|
2354
2120
|
class Status
|
|
2355
2121
|
include Google::Apis::Core::Hashable
|
|
2356
2122
|
|
|
@@ -2359,15 +2125,15 @@ module Google
|
|
|
2359
2125
|
# @return [Fixnum]
|
|
2360
2126
|
attr_accessor :code
|
|
2361
2127
|
|
|
2362
|
-
# A list of messages that carry the error details.
|
|
2128
|
+
# A list of messages that carry the error details. There is a common set of
|
|
2363
2129
|
# message types for APIs to use.
|
|
2364
2130
|
# Corresponds to the JSON property `details`
|
|
2365
2131
|
# @return [Array<Hash<String,Object>>]
|
|
2366
2132
|
attr_accessor :details
|
|
2367
2133
|
|
|
2368
|
-
# A developer-facing error message, which should be in English. Any
|
|
2369
|
-
#
|
|
2370
|
-
#
|
|
2134
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
2135
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
2136
|
+
# field, or localized by the client.
|
|
2371
2137
|
# Corresponds to the JSON property `message`
|
|
2372
2138
|
# @return [String]
|
|
2373
2139
|
attr_accessor :message
|
|
@@ -2384,27 +2150,21 @@ module Google
|
|
|
2384
2150
|
end
|
|
2385
2151
|
end
|
|
2386
2152
|
|
|
2387
|
-
# The config for streaming-based notifications, which send each event as soon
|
|
2388
|
-
#
|
|
2153
|
+
# The config for streaming-based notifications, which send each event as soon as
|
|
2154
|
+
# it is detected.
|
|
2389
2155
|
class StreamingConfig
|
|
2390
2156
|
include Google::Apis::Core::Hashable
|
|
2391
2157
|
|
|
2392
|
-
# Expression that defines the filter to apply across create/update events
|
|
2393
|
-
#
|
|
2394
|
-
#
|
|
2395
|
-
#
|
|
2396
|
-
# `
|
|
2397
|
-
#
|
|
2398
|
-
#
|
|
2399
|
-
#
|
|
2400
|
-
# The supported
|
|
2401
|
-
# *
|
|
2402
|
-
# * `>`, `<`, `>=`, `<=` for integer values.
|
|
2403
|
-
# * `:`, meaning substring matching, for strings.
|
|
2404
|
-
# The supported value types are:
|
|
2405
|
-
# * string literals in quotes.
|
|
2406
|
-
# * integer literals without quotes.
|
|
2407
|
-
# * boolean literals `true` and `false` without quotes.
|
|
2158
|
+
# Expression that defines the filter to apply across create/update events of
|
|
2159
|
+
# assets or findings as specified by the event type. The expression is a list of
|
|
2160
|
+
# zero or more restrictions combined via logical operators `AND` and `OR`.
|
|
2161
|
+
# Parentheses are supported, and `OR` has higher precedence than `AND`.
|
|
2162
|
+
# Restrictions have the form ` ` and may have a `-` character in front of them
|
|
2163
|
+
# to indicate negation. The fields map to those defined in the corresponding
|
|
2164
|
+
# resource. The supported operators are: * `=` for all value types. * `>`, `<`, `
|
|
2165
|
+
# >=`, `<=` for integer values. * `:`, meaning substring matching, for strings.
|
|
2166
|
+
# The supported value types are: * string literals in quotes. * integer literals
|
|
2167
|
+
# without quotes. * boolean literals `true` and `false` without quotes.
|
|
2408
2168
|
# Corresponds to the JSON property `filter`
|
|
2409
2169
|
# @return [String]
|
|
2410
2170
|
attr_accessor :filter
|
|
@@ -2423,10 +2183,9 @@ module Google
|
|
|
2423
2183
|
class TestIamPermissionsRequest
|
|
2424
2184
|
include Google::Apis::Core::Hashable
|
|
2425
2185
|
|
|
2426
|
-
# The set of permissions to check for the `resource`. Permissions with
|
|
2427
|
-
#
|
|
2428
|
-
#
|
|
2429
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
2186
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
2187
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
|
2188
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
2430
2189
|
# Corresponds to the JSON property `permissions`
|
|
2431
2190
|
# @return [Array<String>]
|
|
2432
2191
|
attr_accessor :permissions
|
|
@@ -2445,8 +2204,7 @@ module Google
|
|
|
2445
2204
|
class TestIamPermissionsResponse
|
|
2446
2205
|
include Google::Apis::Core::Hashable
|
|
2447
2206
|
|
|
2448
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
2449
|
-
# allowed.
|
|
2207
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
2450
2208
|
# Corresponds to the JSON property `permissions`
|
|
2451
2209
|
# @return [Array<String>]
|
|
2452
2210
|
attr_accessor :permissions
|