google-api-client 0.43.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +51 -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 +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +205 -75
- data/generated/google/apis/apigee_v1/representations.rb +51 -0
- data/generated/google/apis/apigee_v1/service.rb +133 -34
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -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 +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -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 +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +355 -553
- data/generated/google/apis/bigquery_v2/representations.rb +1 -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 +50 -0
- 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 +50 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +90 -115
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
- 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 +220 -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 +291 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +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 +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- 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 +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -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 +915 -965
- data/generated/google/apis/container_v1/representations.rb +53 -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 +1021 -1043
- data/generated/google/apis/container_v1beta1/representations.rb +70 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -2
- data/generated/google/apis/content_v2_1/representations.rb +34 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1/representations.rb +3 -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 +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +37 -4
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -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 +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
- data/generated/google/apis/displayvideo_v1/service.rb +48 -36
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
- 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 +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
- 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 +25 -47
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -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/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 +4 -3
- 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 +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +675 -853
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -592
- data/generated/google/apis/iam_v1/service.rb +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/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 +949 -1144
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +103 -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 +220 -322
- 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 +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +226 -270
- 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 +1031 -411
- data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +39 -39
- 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/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +392 -518
- data/generated/google/apis/pubsub_v1/representations.rb +1 -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 +244 -354
- 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 +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -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 +172 -208
- 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 +176 -212
- 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/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +4 -3
- data/generated/google/apis/run_v1/representations.rb +1 -1
- 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 +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -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/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
- 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 +523 -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 +279 -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 +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- 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 +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sql_v1beta4/service.rb +51 -56
- 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/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 +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +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 +11 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -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/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/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/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +347 -0
- data/generated/google/apis/youtube_v3/representations.rb +176 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -31
- 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/memcache_v1/representations.rb +0 -471
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
- 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
@@ -47,14 +47,13 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
-
# Creates a feed in a parent project/folder/organization to listen to its
|
51
|
-
#
|
50
|
+
# Creates a feed in a parent project/folder/organization to listen to its asset
|
51
|
+
# updates.
|
52
52
|
# @param [String] parent
|
53
|
-
# Required. The name of the project/folder/organization where this feed
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
# "projects/12345").
|
53
|
+
# Required. The name of the project/folder/organization where this feed should
|
54
|
+
# be created in. It can only be an organization number (such as "organizations/
|
55
|
+
# 123"), a folder number (such as "folders/123"), a project ID (such as "
|
56
|
+
# projects/my-project-id")", or a project number (such as "projects/12345").
|
58
57
|
# @param [Google::Apis::CloudassetV1::CreateFeedRequest] create_feed_request_object
|
59
58
|
# @param [String] fields
|
60
59
|
# Selector specifying which fields to include in a partial response.
|
@@ -87,10 +86,9 @@ module Google
|
|
87
86
|
|
88
87
|
# Deletes an asset feed.
|
89
88
|
# @param [String] name
|
90
|
-
# Required. The name of the feed and it must be in the format of:
|
91
|
-
#
|
92
|
-
#
|
93
|
-
# organizations/organization_number/feeds/feed_id
|
89
|
+
# Required. The name of the feed and it must be in the format of: projects/
|
90
|
+
# project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/
|
91
|
+
# organization_number/feeds/feed_id
|
94
92
|
# @param [String] fields
|
95
93
|
# Selector specifying which fields to include in a partial response.
|
96
94
|
# @param [String] quota_user
|
@@ -120,10 +118,9 @@ module Google
|
|
120
118
|
|
121
119
|
# Gets details about an asset feed.
|
122
120
|
# @param [String] name
|
123
|
-
# Required. The name of the Feed and it must be in the format of:
|
124
|
-
#
|
125
|
-
#
|
126
|
-
# organizations/organization_number/feeds/feed_id
|
121
|
+
# Required. The name of the Feed and it must be in the format of: projects/
|
122
|
+
# project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/
|
123
|
+
# organization_number/feeds/feed_id
|
127
124
|
# @param [String] fields
|
128
125
|
# Selector specifying which fields to include in a partial response.
|
129
126
|
# @param [String] quota_user
|
@@ -153,9 +150,9 @@ module Google
|
|
153
150
|
|
154
151
|
# Lists all asset feeds in a parent project/folder/organization.
|
155
152
|
# @param [String] parent
|
156
|
-
# Required. The parent project/folder/organization whose feeds are to be
|
157
|
-
#
|
158
|
-
#
|
153
|
+
# Required. The parent project/folder/organization whose feeds are to be listed.
|
154
|
+
# It can only be using project/folder/organization number (such as "folders/
|
155
|
+
# 12345")", or a project ID (such as "projects/my-project-id").
|
159
156
|
# @param [String] fields
|
160
157
|
# Selector specifying which fields to include in a partial response.
|
161
158
|
# @param [String] quota_user
|
@@ -185,12 +182,11 @@ module Google
|
|
185
182
|
|
186
183
|
# Updates an asset feed configuration.
|
187
184
|
# @param [String] name
|
188
|
-
# Required. The format will be
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
# project/folder/organization.
|
185
|
+
# Required. The format will be projects/`project_number`/feeds/`client-
|
186
|
+
# assigned_feed_identifier` or folders/`folder_number`/feeds/`client-
|
187
|
+
# assigned_feed_identifier` or organizations/`organization_number`/feeds/`client-
|
188
|
+
# assigned_feed_identifier` The client-assigned feed identifier must be unique
|
189
|
+
# within the parent project/folder/organization.
|
194
190
|
# @param [Google::Apis::CloudassetV1::UpdateFeedRequest] update_feed_request_object
|
195
191
|
# @param [String] fields
|
196
192
|
# Selector specifying which fields to include in a partial response.
|
@@ -221,9 +217,8 @@ module Google
|
|
221
217
|
execute_or_queue_command(command, &block)
|
222
218
|
end
|
223
219
|
|
224
|
-
# Gets the latest state of a long-running operation.
|
225
|
-
#
|
226
|
-
# service.
|
220
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
221
|
+
# to poll the operation result at intervals as recommended by the API service.
|
227
222
|
# @param [String] name
|
228
223
|
# The name of the operation resource.
|
229
224
|
# @param [String] fields
|
@@ -253,25 +248,21 @@ module Google
|
|
253
248
|
execute_or_queue_command(command, &block)
|
254
249
|
end
|
255
250
|
|
256
|
-
# Batch gets the update history of assets that overlap a time window.
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
# If a specified asset does not exist, this API returns an INVALID_ARGUMENT
|
262
|
-
# error.
|
251
|
+
# Batch gets the update history of assets that overlap a time window. For
|
252
|
+
# IAM_POLICY content, this API outputs history when the asset and its attached
|
253
|
+
# IAM POLICY both exist. This can create gaps in the output history. Otherwise,
|
254
|
+
# this API outputs history with asset in both non-delete or deleted status. If a
|
255
|
+
# specified asset does not exist, this API returns an INVALID_ARGUMENT error.
|
263
256
|
# @param [String] parent
|
264
|
-
# Required. The relative name of the root asset. It can only be an
|
265
|
-
#
|
266
|
-
#
|
257
|
+
# Required. The relative name of the root asset. It can only be an organization
|
258
|
+
# number (such as "organizations/123"), a project ID (such as "projects/my-
|
259
|
+
# project-id")", or a project number (such as "projects/12345").
|
267
260
|
# @param [Array<String>, String] asset_names
|
268
|
-
# A list of the full names of the assets.
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
# The request becomes a no-op if the asset name list is empty, and the max
|
274
|
-
# size of the asset name list is 100 in one request.
|
261
|
+
# A list of the full names of the assets. See: https://cloud.google.com/asset-
|
262
|
+
# inventory/docs/resource-name-format Example: `//compute.googleapis.com/
|
263
|
+
# projects/my_project_123/zones/zone1/instances/instance1`. The request becomes
|
264
|
+
# a no-op if the asset name list is empty, and the max size of the asset name
|
265
|
+
# list is 100 in one request.
|
275
266
|
# @param [String] content_type
|
276
267
|
# Optional. The content type.
|
277
268
|
# @param [String] read_time_window_end_time
|
@@ -310,21 +301,20 @@ module Google
|
|
310
301
|
execute_or_queue_command(command, &block)
|
311
302
|
end
|
312
303
|
|
313
|
-
# Exports assets with time and resource types to a given Cloud Storage
|
314
|
-
#
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
322
|
-
# finishes within 5 minutes.
|
304
|
+
# Exports assets with time and resource types to a given Cloud Storage location/
|
305
|
+
# BigQuery table. For Cloud Storage location destinations, the output format is
|
306
|
+
# newline-delimited JSON. Each line represents a google.cloud.asset.v1.Asset in
|
307
|
+
# the JSON format; for BigQuery table destinations, the output table stores the
|
308
|
+
# fields in asset proto as columns. This API implements the google.longrunning.
|
309
|
+
# Operation API , which allows you to keep track of the export. We recommend
|
310
|
+
# intervals of at least 2 seconds with exponential retry to poll the export
|
311
|
+
# operation result. For regular-size resource parent, the export operation
|
312
|
+
# usually finishes within 5 minutes.
|
323
313
|
# @param [String] parent
|
324
314
|
# Required. The relative name of the root asset. This can only be an
|
325
|
-
# organization number (such as "organizations/123"), a project ID (such as
|
326
|
-
#
|
327
|
-
#
|
315
|
+
# organization number (such as "organizations/123"), a project ID (such as "
|
316
|
+
# projects/my-project-id"), or a project number (such as "projects/12345"), or a
|
317
|
+
# folder number (such as "folders/123").
|
328
318
|
# @param [Google::Apis::CloudassetV1::ExportAssetsRequest] export_assets_request_object
|
329
319
|
# @param [String] fields
|
330
320
|
# Selector specifying which fields to include in a partial response.
|
@@ -356,60 +346,47 @@ module Google
|
|
356
346
|
end
|
357
347
|
|
358
348
|
# Searches all IAM policies within the specified scope, such as a project,
|
359
|
-
# folder, or organization. The caller must be granted the
|
360
|
-
#
|
361
|
-
#
|
349
|
+
# folder, or organization. The caller must be granted the `cloudasset.assets.
|
350
|
+
# searchAllIamPolicies` permission on the desired scope, otherwise the request
|
351
|
+
# will be rejected.
|
362
352
|
# @param [String] scope
|
363
353
|
# Required. A scope can be a project, a folder, or an organization. The search
|
364
|
-
# is
|
365
|
-
#
|
366
|
-
# the
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
# * projects/`PROJECT_ID` (e.g., "projects/foo-bar")
|
372
|
-
# * projects/`PROJECT_NUMBER` (e.g., "projects/12345678")
|
373
|
-
# * folders/`FOLDER_NUMBER` (e.g., "folders/1234567")
|
374
|
-
# * organizations/`ORGANIZATION_NUMBER` (e.g., "organizations/123456")
|
354
|
+
# is limited to the IAM policies within the `scope`. The caller must be granted
|
355
|
+
# the [`cloudasset.assets.searchAllIamPolicies`](http://cloud.google.com/asset-
|
356
|
+
# inventory/docs/access-control#required_permissions) permission on the desired
|
357
|
+
# scope. The allowed values are: * projects/`PROJECT_ID` (e.g., "projects/foo-
|
358
|
+
# bar") * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") * folders/`
|
359
|
+
# FOLDER_NUMBER` (e.g., "folders/1234567") * organizations/`ORGANIZATION_NUMBER`
|
360
|
+
# (e.g., "organizations/123456")
|
375
361
|
# @param [Fixnum] page_size
|
376
362
|
# Optional. The page size for search result pagination. Page size is capped at
|
377
|
-
# 500 even
|
378
|
-
#
|
379
|
-
#
|
380
|
-
# there could be more results as long as `next_page_token` is returned.
|
363
|
+
# 500 even if a larger value is given. If set to zero, server will pick an
|
364
|
+
# appropriate default. Returned results may be fewer than requested. When this
|
365
|
+
# happens, there could be more results as long as `next_page_token` is returned.
|
381
366
|
# @param [String] page_token
|
382
367
|
# Optional. If present, retrieve the next batch of results from the preceding
|
383
|
-
# call to
|
384
|
-
#
|
385
|
-
# previous response. The values of all other method parameters must be
|
368
|
+
# call to this method. `page_token` must be the value of `next_page_token` from
|
369
|
+
# the previous response. The values of all other method parameters must be
|
386
370
|
# identical to those in the previous call.
|
387
371
|
# @param [String] query
|
388
|
-
# Optional. The query statement. See [how to construct a
|
389
|
-
#
|
390
|
-
# how_to_construct_a_query)
|
391
|
-
#
|
392
|
-
# IAM
|
393
|
-
#
|
394
|
-
# * `policy
|
395
|
-
# "
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
399
|
-
# bindings that
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
403
|
-
#
|
404
|
-
# that are set on "
|
405
|
-
#
|
406
|
-
# word in any of the searchable fields (except for the included
|
407
|
-
# permissions).
|
408
|
-
# * `"*por*"` to find IAM policy bindings which contain "por" as a substring
|
409
|
-
# in any of the searchable fields (except for the included permissions).
|
410
|
-
# * `(resource : ("instance1" OR "instance2") AND policy : "amy")` to find
|
411
|
-
# IAM policy bindings that are set on resources "instance1" or
|
412
|
-
# "instance2" and also specify user "amy".
|
372
|
+
# Optional. The query statement. See [how to construct a query](https://cloud.
|
373
|
+
# google.com/asset-inventory/docs/searching-iam-policies#
|
374
|
+
# how_to_construct_a_query) for more information. If not specified or empty, it
|
375
|
+
# will search all the IAM policies within the specified `scope`. Examples: * `
|
376
|
+
# policy:amy@gmail.com` to find IAM policy bindings that specify user "amy@gmail.
|
377
|
+
# com". * `policy:roles/compute.admin` to find IAM policy bindings that specify
|
378
|
+
# the Compute Admin role. * `policy.role.permissions:storage.buckets.update` to
|
379
|
+
# find IAM policy bindings that specify a role containing "storage.buckets.
|
380
|
+
# update" permission. Note that if callers don't have `iam.roles.get` access to
|
381
|
+
# a role's included permissions, policy bindings that specify this role will be
|
382
|
+
# dropped from the search results. * `resource:organizations/123456` to find IAM
|
383
|
+
# policy bindings that are set on "organizations/123456". * `Important` to find
|
384
|
+
# IAM policy bindings that contain "Important" as a word in any of the
|
385
|
+
# searchable fields (except for the included permissions). * `*por*` to find IAM
|
386
|
+
# policy bindings that contain "por" as a substring in any of the searchable
|
387
|
+
# fields (except for the included permissions). * `resource:(instance1 OR
|
388
|
+
# instance2) policy:amy` to find IAM policy bindings that are set on resources "
|
389
|
+
# instance1" or "instance2" and also specify user "amy".
|
413
390
|
# @param [String] fields
|
414
391
|
# Selector specifying which fields to include in a partial response.
|
415
392
|
# @param [String] quota_user
|
@@ -441,83 +418,64 @@ module Google
|
|
441
418
|
end
|
442
419
|
|
443
420
|
# Searches all Cloud resources within the specified scope, such as a project,
|
444
|
-
# folder, or organization. The caller must be granted the
|
445
|
-
#
|
446
|
-
#
|
421
|
+
# folder, or organization. The caller must be granted the `cloudasset.assets.
|
422
|
+
# searchAllResources` permission on the desired scope, otherwise the request
|
423
|
+
# will be rejected.
|
447
424
|
# @param [String] scope
|
448
425
|
# Required. A scope can be a project, a folder, or an organization. The search
|
449
|
-
# is
|
450
|
-
# limited to the resources within the `scope`. The caller must be granted the
|
426
|
+
# is limited to the resources within the `scope`. The caller must be granted the
|
451
427
|
# [`cloudasset.assets.searchAllResources`](http://cloud.google.com/asset-
|
452
|
-
# inventory/docs/access-control#required_permissions)
|
453
|
-
#
|
454
|
-
#
|
455
|
-
#
|
456
|
-
#
|
457
|
-
# * folders/`FOLDER_NUMBER` (e.g., "folders/1234567")
|
458
|
-
# * organizations/`ORGANIZATION_NUMBER` (e.g., "organizations/123456")
|
428
|
+
# inventory/docs/access-control#required_permissions) permission on the desired
|
429
|
+
# scope. The allowed values are: * projects/`PROJECT_ID` (e.g., "projects/foo-
|
430
|
+
# bar") * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") * folders/`
|
431
|
+
# FOLDER_NUMBER` (e.g., "folders/1234567") * organizations/`ORGANIZATION_NUMBER`
|
432
|
+
# (e.g., "organizations/123456")
|
459
433
|
# @param [Array<String>, String] asset_types
|
460
434
|
# Optional. A list of asset types that this request searches for. If empty, it
|
461
|
-
# will
|
462
|
-
#
|
463
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#
|
464
|
-
# searchable_asset_types).
|
435
|
+
# will search all the [searchable asset types](https://cloud.google.com/asset-
|
436
|
+
# inventory/docs/supported-asset-types#searchable_asset_types).
|
465
437
|
# @param [String] order_by
|
466
438
|
# Optional. A comma separated list of fields specifying the sorting order of the
|
467
|
-
# results. The default order is ascending. Add " DESC" after the field name
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
# are not supported.
|
439
|
+
# results. The default order is ascending. Add " DESC" after the field name to
|
440
|
+
# indicate descending order. Redundant space characters are ignored. Example: "
|
441
|
+
# location DESC, name". Only string fields in the response are sortable,
|
442
|
+
# including `name`, `displayName`, `description`, `location`. All the other
|
443
|
+
# fields such as repeated fields (e.g., `networkTags`), map fields (e.g., `
|
444
|
+
# labels`) and struct fields (e.g., `additionalAttributes`) are not supported.
|
474
445
|
# @param [Fixnum] page_size
|
475
446
|
# Optional. The page size for search result pagination. Page size is capped at
|
476
|
-
# 500 even
|
477
|
-
#
|
478
|
-
#
|
479
|
-
# there could be more results as long as `next_page_token` is returned.
|
447
|
+
# 500 even if a larger value is given. If set to zero, server will pick an
|
448
|
+
# appropriate default. Returned results may be fewer than requested. When this
|
449
|
+
# happens, there could be more results as long as `next_page_token` is returned.
|
480
450
|
# @param [String] page_token
|
481
451
|
# Optional. If present, then retrieve the next batch of results from the
|
482
|
-
# preceding call
|
483
|
-
#
|
484
|
-
#
|
485
|
-
# identical to those in the previous call.
|
452
|
+
# preceding call to this method. `page_token` must be the value of `
|
453
|
+
# next_page_token` from the previous response. The values of all other method
|
454
|
+
# parameters, must be identical to those in the previous call.
|
486
455
|
# @param [String] query
|
487
|
-
# Optional. The query statement. See [how to construct a
|
488
|
-
#
|
489
|
-
# how_to_construct_a_query)
|
456
|
+
# Optional. The query statement. See [how to construct a query](http://cloud.
|
457
|
+
# google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
|
490
458
|
# for more information. If not specified or empty, it will search all the
|
491
|
-
# resources within the specified `scope`. Note that the query string is
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
# policy structure
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# "
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
503
|
-
#
|
504
|
-
#
|
505
|
-
#
|
506
|
-
#
|
507
|
-
# a
|
508
|
-
#
|
509
|
-
# and
|
510
|
-
#
|
511
|
-
# * `"Important"` to find Cloud resources which contain "Important" as a word
|
512
|
-
# in any of the searchable fields.
|
513
|
-
# * `"Impor*"` to find Cloud resources which contain "Impor" as a prefix
|
514
|
-
# in any of the searchable fields.
|
515
|
-
# * `"*por*"` to find Cloud resources which contain "por" as a substring in
|
516
|
-
# any of the searchable fields.
|
517
|
-
# * `("Important" AND location : ("us-west1" OR "global"))` to find Cloud
|
518
|
-
# resources which contain "Important" as a word in any of the searchable
|
519
|
-
# fields and are also located in the "us-west1" region or the "global"
|
520
|
-
# location.
|
459
|
+
# resources within the specified `scope`. Note that the query string is compared
|
460
|
+
# against each Cloud IAM policy binding, including its members, roles, and Cloud
|
461
|
+
# IAM conditions. The returned Cloud IAM policies will only contain the bindings
|
462
|
+
# that match your query. To learn more about the IAM policy structure, see [IAM
|
463
|
+
# policy doc](https://cloud.google.com/iam/docs/policies#structure). Examples: *
|
464
|
+
# `name:Important` to find Cloud resources whose name contains "Important" as a
|
465
|
+
# word. * `displayName:Impor*` to find Cloud resources whose display name
|
466
|
+
# contains "Impor" as a prefix. * `description:*por*` to find Cloud resources
|
467
|
+
# whose description contains "por" as a substring. * `location:us-west*` to find
|
468
|
+
# Cloud resources whose location is prefixed with "us-west". * `labels:prod` to
|
469
|
+
# find Cloud resources whose labels contain "prod" as a key or value. * `labels.
|
470
|
+
# env:prod` to find Cloud resources that have a label "env" and its value is "
|
471
|
+
# prod". * `labels.env:*` to find Cloud resources that have a label "env". * `
|
472
|
+
# Important` to find Cloud resources that contain "Important" as a word in any
|
473
|
+
# of the searchable fields. * `Impor*` to find Cloud resources that contain "
|
474
|
+
# Impor" as a prefix in any of the searchable fields. * `*por*` to find Cloud
|
475
|
+
# resources that contain "por" as a substring in any of the searchable fields. *
|
476
|
+
# `Important location:(us-west1 OR global)` to find Cloud resources that contain
|
477
|
+
# "Important" as a word in any of the searchable fields and are also located in
|
478
|
+
# the "us-west1" region or the "global" location.
|
521
479
|
# @param [String] fields
|
522
480
|
# Selector specifying which fields to include in a partial response.
|
523
481
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/asset-inventory/docs/quickstart
|
26
26
|
module CloudassetV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200810'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,15 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudassetV1beta1
|
24
24
|
|
25
|
-
# An asset in Google Cloud. An asset can be any resource in the Google Cloud
|
26
|
-
#
|
27
|
-
# hierarchy
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
# See [Supported asset
|
32
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
33
|
-
# for more information.
|
25
|
+
# An asset in Google Cloud. An asset can be any resource in the Google Cloud [
|
26
|
+
# resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
|
27
|
+
# platform-resource-hierarchy), a resource outside the Google Cloud resource
|
28
|
+
# hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
|
29
|
+
# (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
|
30
|
+
# asset-inventory/docs/supported-asset-types) for more information.
|
34
31
|
class Asset
|
35
32
|
include Google::Apis::Core::Hashable
|
36
33
|
|
@@ -42,102 +39,64 @@ module Google
|
|
42
39
|
attr_accessor :access_level
|
43
40
|
|
44
41
|
# `AccessPolicy` is a container for `AccessLevels` (which define the necessary
|
45
|
-
# attributes to use Google Cloud services) and `ServicePerimeters` (which
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
42
|
+
# attributes to use Google Cloud services) and `ServicePerimeters` (which define
|
43
|
+
# regions of services able to freely pass data within a perimeter). An access
|
44
|
+
# policy is globally visible within an organization, and the restrictions it
|
45
|
+
# specifies apply to all projects within an organization.
|
49
46
|
# Corresponds to the JSON property `accessPolicy`
|
50
47
|
# @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
|
51
48
|
attr_accessor :access_policy
|
52
49
|
|
53
|
-
# The type of the asset. Example: `compute.googleapis.com/Disk`
|
54
|
-
#
|
55
|
-
# types
|
56
|
-
# for more information.
|
50
|
+
# The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
|
51
|
+
# asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
|
52
|
+
# types) for more information.
|
57
53
|
# Corresponds to the JSON property `assetType`
|
58
54
|
# @return [String]
|
59
55
|
attr_accessor :asset_type
|
60
56
|
|
61
57
|
# An Identity and Access Management (IAM) policy, which specifies access
|
62
|
-
# controls for Google Cloud resources.
|
63
|
-
# A `
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
# [
|
74
|
-
#
|
75
|
-
#
|
76
|
-
# `
|
77
|
-
# "
|
78
|
-
# `
|
79
|
-
# "
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
89
|
-
# "members": [
|
90
|
-
# "user:eve@example.com"
|
91
|
-
# ],
|
92
|
-
# "condition": `
|
93
|
-
# "title": "expirable access",
|
94
|
-
# "description": "Does not grant access after Sep 2020",
|
95
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
96
|
-
# ",
|
97
|
-
# `
|
98
|
-
# `
|
99
|
-
# ],
|
100
|
-
# "etag": "BwWWja0YfJA=",
|
101
|
-
# "version": 3
|
102
|
-
# `
|
103
|
-
# **YAML example:**
|
104
|
-
# bindings:
|
105
|
-
# - members:
|
106
|
-
# - user:mike@example.com
|
107
|
-
# - group:admins@example.com
|
108
|
-
# - domain:google.com
|
109
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
110
|
-
# role: roles/resourcemanager.organizationAdmin
|
111
|
-
# - members:
|
112
|
-
# - user:eve@example.com
|
113
|
-
# role: roles/resourcemanager.organizationViewer
|
114
|
-
# condition:
|
115
|
-
# title: expirable access
|
116
|
-
# description: Does not grant access after Sep 2020
|
117
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
118
|
-
# - etag: BwWWja0YfJA=
|
119
|
-
# - version: 3
|
120
|
-
# For a description of IAM and its features, see the
|
121
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
58
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
59
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
60
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
61
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
62
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
63
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
64
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
65
|
+
# condition can add constraints based on attributes of the request, the resource,
|
66
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
67
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
68
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
69
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
70
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
71
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
72
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
73
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
74
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
75
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
76
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
77
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
78
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
79
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
80
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
81
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
82
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
83
|
+
# google.com/iam/docs/).
|
122
84
|
# Corresponds to the JSON property `iamPolicy`
|
123
85
|
# @return [Google::Apis::CloudassetV1beta1::Policy]
|
124
86
|
attr_accessor :iam_policy
|
125
87
|
|
126
|
-
# The full name of the asset. Example:
|
127
|
-
#
|
128
|
-
#
|
129
|
-
#
|
130
|
-
# names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
131
|
-
# for more information.
|
88
|
+
# The full name of the asset. Example: `//compute.googleapis.com/projects/
|
89
|
+
# my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
|
90
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name) for more
|
91
|
+
# information.
|
132
92
|
# Corresponds to the JSON property `name`
|
133
93
|
# @return [String]
|
134
94
|
attr_accessor :name
|
135
95
|
|
136
|
-
# A representation of an [organization
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
# set on a given resource.
|
96
|
+
# A representation of an [organization policy](https://cloud.google.com/resource-
|
97
|
+
# manager/docs/organization-policy/overview#organization_policy). There can be
|
98
|
+
# more than one organization policy with different constraints set on a given
|
99
|
+
# resource.
|
141
100
|
# Corresponds to the JSON property `orgPolicy`
|
142
101
|
# @return [Array<Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1Policy>]
|
143
102
|
attr_accessor :org_policy
|
@@ -148,15 +107,14 @@ module Google
|
|
148
107
|
attr_accessor :resource
|
149
108
|
|
150
109
|
# `ServicePerimeter` describes a set of Google Cloud resources which can freely
|
151
|
-
# import and export data amongst themselves, but not export outside of the
|
152
|
-
#
|
110
|
+
# import and export data amongst themselves, but not export outside of the `
|
111
|
+
# ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
153
112
|
# has a target outside of the `ServicePerimeter`, the request will be blocked.
|
154
113
|
# Otherwise the request is allowed. There are two types of Service Perimeter -
|
155
|
-
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
# Bridges.
|
114
|
+
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
|
115
|
+
# Cloud project can only belong to a single regular Service Perimeter. Service
|
116
|
+
# Perimeter Bridges can contain only Google Cloud projects as members, a single
|
117
|
+
# Google Cloud project may belong to multiple Service Perimeter Bridges.
|
160
118
|
# Corresponds to the JSON property `servicePerimeter`
|
161
119
|
# @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
|
162
120
|
attr_accessor :service_perimeter
|
@@ -178,53 +136,21 @@ module Google
|
|
178
136
|
end
|
179
137
|
end
|
180
138
|
|
181
|
-
# Specifies the audit configuration for a service.
|
182
|
-
#
|
183
|
-
#
|
184
|
-
#
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
# `
|
191
|
-
# "
|
192
|
-
# `
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
# "log_type": "DATA_READ",
|
197
|
-
# "exempted_members": [
|
198
|
-
# "user:jose@example.com"
|
199
|
-
# ]
|
200
|
-
# `,
|
201
|
-
# `
|
202
|
-
# "log_type": "DATA_WRITE"
|
203
|
-
# `,
|
204
|
-
# `
|
205
|
-
# "log_type": "ADMIN_READ"
|
206
|
-
# `
|
207
|
-
# ]
|
208
|
-
# `,
|
209
|
-
# `
|
210
|
-
# "service": "sampleservice.googleapis.com",
|
211
|
-
# "audit_log_configs": [
|
212
|
-
# `
|
213
|
-
# "log_type": "DATA_READ"
|
214
|
-
# `,
|
215
|
-
# `
|
216
|
-
# "log_type": "DATA_WRITE",
|
217
|
-
# "exempted_members": [
|
218
|
-
# "user:aliya@example.com"
|
219
|
-
# ]
|
220
|
-
# `
|
221
|
-
# ]
|
222
|
-
# `
|
223
|
-
# ]
|
224
|
-
# `
|
225
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
226
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
227
|
-
# aliya@example.com from DATA_WRITE logging.
|
139
|
+
# Specifies the audit configuration for a service. The configuration determines
|
140
|
+
# which permission types are logged, and what identities, if any, are exempted
|
141
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
142
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
143
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
144
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
145
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
146
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
147
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
148
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
149
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
150
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
151
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
152
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
153
|
+
# DATA_WRITE logging.
|
228
154
|
class AuditConfig
|
229
155
|
include Google::Apis::Core::Hashable
|
230
156
|
|
@@ -233,9 +159,9 @@ module Google
|
|
233
159
|
# @return [Array<Google::Apis::CloudassetV1beta1::AuditLogConfig>]
|
234
160
|
attr_accessor :audit_log_configs
|
235
161
|
|
236
|
-
# Specifies a service that will be enabled for audit logging.
|
237
|
-
#
|
238
|
-
#
|
162
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
163
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
164
|
+
# value that covers all services.
|
239
165
|
# Corresponds to the JSON property `service`
|
240
166
|
# @return [String]
|
241
167
|
attr_accessor :service
|
@@ -251,28 +177,15 @@ module Google
|
|
251
177
|
end
|
252
178
|
end
|
253
179
|
|
254
|
-
# Provides the configuration for logging a type of permissions.
|
255
|
-
#
|
256
|
-
# `
|
257
|
-
#
|
258
|
-
#
|
259
|
-
# "log_type": "DATA_READ",
|
260
|
-
# "exempted_members": [
|
261
|
-
# "user:jose@example.com"
|
262
|
-
# ]
|
263
|
-
# `,
|
264
|
-
# `
|
265
|
-
# "log_type": "DATA_WRITE"
|
266
|
-
# `
|
267
|
-
# ]
|
268
|
-
# `
|
269
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
270
|
-
# jose@example.com from DATA_READ logging.
|
180
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
181
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
182
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
183
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
184
|
+
# DATA_READ logging.
|
271
185
|
class AuditLogConfig
|
272
186
|
include Google::Apis::Core::Hashable
|
273
187
|
|
274
|
-
# Specifies the identities that do not cause logging for this type of
|
275
|
-
# permission.
|
188
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
276
189
|
# Follows the same format of Binding.members.
|
277
190
|
# Corresponds to the JSON property `exemptedMembers`
|
278
191
|
# @return [Array<String>]
|
@@ -317,69 +230,57 @@ module Google
|
|
317
230
|
class Binding
|
318
231
|
include Google::Apis::Core::Hashable
|
319
232
|
|
320
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
321
|
-
#
|
322
|
-
#
|
323
|
-
#
|
324
|
-
#
|
325
|
-
# description: "Determines if
|
326
|
-
# expression: "document.
|
327
|
-
#
|
328
|
-
#
|
329
|
-
#
|
330
|
-
#
|
331
|
-
#
|
332
|
-
#
|
333
|
-
#
|
334
|
-
#
|
335
|
-
# Example (Data Manipulation):
|
336
|
-
# title: "Notification string"
|
337
|
-
# description: "Create a notification string with a timestamp."
|
338
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
339
|
-
# The exact variables and functions that may be referenced within an expression
|
340
|
-
# are determined by the service that evaluates it. See the service
|
341
|
-
# documentation for additional information.
|
233
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
234
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
235
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
236
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
237
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
238
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
239
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
240
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
241
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
242
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
243
|
+
# string" description: "Create a notification string with a timestamp."
|
244
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
245
|
+
# exact variables and functions that may be referenced within an expression are
|
246
|
+
# determined by the service that evaluates it. See the service documentation for
|
247
|
+
# additional information.
|
342
248
|
# Corresponds to the JSON property `condition`
|
343
249
|
# @return [Google::Apis::CloudassetV1beta1::Expr]
|
344
250
|
attr_accessor :condition
|
345
251
|
|
346
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
352
|
-
# * `
|
353
|
-
# account. For example, `
|
354
|
-
# * `
|
355
|
-
#
|
356
|
-
#
|
357
|
-
# For example, `
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
# deleted
|
366
|
-
#
|
367
|
-
# If the
|
368
|
-
# `
|
369
|
-
# role in the binding.
|
370
|
-
#
|
371
|
-
#
|
372
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
373
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
374
|
-
# recovered group retains the role in the binding.
|
375
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
376
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
252
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
253
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
254
|
+
# that represents anyone who is on the internet; with or without a Google
|
255
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
256
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
257
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
258
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
259
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
260
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
261
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
262
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
263
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
264
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
265
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
266
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
267
|
+
# identifier) representing a service account that has been recently deleted. For
|
268
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
269
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
270
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
271
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
272
|
+
# identifier) representing a Google group that has been recently deleted. For
|
273
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
274
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
275
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
276
|
+
# primary) that represents all the users of that domain. For example, `google.
|
277
|
+
# com` or `example.com`.
|
377
278
|
# Corresponds to the JSON property `members`
|
378
279
|
# @return [Array<String>]
|
379
280
|
attr_accessor :members
|
380
281
|
|
381
|
-
# Role that is assigned to `members`.
|
382
|
-
#
|
282
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
283
|
+
# , or `roles/owner`.
|
383
284
|
# Corresponds to the JSON property `role`
|
384
285
|
# @return [String]
|
385
286
|
attr_accessor :role
|
@@ -400,12 +301,10 @@ module Google
|
|
400
301
|
class ExportAssetsRequest
|
401
302
|
include Google::Apis::Core::Hashable
|
402
303
|
|
403
|
-
# A list of asset types of which to take a snapshot for. For example:
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
407
|
-
# inventory/overview)
|
408
|
-
# for all supported asset types.
|
304
|
+
# A list of asset types of which to take a snapshot for. For example: "google.
|
305
|
+
# compute.Disk". If specified, only matching assets will be returned. See [
|
306
|
+
# Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-
|
307
|
+
# manager/docs/cloud-asset-inventory/overview) for all supported asset types.
|
409
308
|
# Corresponds to the JSON property `assetTypes`
|
410
309
|
# @return [Array<String>]
|
411
310
|
attr_accessor :asset_types
|
@@ -422,10 +321,10 @@ module Google
|
|
422
321
|
attr_accessor :output_config
|
423
322
|
|
424
323
|
# Timestamp to take an asset snapshot. This can only be set to a timestamp
|
425
|
-
# between 2018-10-02 UTC (inclusive) and the current time. If not specified,
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
324
|
+
# between 2018-10-02 UTC (inclusive) and the current time. If not specified, the
|
325
|
+
# current time will be used. Due to delays in resource data collection and
|
326
|
+
# indexing, there is a volatile window during which running the same query may
|
327
|
+
# get different results.
|
429
328
|
# Corresponds to the JSON property `readTime`
|
430
329
|
# @return [String]
|
431
330
|
attr_accessor :read_time
|
@@ -443,52 +342,43 @@ module Google
|
|
443
342
|
end
|
444
343
|
end
|
445
344
|
|
446
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
447
|
-
#
|
448
|
-
#
|
449
|
-
#
|
450
|
-
#
|
451
|
-
# description: "Determines if
|
452
|
-
# expression: "document.
|
453
|
-
#
|
454
|
-
#
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
# Example (Data Manipulation):
|
462
|
-
# title: "Notification string"
|
463
|
-
# description: "Create a notification string with a timestamp."
|
464
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
465
|
-
# The exact variables and functions that may be referenced within an expression
|
466
|
-
# are determined by the service that evaluates it. See the service
|
467
|
-
# documentation for additional information.
|
345
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
346
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
347
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
348
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
349
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
350
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
351
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
352
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
353
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
354
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
355
|
+
# string" description: "Create a notification string with a timestamp."
|
356
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
357
|
+
# exact variables and functions that may be referenced within an expression are
|
358
|
+
# determined by the service that evaluates it. See the service documentation for
|
359
|
+
# additional information.
|
468
360
|
class Expr
|
469
361
|
include Google::Apis::Core::Hashable
|
470
362
|
|
471
|
-
# Optional. Description of the expression. This is a longer text which
|
472
|
-
#
|
363
|
+
# Optional. Description of the expression. This is a longer text which describes
|
364
|
+
# the expression, e.g. when hovered over it in a UI.
|
473
365
|
# Corresponds to the JSON property `description`
|
474
366
|
# @return [String]
|
475
367
|
attr_accessor :description
|
476
368
|
|
477
|
-
# Textual representation of an expression in Common Expression Language
|
478
|
-
# syntax.
|
369
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
479
370
|
# Corresponds to the JSON property `expression`
|
480
371
|
# @return [String]
|
481
372
|
attr_accessor :expression
|
482
373
|
|
483
|
-
# Optional. String indicating the location of the expression for error
|
484
|
-
#
|
374
|
+
# Optional. String indicating the location of the expression for error reporting,
|
375
|
+
# e.g. a file name and a position in the file.
|
485
376
|
# Corresponds to the JSON property `location`
|
486
377
|
# @return [String]
|
487
378
|
attr_accessor :location
|
488
379
|
|
489
|
-
# Optional. Title for the expression, i.e. a short string describing
|
490
|
-
#
|
491
|
-
# expression.
|
380
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
381
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
492
382
|
# Corresponds to the JSON property `title`
|
493
383
|
# @return [String]
|
494
384
|
attr_accessor :title
|
@@ -510,23 +400,21 @@ module Google
|
|
510
400
|
class GcsDestination
|
511
401
|
include Google::Apis::Core::Hashable
|
512
402
|
|
513
|
-
# The uri of the Cloud Storage object. It's the same uri that is used by
|
514
|
-
#
|
515
|
-
#
|
516
|
-
#
|
517
|
-
# for more information.
|
403
|
+
# The uri of the Cloud Storage object. It's the same uri that is used by gsutil.
|
404
|
+
# For example: "gs://bucket_name/object_name". See [Viewing and Editing Object
|
405
|
+
# Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for
|
406
|
+
# more information.
|
518
407
|
# Corresponds to the JSON property `uri`
|
519
408
|
# @return [String]
|
520
409
|
attr_accessor :uri
|
521
410
|
|
522
|
-
# The uri prefix of all generated Cloud Storage objects. For example:
|
523
|
-
#
|
524
|
-
#
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
#
|
529
|
-
# "gs://bucket_name/object_name_prefix" already exists.
|
411
|
+
# The uri prefix of all generated Cloud Storage objects. For example: "gs://
|
412
|
+
# bucket_name/object_name_prefix". Each object uri is in format: "gs://
|
413
|
+
# bucket_name/object_name_prefix// and only contains assets for that type.
|
414
|
+
# starts from 0. For example: "gs://bucket_name/object_name_prefix/google.
|
415
|
+
# compute.disk/0" is the first shard of output objects containing all google.
|
416
|
+
# compute.disk assets. An INVALID_ARGUMENT error will be returned if file with
|
417
|
+
# the same name "gs://bucket_name/object_name_prefix" already exists.
|
530
418
|
# Corresponds to the JSON property `uriPrefix`
|
531
419
|
# @return [String]
|
532
420
|
attr_accessor :uri_prefix
|
@@ -547,45 +435,29 @@ module Google
|
|
547
435
|
class GoogleCloudOrgpolicyV1BooleanPolicy
|
548
436
|
include Google::Apis::Core::Hashable
|
549
437
|
|
550
|
-
# If `true`, then the `Policy` is enforced. If `false`, then any
|
551
|
-
#
|
552
|
-
#
|
553
|
-
# `
|
554
|
-
#
|
555
|
-
#
|
556
|
-
# - If the `Policy` at this
|
557
|
-
# port connection attempts will be allowed.
|
558
|
-
# - If
|
559
|
-
# port connection attempts will be
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
#
|
569
|
-
# `organizations/foo` has a `Policy` with:
|
570
|
-
# `
|
571
|
-
#
|
572
|
-
#
|
573
|
-
# enforced.
|
574
|
-
# Example 2 (enforcement gets replaced):
|
575
|
-
# `organizations/foo` has a `Policy` with:
|
576
|
-
# `enforced: false`
|
577
|
-
# `projects/bar` has a `Policy` with:
|
578
|
-
# `enforced: true`
|
579
|
-
# The constraint at `organizations/foo` is not enforced.
|
580
|
-
# The constraint at `projects/bar` is enforced.
|
581
|
-
# Example 3 (RestoreDefault):
|
582
|
-
# `organizations/foo` has a `Policy` with:
|
583
|
-
# `enforced: true`
|
584
|
-
# `projects/bar` has a `Policy` with:
|
585
|
-
# `RestoreDefault: ```
|
586
|
-
# The constraint at `organizations/foo` is enforced.
|
587
|
-
# The constraint at `projects/bar` is not enforced, because
|
588
|
-
# `constraint_default` for the `Constraint` is `ALLOW`.
|
438
|
+
# If `true`, then the `Policy` is enforced. If `false`, then any configuration
|
439
|
+
# is acceptable. Suppose you have a `Constraint` `constraints/compute.
|
440
|
+
# disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
|
441
|
+
# for that `Constraint` exhibits the following behavior: - If the `Policy` at
|
442
|
+
# this resource has enforced set to `false`, serial port connection attempts
|
443
|
+
# will be allowed. - If the `Policy` at this resource has enforced set to `true`,
|
444
|
+
# serial port connection attempts will be refused. - If the `Policy` at this
|
445
|
+
# resource is `RestoreDefault`, serial port connection attempts will be allowed.
|
446
|
+
# - If no `Policy` is set at this resource or anywhere higher in the resource
|
447
|
+
# hierarchy, serial port connection attempts will be allowed. - If no `Policy`
|
448
|
+
# is set at this resource, but one exists higher in the resource hierarchy, the
|
449
|
+
# behavior is as if the`Policy` were set at this resource. The following
|
450
|
+
# examples demonstrate the different possible layerings: Example 1 (nearest `
|
451
|
+
# Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
|
452
|
+
# projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
|
453
|
+
# organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
|
454
|
+
# `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
|
455
|
+
# a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
|
456
|
+
# enforced. The constraint at `projects/bar` is enforced. Example 3 (
|
457
|
+
# RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
|
458
|
+
# projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
|
459
|
+
# organizations/foo` is enforced. The constraint at `projects/bar` is not
|
460
|
+
# enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
|
589
461
|
# Corresponds to the JSON property `enforced`
|
590
462
|
# @return [Boolean]
|
591
463
|
attr_accessor :enforced
|
@@ -601,26 +473,22 @@ module Google
|
|
601
473
|
end
|
602
474
|
end
|
603
475
|
|
604
|
-
# Used in `policy_type` to specify how `list_policy` behaves at this
|
605
|
-
#
|
606
|
-
#
|
607
|
-
#
|
608
|
-
#
|
609
|
-
#
|
610
|
-
#
|
611
|
-
#
|
612
|
-
#
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
618
|
-
#
|
619
|
-
#
|
620
|
-
# `denied_values` in the same `Policy` if `all_values` is
|
621
|
-
# `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
622
|
-
# values. If `all_values` is set to either `ALLOW` or `DENY`,
|
623
|
-
# `allowed_values` and `denied_values` must be unset.
|
476
|
+
# Used in `policy_type` to specify how `list_policy` behaves at this resource. `
|
477
|
+
# ListPolicy` can define specific values and subtrees of Cloud Resource Manager
|
478
|
+
# resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
|
479
|
+
# or denied by setting the `allowed_values` and `denied_values` fields. This is
|
480
|
+
# achieved by using the `under:` and optional `is:` prefixes. The `under:`
|
481
|
+
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
482
|
+
# denote specific values, and is required only if the value contains a ":".
|
483
|
+
# Values prefixed with "is:" are treated the same as values with no prefix.
|
484
|
+
# Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
|
485
|
+
# "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
|
486
|
+
# e.g. "organizations/1234" The `supports_under` field of the associated `
|
487
|
+
# Constraint` defines whether ancestry prefixes can be used. You can set `
|
488
|
+
# allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
|
489
|
+
# ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
490
|
+
# values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
|
491
|
+
# and `denied_values` must be unset.
|
624
492
|
class GoogleCloudOrgpolicyV1ListPolicy
|
625
493
|
include Google::Apis::Core::Hashable
|
626
494
|
|
@@ -629,112 +497,83 @@ module Google
|
|
629
497
|
# @return [String]
|
630
498
|
attr_accessor :all_values
|
631
499
|
|
632
|
-
# List of values allowed
|
633
|
-
#
|
500
|
+
# List of values allowed at this resource. Can only be set if `all_values` is
|
501
|
+
# set to `ALL_VALUES_UNSPECIFIED`.
|
634
502
|
# Corresponds to the JSON property `allowedValues`
|
635
503
|
# @return [Array<String>]
|
636
504
|
attr_accessor :allowed_values
|
637
505
|
|
638
|
-
# List of values denied at this resource. Can only be set if `all_values`
|
639
|
-
#
|
506
|
+
# List of values denied at this resource. Can only be set if `all_values` is set
|
507
|
+
# to `ALL_VALUES_UNSPECIFIED`.
|
640
508
|
# Corresponds to the JSON property `deniedValues`
|
641
509
|
# @return [Array<String>]
|
642
510
|
attr_accessor :denied_values
|
643
511
|
|
644
|
-
# Determines the inheritance behavior for this `Policy`.
|
645
|
-
#
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
649
|
-
#
|
650
|
-
#
|
651
|
-
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
# `
|
663
|
-
#
|
664
|
-
#
|
665
|
-
# `
|
666
|
-
#
|
667
|
-
# `organizations/foo` has a `Policy`
|
668
|
-
# `allowed_values: "E1" allowed_values:"E2"`
|
669
|
-
# `
|
670
|
-
# `
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
# `organizations/foo`
|
675
|
-
# `
|
676
|
-
#
|
677
|
-
#
|
678
|
-
# The accepted values at `organizations/foo` are `E1`, `E2`.
|
679
|
-
# The accepted values at `projects/bar` are
|
680
|
-
#
|
681
|
-
# `organizations/foo` has
|
682
|
-
# `
|
683
|
-
#
|
684
|
-
# `
|
685
|
-
#
|
686
|
-
#
|
687
|
-
#
|
688
|
-
# `organizations/foo` has a `Policy`
|
689
|
-
# `allowed_values: "E1" allowed_values:"E2"`
|
690
|
-
# `
|
691
|
-
# `
|
692
|
-
#
|
693
|
-
#
|
694
|
-
#
|
695
|
-
# `
|
696
|
-
#
|
697
|
-
#
|
698
|
-
# `projects/bar`
|
699
|
-
#
|
700
|
-
# the value of `constraint_default` (if `ALLOW`, all; if
|
701
|
-
# `DENY`, none).
|
702
|
-
# Example 6 (ListConstraint allowing all):
|
703
|
-
# `organizations/foo` has a `Policy` with values:
|
704
|
-
# `allowed_values: "E1" allowed_values: "E2"`
|
705
|
-
# `projects/bar` has a `Policy` with:
|
706
|
-
# `all: ALLOW`
|
707
|
-
# The accepted values at `organizations/foo` are `E1`, E2`.
|
708
|
-
# Any value is accepted at `projects/bar`.
|
709
|
-
# Example 7 (ListConstraint allowing none):
|
710
|
-
# `organizations/foo` has a `Policy` with values:
|
711
|
-
# `allowed_values: "E1" allowed_values: "E2"`
|
712
|
-
# `projects/bar` has a `Policy` with:
|
713
|
-
# `all: DENY`
|
714
|
-
# The accepted values at `organizations/foo` are `E1`, E2`.
|
715
|
-
# No value is accepted at `projects/bar`.
|
716
|
-
# Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
|
717
|
-
# Given the following resource hierarchy
|
718
|
-
# O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
|
719
|
-
# `organizations/foo` has a `Policy` with values:
|
720
|
-
# `allowed_values: "under:organizations/O1"`
|
721
|
-
# `projects/bar` has a `Policy` with:
|
722
|
-
# `allowed_values: "under:projects/P3"`
|
723
|
-
# `denied_values: "under:folders/F2"`
|
724
|
-
# The accepted values at `organizations/foo` are `organizations/O1`,
|
725
|
-
# `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
|
726
|
-
# `projects/P3`.
|
727
|
-
# The accepted values at `projects/bar` are `organizations/O1`,
|
728
|
-
# `folders/F1`, `projects/P1`.
|
512
|
+
# Determines the inheritance behavior for this `Policy`. By default, a `
|
513
|
+
# ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
|
514
|
+
# resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
|
515
|
+
# the values from the effective `Policy` of the parent resource are inherited,
|
516
|
+
# meaning the values set in this `Policy` are added to the values inherited up
|
517
|
+
# the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
|
518
|
+
# and denied values isn't recommended in most circumstances to keep the
|
519
|
+
# configuration simple and understandable. However, it is possible to set a `
|
520
|
+
# Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
|
521
|
+
# set. In this case, the values that are allowed must be in `allowed_values`
|
522
|
+
# and not present in `denied_values`. For example, suppose you have a `
|
523
|
+
# Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
|
524
|
+
# of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
|
525
|
+
# that at the Organization level, a `Policy` is applied that restricts the
|
526
|
+
# allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
|
527
|
+
# project below the Organization that has `inherit_from_parent` set to `false`
|
528
|
+
# and field all_values set to DENY, then an attempt to activate any API will be
|
529
|
+
# denied. The following examples demonstrate different possible layerings for `
|
530
|
+
# projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
|
531
|
+
# `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
|
532
|
+
# allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
|
533
|
+
# values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
|
534
|
+
# organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
|
535
|
+
# E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
|
536
|
+
# with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
|
537
|
+
# Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
|
538
|
+
# accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
|
539
|
+
# projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
|
540
|
+
# allowed and denied values): `organizations/foo` has a `Policy` with values: `
|
541
|
+
# allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
|
542
|
+
# `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
|
543
|
+
# . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
|
544
|
+
# organizations/foo` has a `Policy` with values: `allowed_values: "E1"
|
545
|
+
# allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
|
546
|
+
# RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
|
547
|
+
# The accepted values at `projects/bar` are either all or none depending on the
|
548
|
+
# value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
|
549
|
+
# no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
|
550
|
+
# projects/bar` has no `Policy` set. The accepted values at both levels are
|
551
|
+
# either all or none depending on the value of `constraint_default` (if `ALLOW`,
|
552
|
+
# all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
|
553
|
+
# foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
|
554
|
+
# projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
|
555
|
+
# organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
|
556
|
+
# Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
|
557
|
+
# with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
|
558
|
+
# Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
|
559
|
+
# E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
|
560
|
+
# subtrees of Resource Manager hierarchy): Given the following resource
|
561
|
+
# hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
|
562
|
+
# Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
|
563
|
+
# has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
|
564
|
+
# under:folders/F2"` The accepted values at `organizations/foo` are `
|
565
|
+
# organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
|
566
|
+
# projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
|
567
|
+
# folders/F1`, `projects/P1`.
|
729
568
|
# Corresponds to the JSON property `inheritFromParent`
|
730
569
|
# @return [Boolean]
|
731
570
|
attr_accessor :inherit_from_parent
|
732
571
|
alias_method :inherit_from_parent?, :inherit_from_parent
|
733
572
|
|
734
|
-
# Optional. The Google Cloud Console will try to default to a configuration
|
735
|
-
#
|
736
|
-
#
|
737
|
-
#
|
573
|
+
# Optional. The Google Cloud Console will try to default to a configuration that
|
574
|
+
# matches the value specified in this `Policy`. If `suggested_value` is not set,
|
575
|
+
# it will inherit the value specified higher in the hierarchy, unless `
|
576
|
+
# inherit_from_parent` is `false`.
|
738
577
|
# Corresponds to the JSON property `suggestedValue`
|
739
578
|
# @return [String]
|
740
579
|
attr_accessor :suggested_value
|
@@ -764,76 +603,65 @@ module Google
|
|
764
603
|
# @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1BooleanPolicy]
|
765
604
|
attr_accessor :boolean_policy
|
766
605
|
|
767
|
-
# The name of the `Constraint` the `Policy` is configuring, for example,
|
768
|
-
#
|
769
|
-
#
|
770
|
-
# constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
|
771
|
-
# is available.
|
606
|
+
# The name of the `Constraint` the `Policy` is configuring, for example, `
|
607
|
+
# constraints/serviceuser.services`. A [list of available constraints](/resource-
|
608
|
+
# manager/docs/organization-policy/org-policy-constraints) is available.
|
772
609
|
# Immutable after creation.
|
773
610
|
# Corresponds to the JSON property `constraint`
|
774
611
|
# @return [String]
|
775
612
|
attr_accessor :constraint
|
776
613
|
|
777
614
|
# An opaque tag indicating the current version of the `Policy`, used for
|
778
|
-
# concurrency control.
|
779
|
-
#
|
780
|
-
# `
|
781
|
-
# `
|
782
|
-
#
|
783
|
-
# `
|
784
|
-
#
|
785
|
-
#
|
786
|
-
# read-modify-write loop for concurrency control. Not setting the `etag`in a
|
787
|
-
# `SetOrgPolicy` request will result in an unconditional write of the
|
788
|
-
# `Policy`.
|
615
|
+
# concurrency control. When the `Policy` is returned from either a `GetPolicy`
|
616
|
+
# or a `ListOrgPolicy` request, this `etag` indicates the version of the current
|
617
|
+
# `Policy` to use when executing a read-modify-write loop. When the `Policy` is
|
618
|
+
# returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
|
619
|
+
# the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
|
620
|
+
# returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
|
621
|
+
# concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
|
622
|
+
# result in an unconditional write of the `Policy`.
|
789
623
|
# Corresponds to the JSON property `etag`
|
790
624
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
791
625
|
# @return [String]
|
792
626
|
attr_accessor :etag
|
793
627
|
|
794
|
-
# Used in `policy_type` to specify how `list_policy` behaves at this
|
795
|
-
#
|
796
|
-
#
|
797
|
-
#
|
798
|
-
#
|
799
|
-
#
|
800
|
-
#
|
801
|
-
#
|
802
|
-
#
|
803
|
-
#
|
804
|
-
#
|
805
|
-
#
|
806
|
-
#
|
807
|
-
#
|
808
|
-
#
|
809
|
-
#
|
810
|
-
# `denied_values` in the same `Policy` if `all_values` is
|
811
|
-
# `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
812
|
-
# values. If `all_values` is set to either `ALLOW` or `DENY`,
|
813
|
-
# `allowed_values` and `denied_values` must be unset.
|
628
|
+
# Used in `policy_type` to specify how `list_policy` behaves at this resource. `
|
629
|
+
# ListPolicy` can define specific values and subtrees of Cloud Resource Manager
|
630
|
+
# resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
|
631
|
+
# or denied by setting the `allowed_values` and `denied_values` fields. This is
|
632
|
+
# achieved by using the `under:` and optional `is:` prefixes. The `under:`
|
633
|
+
# prefix is used to denote resource subtree values. The `is:` prefix is used to
|
634
|
+
# denote specific values, and is required only if the value contains a ":".
|
635
|
+
# Values prefixed with "is:" are treated the same as values with no prefix.
|
636
|
+
# Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
|
637
|
+
# "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
|
638
|
+
# e.g. "organizations/1234" The `supports_under` field of the associated `
|
639
|
+
# Constraint` defines whether ancestry prefixes can be used. You can set `
|
640
|
+
# allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
|
641
|
+
# ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
|
642
|
+
# values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
|
643
|
+
# and `denied_values` must be unset.
|
814
644
|
# Corresponds to the JSON property `listPolicy`
|
815
645
|
# @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1ListPolicy]
|
816
646
|
attr_accessor :list_policy
|
817
647
|
|
818
|
-
# Ignores policies set above this resource and restores the
|
819
|
-
#
|
820
|
-
#
|
821
|
-
# Suppose that
|
822
|
-
#
|
823
|
-
#
|
824
|
-
# the
|
825
|
-
#
|
826
|
-
#
|
827
|
-
# enforcement of the `Constraint` for only those projects, allowing those
|
828
|
-
# projects to have all services activated.
|
648
|
+
# Ignores policies set above this resource and restores the `constraint_default`
|
649
|
+
# enforcement behavior of the specific `Constraint` at this resource. Suppose
|
650
|
+
# that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
|
651
|
+
# serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
|
652
|
+
# their Organization resource node that restricts the allowed service
|
653
|
+
# activations to deny all service activations. They could then set a `Policy`
|
654
|
+
# with the `policy_type` `restore_default` on several experimental projects,
|
655
|
+
# restoring the `constraint_default` enforcement of the `Constraint` for only
|
656
|
+
# those projects, allowing those projects to have all services activated.
|
829
657
|
# Corresponds to the JSON property `restoreDefault`
|
830
658
|
# @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1RestoreDefault]
|
831
659
|
attr_accessor :restore_default
|
832
660
|
|
833
|
-
# The time stamp the `Policy` was previously updated. This is set by the
|
834
|
-
#
|
835
|
-
#
|
836
|
-
#
|
661
|
+
# The time stamp the `Policy` was previously updated. This is set by the server,
|
662
|
+
# not specified by the caller, and represents the last time a call to `
|
663
|
+
# SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
|
664
|
+
# ignored.
|
837
665
|
# Corresponds to the JSON property `updateTime`
|
838
666
|
# @return [String]
|
839
667
|
attr_accessor :update_time
|
@@ -859,17 +687,15 @@ module Google
|
|
859
687
|
end
|
860
688
|
end
|
861
689
|
|
862
|
-
# Ignores policies set above this resource and restores the
|
863
|
-
#
|
864
|
-
#
|
865
|
-
# Suppose that
|
866
|
-
#
|
867
|
-
#
|
868
|
-
# the
|
869
|
-
#
|
870
|
-
#
|
871
|
-
# enforcement of the `Constraint` for only those projects, allowing those
|
872
|
-
# projects to have all services activated.
|
690
|
+
# Ignores policies set above this resource and restores the `constraint_default`
|
691
|
+
# enforcement behavior of the specific `Constraint` at this resource. Suppose
|
692
|
+
# that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
|
693
|
+
# serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
|
694
|
+
# their Organization resource node that restricts the allowed service
|
695
|
+
# activations to deny all service activations. They could then set a `Policy`
|
696
|
+
# with the `policy_type` `restore_default` on several experimental projects,
|
697
|
+
# restoring the `constraint_default` enforcement of the `Constraint` for only
|
698
|
+
# those projects, allowing those projects to have all services activated.
|
873
699
|
class GoogleCloudOrgpolicyV1RestoreDefault
|
874
700
|
include Google::Apis::Core::Hashable
|
875
701
|
|
@@ -894,8 +720,8 @@ module Google
|
|
894
720
|
attr_accessor :basic
|
895
721
|
|
896
722
|
# `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
|
897
|
-
# to represent the necessary conditions for the level to apply to a request.
|
898
|
-
#
|
723
|
+
# to represent the necessary conditions for the level to apply to a request. See
|
724
|
+
# CEL spec at: https://github.com/google/cel-spec
|
899
725
|
# Corresponds to the JSON property `custom`
|
900
726
|
# @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1CustomLevel]
|
901
727
|
attr_accessor :custom
|
@@ -905,10 +731,10 @@ module Google
|
|
905
731
|
# @return [String]
|
906
732
|
attr_accessor :description
|
907
733
|
|
908
|
-
# Required. Resource name for the Access Level. The `short_name` component
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
734
|
+
# Required. Resource name for the Access Level. The `short_name` component must
|
735
|
+
# begin with a letter and only include alphanumeric and '_'. Format: `
|
736
|
+
# accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
|
737
|
+
# the `short_name` component is 50 characters.
|
912
738
|
# Corresponds to the JSON property `name`
|
913
739
|
# @return [String]
|
914
740
|
attr_accessor :name
|
@@ -933,30 +759,29 @@ module Google
|
|
933
759
|
end
|
934
760
|
|
935
761
|
# `AccessPolicy` is a container for `AccessLevels` (which define the necessary
|
936
|
-
# attributes to use Google Cloud services) and `ServicePerimeters` (which
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
762
|
+
# attributes to use Google Cloud services) and `ServicePerimeters` (which define
|
763
|
+
# regions of services able to freely pass data within a perimeter). An access
|
764
|
+
# policy is globally visible within an organization, and the restrictions it
|
765
|
+
# specifies apply to all projects within an organization.
|
940
766
|
class GoogleIdentityAccesscontextmanagerV1AccessPolicy
|
941
767
|
include Google::Apis::Core::Hashable
|
942
768
|
|
943
|
-
# Output only. An opaque identifier for the current version of the
|
944
|
-
#
|
945
|
-
#
|
946
|
-
#
|
769
|
+
# Output only. An opaque identifier for the current version of the `AccessPolicy`
|
770
|
+
# . This will always be a strongly validated etag, meaning that two Access
|
771
|
+
# Polices will be identical if and only if their etags are identical. Clients
|
772
|
+
# should not expect this to be in any specific format.
|
947
773
|
# Corresponds to the JSON property `etag`
|
948
774
|
# @return [String]
|
949
775
|
attr_accessor :etag
|
950
776
|
|
951
|
-
# Output only. Resource name of the `AccessPolicy`. Format:
|
952
|
-
#
|
777
|
+
# Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
|
778
|
+
# policy_id``
|
953
779
|
# Corresponds to the JSON property `name`
|
954
780
|
# @return [String]
|
955
781
|
attr_accessor :name
|
956
782
|
|
957
|
-
# Required. The parent of this `AccessPolicy` in the Cloud Resource
|
958
|
-
#
|
959
|
-
# `organizations/`organization_id``
|
783
|
+
# Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy.
|
784
|
+
# Currently immutable once created. Format: `organizations/`organization_id``
|
960
785
|
# Corresponds to the JSON property `parent`
|
961
786
|
# @return [String]
|
962
787
|
attr_accessor :parent
|
@@ -984,10 +809,10 @@ module Google
|
|
984
809
|
include Google::Apis::Core::Hashable
|
985
810
|
|
986
811
|
# How the `conditions` list should be combined to determine if a request is
|
987
|
-
# granted this `AccessLevel`. If AND is used, each `Condition` in
|
988
|
-
#
|
989
|
-
#
|
990
|
-
#
|
812
|
+
# granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
|
813
|
+
# must be satisfied for the `AccessLevel` to be applied. If OR is used, at least
|
814
|
+
# one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be
|
815
|
+
# applied. Default behavior is AND.
|
991
816
|
# Corresponds to the JSON property `combiningFunction`
|
992
817
|
# @return [String]
|
993
818
|
attr_accessor :combining_function
|
@@ -1021,54 +846,48 @@ module Google
|
|
1021
846
|
# devices to be granted access levels, it does not do any enforcement on the
|
1022
847
|
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
1023
848
|
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
1024
|
-
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
|
1025
|
-
#
|
1026
|
-
#
|
1027
|
-
# Windows desktops.
|
849
|
+
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
|
850
|
+
# encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
|
851
|
+
# originating from encrypted Linux desktops and encrypted Windows desktops.
|
1028
852
|
# Corresponds to the JSON property `devicePolicy`
|
1029
853
|
# @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1DevicePolicy]
|
1030
854
|
attr_accessor :device_policy
|
1031
855
|
|
1032
|
-
# CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
|
1033
|
-
#
|
856
|
+
# CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
|
857
|
+
# CIDR IP address block, the specified IP address portion must be properly
|
1034
858
|
# truncated (i.e. all the host bits must be zero) or the input is considered
|
1035
|
-
# malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
|
1036
|
-
#
|
1037
|
-
#
|
1038
|
-
#
|
1039
|
-
# addresses are allowed.
|
859
|
+
# malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not.
|
860
|
+
# Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is
|
861
|
+
# not. The originating IP of a request must be in one of the listed subnets in
|
862
|
+
# order for this Condition to be true. If empty, all IP addresses are allowed.
|
1040
863
|
# Corresponds to the JSON property `ipSubnetworks`
|
1041
864
|
# @return [Array<String>]
|
1042
865
|
attr_accessor :ip_subnetworks
|
1043
866
|
|
1044
|
-
# The request must be made by one of the provided user or service
|
1045
|
-
#
|
1046
|
-
# Syntax:
|
1047
|
-
# `user:`emailid``
|
1048
|
-
# `serviceAccount:`emailid``
|
867
|
+
# The request must be made by one of the provided user or service accounts.
|
868
|
+
# Groups are not supported. Syntax: `user:`emailid`` `serviceAccount:`emailid``
|
1049
869
|
# If not specified, a request may come from any user.
|
1050
870
|
# Corresponds to the JSON property `members`
|
1051
871
|
# @return [Array<String>]
|
1052
872
|
attr_accessor :members
|
1053
873
|
|
1054
874
|
# Whether to negate the Condition. If true, the Condition becomes a NAND over
|
1055
|
-
# its non-empty fields, each field must be false for the Condition overall to
|
1056
|
-
#
|
875
|
+
# its non-empty fields, each field must be false for the Condition overall to be
|
876
|
+
# satisfied. Defaults to false.
|
1057
877
|
# Corresponds to the JSON property `negate`
|
1058
878
|
# @return [Boolean]
|
1059
879
|
attr_accessor :negate
|
1060
880
|
alias_method :negate?, :negate
|
1061
881
|
|
1062
|
-
# The request must originate from one of the provided countries/regions.
|
1063
|
-
#
|
882
|
+
# The request must originate from one of the provided countries/regions. Must be
|
883
|
+
# valid ISO 3166-1 alpha-2 codes.
|
1064
884
|
# Corresponds to the JSON property `regions`
|
1065
885
|
# @return [Array<String>]
|
1066
886
|
attr_accessor :regions
|
1067
887
|
|
1068
888
|
# A list of other access levels defined in the same `Policy`, referenced by
|
1069
|
-
# resource name. Referencing an `AccessLevel` which does not exist is an
|
1070
|
-
#
|
1071
|
-
# to be true. Example:
|
889
|
+
# resource name. Referencing an `AccessLevel` which does not exist is an error.
|
890
|
+
# All access levels listed must be granted for the Condition to be true. Example:
|
1072
891
|
# "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
|
1073
892
|
# Corresponds to the JSON property `requiredAccessLevels`
|
1074
893
|
# @return [Array<String>]
|
@@ -1090,33 +909,26 @@ module Google
|
|
1090
909
|
end
|
1091
910
|
|
1092
911
|
# `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
|
1093
|
-
# to represent the necessary conditions for the level to apply to a request.
|
1094
|
-
#
|
912
|
+
# to represent the necessary conditions for the level to apply to a request. See
|
913
|
+
# CEL spec at: https://github.com/google/cel-spec
|
1095
914
|
class GoogleIdentityAccesscontextmanagerV1CustomLevel
|
1096
915
|
include Google::Apis::Core::Hashable
|
1097
916
|
|
1098
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
1099
|
-
#
|
1100
|
-
#
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
# description: "Determines if
|
1104
|
-
# expression: "document.
|
1105
|
-
#
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
#
|
1110
|
-
#
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
# Example (Data Manipulation):
|
1114
|
-
# title: "Notification string"
|
1115
|
-
# description: "Create a notification string with a timestamp."
|
1116
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
1117
|
-
# The exact variables and functions that may be referenced within an expression
|
1118
|
-
# are determined by the service that evaluates it. See the service
|
1119
|
-
# documentation for additional information.
|
917
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
918
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
919
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
920
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
921
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
922
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
923
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
924
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
925
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
926
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
927
|
+
# string" description: "Create a notification string with a timestamp."
|
928
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
929
|
+
# exact variables and functions that may be referenced within an expression are
|
930
|
+
# determined by the service that evaluates it. See the service documentation for
|
931
|
+
# additional information.
|
1120
932
|
# Corresponds to the JSON property `expr`
|
1121
933
|
# @return [Google::Apis::CloudassetV1beta1::Expr]
|
1122
934
|
attr_accessor :expr
|
@@ -1136,15 +948,13 @@ module Google
|
|
1136
948
|
# devices to be granted access levels, it does not do any enforcement on the
|
1137
949
|
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
1138
950
|
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
1139
|
-
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
# Windows desktops.
|
951
|
+
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
|
952
|
+
# encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
|
953
|
+
# originating from encrypted Linux desktops and encrypted Windows desktops.
|
1143
954
|
class GoogleIdentityAccesscontextmanagerV1DevicePolicy
|
1144
955
|
include Google::Apis::Core::Hashable
|
1145
956
|
|
1146
|
-
# Allowed device management levels, an empty list allows all management
|
1147
|
-
# levels.
|
957
|
+
# Allowed device management levels, an empty list allows all management levels.
|
1148
958
|
# Corresponds to the JSON property `allowedDeviceManagementLevels`
|
1149
959
|
# @return [Array<String>]
|
1150
960
|
attr_accessor :allowed_device_management_levels
|
@@ -1197,9 +1007,9 @@ module Google
|
|
1197
1007
|
class GoogleIdentityAccesscontextmanagerV1OsConstraint
|
1198
1008
|
include Google::Apis::Core::Hashable
|
1199
1009
|
|
1200
|
-
# The minimum allowed OS version. If not set, any version of this OS
|
1201
|
-
#
|
1202
|
-
#
|
1010
|
+
# The minimum allowed OS version. If not set, any version of this OS satisfies
|
1011
|
+
# the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"
|
1012
|
+
# `.
|
1203
1013
|
# Corresponds to the JSON property `minimumVersion`
|
1204
1014
|
# @return [String]
|
1205
1015
|
attr_accessor :minimum_version
|
@@ -1209,10 +1019,10 @@ module Google
|
|
1209
1019
|
# @return [String]
|
1210
1020
|
attr_accessor :os_type
|
1211
1021
|
|
1212
|
-
# Only allows requests from devices with a verified Chrome OS.
|
1213
|
-
#
|
1214
|
-
#
|
1215
|
-
#
|
1022
|
+
# Only allows requests from devices with a verified Chrome OS. Verifications
|
1023
|
+
# includes requirements that the device is enterprise-managed, conformant to
|
1024
|
+
# domain policies, and the caller has permission to call the API targeted by the
|
1025
|
+
# request.
|
1216
1026
|
# Corresponds to the JSON property `requireVerifiedChromeOs`
|
1217
1027
|
# @return [Boolean]
|
1218
1028
|
attr_accessor :require_verified_chrome_os
|
@@ -1231,37 +1041,34 @@ module Google
|
|
1231
1041
|
end
|
1232
1042
|
|
1233
1043
|
# `ServicePerimeter` describes a set of Google Cloud resources which can freely
|
1234
|
-
# import and export data amongst themselves, but not export outside of the
|
1235
|
-
#
|
1044
|
+
# import and export data amongst themselves, but not export outside of the `
|
1045
|
+
# ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
1236
1046
|
# has a target outside of the `ServicePerimeter`, the request will be blocked.
|
1237
1047
|
# Otherwise the request is allowed. There are two types of Service Perimeter -
|
1238
|
-
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single
|
1239
|
-
#
|
1240
|
-
#
|
1241
|
-
#
|
1242
|
-
# Bridges.
|
1048
|
+
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
|
1049
|
+
# Cloud project can only belong to a single regular Service Perimeter. Service
|
1050
|
+
# Perimeter Bridges can contain only Google Cloud projects as members, a single
|
1051
|
+
# Google Cloud project may belong to multiple Service Perimeter Bridges.
|
1243
1052
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
|
1244
1053
|
include Google::Apis::Core::Hashable
|
1245
1054
|
|
1246
|
-
# Description of the `ServicePerimeter` and its use. Does not affect
|
1247
|
-
# behavior.
|
1055
|
+
# Description of the `ServicePerimeter` and its use. Does not affect behavior.
|
1248
1056
|
# Corresponds to the JSON property `description`
|
1249
1057
|
# @return [String]
|
1250
1058
|
attr_accessor :description
|
1251
1059
|
|
1252
|
-
# Required. Resource name for the ServicePerimeter.
|
1253
|
-
#
|
1254
|
-
#
|
1060
|
+
# Required. Resource name for the ServicePerimeter. The `short_name` component
|
1061
|
+
# must begin with a letter and only include alphanumeric and '_'. Format: `
|
1062
|
+
# accessPolicies/`policy_id`/servicePerimeters/`short_name``
|
1255
1063
|
# Corresponds to the JSON property `name`
|
1256
1064
|
# @return [String]
|
1257
1065
|
attr_accessor :name
|
1258
1066
|
|
1259
|
-
# Perimeter type indicator. A single project is
|
1260
|
-
#
|
1261
|
-
#
|
1262
|
-
#
|
1263
|
-
#
|
1264
|
-
# empty.
|
1067
|
+
# Perimeter type indicator. A single project is allowed to be a member of single
|
1068
|
+
# regular perimeter, but multiple service perimeter bridges. A project cannot be
|
1069
|
+
# a included in a perimeter bridge without being included in regular perimeter.
|
1070
|
+
# For perimeter bridges, the restricted service list as well as access level
|
1071
|
+
# lists must be empty.
|
1265
1072
|
# Corresponds to the JSON property `perimeterType`
|
1266
1073
|
# @return [String]
|
1267
1074
|
attr_accessor :perimeter_type
|
@@ -1283,16 +1090,15 @@ module Google
|
|
1283
1090
|
# @return [String]
|
1284
1091
|
attr_accessor :title
|
1285
1092
|
|
1286
|
-
# Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
|
1287
|
-
#
|
1288
|
-
#
|
1289
|
-
#
|
1290
|
-
#
|
1291
|
-
#
|
1292
|
-
#
|
1293
|
-
#
|
1294
|
-
#
|
1295
|
-
# fields in the spec are set to non-default values.
|
1093
|
+
# Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
|
1094
|
+
# for all Service Perimeters, and that spec is identical to the status for those
|
1095
|
+
# Service Perimeters. When this flag is set, it inhibits the generation of the
|
1096
|
+
# implicit spec, thereby allowing the user to explicitly provide a configuration
|
1097
|
+
# ("spec") to use in a dry-run version of the Service Perimeter. This allows the
|
1098
|
+
# user to test changes to the enforced config ("status") without actually
|
1099
|
+
# enforcing them. This testing is done through analyzing the differences between
|
1100
|
+
# currently enforced and suggested restrictions. use_explicit_dry_run_spec must
|
1101
|
+
# bet set to True if any of the fields in the spec are set to non-default values.
|
1296
1102
|
# Corresponds to the JSON property `useExplicitDryRunSpec`
|
1297
1103
|
# @return [Boolean]
|
1298
1104
|
attr_accessor :use_explicit_dry_run_spec
|
@@ -1319,14 +1125,13 @@ module Google
|
|
1319
1125
|
class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
|
1320
1126
|
include Google::Apis::Core::Hashable
|
1321
1127
|
|
1322
|
-
# A list of `AccessLevel` resource names that allow resources within the
|
1323
|
-
#
|
1324
|
-
#
|
1325
|
-
#
|
1326
|
-
#
|
1327
|
-
#
|
1328
|
-
#
|
1329
|
-
# For Service Perimeter Bridge, must be empty.
|
1128
|
+
# A list of `AccessLevel` resource names that allow resources within the `
|
1129
|
+
# ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must
|
1130
|
+
# be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `
|
1131
|
+
# AccessLevel` is a syntax error. If no `AccessLevel` names are listed,
|
1132
|
+
# resources within the perimeter can only be accessed via Google Cloud calls
|
1133
|
+
# with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/
|
1134
|
+
# accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
|
1330
1135
|
# Corresponds to the JSON property `accessLevels`
|
1331
1136
|
# @return [Array<String>]
|
1332
1137
|
attr_accessor :access_levels
|
@@ -1337,16 +1142,14 @@ module Google
|
|
1337
1142
|
# @return [Array<String>]
|
1338
1143
|
attr_accessor :resources
|
1339
1144
|
|
1340
|
-
# Google Cloud services that are subject to the Service Perimeter
|
1341
|
-
#
|
1342
|
-
#
|
1343
|
-
# access restrictions.
|
1145
|
+
# Google Cloud services that are subject to the Service Perimeter restrictions.
|
1146
|
+
# For example, if `storage.googleapis.com` is specified, access to the storage
|
1147
|
+
# buckets inside the perimeter must meet the perimeter's access restrictions.
|
1344
1148
|
# Corresponds to the JSON property `restrictedServices`
|
1345
1149
|
# @return [Array<String>]
|
1346
1150
|
attr_accessor :restricted_services
|
1347
1151
|
|
1348
|
-
# Specifies how APIs are allowed to communicate within the Service
|
1349
|
-
# Perimeter.
|
1152
|
+
# Specifies how APIs are allowed to communicate within the Service Perimeter.
|
1350
1153
|
# Corresponds to the JSON property `vpcAccessibleServices`
|
1351
1154
|
# @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
|
1352
1155
|
attr_accessor :vpc_accessible_services
|
@@ -1364,21 +1167,20 @@ module Google
|
|
1364
1167
|
end
|
1365
1168
|
end
|
1366
1169
|
|
1367
|
-
# Specifies how APIs are allowed to communicate within the Service
|
1368
|
-
# Perimeter.
|
1170
|
+
# Specifies how APIs are allowed to communicate within the Service Perimeter.
|
1369
1171
|
class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
|
1370
1172
|
include Google::Apis::Core::Hashable
|
1371
1173
|
|
1372
|
-
# The list of APIs usable within the Service Perimeter. Must be empty
|
1373
|
-
#
|
1374
|
-
#
|
1375
|
-
#
|
1174
|
+
# The list of APIs usable within the Service Perimeter. Must be empty unless '
|
1175
|
+
# enable_restriction' is True. You can specify a list of individual services, as
|
1176
|
+
# well as include the 'RESTRICTED-SERVICES' value, which automatically includes
|
1177
|
+
# all of the services protected by the perimeter.
|
1376
1178
|
# Corresponds to the JSON property `allowedServices`
|
1377
1179
|
# @return [Array<String>]
|
1378
1180
|
attr_accessor :allowed_services
|
1379
1181
|
|
1380
|
-
# Whether to restrict API calls within the Service Perimeter to the list of
|
1381
|
-
#
|
1182
|
+
# Whether to restrict API calls within the Service Perimeter to the list of APIs
|
1183
|
+
# specified in 'allowed_services'.
|
1382
1184
|
# Corresponds to the JSON property `enableRestriction`
|
1383
1185
|
# @return [Boolean]
|
1384
1186
|
attr_accessor :enable_restriction
|
@@ -1400,47 +1202,45 @@ module Google
|
|
1400
1202
|
class Operation
|
1401
1203
|
include Google::Apis::Core::Hashable
|
1402
1204
|
|
1403
|
-
# If the value is `false`, it means the operation is still in progress.
|
1404
|
-
#
|
1405
|
-
# available.
|
1205
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
1206
|
+
# , the operation is completed, and either `error` or `response` is available.
|
1406
1207
|
# Corresponds to the JSON property `done`
|
1407
1208
|
# @return [Boolean]
|
1408
1209
|
attr_accessor :done
|
1409
1210
|
alias_method :done?, :done
|
1410
1211
|
|
1411
|
-
# The `Status` type defines a logical error model that is suitable for
|
1412
|
-
#
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1416
|
-
#
|
1212
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1213
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1214
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1215
|
+
# data: error code, error message, and error details. You can find out more
|
1216
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1217
|
+
# //cloud.google.com/apis/design/errors).
|
1417
1218
|
# Corresponds to the JSON property `error`
|
1418
1219
|
# @return [Google::Apis::CloudassetV1beta1::Status]
|
1419
1220
|
attr_accessor :error
|
1420
1221
|
|
1421
|
-
# Service-specific metadata associated with the operation.
|
1422
|
-
#
|
1423
|
-
#
|
1424
|
-
#
|
1222
|
+
# Service-specific metadata associated with the operation. It typically contains
|
1223
|
+
# progress information and common metadata such as create time. Some services
|
1224
|
+
# might not provide such metadata. Any method that returns a long-running
|
1225
|
+
# operation should document the metadata type, if any.
|
1425
1226
|
# Corresponds to the JSON property `metadata`
|
1426
1227
|
# @return [Hash<String,Object>]
|
1427
1228
|
attr_accessor :metadata
|
1428
1229
|
|
1429
1230
|
# The server-assigned name, which is only unique within the same service that
|
1430
|
-
# originally returns it. If you use the default HTTP mapping, the
|
1431
|
-
#
|
1231
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
1232
|
+
# be a resource name ending with `operations/`unique_id``.
|
1432
1233
|
# Corresponds to the JSON property `name`
|
1433
1234
|
# @return [String]
|
1434
1235
|
attr_accessor :name
|
1435
1236
|
|
1436
|
-
# The normal response of the operation in case of success.
|
1437
|
-
# method returns no data on success, such as `Delete`, the response is
|
1438
|
-
#
|
1439
|
-
#
|
1440
|
-
#
|
1441
|
-
#
|
1442
|
-
#
|
1443
|
-
# `TakeSnapshotResponse`.
|
1237
|
+
# The normal response of the operation in case of success. If the original
|
1238
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
1239
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
1240
|
+
# the response should be the resource. For other methods, the response should
|
1241
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
1242
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
1243
|
+
# response type is `TakeSnapshotResponse`.
|
1444
1244
|
# Corresponds to the JSON property `response`
|
1445
1245
|
# @return [Hash<String,Object>]
|
1446
1246
|
attr_accessor :response
|
@@ -1479,66 +1279,32 @@ module Google
|
|
1479
1279
|
end
|
1480
1280
|
|
1481
1281
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1482
|
-
# controls for Google Cloud resources.
|
1483
|
-
# A `
|
1484
|
-
#
|
1485
|
-
#
|
1486
|
-
#
|
1487
|
-
#
|
1488
|
-
#
|
1489
|
-
#
|
1490
|
-
#
|
1491
|
-
#
|
1492
|
-
#
|
1493
|
-
# [
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
# `
|
1497
|
-
# "
|
1498
|
-
# `
|
1499
|
-
# "
|
1500
|
-
#
|
1501
|
-
#
|
1502
|
-
#
|
1503
|
-
#
|
1504
|
-
#
|
1505
|
-
#
|
1506
|
-
#
|
1507
|
-
#
|
1508
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1509
|
-
# "members": [
|
1510
|
-
# "user:eve@example.com"
|
1511
|
-
# ],
|
1512
|
-
# "condition": `
|
1513
|
-
# "title": "expirable access",
|
1514
|
-
# "description": "Does not grant access after Sep 2020",
|
1515
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1516
|
-
# ",
|
1517
|
-
# `
|
1518
|
-
# `
|
1519
|
-
# ],
|
1520
|
-
# "etag": "BwWWja0YfJA=",
|
1521
|
-
# "version": 3
|
1522
|
-
# `
|
1523
|
-
# **YAML example:**
|
1524
|
-
# bindings:
|
1525
|
-
# - members:
|
1526
|
-
# - user:mike@example.com
|
1527
|
-
# - group:admins@example.com
|
1528
|
-
# - domain:google.com
|
1529
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1530
|
-
# role: roles/resourcemanager.organizationAdmin
|
1531
|
-
# - members:
|
1532
|
-
# - user:eve@example.com
|
1533
|
-
# role: roles/resourcemanager.organizationViewer
|
1534
|
-
# condition:
|
1535
|
-
# title: expirable access
|
1536
|
-
# description: Does not grant access after Sep 2020
|
1537
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1538
|
-
# - etag: BwWWja0YfJA=
|
1539
|
-
# - version: 3
|
1540
|
-
# For a description of IAM and its features, see the
|
1541
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1282
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1283
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1284
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1285
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1286
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1287
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1288
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1289
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1290
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1291
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1292
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1293
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1294
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1295
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1296
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1297
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1298
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1299
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1300
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1301
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1302
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1303
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1304
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1305
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1306
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1307
|
+
# google.com/iam/docs/).
|
1542
1308
|
class Policy
|
1543
1309
|
include Google::Apis::Core::Hashable
|
1544
1310
|
|
@@ -1547,48 +1313,44 @@ module Google
|
|
1547
1313
|
# @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>]
|
1548
1314
|
attr_accessor :audit_configs
|
1549
1315
|
|
1550
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1551
|
-
#
|
1552
|
-
#
|
1316
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
1317
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
1318
|
+
# the `bindings` must contain at least one member.
|
1553
1319
|
# Corresponds to the JSON property `bindings`
|
1554
1320
|
# @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
|
1555
1321
|
attr_accessor :bindings
|
1556
1322
|
|
1557
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1558
|
-
#
|
1559
|
-
#
|
1560
|
-
#
|
1561
|
-
#
|
1562
|
-
#
|
1563
|
-
#
|
1564
|
-
#
|
1565
|
-
#
|
1566
|
-
#
|
1567
|
-
#
|
1323
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1324
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
1325
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1326
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1327
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1328
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1329
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
1330
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1331
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1332
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1333
|
+
# are lost.
|
1568
1334
|
# Corresponds to the JSON property `etag`
|
1569
1335
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1570
1336
|
# @return [String]
|
1571
1337
|
attr_accessor :etag
|
1572
1338
|
|
1573
|
-
# Specifies the format of the policy.
|
1574
|
-
#
|
1575
|
-
#
|
1576
|
-
#
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
#
|
1584
|
-
#
|
1585
|
-
#
|
1586
|
-
#
|
1587
|
-
#
|
1588
|
-
# specify any valid version or leave the field unset.
|
1589
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1590
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1591
|
-
# policies).
|
1339
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1340
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
1341
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
1342
|
+
# applies to the following operations: * Getting a policy that includes a
|
1343
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
1344
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
1345
|
+
# with or without a condition, from a policy that includes conditions **
|
1346
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1347
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1348
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1349
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
1350
|
+
# any conditions, operations on that policy may specify any valid version or
|
1351
|
+
# leave the field unset. To learn which resources support conditions in their
|
1352
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1353
|
+
# conditions/resource-policies).
|
1592
1354
|
# Corresponds to the JSON property `version`
|
1593
1355
|
# @return [Fixnum]
|
1594
1356
|
attr_accessor :version
|
@@ -1610,47 +1372,42 @@ module Google
|
|
1610
1372
|
class Resource
|
1611
1373
|
include Google::Apis::Core::Hashable
|
1612
1374
|
|
1613
|
-
# The content of the resource, in which some sensitive fields are removed
|
1614
|
-
#
|
1375
|
+
# The content of the resource, in which some sensitive fields are removed and
|
1376
|
+
# may not be present.
|
1615
1377
|
# Corresponds to the JSON property `data`
|
1616
1378
|
# @return [Hash<String,Object>]
|
1617
1379
|
attr_accessor :data
|
1618
1380
|
|
1619
1381
|
# The URL of the discovery document containing the resource's JSON schema.
|
1620
|
-
# Example:
|
1621
|
-
#
|
1622
|
-
# This value is unspecified for resources that do not have an API based on a
|
1382
|
+
# Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
|
1383
|
+
# value is unspecified for resources that do not have an API based on a
|
1623
1384
|
# discovery document, such as Cloud Bigtable.
|
1624
1385
|
# Corresponds to the JSON property `discoveryDocumentUri`
|
1625
1386
|
# @return [String]
|
1626
1387
|
attr_accessor :discovery_document_uri
|
1627
1388
|
|
1628
|
-
# The JSON schema name listed in the discovery document. Example:
|
1629
|
-
#
|
1630
|
-
# This value is unspecified for resources that do not have an API based on a
|
1389
|
+
# The JSON schema name listed in the discovery document. Example: `Project` This
|
1390
|
+
# value is unspecified for resources that do not have an API based on a
|
1631
1391
|
# discovery document, such as Cloud Bigtable.
|
1632
1392
|
# Corresponds to the JSON property `discoveryName`
|
1633
1393
|
# @return [String]
|
1634
1394
|
attr_accessor :discovery_name
|
1635
1395
|
|
1636
|
-
# The full name of the immediate parent of this resource. See
|
1637
|
-
#
|
1638
|
-
#
|
1639
|
-
#
|
1640
|
-
#
|
1641
|
-
#
|
1642
|
-
#
|
1643
|
-
# Example:
|
1644
|
-
# `//cloudresourcemanager.googleapis.com/projects/my_project_123`
|
1645
|
-
# For third-party assets, this field may be set differently.
|
1396
|
+
# The full name of the immediate parent of this resource. See [Resource Names](
|
1397
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name) for
|
1398
|
+
# more information. For Google Cloud assets, this value is the parent resource
|
1399
|
+
# defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
|
1400
|
+
# overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
|
1401
|
+
# projects/my_project_123` For third-party assets, this field may be set
|
1402
|
+
# differently.
|
1646
1403
|
# Corresponds to the JSON property `parent`
|
1647
1404
|
# @return [String]
|
1648
1405
|
attr_accessor :parent
|
1649
1406
|
|
1650
|
-
# The REST URL for accessing the resource. An HTTP `GET` request using this
|
1651
|
-
#
|
1652
|
-
#
|
1653
|
-
#
|
1407
|
+
# The REST URL for accessing the resource. An HTTP `GET` request using this URL
|
1408
|
+
# returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
|
1409
|
+
# com/v1/projects/my-project-123` This value is unspecified for resources
|
1410
|
+
# without a REST API.
|
1654
1411
|
# Corresponds to the JSON property `resourceUrl`
|
1655
1412
|
# @return [String]
|
1656
1413
|
attr_accessor :resource_url
|
@@ -1675,12 +1432,12 @@ module Google
|
|
1675
1432
|
end
|
1676
1433
|
end
|
1677
1434
|
|
1678
|
-
# The `Status` type defines a logical error model that is suitable for
|
1679
|
-
#
|
1680
|
-
#
|
1681
|
-
#
|
1682
|
-
#
|
1683
|
-
#
|
1435
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1436
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1437
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1438
|
+
# data: error code, error message, and error details. You can find out more
|
1439
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1440
|
+
# //cloud.google.com/apis/design/errors).
|
1684
1441
|
class Status
|
1685
1442
|
include Google::Apis::Core::Hashable
|
1686
1443
|
|
@@ -1689,15 +1446,15 @@ module Google
|
|
1689
1446
|
# @return [Fixnum]
|
1690
1447
|
attr_accessor :code
|
1691
1448
|
|
1692
|
-
# A list of messages that carry the error details.
|
1449
|
+
# A list of messages that carry the error details. There is a common set of
|
1693
1450
|
# message types for APIs to use.
|
1694
1451
|
# Corresponds to the JSON property `details`
|
1695
1452
|
# @return [Array<Hash<String,Object>>]
|
1696
1453
|
attr_accessor :details
|
1697
1454
|
|
1698
|
-
# A developer-facing error message, which should be in English. Any
|
1699
|
-
#
|
1700
|
-
#
|
1455
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1456
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1457
|
+
# field, or localized by the client.
|
1701
1458
|
# Corresponds to the JSON property `message`
|
1702
1459
|
# @return [String]
|
1703
1460
|
attr_accessor :message
|
@@ -1719,15 +1476,12 @@ module Google
|
|
1719
1476
|
class TemporalAsset
|
1720
1477
|
include Google::Apis::Core::Hashable
|
1721
1478
|
|
1722
|
-
# An asset in Google Cloud. An asset can be any resource in the Google Cloud
|
1723
|
-
#
|
1724
|
-
# hierarchy
|
1725
|
-
#
|
1726
|
-
#
|
1727
|
-
#
|
1728
|
-
# See [Supported asset
|
1729
|
-
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
1730
|
-
# for more information.
|
1479
|
+
# An asset in Google Cloud. An asset can be any resource in the Google Cloud [
|
1480
|
+
# resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
|
1481
|
+
# platform-resource-hierarchy), a resource outside the Google Cloud resource
|
1482
|
+
# hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
|
1483
|
+
# (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
|
1484
|
+
# asset-inventory/docs/supported-asset-types) for more information.
|
1731
1485
|
# Corresponds to the JSON property `asset`
|
1732
1486
|
# @return [Google::Apis::CloudassetV1beta1::Asset]
|
1733
1487
|
attr_accessor :asset
|