google-api-client 0.43.0 → 0.45.1
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 +462 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
- 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 +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- 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/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 +2 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
- 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/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- 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/service.rb +2 -2
- 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_v1alpha2.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha2/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/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +432 -82
- data/generated/google/apis/apigee_v1/representations.rb +139 -1
- data/generated/google/apis/apigee_v1/service.rb +158 -41
- 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 +403 -553
- data/generated/google/apis/bigquery_v2/representations.rb +17 -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 +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +165 -116
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- 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 +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_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 -720
- 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 +337 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +268 -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 +127 -156
- 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 +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -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 +1233 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -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 +62 -60
- 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 +26 -25
- 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 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/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 +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +970 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_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 +5 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +107 -5
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +54 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -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 +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_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 +60 -14
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
- 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/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
- data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -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 +63 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
- data/generated/google/apis/displayvideo_v1/service.rb +47 -35
- 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 +1102 -1302
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- 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/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- 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 +14 -6
- 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 +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- 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 +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/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 +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- 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 +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- 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 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- 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 +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +840 -854
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
- 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/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 +230 -227
- data/generated/google/apis/logging_v2/representations.rb +47 -0
- data/generated/google/apis/logging_v2/service.rb +2056 -673
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- 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 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- 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 +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +232 -328
- 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 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- 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 +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_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 +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +47 -45
- 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/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 +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
- 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/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- 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 +12 -135
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_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_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 +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- 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 +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/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 +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- 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 +1263 -2135
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- 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/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
- data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/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 +469 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -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 +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- 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 +194 -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 +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- 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 +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +54 -0
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- 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 -151
- 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 -151
- 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_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- 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_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/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_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +0 -117
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +106 -40
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- 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/memcache_v1/classes.rb +0 -1157
- 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 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2.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
data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb
RENAMED
|
@@ -20,81 +20,81 @@ require 'google/apis/errors'
|
|
|
20
20
|
|
|
21
21
|
module Google
|
|
22
22
|
module Apis
|
|
23
|
-
module
|
|
23
|
+
module SecuritycenterV1beta2
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class Config
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
27
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class ContainerThreatDetectionSettings
|
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
33
|
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Details
|
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
39
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class EventThreatDetectionSettings
|
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
45
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Finding
|
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
51
|
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class GoogleCloudSecuritycenterV1NotificationMessage
|
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
57
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class GoogleCloudSecuritycenterV1Resource
|
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
63
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
69
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
75
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class GoogleCloudSecuritycenterV1p1beta1Finding
|
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
81
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
class
|
|
85
|
+
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
87
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
class
|
|
91
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
93
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
99
|
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -106,39 +106,73 @@ module Google
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
class
|
|
109
|
+
class SecurityCenterSettings
|
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
111
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
class
|
|
115
|
+
class SecurityHealthAnalyticsSettings
|
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
117
|
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class SecurityMarks
|
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
123
|
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
-
class
|
|
127
|
+
class Subscription
|
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
129
|
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class WebSecurityScannerSettings
|
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
135
|
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Config
|
|
140
140
|
# @private
|
|
141
141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
142
|
+
property :module_enablement_state, as: 'moduleEnablementState'
|
|
143
|
+
hash :value, as: 'value'
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
class ContainerThreatDetectionSettings
|
|
148
|
+
# @private
|
|
149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
150
|
+
hash :modules, as: 'modules', class: Google::Apis::SecuritycenterV1beta2::Config, decorator: Google::Apis::SecuritycenterV1beta2::Config::Representation
|
|
151
|
+
|
|
152
|
+
property :name, as: 'name'
|
|
153
|
+
property :service_account, as: 'serviceAccount'
|
|
154
|
+
property :service_enablement_state, as: 'serviceEnablementState'
|
|
155
|
+
property :update_time, as: 'updateTime'
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
class Details
|
|
160
|
+
# @private
|
|
161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
162
|
+
property :end_time, as: 'endTime'
|
|
163
|
+
property :start_time, as: 'startTime'
|
|
164
|
+
property :type, as: 'type'
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
class EventThreatDetectionSettings
|
|
169
|
+
# @private
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
171
|
+
hash :modules, as: 'modules', class: Google::Apis::SecuritycenterV1beta2::Config, decorator: Google::Apis::SecuritycenterV1beta2::Config::Representation
|
|
172
|
+
|
|
173
|
+
property :name, as: 'name'
|
|
174
|
+
property :service_enablement_state, as: 'serviceEnablementState'
|
|
175
|
+
property :update_time, as: 'updateTime'
|
|
142
176
|
end
|
|
143
177
|
end
|
|
144
178
|
|
|
@@ -152,7 +186,7 @@ module Google
|
|
|
152
186
|
property :name, as: 'name'
|
|
153
187
|
property :parent, as: 'parent'
|
|
154
188
|
property :resource_name, as: 'resourceName'
|
|
155
|
-
property :security_marks, as: 'securityMarks', class: Google::Apis::
|
|
189
|
+
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation
|
|
156
190
|
|
|
157
191
|
hash :source_properties, as: 'sourceProperties'
|
|
158
192
|
property :state, as: 'state'
|
|
@@ -162,10 +196,10 @@ module Google
|
|
|
162
196
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
|
163
197
|
# @private
|
|
164
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
165
|
-
property :finding, as: 'finding', class: Google::Apis::
|
|
199
|
+
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta2::Finding, decorator: Google::Apis::SecuritycenterV1beta2::Finding::Representation
|
|
166
200
|
|
|
167
201
|
property :notification_config_name, as: 'notificationConfigName'
|
|
168
|
-
property :resource, as: 'resource', class: Google::Apis::
|
|
202
|
+
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Resource::Representation
|
|
169
203
|
|
|
170
204
|
end
|
|
171
205
|
end
|
|
@@ -197,22 +231,6 @@ module Google
|
|
|
197
231
|
end
|
|
198
232
|
end
|
|
199
233
|
|
|
200
|
-
class GoogleCloudSecuritycenterV1p1beta1Asset
|
|
201
|
-
# @private
|
|
202
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
203
|
-
property :create_time, as: 'createTime'
|
|
204
|
-
property :iam_policy, as: 'iamPolicy', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1IamPolicy, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1IamPolicy::Representation
|
|
205
|
-
|
|
206
|
-
property :name, as: 'name'
|
|
207
|
-
hash :resource_properties, as: 'resourceProperties'
|
|
208
|
-
property :security_center_properties, as: 'securityCenterProperties', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties::Representation
|
|
209
|
-
|
|
210
|
-
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
|
|
211
|
-
|
|
212
|
-
property :update_time, as: 'updateTime'
|
|
213
|
-
end
|
|
214
|
-
end
|
|
215
|
-
|
|
216
234
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
|
217
235
|
# @private
|
|
218
236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -223,29 +241,21 @@ module Google
|
|
|
223
241
|
property :name, as: 'name'
|
|
224
242
|
property :parent, as: 'parent'
|
|
225
243
|
property :resource_name, as: 'resourceName'
|
|
226
|
-
property :security_marks, as: 'securityMarks', class: Google::Apis::
|
|
244
|
+
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
|
|
227
245
|
|
|
246
|
+
property :severity, as: 'severity'
|
|
228
247
|
hash :source_properties, as: 'sourceProperties'
|
|
229
248
|
property :state, as: 'state'
|
|
230
249
|
end
|
|
231
250
|
end
|
|
232
251
|
|
|
233
|
-
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
|
234
|
-
# @private
|
|
235
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
236
|
-
property :policy_blob, as: 'policyBlob'
|
|
237
|
-
end
|
|
238
|
-
end
|
|
239
|
-
|
|
240
252
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
|
241
253
|
# @private
|
|
242
254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
243
|
-
property :finding, as: 'finding', class: Google::Apis::
|
|
255
|
+
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
|
|
244
256
|
|
|
245
257
|
property :notification_config_name, as: 'notificationConfigName'
|
|
246
|
-
property :resource, as: 'resource', class: Google::Apis::
|
|
247
|
-
|
|
248
|
-
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
|
|
258
|
+
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
|
|
249
259
|
|
|
250
260
|
end
|
|
251
261
|
end
|
|
@@ -269,20 +279,6 @@ module Google
|
|
|
269
279
|
end
|
|
270
280
|
end
|
|
271
281
|
|
|
272
|
-
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
|
273
|
-
# @private
|
|
274
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
275
|
-
property :resource_display_name, as: 'resourceDisplayName'
|
|
276
|
-
property :resource_name, as: 'resourceName'
|
|
277
|
-
collection :resource_owners, as: 'resourceOwners'
|
|
278
|
-
property :resource_parent, as: 'resourceParent'
|
|
279
|
-
property :resource_parent_display_name, as: 'resourceParentDisplayName'
|
|
280
|
-
property :resource_project, as: 'resourceProject'
|
|
281
|
-
property :resource_project_display_name, as: 'resourceProjectDisplayName'
|
|
282
|
-
property :resource_type, as: 'resourceType'
|
|
283
|
-
end
|
|
284
|
-
end
|
|
285
|
-
|
|
286
282
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
|
287
283
|
# @private
|
|
288
284
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -291,50 +287,53 @@ module Google
|
|
|
291
287
|
end
|
|
292
288
|
end
|
|
293
289
|
|
|
294
|
-
class
|
|
290
|
+
class SecurityCenterSettings
|
|
295
291
|
# @private
|
|
296
292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
297
|
-
property :
|
|
298
|
-
|
|
299
|
-
property :
|
|
293
|
+
property :log_sink_project, as: 'logSinkProject'
|
|
294
|
+
property :name, as: 'name'
|
|
295
|
+
property :org_service_account, as: 'orgServiceAccount'
|
|
300
296
|
end
|
|
301
297
|
end
|
|
302
298
|
|
|
303
|
-
class
|
|
299
|
+
class SecurityHealthAnalyticsSettings
|
|
304
300
|
# @private
|
|
305
301
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
306
|
-
|
|
307
|
-
collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1p1alpha1::Operation, decorator: Google::Apis::SecuritycenterV1p1alpha1::Operation::Representation
|
|
302
|
+
hash :modules, as: 'modules', class: Google::Apis::SecuritycenterV1beta2::Config, decorator: Google::Apis::SecuritycenterV1beta2::Config::Representation
|
|
308
303
|
|
|
304
|
+
property :name, as: 'name'
|
|
305
|
+
property :service_account, as: 'serviceAccount'
|
|
306
|
+
property :service_enablement_state, as: 'serviceEnablementState'
|
|
307
|
+
property :update_time, as: 'updateTime'
|
|
309
308
|
end
|
|
310
309
|
end
|
|
311
310
|
|
|
312
|
-
class
|
|
311
|
+
class SecurityMarks
|
|
313
312
|
# @private
|
|
314
313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
315
|
-
|
|
316
|
-
property :error, as: 'error', class: Google::Apis::SecuritycenterV1p1alpha1::Status, decorator: Google::Apis::SecuritycenterV1p1alpha1::Status::Representation
|
|
317
|
-
|
|
318
|
-
hash :metadata, as: 'metadata'
|
|
314
|
+
hash :marks, as: 'marks'
|
|
319
315
|
property :name, as: 'name'
|
|
320
|
-
hash :response, as: 'response'
|
|
321
316
|
end
|
|
322
317
|
end
|
|
323
318
|
|
|
324
|
-
class
|
|
319
|
+
class Subscription
|
|
325
320
|
# @private
|
|
326
321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
327
|
-
|
|
322
|
+
property :details, as: 'details', class: Google::Apis::SecuritycenterV1beta2::Details, decorator: Google::Apis::SecuritycenterV1beta2::Details::Representation
|
|
323
|
+
|
|
328
324
|
property :name, as: 'name'
|
|
325
|
+
property :tier, as: 'tier'
|
|
329
326
|
end
|
|
330
327
|
end
|
|
331
328
|
|
|
332
|
-
class
|
|
329
|
+
class WebSecurityScannerSettings
|
|
333
330
|
# @private
|
|
334
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
property :
|
|
332
|
+
hash :modules, as: 'modules', class: Google::Apis::SecuritycenterV1beta2::Config, decorator: Google::Apis::SecuritycenterV1beta2::Config::Representation
|
|
333
|
+
|
|
334
|
+
property :name, as: 'name'
|
|
335
|
+
property :service_enablement_state, as: 'serviceEnablementState'
|
|
336
|
+
property :update_time, as: 'updateTime'
|
|
338
337
|
end
|
|
339
338
|
end
|
|
340
339
|
end
|
|
@@ -0,0 +1,1494 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/core/base_service'
|
|
16
|
+
require 'google/apis/core/json_representation'
|
|
17
|
+
require 'google/apis/core/hashable'
|
|
18
|
+
require 'google/apis/errors'
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apis
|
|
22
|
+
module SecuritycenterV1beta2
|
|
23
|
+
# Security Command Center API
|
|
24
|
+
#
|
|
25
|
+
# Security Command Center API provides access to temporal views of assets and
|
|
26
|
+
# findings within an organization.
|
|
27
|
+
#
|
|
28
|
+
# @example
|
|
29
|
+
# require 'google/apis/securitycenter_v1beta2'
|
|
30
|
+
#
|
|
31
|
+
# Securitycenter = Google::Apis::SecuritycenterV1beta2 # Alias the module
|
|
32
|
+
# service = Securitycenter::SecurityCommandCenterService.new
|
|
33
|
+
#
|
|
34
|
+
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
|
35
|
+
class SecurityCommandCenterService < Google::Apis::Core::BaseService
|
|
36
|
+
# @return [String]
|
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
39
|
+
attr_accessor :key
|
|
40
|
+
|
|
41
|
+
# @return [String]
|
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44
|
+
attr_accessor :quota_user
|
|
45
|
+
|
|
46
|
+
def initialize
|
|
47
|
+
super('https://securitycenter.googleapis.com/', '')
|
|
48
|
+
@batch_path = 'batch'
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Get the ContainerThreatDetectionSettings resource.
|
|
52
|
+
# @param [String] name
|
|
53
|
+
# Required. The name of the ContainerThreatDetectionSettings to retrieve.
|
|
54
|
+
# Formats: * organizations/`organization`/containerThreatDetectionSettings *
|
|
55
|
+
# folders/`folder`/containerThreatDetectionSettings * projects/`project`/
|
|
56
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
57
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
58
|
+
# @param [String] fields
|
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
|
60
|
+
# @param [String] quota_user
|
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
|
64
|
+
# Request-specific options
|
|
65
|
+
#
|
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
|
67
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
69
|
+
#
|
|
70
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
71
|
+
#
|
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
75
|
+
def get_folder_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
76
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
77
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
78
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
79
|
+
command.params['name'] = name unless name.nil?
|
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
82
|
+
execute_or_queue_command(command, &block)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Get the EventThreatDetectionSettings resource.
|
|
86
|
+
# @param [String] name
|
|
87
|
+
# Required. The name of the EventThreatDetectionSettings to retrieve. Formats: *
|
|
88
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
89
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
90
|
+
# @param [String] fields
|
|
91
|
+
# Selector specifying which fields to include in a partial response.
|
|
92
|
+
# @param [String] quota_user
|
|
93
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
94
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
95
|
+
# @param [Google::Apis::RequestOptions] options
|
|
96
|
+
# Request-specific options
|
|
97
|
+
#
|
|
98
|
+
# @yield [result, err] Result & error if block supplied
|
|
99
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
100
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
101
|
+
#
|
|
102
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
103
|
+
#
|
|
104
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
105
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
106
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
107
|
+
def get_folder_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
108
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
109
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
110
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
111
|
+
command.params['name'] = name unless name.nil?
|
|
112
|
+
command.query['fields'] = fields unless fields.nil?
|
|
113
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
114
|
+
execute_or_queue_command(command, &block)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Get the SecurityHealthAnalyticsSettings resource.
|
|
118
|
+
# @param [String] name
|
|
119
|
+
# Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats:
|
|
120
|
+
# * organizations/`organization`/securityHealthAnalyticsSettings * folders/`
|
|
121
|
+
# folder`/securityHealthAnalyticsSettings * projects/`project`/
|
|
122
|
+
# securityHealthAnalyticsSettings
|
|
123
|
+
# @param [String] fields
|
|
124
|
+
# Selector specifying which fields to include in a partial response.
|
|
125
|
+
# @param [String] quota_user
|
|
126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
128
|
+
# @param [Google::Apis::RequestOptions] options
|
|
129
|
+
# Request-specific options
|
|
130
|
+
#
|
|
131
|
+
# @yield [result, err] Result & error if block supplied
|
|
132
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
133
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
134
|
+
#
|
|
135
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
136
|
+
#
|
|
137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
140
|
+
def get_folder_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
141
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
142
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
143
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
144
|
+
command.params['name'] = name unless name.nil?
|
|
145
|
+
command.query['fields'] = fields unless fields.nil?
|
|
146
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
147
|
+
execute_or_queue_command(command, &block)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Get the WebSecurityScannerSettings resource.
|
|
151
|
+
# @param [String] name
|
|
152
|
+
# Required. The name of the WebSecurityScannerSettings to retrieve. Formats: *
|
|
153
|
+
# organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
|
|
154
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
155
|
+
# @param [String] fields
|
|
156
|
+
# Selector specifying which fields to include in a partial response.
|
|
157
|
+
# @param [String] quota_user
|
|
158
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
159
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
160
|
+
# @param [Google::Apis::RequestOptions] options
|
|
161
|
+
# Request-specific options
|
|
162
|
+
#
|
|
163
|
+
# @yield [result, err] Result & error if block supplied
|
|
164
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
165
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
166
|
+
#
|
|
167
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
168
|
+
#
|
|
169
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
170
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
171
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
172
|
+
def get_folder_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
173
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
174
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
175
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
176
|
+
command.params['name'] = name unless name.nil?
|
|
177
|
+
command.query['fields'] = fields unless fields.nil?
|
|
178
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
179
|
+
execute_or_queue_command(command, &block)
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# Update the ContainerThreatDetectionSettings resource.
|
|
183
|
+
# @param [String] name
|
|
184
|
+
# The resource name of the ContainerThreatDetectionSettings. Formats: *
|
|
185
|
+
# organizations/`organization`/containerThreatDetectionSettings * folders/`
|
|
186
|
+
# folder`/containerThreatDetectionSettings * projects/`project`/
|
|
187
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
188
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
189
|
+
# @param [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] container_threat_detection_settings_object
|
|
190
|
+
# @param [String] update_mask
|
|
191
|
+
# The list of fields to be updated.
|
|
192
|
+
# @param [String] fields
|
|
193
|
+
# Selector specifying which fields to include in a partial response.
|
|
194
|
+
# @param [String] quota_user
|
|
195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
197
|
+
# @param [Google::Apis::RequestOptions] options
|
|
198
|
+
# Request-specific options
|
|
199
|
+
#
|
|
200
|
+
# @yield [result, err] Result & error if block supplied
|
|
201
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
202
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
203
|
+
#
|
|
204
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
205
|
+
#
|
|
206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
209
|
+
def update_folder_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
210
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
211
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
212
|
+
command.request_object = container_threat_detection_settings_object
|
|
213
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
214
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
215
|
+
command.params['name'] = name unless name.nil?
|
|
216
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
217
|
+
command.query['fields'] = fields unless fields.nil?
|
|
218
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
219
|
+
execute_or_queue_command(command, &block)
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# Update the EventThreatDetectionSettings resource.
|
|
223
|
+
# @param [String] name
|
|
224
|
+
# The resource name of the EventThreatDetectionSettings. Formats: *
|
|
225
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
226
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
227
|
+
# @param [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] event_threat_detection_settings_object
|
|
228
|
+
# @param [String] update_mask
|
|
229
|
+
# The list of fields to be updated.
|
|
230
|
+
# @param [String] fields
|
|
231
|
+
# Selector specifying which fields to include in a partial response.
|
|
232
|
+
# @param [String] quota_user
|
|
233
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
234
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
235
|
+
# @param [Google::Apis::RequestOptions] options
|
|
236
|
+
# Request-specific options
|
|
237
|
+
#
|
|
238
|
+
# @yield [result, err] Result & error if block supplied
|
|
239
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
240
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
241
|
+
#
|
|
242
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
243
|
+
#
|
|
244
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
245
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
246
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
247
|
+
def update_folder_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
248
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
249
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
250
|
+
command.request_object = event_threat_detection_settings_object
|
|
251
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
252
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
253
|
+
command.params['name'] = name unless name.nil?
|
|
254
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
255
|
+
command.query['fields'] = fields unless fields.nil?
|
|
256
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
257
|
+
execute_or_queue_command(command, &block)
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
# Update the SecurityHealthAnalyticsSettings resource.
|
|
261
|
+
# @param [String] name
|
|
262
|
+
# The resource name of the SecurityHealthAnalyticsSettings. Formats: *
|
|
263
|
+
# organizations/`organization`/securityHealthAnalyticsSettings * folders/`folder`
|
|
264
|
+
# /securityHealthAnalyticsSettings * projects/`project`/
|
|
265
|
+
# securityHealthAnalyticsSettings
|
|
266
|
+
# @param [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] security_health_analytics_settings_object
|
|
267
|
+
# @param [String] update_mask
|
|
268
|
+
# The list of fields to be updated.
|
|
269
|
+
# @param [String] fields
|
|
270
|
+
# Selector specifying which fields to include in a partial response.
|
|
271
|
+
# @param [String] quota_user
|
|
272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
274
|
+
# @param [Google::Apis::RequestOptions] options
|
|
275
|
+
# Request-specific options
|
|
276
|
+
#
|
|
277
|
+
# @yield [result, err] Result & error if block supplied
|
|
278
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
279
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
280
|
+
#
|
|
281
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
282
|
+
#
|
|
283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
286
|
+
def update_folder_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
287
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
288
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
289
|
+
command.request_object = security_health_analytics_settings_object
|
|
290
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
291
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
292
|
+
command.params['name'] = name unless name.nil?
|
|
293
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
294
|
+
command.query['fields'] = fields unless fields.nil?
|
|
295
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
296
|
+
execute_or_queue_command(command, &block)
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# Update the WebSecurityScannerSettings resource.
|
|
300
|
+
# @param [String] name
|
|
301
|
+
# The resource name of the WebSecurityScannerSettings. Formats: * organizations/`
|
|
302
|
+
# organization`/webSecurityScannerSettings * folders/`folder`/
|
|
303
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
304
|
+
# @param [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] web_security_scanner_settings_object
|
|
305
|
+
# @param [String] update_mask
|
|
306
|
+
# The list of fields to be updated.
|
|
307
|
+
# @param [String] fields
|
|
308
|
+
# Selector specifying which fields to include in a partial response.
|
|
309
|
+
# @param [String] quota_user
|
|
310
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
311
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
312
|
+
# @param [Google::Apis::RequestOptions] options
|
|
313
|
+
# Request-specific options
|
|
314
|
+
#
|
|
315
|
+
# @yield [result, err] Result & error if block supplied
|
|
316
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
317
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
318
|
+
#
|
|
319
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
320
|
+
#
|
|
321
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
322
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
323
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
324
|
+
def update_folder_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
325
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
326
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
327
|
+
command.request_object = web_security_scanner_settings_object
|
|
328
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
329
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
330
|
+
command.params['name'] = name unless name.nil?
|
|
331
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
332
|
+
command.query['fields'] = fields unless fields.nil?
|
|
333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
334
|
+
execute_or_queue_command(command, &block)
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# Calculates the effective ContainerThreatDetectionSettings based on its level
|
|
338
|
+
# in the resource hierarchy and its settings.
|
|
339
|
+
# @param [String] name
|
|
340
|
+
# Required. The name of the ContainerThreatDetectionSettings to calculate.
|
|
341
|
+
# Formats: * organizations/`organization`/containerThreatDetectionSettings *
|
|
342
|
+
# folders/`folder`/containerThreatDetectionSettings * projects/`project`/
|
|
343
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
344
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
345
|
+
# @param [String] fields
|
|
346
|
+
# Selector specifying which fields to include in a partial response.
|
|
347
|
+
# @param [String] quota_user
|
|
348
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
349
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
350
|
+
# @param [Google::Apis::RequestOptions] options
|
|
351
|
+
# Request-specific options
|
|
352
|
+
#
|
|
353
|
+
# @yield [result, err] Result & error if block supplied
|
|
354
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
355
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
356
|
+
#
|
|
357
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
358
|
+
#
|
|
359
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
360
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
361
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
362
|
+
def calculate_folder_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
363
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
364
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
365
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
366
|
+
command.params['name'] = name unless name.nil?
|
|
367
|
+
command.query['fields'] = fields unless fields.nil?
|
|
368
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
369
|
+
execute_or_queue_command(command, &block)
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# Calculates the effective EventThreatDetectionSettings based on its level in
|
|
373
|
+
# the resource hierarchy and its settings.
|
|
374
|
+
# @param [String] name
|
|
375
|
+
# Required. The name of the EventThreatDetectionSettings to calculate. Formats: *
|
|
376
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
377
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
378
|
+
# @param [String] fields
|
|
379
|
+
# Selector specifying which fields to include in a partial response.
|
|
380
|
+
# @param [String] quota_user
|
|
381
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
382
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
383
|
+
# @param [Google::Apis::RequestOptions] options
|
|
384
|
+
# Request-specific options
|
|
385
|
+
#
|
|
386
|
+
# @yield [result, err] Result & error if block supplied
|
|
387
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
388
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
389
|
+
#
|
|
390
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
391
|
+
#
|
|
392
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
393
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
394
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
395
|
+
def calculate_folder_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
396
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
397
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
398
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
399
|
+
command.params['name'] = name unless name.nil?
|
|
400
|
+
command.query['fields'] = fields unless fields.nil?
|
|
401
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
402
|
+
execute_or_queue_command(command, &block)
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
# Calculates the effective SecurityHealthAnalyticsSettings based on its level in
|
|
406
|
+
# the resource hierarchy and its settings.
|
|
407
|
+
# @param [String] name
|
|
408
|
+
# Required. The name of the SecurityHealthAnalyticsSettings to calculate.
|
|
409
|
+
# Formats: * organizations/`organization`/securityHealthAnalyticsSettings *
|
|
410
|
+
# folders/`folder`/securityHealthAnalyticsSettings * projects/`project`/
|
|
411
|
+
# securityHealthAnalyticsSettings
|
|
412
|
+
# @param [String] fields
|
|
413
|
+
# Selector specifying which fields to include in a partial response.
|
|
414
|
+
# @param [String] quota_user
|
|
415
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
416
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
417
|
+
# @param [Google::Apis::RequestOptions] options
|
|
418
|
+
# Request-specific options
|
|
419
|
+
#
|
|
420
|
+
# @yield [result, err] Result & error if block supplied
|
|
421
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
422
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
423
|
+
#
|
|
424
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
425
|
+
#
|
|
426
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
427
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
428
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
429
|
+
def calculate_folder_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
430
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
431
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
432
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
433
|
+
command.params['name'] = name unless name.nil?
|
|
434
|
+
command.query['fields'] = fields unless fields.nil?
|
|
435
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
436
|
+
execute_or_queue_command(command, &block)
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
# Calculates the effective WebSecurityScannerSettings based on its level in the
|
|
440
|
+
# resource hierarchy and its settings.
|
|
441
|
+
# @param [String] name
|
|
442
|
+
# Required. The name of the WebSecurityScannerSettings to calculate. Formats: *
|
|
443
|
+
# organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
|
|
444
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
445
|
+
# @param [String] fields
|
|
446
|
+
# Selector specifying which fields to include in a partial response.
|
|
447
|
+
# @param [String] quota_user
|
|
448
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
449
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
450
|
+
# @param [Google::Apis::RequestOptions] options
|
|
451
|
+
# Request-specific options
|
|
452
|
+
#
|
|
453
|
+
# @yield [result, err] Result & error if block supplied
|
|
454
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
455
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
456
|
+
#
|
|
457
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
458
|
+
#
|
|
459
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
460
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
461
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
462
|
+
def calculate_folder_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
463
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
464
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
465
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
466
|
+
command.params['name'] = name unless name.nil?
|
|
467
|
+
command.query['fields'] = fields unless fields.nil?
|
|
468
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
469
|
+
execute_or_queue_command(command, &block)
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
# Get the ContainerThreatDetectionSettings resource.
|
|
473
|
+
# @param [String] name
|
|
474
|
+
# Required. The name of the ContainerThreatDetectionSettings to retrieve.
|
|
475
|
+
# Formats: * organizations/`organization`/containerThreatDetectionSettings *
|
|
476
|
+
# folders/`folder`/containerThreatDetectionSettings * projects/`project`/
|
|
477
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
478
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
479
|
+
# @param [String] fields
|
|
480
|
+
# Selector specifying which fields to include in a partial response.
|
|
481
|
+
# @param [String] quota_user
|
|
482
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
483
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
484
|
+
# @param [Google::Apis::RequestOptions] options
|
|
485
|
+
# Request-specific options
|
|
486
|
+
#
|
|
487
|
+
# @yield [result, err] Result & error if block supplied
|
|
488
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
489
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
490
|
+
#
|
|
491
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
492
|
+
#
|
|
493
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
494
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
495
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
496
|
+
def get_organization_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
497
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
498
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
499
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
500
|
+
command.params['name'] = name unless name.nil?
|
|
501
|
+
command.query['fields'] = fields unless fields.nil?
|
|
502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
503
|
+
execute_or_queue_command(command, &block)
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# Get the EventThreatDetectionSettings resource.
|
|
507
|
+
# @param [String] name
|
|
508
|
+
# Required. The name of the EventThreatDetectionSettings to retrieve. Formats: *
|
|
509
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
510
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
511
|
+
# @param [String] fields
|
|
512
|
+
# Selector specifying which fields to include in a partial response.
|
|
513
|
+
# @param [String] quota_user
|
|
514
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
515
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
516
|
+
# @param [Google::Apis::RequestOptions] options
|
|
517
|
+
# Request-specific options
|
|
518
|
+
#
|
|
519
|
+
# @yield [result, err] Result & error if block supplied
|
|
520
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
521
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
522
|
+
#
|
|
523
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
524
|
+
#
|
|
525
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
526
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
527
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
528
|
+
def get_organization_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
529
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
530
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
531
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
532
|
+
command.params['name'] = name unless name.nil?
|
|
533
|
+
command.query['fields'] = fields unless fields.nil?
|
|
534
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
535
|
+
execute_or_queue_command(command, &block)
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# Get the SecurityCenterSettings resource.
|
|
539
|
+
# @param [String] name
|
|
540
|
+
# Required. The name of the SecurityCenterSettings to retrieve. Format:
|
|
541
|
+
# organizations/`organization`/securityCenterSettings
|
|
542
|
+
# @param [String] fields
|
|
543
|
+
# Selector specifying which fields to include in a partial response.
|
|
544
|
+
# @param [String] quota_user
|
|
545
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
546
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
547
|
+
# @param [Google::Apis::RequestOptions] options
|
|
548
|
+
# Request-specific options
|
|
549
|
+
#
|
|
550
|
+
# @yield [result, err] Result & error if block supplied
|
|
551
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings] parsed result object
|
|
552
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
553
|
+
#
|
|
554
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings]
|
|
555
|
+
#
|
|
556
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
557
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
558
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
559
|
+
def get_organization_security_center_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
560
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
561
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings::Representation
|
|
562
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
|
|
563
|
+
command.params['name'] = name unless name.nil?
|
|
564
|
+
command.query['fields'] = fields unless fields.nil?
|
|
565
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
566
|
+
execute_or_queue_command(command, &block)
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
# Get the SecurityHealthAnalyticsSettings resource.
|
|
570
|
+
# @param [String] name
|
|
571
|
+
# Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats:
|
|
572
|
+
# * organizations/`organization`/securityHealthAnalyticsSettings * folders/`
|
|
573
|
+
# folder`/securityHealthAnalyticsSettings * projects/`project`/
|
|
574
|
+
# securityHealthAnalyticsSettings
|
|
575
|
+
# @param [String] fields
|
|
576
|
+
# Selector specifying which fields to include in a partial response.
|
|
577
|
+
# @param [String] quota_user
|
|
578
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
579
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
580
|
+
# @param [Google::Apis::RequestOptions] options
|
|
581
|
+
# Request-specific options
|
|
582
|
+
#
|
|
583
|
+
# @yield [result, err] Result & error if block supplied
|
|
584
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
585
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
586
|
+
#
|
|
587
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
588
|
+
#
|
|
589
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
590
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
591
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
592
|
+
def get_organization_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
593
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
594
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
595
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
596
|
+
command.params['name'] = name unless name.nil?
|
|
597
|
+
command.query['fields'] = fields unless fields.nil?
|
|
598
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
599
|
+
execute_or_queue_command(command, &block)
|
|
600
|
+
end
|
|
601
|
+
|
|
602
|
+
# Get the Subscription resource.
|
|
603
|
+
# @param [String] name
|
|
604
|
+
# Required. The name of the subscription to retrieve. Format: organizations/`
|
|
605
|
+
# organization`/subscription
|
|
606
|
+
# @param [String] fields
|
|
607
|
+
# Selector specifying which fields to include in a partial response.
|
|
608
|
+
# @param [String] quota_user
|
|
609
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
610
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
611
|
+
# @param [Google::Apis::RequestOptions] options
|
|
612
|
+
# Request-specific options
|
|
613
|
+
#
|
|
614
|
+
# @yield [result, err] Result & error if block supplied
|
|
615
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::Subscription] parsed result object
|
|
616
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
617
|
+
#
|
|
618
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Subscription]
|
|
619
|
+
#
|
|
620
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
621
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
622
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
623
|
+
def get_organization_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
624
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
625
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::Subscription::Representation
|
|
626
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::Subscription
|
|
627
|
+
command.params['name'] = name unless name.nil?
|
|
628
|
+
command.query['fields'] = fields unless fields.nil?
|
|
629
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
630
|
+
execute_or_queue_command(command, &block)
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
# Get the WebSecurityScannerSettings resource.
|
|
634
|
+
# @param [String] name
|
|
635
|
+
# Required. The name of the WebSecurityScannerSettings to retrieve. Formats: *
|
|
636
|
+
# organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
|
|
637
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
638
|
+
# @param [String] fields
|
|
639
|
+
# Selector specifying which fields to include in a partial response.
|
|
640
|
+
# @param [String] quota_user
|
|
641
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
642
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
643
|
+
# @param [Google::Apis::RequestOptions] options
|
|
644
|
+
# Request-specific options
|
|
645
|
+
#
|
|
646
|
+
# @yield [result, err] Result & error if block supplied
|
|
647
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
648
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
649
|
+
#
|
|
650
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
651
|
+
#
|
|
652
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
653
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
654
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
655
|
+
def get_organization_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
656
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
657
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
658
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
659
|
+
command.params['name'] = name unless name.nil?
|
|
660
|
+
command.query['fields'] = fields unless fields.nil?
|
|
661
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
662
|
+
execute_or_queue_command(command, &block)
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
# Update the ContainerThreatDetectionSettings resource.
|
|
666
|
+
# @param [String] name
|
|
667
|
+
# The resource name of the ContainerThreatDetectionSettings. Formats: *
|
|
668
|
+
# organizations/`organization`/containerThreatDetectionSettings * folders/`
|
|
669
|
+
# folder`/containerThreatDetectionSettings * projects/`project`/
|
|
670
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
671
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
672
|
+
# @param [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] container_threat_detection_settings_object
|
|
673
|
+
# @param [String] update_mask
|
|
674
|
+
# The list of fields to be updated.
|
|
675
|
+
# @param [String] fields
|
|
676
|
+
# Selector specifying which fields to include in a partial response.
|
|
677
|
+
# @param [String] quota_user
|
|
678
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
679
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
680
|
+
# @param [Google::Apis::RequestOptions] options
|
|
681
|
+
# Request-specific options
|
|
682
|
+
#
|
|
683
|
+
# @yield [result, err] Result & error if block supplied
|
|
684
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
685
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
686
|
+
#
|
|
687
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
688
|
+
#
|
|
689
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
690
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
691
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
692
|
+
def update_organization_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
693
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
694
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
695
|
+
command.request_object = container_threat_detection_settings_object
|
|
696
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
697
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
698
|
+
command.params['name'] = name unless name.nil?
|
|
699
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
700
|
+
command.query['fields'] = fields unless fields.nil?
|
|
701
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
702
|
+
execute_or_queue_command(command, &block)
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
# Update the EventThreatDetectionSettings resource.
|
|
706
|
+
# @param [String] name
|
|
707
|
+
# The resource name of the EventThreatDetectionSettings. Formats: *
|
|
708
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
709
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
710
|
+
# @param [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] event_threat_detection_settings_object
|
|
711
|
+
# @param [String] update_mask
|
|
712
|
+
# The list of fields to be updated.
|
|
713
|
+
# @param [String] fields
|
|
714
|
+
# Selector specifying which fields to include in a partial response.
|
|
715
|
+
# @param [String] quota_user
|
|
716
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
717
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
718
|
+
# @param [Google::Apis::RequestOptions] options
|
|
719
|
+
# Request-specific options
|
|
720
|
+
#
|
|
721
|
+
# @yield [result, err] Result & error if block supplied
|
|
722
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
723
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
724
|
+
#
|
|
725
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
726
|
+
#
|
|
727
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
728
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
729
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
730
|
+
def update_organization_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
731
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
732
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
733
|
+
command.request_object = event_threat_detection_settings_object
|
|
734
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
735
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
736
|
+
command.params['name'] = name unless name.nil?
|
|
737
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
738
|
+
command.query['fields'] = fields unless fields.nil?
|
|
739
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
740
|
+
execute_or_queue_command(command, &block)
|
|
741
|
+
end
|
|
742
|
+
|
|
743
|
+
# Update the SecurityHealthAnalyticsSettings resource.
|
|
744
|
+
# @param [String] name
|
|
745
|
+
# The resource name of the SecurityHealthAnalyticsSettings. Formats: *
|
|
746
|
+
# organizations/`organization`/securityHealthAnalyticsSettings * folders/`folder`
|
|
747
|
+
# /securityHealthAnalyticsSettings * projects/`project`/
|
|
748
|
+
# securityHealthAnalyticsSettings
|
|
749
|
+
# @param [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] security_health_analytics_settings_object
|
|
750
|
+
# @param [String] update_mask
|
|
751
|
+
# The list of fields to be updated.
|
|
752
|
+
# @param [String] fields
|
|
753
|
+
# Selector specifying which fields to include in a partial response.
|
|
754
|
+
# @param [String] quota_user
|
|
755
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
756
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
757
|
+
# @param [Google::Apis::RequestOptions] options
|
|
758
|
+
# Request-specific options
|
|
759
|
+
#
|
|
760
|
+
# @yield [result, err] Result & error if block supplied
|
|
761
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
762
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
763
|
+
#
|
|
764
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
765
|
+
#
|
|
766
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
767
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
768
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
769
|
+
def update_organization_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
770
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
771
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
772
|
+
command.request_object = security_health_analytics_settings_object
|
|
773
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
774
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
775
|
+
command.params['name'] = name unless name.nil?
|
|
776
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
777
|
+
command.query['fields'] = fields unless fields.nil?
|
|
778
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
779
|
+
execute_or_queue_command(command, &block)
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
# Update the WebSecurityScannerSettings resource.
|
|
783
|
+
# @param [String] name
|
|
784
|
+
# The resource name of the WebSecurityScannerSettings. Formats: * organizations/`
|
|
785
|
+
# organization`/webSecurityScannerSettings * folders/`folder`/
|
|
786
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
787
|
+
# @param [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] web_security_scanner_settings_object
|
|
788
|
+
# @param [String] update_mask
|
|
789
|
+
# The list of fields to be updated.
|
|
790
|
+
# @param [String] fields
|
|
791
|
+
# Selector specifying which fields to include in a partial response.
|
|
792
|
+
# @param [String] quota_user
|
|
793
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
794
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
795
|
+
# @param [Google::Apis::RequestOptions] options
|
|
796
|
+
# Request-specific options
|
|
797
|
+
#
|
|
798
|
+
# @yield [result, err] Result & error if block supplied
|
|
799
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
800
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
801
|
+
#
|
|
802
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
803
|
+
#
|
|
804
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
805
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
806
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
807
|
+
def update_organization_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
808
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
809
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
810
|
+
command.request_object = web_security_scanner_settings_object
|
|
811
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
812
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
813
|
+
command.params['name'] = name unless name.nil?
|
|
814
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
815
|
+
command.query['fields'] = fields unless fields.nil?
|
|
816
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
817
|
+
execute_or_queue_command(command, &block)
|
|
818
|
+
end
|
|
819
|
+
|
|
820
|
+
# Calculates the effective ContainerThreatDetectionSettings based on its level
|
|
821
|
+
# in the resource hierarchy and its settings.
|
|
822
|
+
# @param [String] name
|
|
823
|
+
# Required. The name of the ContainerThreatDetectionSettings to calculate.
|
|
824
|
+
# Formats: * organizations/`organization`/containerThreatDetectionSettings *
|
|
825
|
+
# folders/`folder`/containerThreatDetectionSettings * projects/`project`/
|
|
826
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
827
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
828
|
+
# @param [String] fields
|
|
829
|
+
# Selector specifying which fields to include in a partial response.
|
|
830
|
+
# @param [String] quota_user
|
|
831
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
832
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
833
|
+
# @param [Google::Apis::RequestOptions] options
|
|
834
|
+
# Request-specific options
|
|
835
|
+
#
|
|
836
|
+
# @yield [result, err] Result & error if block supplied
|
|
837
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
838
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
839
|
+
#
|
|
840
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
841
|
+
#
|
|
842
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
843
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
844
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
845
|
+
def calculate_organization_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
846
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
847
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
848
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
849
|
+
command.params['name'] = name unless name.nil?
|
|
850
|
+
command.query['fields'] = fields unless fields.nil?
|
|
851
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
852
|
+
execute_or_queue_command(command, &block)
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
# Calculates the effective EventThreatDetectionSettings based on its level in
|
|
856
|
+
# the resource hierarchy and its settings.
|
|
857
|
+
# @param [String] name
|
|
858
|
+
# Required. The name of the EventThreatDetectionSettings to calculate. Formats: *
|
|
859
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
860
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
861
|
+
# @param [String] fields
|
|
862
|
+
# Selector specifying which fields to include in a partial response.
|
|
863
|
+
# @param [String] quota_user
|
|
864
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
865
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
866
|
+
# @param [Google::Apis::RequestOptions] options
|
|
867
|
+
# Request-specific options
|
|
868
|
+
#
|
|
869
|
+
# @yield [result, err] Result & error if block supplied
|
|
870
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
871
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
872
|
+
#
|
|
873
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
874
|
+
#
|
|
875
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
876
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
877
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
878
|
+
def calculate_organization_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
879
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
880
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
881
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
882
|
+
command.params['name'] = name unless name.nil?
|
|
883
|
+
command.query['fields'] = fields unless fields.nil?
|
|
884
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
885
|
+
execute_or_queue_command(command, &block)
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
# Calculates the effective SecurityHealthAnalyticsSettings based on its level in
|
|
889
|
+
# the resource hierarchy and its settings.
|
|
890
|
+
# @param [String] name
|
|
891
|
+
# Required. The name of the SecurityHealthAnalyticsSettings to calculate.
|
|
892
|
+
# Formats: * organizations/`organization`/securityHealthAnalyticsSettings *
|
|
893
|
+
# folders/`folder`/securityHealthAnalyticsSettings * projects/`project`/
|
|
894
|
+
# securityHealthAnalyticsSettings
|
|
895
|
+
# @param [String] fields
|
|
896
|
+
# Selector specifying which fields to include in a partial response.
|
|
897
|
+
# @param [String] quota_user
|
|
898
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
899
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
900
|
+
# @param [Google::Apis::RequestOptions] options
|
|
901
|
+
# Request-specific options
|
|
902
|
+
#
|
|
903
|
+
# @yield [result, err] Result & error if block supplied
|
|
904
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
905
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
906
|
+
#
|
|
907
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
908
|
+
#
|
|
909
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
910
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
911
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
912
|
+
def calculate_organization_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
913
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
914
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
915
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
916
|
+
command.params['name'] = name unless name.nil?
|
|
917
|
+
command.query['fields'] = fields unless fields.nil?
|
|
918
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
919
|
+
execute_or_queue_command(command, &block)
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
# Calculates the effective WebSecurityScannerSettings based on its level in the
|
|
923
|
+
# resource hierarchy and its settings.
|
|
924
|
+
# @param [String] name
|
|
925
|
+
# Required. The name of the WebSecurityScannerSettings to calculate. Formats: *
|
|
926
|
+
# organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
|
|
927
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
928
|
+
# @param [String] fields
|
|
929
|
+
# Selector specifying which fields to include in a partial response.
|
|
930
|
+
# @param [String] quota_user
|
|
931
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
932
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
933
|
+
# @param [Google::Apis::RequestOptions] options
|
|
934
|
+
# Request-specific options
|
|
935
|
+
#
|
|
936
|
+
# @yield [result, err] Result & error if block supplied
|
|
937
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
938
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
939
|
+
#
|
|
940
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
941
|
+
#
|
|
942
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
943
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
944
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
945
|
+
def calculate_organization_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
946
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
947
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
948
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
949
|
+
command.params['name'] = name unless name.nil?
|
|
950
|
+
command.query['fields'] = fields unless fields.nil?
|
|
951
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
952
|
+
execute_or_queue_command(command, &block)
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
# Get the ContainerThreatDetectionSettings resource.
|
|
956
|
+
# @param [String] name
|
|
957
|
+
# Required. The name of the ContainerThreatDetectionSettings to retrieve.
|
|
958
|
+
# Formats: * organizations/`organization`/containerThreatDetectionSettings *
|
|
959
|
+
# folders/`folder`/containerThreatDetectionSettings * projects/`project`/
|
|
960
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
961
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
962
|
+
# @param [String] fields
|
|
963
|
+
# Selector specifying which fields to include in a partial response.
|
|
964
|
+
# @param [String] quota_user
|
|
965
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
966
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
967
|
+
# @param [Google::Apis::RequestOptions] options
|
|
968
|
+
# Request-specific options
|
|
969
|
+
#
|
|
970
|
+
# @yield [result, err] Result & error if block supplied
|
|
971
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
972
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
973
|
+
#
|
|
974
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
975
|
+
#
|
|
976
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
977
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
978
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
979
|
+
def get_project_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
980
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
981
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
982
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
983
|
+
command.params['name'] = name unless name.nil?
|
|
984
|
+
command.query['fields'] = fields unless fields.nil?
|
|
985
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
986
|
+
execute_or_queue_command(command, &block)
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# Get the EventThreatDetectionSettings resource.
|
|
990
|
+
# @param [String] name
|
|
991
|
+
# Required. The name of the EventThreatDetectionSettings to retrieve. Formats: *
|
|
992
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
993
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
994
|
+
# @param [String] fields
|
|
995
|
+
# Selector specifying which fields to include in a partial response.
|
|
996
|
+
# @param [String] quota_user
|
|
997
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
998
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
999
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1000
|
+
# Request-specific options
|
|
1001
|
+
#
|
|
1002
|
+
# @yield [result, err] Result & error if block supplied
|
|
1003
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
1004
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1005
|
+
#
|
|
1006
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
1007
|
+
#
|
|
1008
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1009
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1010
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1011
|
+
def get_project_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1012
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
1013
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
1014
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
1015
|
+
command.params['name'] = name unless name.nil?
|
|
1016
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1017
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1018
|
+
execute_or_queue_command(command, &block)
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
# Get the SecurityHealthAnalyticsSettings resource.
|
|
1022
|
+
# @param [String] name
|
|
1023
|
+
# Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats:
|
|
1024
|
+
# * organizations/`organization`/securityHealthAnalyticsSettings * folders/`
|
|
1025
|
+
# folder`/securityHealthAnalyticsSettings * projects/`project`/
|
|
1026
|
+
# securityHealthAnalyticsSettings
|
|
1027
|
+
# @param [String] fields
|
|
1028
|
+
# Selector specifying which fields to include in a partial response.
|
|
1029
|
+
# @param [String] quota_user
|
|
1030
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1031
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1032
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1033
|
+
# Request-specific options
|
|
1034
|
+
#
|
|
1035
|
+
# @yield [result, err] Result & error if block supplied
|
|
1036
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
1037
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1038
|
+
#
|
|
1039
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
1040
|
+
#
|
|
1041
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1042
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1043
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1044
|
+
def get_project_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1045
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
1046
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
1047
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
1048
|
+
command.params['name'] = name unless name.nil?
|
|
1049
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1050
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1051
|
+
execute_or_queue_command(command, &block)
|
|
1052
|
+
end
|
|
1053
|
+
|
|
1054
|
+
# Get the WebSecurityScannerSettings resource.
|
|
1055
|
+
# @param [String] name
|
|
1056
|
+
# Required. The name of the WebSecurityScannerSettings to retrieve. Formats: *
|
|
1057
|
+
# organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
|
|
1058
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
1059
|
+
# @param [String] fields
|
|
1060
|
+
# Selector specifying which fields to include in a partial response.
|
|
1061
|
+
# @param [String] quota_user
|
|
1062
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1063
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1064
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1065
|
+
# Request-specific options
|
|
1066
|
+
#
|
|
1067
|
+
# @yield [result, err] Result & error if block supplied
|
|
1068
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
1069
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1070
|
+
#
|
|
1071
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
1072
|
+
#
|
|
1073
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1074
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1075
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1076
|
+
def get_project_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1077
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
1078
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
1079
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
1080
|
+
command.params['name'] = name unless name.nil?
|
|
1081
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1082
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1083
|
+
execute_or_queue_command(command, &block)
|
|
1084
|
+
end
|
|
1085
|
+
|
|
1086
|
+
# Update the ContainerThreatDetectionSettings resource.
|
|
1087
|
+
# @param [String] name
|
|
1088
|
+
# The resource name of the ContainerThreatDetectionSettings. Formats: *
|
|
1089
|
+
# organizations/`organization`/containerThreatDetectionSettings * folders/`
|
|
1090
|
+
# folder`/containerThreatDetectionSettings * projects/`project`/
|
|
1091
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
1092
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
1093
|
+
# @param [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] container_threat_detection_settings_object
|
|
1094
|
+
# @param [String] update_mask
|
|
1095
|
+
# The list of fields to be updated.
|
|
1096
|
+
# @param [String] fields
|
|
1097
|
+
# Selector specifying which fields to include in a partial response.
|
|
1098
|
+
# @param [String] quota_user
|
|
1099
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1101
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1102
|
+
# Request-specific options
|
|
1103
|
+
#
|
|
1104
|
+
# @yield [result, err] Result & error if block supplied
|
|
1105
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
1106
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1107
|
+
#
|
|
1108
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
1109
|
+
#
|
|
1110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1113
|
+
def update_project_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1114
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
1115
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
1116
|
+
command.request_object = container_threat_detection_settings_object
|
|
1117
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
1118
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
1119
|
+
command.params['name'] = name unless name.nil?
|
|
1120
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1121
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1123
|
+
execute_or_queue_command(command, &block)
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1126
|
+
# Update the EventThreatDetectionSettings resource.
|
|
1127
|
+
# @param [String] name
|
|
1128
|
+
# The resource name of the EventThreatDetectionSettings. Formats: *
|
|
1129
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
1130
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
1131
|
+
# @param [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] event_threat_detection_settings_object
|
|
1132
|
+
# @param [String] update_mask
|
|
1133
|
+
# The list of fields to be updated.
|
|
1134
|
+
# @param [String] fields
|
|
1135
|
+
# Selector specifying which fields to include in a partial response.
|
|
1136
|
+
# @param [String] quota_user
|
|
1137
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1138
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1139
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1140
|
+
# Request-specific options
|
|
1141
|
+
#
|
|
1142
|
+
# @yield [result, err] Result & error if block supplied
|
|
1143
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
1144
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1145
|
+
#
|
|
1146
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
1147
|
+
#
|
|
1148
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1149
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1150
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1151
|
+
def update_project_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1152
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
1153
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
1154
|
+
command.request_object = event_threat_detection_settings_object
|
|
1155
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
1156
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
1157
|
+
command.params['name'] = name unless name.nil?
|
|
1158
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1159
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1160
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1161
|
+
execute_or_queue_command(command, &block)
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1164
|
+
# Update the SecurityHealthAnalyticsSettings resource.
|
|
1165
|
+
# @param [String] name
|
|
1166
|
+
# The resource name of the SecurityHealthAnalyticsSettings. Formats: *
|
|
1167
|
+
# organizations/`organization`/securityHealthAnalyticsSettings * folders/`folder`
|
|
1168
|
+
# /securityHealthAnalyticsSettings * projects/`project`/
|
|
1169
|
+
# securityHealthAnalyticsSettings
|
|
1170
|
+
# @param [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] security_health_analytics_settings_object
|
|
1171
|
+
# @param [String] update_mask
|
|
1172
|
+
# The list of fields to be updated.
|
|
1173
|
+
# @param [String] fields
|
|
1174
|
+
# Selector specifying which fields to include in a partial response.
|
|
1175
|
+
# @param [String] quota_user
|
|
1176
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1177
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1178
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1179
|
+
# Request-specific options
|
|
1180
|
+
#
|
|
1181
|
+
# @yield [result, err] Result & error if block supplied
|
|
1182
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
1183
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1184
|
+
#
|
|
1185
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
1186
|
+
#
|
|
1187
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1188
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1189
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1190
|
+
def update_project_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1191
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
1192
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
1193
|
+
command.request_object = security_health_analytics_settings_object
|
|
1194
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
1195
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
1196
|
+
command.params['name'] = name unless name.nil?
|
|
1197
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1198
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1199
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1200
|
+
execute_or_queue_command(command, &block)
|
|
1201
|
+
end
|
|
1202
|
+
|
|
1203
|
+
# Update the WebSecurityScannerSettings resource.
|
|
1204
|
+
# @param [String] name
|
|
1205
|
+
# The resource name of the WebSecurityScannerSettings. Formats: * organizations/`
|
|
1206
|
+
# organization`/webSecurityScannerSettings * folders/`folder`/
|
|
1207
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
1208
|
+
# @param [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] web_security_scanner_settings_object
|
|
1209
|
+
# @param [String] update_mask
|
|
1210
|
+
# The list of fields to be updated.
|
|
1211
|
+
# @param [String] fields
|
|
1212
|
+
# Selector specifying which fields to include in a partial response.
|
|
1213
|
+
# @param [String] quota_user
|
|
1214
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1215
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1216
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1217
|
+
# Request-specific options
|
|
1218
|
+
#
|
|
1219
|
+
# @yield [result, err] Result & error if block supplied
|
|
1220
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
1221
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1222
|
+
#
|
|
1223
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
1224
|
+
#
|
|
1225
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1226
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1227
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1228
|
+
def update_project_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1229
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
1230
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
1231
|
+
command.request_object = web_security_scanner_settings_object
|
|
1232
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
1233
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
1234
|
+
command.params['name'] = name unless name.nil?
|
|
1235
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1236
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1237
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1238
|
+
execute_or_queue_command(command, &block)
|
|
1239
|
+
end
|
|
1240
|
+
|
|
1241
|
+
# Calculates the effective ContainerThreatDetectionSettings based on its level
|
|
1242
|
+
# in the resource hierarchy and its settings.
|
|
1243
|
+
# @param [String] name
|
|
1244
|
+
# Required. The name of the ContainerThreatDetectionSettings to calculate.
|
|
1245
|
+
# Formats: * organizations/`organization`/containerThreatDetectionSettings *
|
|
1246
|
+
# folders/`folder`/containerThreatDetectionSettings * projects/`project`/
|
|
1247
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
1248
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
1249
|
+
# @param [String] fields
|
|
1250
|
+
# Selector specifying which fields to include in a partial response.
|
|
1251
|
+
# @param [String] quota_user
|
|
1252
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1253
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1254
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1255
|
+
# Request-specific options
|
|
1256
|
+
#
|
|
1257
|
+
# @yield [result, err] Result & error if block supplied
|
|
1258
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
1259
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1260
|
+
#
|
|
1261
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
1262
|
+
#
|
|
1263
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1264
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1265
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1266
|
+
def calculate_project_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1267
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
1268
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
1269
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
1270
|
+
command.params['name'] = name unless name.nil?
|
|
1271
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1272
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1273
|
+
execute_or_queue_command(command, &block)
|
|
1274
|
+
end
|
|
1275
|
+
|
|
1276
|
+
# Calculates the effective EventThreatDetectionSettings based on its level in
|
|
1277
|
+
# the resource hierarchy and its settings.
|
|
1278
|
+
# @param [String] name
|
|
1279
|
+
# Required. The name of the EventThreatDetectionSettings to calculate. Formats: *
|
|
1280
|
+
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
|
|
1281
|
+
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
|
|
1282
|
+
# @param [String] fields
|
|
1283
|
+
# Selector specifying which fields to include in a partial response.
|
|
1284
|
+
# @param [String] quota_user
|
|
1285
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1286
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1287
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1288
|
+
# Request-specific options
|
|
1289
|
+
#
|
|
1290
|
+
# @yield [result, err] Result & error if block supplied
|
|
1291
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings] parsed result object
|
|
1292
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1293
|
+
#
|
|
1294
|
+
# @return [Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings]
|
|
1295
|
+
#
|
|
1296
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1297
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1298
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1299
|
+
def calculate_project_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1300
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
1301
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
|
|
1302
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
|
|
1303
|
+
command.params['name'] = name unless name.nil?
|
|
1304
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1305
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1306
|
+
execute_or_queue_command(command, &block)
|
|
1307
|
+
end
|
|
1308
|
+
|
|
1309
|
+
# Get the ContainerThreatDetectionSettings resource.
|
|
1310
|
+
# @param [String] name
|
|
1311
|
+
# Required. The name of the ContainerThreatDetectionSettings to retrieve.
|
|
1312
|
+
# Formats: * organizations/`organization`/containerThreatDetectionSettings *
|
|
1313
|
+
# folders/`folder`/containerThreatDetectionSettings * projects/`project`/
|
|
1314
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
1315
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
1316
|
+
# @param [String] fields
|
|
1317
|
+
# Selector specifying which fields to include in a partial response.
|
|
1318
|
+
# @param [String] quota_user
|
|
1319
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1320
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1321
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1322
|
+
# Request-specific options
|
|
1323
|
+
#
|
|
1324
|
+
# @yield [result, err] Result & error if block supplied
|
|
1325
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
1326
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1327
|
+
#
|
|
1328
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
1329
|
+
#
|
|
1330
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1331
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1332
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1333
|
+
def get_project_location_cluster_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1334
|
+
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
|
1335
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
1336
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
1337
|
+
command.params['name'] = name unless name.nil?
|
|
1338
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1339
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1340
|
+
execute_or_queue_command(command, &block)
|
|
1341
|
+
end
|
|
1342
|
+
|
|
1343
|
+
# Update the ContainerThreatDetectionSettings resource.
|
|
1344
|
+
# @param [String] name
|
|
1345
|
+
# The resource name of the ContainerThreatDetectionSettings. Formats: *
|
|
1346
|
+
# organizations/`organization`/containerThreatDetectionSettings * folders/`
|
|
1347
|
+
# folder`/containerThreatDetectionSettings * projects/`project`/
|
|
1348
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
1349
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
1350
|
+
# @param [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] container_threat_detection_settings_object
|
|
1351
|
+
# @param [String] update_mask
|
|
1352
|
+
# The list of fields to be updated.
|
|
1353
|
+
# @param [String] fields
|
|
1354
|
+
# Selector specifying which fields to include in a partial response.
|
|
1355
|
+
# @param [String] quota_user
|
|
1356
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1357
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1358
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1359
|
+
# Request-specific options
|
|
1360
|
+
#
|
|
1361
|
+
# @yield [result, err] Result & error if block supplied
|
|
1362
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
1363
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1364
|
+
#
|
|
1365
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
1366
|
+
#
|
|
1367
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1368
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1369
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1370
|
+
def update_project_location_cluster_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1371
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
|
1372
|
+
command.request_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
1373
|
+
command.request_object = container_threat_detection_settings_object
|
|
1374
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
1375
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
1376
|
+
command.params['name'] = name unless name.nil?
|
|
1377
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1378
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1379
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1380
|
+
execute_or_queue_command(command, &block)
|
|
1381
|
+
end
|
|
1382
|
+
|
|
1383
|
+
# Calculates the effective ContainerThreatDetectionSettings based on its level
|
|
1384
|
+
# in the resource hierarchy and its settings.
|
|
1385
|
+
# @param [String] name
|
|
1386
|
+
# Required. The name of the ContainerThreatDetectionSettings to calculate.
|
|
1387
|
+
# Formats: * organizations/`organization`/containerThreatDetectionSettings *
|
|
1388
|
+
# folders/`folder`/containerThreatDetectionSettings * projects/`project`/
|
|
1389
|
+
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
|
|
1390
|
+
# clusters/`cluster`/containerThreatDetectionSettings
|
|
1391
|
+
# @param [String] fields
|
|
1392
|
+
# Selector specifying which fields to include in a partial response.
|
|
1393
|
+
# @param [String] quota_user
|
|
1394
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1395
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1396
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1397
|
+
# Request-specific options
|
|
1398
|
+
#
|
|
1399
|
+
# @yield [result, err] Result & error if block supplied
|
|
1400
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings] parsed result object
|
|
1401
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1402
|
+
#
|
|
1403
|
+
# @return [Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings]
|
|
1404
|
+
#
|
|
1405
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1406
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1407
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1408
|
+
def calculate_project_location_cluster_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1409
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
1410
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
|
|
1411
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
|
|
1412
|
+
command.params['name'] = name unless name.nil?
|
|
1413
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1414
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1415
|
+
execute_or_queue_command(command, &block)
|
|
1416
|
+
end
|
|
1417
|
+
|
|
1418
|
+
# Calculates the effective SecurityHealthAnalyticsSettings based on its level in
|
|
1419
|
+
# the resource hierarchy and its settings.
|
|
1420
|
+
# @param [String] name
|
|
1421
|
+
# Required. The name of the SecurityHealthAnalyticsSettings to calculate.
|
|
1422
|
+
# Formats: * organizations/`organization`/securityHealthAnalyticsSettings *
|
|
1423
|
+
# folders/`folder`/securityHealthAnalyticsSettings * projects/`project`/
|
|
1424
|
+
# securityHealthAnalyticsSettings
|
|
1425
|
+
# @param [String] fields
|
|
1426
|
+
# Selector specifying which fields to include in a partial response.
|
|
1427
|
+
# @param [String] quota_user
|
|
1428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1430
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1431
|
+
# Request-specific options
|
|
1432
|
+
#
|
|
1433
|
+
# @yield [result, err] Result & error if block supplied
|
|
1434
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings] parsed result object
|
|
1435
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1436
|
+
#
|
|
1437
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings]
|
|
1438
|
+
#
|
|
1439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1442
|
+
def calculate_project_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1443
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
1444
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
|
|
1445
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
|
|
1446
|
+
command.params['name'] = name unless name.nil?
|
|
1447
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1448
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1449
|
+
execute_or_queue_command(command, &block)
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1452
|
+
# Calculates the effective WebSecurityScannerSettings based on its level in the
|
|
1453
|
+
# resource hierarchy and its settings.
|
|
1454
|
+
# @param [String] name
|
|
1455
|
+
# Required. The name of the WebSecurityScannerSettings to calculate. Formats: *
|
|
1456
|
+
# organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
|
|
1457
|
+
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
|
|
1458
|
+
# @param [String] fields
|
|
1459
|
+
# Selector specifying which fields to include in a partial response.
|
|
1460
|
+
# @param [String] quota_user
|
|
1461
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1462
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1463
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1464
|
+
# Request-specific options
|
|
1465
|
+
#
|
|
1466
|
+
# @yield [result, err] Result & error if block supplied
|
|
1467
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings] parsed result object
|
|
1468
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1469
|
+
#
|
|
1470
|
+
# @return [Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings]
|
|
1471
|
+
#
|
|
1472
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1473
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1474
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1475
|
+
def calculate_project_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1476
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
|
|
1477
|
+
command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
|
|
1478
|
+
command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
|
|
1479
|
+
command.params['name'] = name unless name.nil?
|
|
1480
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1481
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1482
|
+
execute_or_queue_command(command, &block)
|
|
1483
|
+
end
|
|
1484
|
+
|
|
1485
|
+
protected
|
|
1486
|
+
|
|
1487
|
+
def apply_command_defaults(command)
|
|
1488
|
+
command.query['key'] = key unless key.nil?
|
|
1489
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1490
|
+
end
|
|
1491
|
+
end
|
|
1492
|
+
end
|
|
1493
|
+
end
|
|
1494
|
+
end
|