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