google-api-client 0.42.1 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +205 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +739 -1192
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +885 -1126
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +15 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +15 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +192 -316
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +257 -285
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +796 -0
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +943 -1175
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +1007 -1316
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -47,8 +47,8 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
-
# Checks whether a member has a specific permission for a specific resource,
|
51
|
-
#
|
50
|
+
# Checks whether a member has a specific permission for a specific resource, and
|
51
|
+
# explains why the member does or does not have that permission.
|
52
52
|
# @param [Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest] google_cloud_policytroubleshooter_v1_troubleshoot_iam_policy_request_object
|
53
53
|
# @param [String] fields
|
54
54
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iam/
|
26
26
|
module PolicytroubleshooterV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200801'
|
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'
|
@@ -26,31 +26,28 @@ module Google
|
|
26
26
|
class GoogleCloudPolicytroubleshooterV1betaAccessTuple
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Required. The full resource name that identifies the resource. For example,
|
30
|
-
#
|
31
|
-
# instance`.
|
32
|
-
# For examples of full resource names for Google Cloud services, see
|
29
|
+
# Required. The full resource name that identifies the resource. For example, `//
|
30
|
+
# compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-
|
31
|
+
# instance`. For examples of full resource names for Google Cloud services, see
|
33
32
|
# https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
|
34
33
|
# Corresponds to the JSON property `fullResourceName`
|
35
34
|
# @return [String]
|
36
35
|
attr_accessor :full_resource_name
|
37
36
|
|
38
37
|
# Required. The IAM permission to check for the specified member and resource.
|
39
|
-
# For a complete list of IAM permissions, see
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
38
|
+
# For a complete list of IAM permissions, see https://cloud.google.com/iam/help/
|
39
|
+
# permissions/reference. For a complete list of predefined IAM roles and the
|
40
|
+
# permissions in each role, see https://cloud.google.com/iam/help/roles/
|
41
|
+
# reference.
|
43
42
|
# Corresponds to the JSON property `permission`
|
44
43
|
# @return [String]
|
45
44
|
attr_accessor :permission
|
46
45
|
|
47
46
|
# Required. The member, or principal, whose access you want to check, in the
|
48
|
-
# form of
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# The member must be a Google Account or a service account. Other types of
|
53
|
-
# members are not supported.
|
47
|
+
# form of the email address that represents that member. For example, `alice@
|
48
|
+
# example.com` or `my-service-account@my-project.iam.gserviceaccount.com`. The
|
49
|
+
# member must be a Google Account or a service account. Other types of members
|
50
|
+
# are not supported.
|
54
51
|
# Corresponds to the JSON property `principal`
|
55
52
|
# @return [String]
|
56
53
|
attr_accessor :principal
|
@@ -73,57 +70,45 @@ module Google
|
|
73
70
|
include Google::Apis::Core::Hashable
|
74
71
|
|
75
72
|
# Indicates whether _this binding_ provides the specified permission to the
|
76
|
-
# specified member for the specified resource.
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
# use the `access` field in the
|
73
|
+
# specified member for the specified resource. This field does _not_ indicate
|
74
|
+
# whether the member actually has the permission for the resource. There might
|
75
|
+
# be another binding that overrides this binding. To determine whether the
|
76
|
+
# member actually has the permission, use the `access` field in the
|
81
77
|
# TroubleshootIamPolicyResponse.
|
82
78
|
# Corresponds to the JSON property `access`
|
83
79
|
# @return [String]
|
84
80
|
attr_accessor :access
|
85
81
|
|
86
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
# description: "Determines if
|
92
|
-
# expression: "document.
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
# Example (Data Manipulation):
|
102
|
-
# title: "Notification string"
|
103
|
-
# description: "Create a notification string with a timestamp."
|
104
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
105
|
-
# The exact variables and functions that may be referenced within an expression
|
106
|
-
# are determined by the service that evaluates it. See the service
|
107
|
-
# documentation for additional information.
|
82
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
83
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
84
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
85
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
86
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
87
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
88
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
89
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
90
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
91
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
92
|
+
# string" description: "Create a notification string with a timestamp."
|
93
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
94
|
+
# exact variables and functions that may be referenced within an expression are
|
95
|
+
# determined by the service that evaluates it. See the service documentation for
|
96
|
+
# additional information.
|
108
97
|
# Corresponds to the JSON property `condition`
|
109
98
|
# @return [Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr]
|
110
99
|
attr_accessor :condition
|
111
100
|
|
112
|
-
# Indicates whether each member in the binding includes the member specified
|
113
|
-
#
|
114
|
-
#
|
115
|
-
# includes the member in the request.
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
#
|
123
|
-
# `MEMBERSHIP_NOT_INCLUDED`.
|
124
|
-
# For the second member in the binding, the key is
|
125
|
-
# `group:product-eng@example.com`, and the `membership` field in the value is
|
126
|
-
# set to `MEMBERSHIP_INCLUDED`.
|
101
|
+
# Indicates whether each member in the binding includes the member specified in
|
102
|
+
# the request, either directly or indirectly. Each key identifies a member in
|
103
|
+
# the binding, and each value indicates whether the member in the binding
|
104
|
+
# includes the member in the request. For example, suppose that a binding
|
105
|
+
# includes the following members: * `user:alice@example.com` * `group:product-
|
106
|
+
# eng@example.com` You want to troubleshoot access for `user:bob@example.com`.
|
107
|
+
# This user is a member of the group `group:product-eng@example.com`. For the
|
108
|
+
# first member in the binding, the key is `user:alice@example.com`, and the `
|
109
|
+
# membership` field in the value is set to `MEMBERSHIP_NOT_INCLUDED`. For the
|
110
|
+
# second member in the binding, the key is `group:product-eng@example.com`, and
|
111
|
+
# the `membership` field in the value is set to `MEMBERSHIP_INCLUDED`.
|
127
112
|
# Corresponds to the JSON property `memberships`
|
128
113
|
# @return [Hash<String,Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership>]
|
129
114
|
attr_accessor :memberships
|
@@ -134,8 +119,7 @@ module Google
|
|
134
119
|
# @return [String]
|
135
120
|
attr_accessor :relevance
|
136
121
|
|
137
|
-
# The role that this binding grants. For example,
|
138
|
-
# `roles/compute.serviceAgent`.
|
122
|
+
# The role that this binding grants. For example, `roles/compute.serviceAgent`.
|
139
123
|
# For a complete list of predefined IAM roles, as well as the permissions in
|
140
124
|
# each role, see https://cloud.google.com/iam/help/roles/reference.
|
141
125
|
# Corresponds to the JSON property `role`
|
@@ -148,8 +132,8 @@ module Google
|
|
148
132
|
# @return [String]
|
149
133
|
attr_accessor :role_permission
|
150
134
|
|
151
|
-
# The relevance of the permission's existence, or nonexistence, in the role
|
152
|
-
#
|
135
|
+
# The relevance of the permission's existence, or nonexistence, in the role to
|
136
|
+
# the overall determination for the entire policy.
|
153
137
|
# Corresponds to the JSON property `rolePermissionRelevance`
|
154
138
|
# @return [String]
|
155
139
|
attr_accessor :role_permission_relevance
|
@@ -196,110 +180,70 @@ module Google
|
|
196
180
|
end
|
197
181
|
end
|
198
182
|
|
199
|
-
# Details about how a specific IAM Policy contributed
|
200
|
-
# to the access check.
|
183
|
+
# Details about how a specific IAM Policy contributed to the access check.
|
201
184
|
class GoogleCloudPolicytroubleshooterV1betaExplainedPolicy
|
202
185
|
include Google::Apis::Core::Hashable
|
203
186
|
|
204
187
|
# Indicates whether _this policy_ provides the specified permission to the
|
205
|
-
# specified member for the specified resource.
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
# use the `access` field in the
|
188
|
+
# specified member for the specified resource. This field does _not_ indicate
|
189
|
+
# whether the member actually has the permission for the resource. There might
|
190
|
+
# be another policy that overrides this policy. To determine whether the member
|
191
|
+
# actually has the permission, use the `access` field in the
|
210
192
|
# TroubleshootIamPolicyResponse.
|
211
193
|
# Corresponds to the JSON property `access`
|
212
194
|
# @return [String]
|
213
195
|
attr_accessor :access
|
214
196
|
|
215
|
-
# Details about how each binding in the policy affects the member's ability,
|
216
|
-
#
|
217
|
-
#
|
218
|
-
# is omitted.
|
197
|
+
# Details about how each binding in the policy affects the member's ability, or
|
198
|
+
# inability, to use the permission for the resource. If the sender of the
|
199
|
+
# request does not have access to the policy, this field is omitted.
|
219
200
|
# Corresponds to the JSON property `bindingExplanations`
|
220
201
|
# @return [Array<Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanation>]
|
221
202
|
attr_accessor :binding_explanations
|
222
203
|
|
223
|
-
# The full resource name that identifies the resource. For example,
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
# is omitted.
|
228
|
-
# For examples of full resource names for Google Cloud services, see
|
204
|
+
# The full resource name that identifies the resource. For example, `//compute.
|
205
|
+
# googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`.
|
206
|
+
# If the sender of the request does not have access to the policy, this field is
|
207
|
+
# omitted. For examples of full resource names for Google Cloud services, see
|
229
208
|
# https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
|
230
209
|
# Corresponds to the JSON property `fullResourceName`
|
231
210
|
# @return [String]
|
232
211
|
attr_accessor :full_resource_name
|
233
212
|
|
234
213
|
# An Identity and Access Management (IAM) policy, which specifies access
|
235
|
-
# controls for Google Cloud resources.
|
236
|
-
# A `
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
# [
|
247
|
-
#
|
248
|
-
#
|
249
|
-
# `
|
250
|
-
# "
|
251
|
-
# `
|
252
|
-
# "
|
253
|
-
#
|
254
|
-
#
|
255
|
-
#
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
262
|
-
# "members": [
|
263
|
-
# "user:eve@example.com"
|
264
|
-
# ],
|
265
|
-
# "condition": `
|
266
|
-
# "title": "expirable access",
|
267
|
-
# "description": "Does not grant access after Sep 2020",
|
268
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
269
|
-
# ",
|
270
|
-
# `
|
271
|
-
# `
|
272
|
-
# ],
|
273
|
-
# "etag": "BwWWja0YfJA=",
|
274
|
-
# "version": 3
|
275
|
-
# `
|
276
|
-
# **YAML example:**
|
277
|
-
# bindings:
|
278
|
-
# - members:
|
279
|
-
# - user:mike@example.com
|
280
|
-
# - group:admins@example.com
|
281
|
-
# - domain:google.com
|
282
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
283
|
-
# role: roles/resourcemanager.organizationAdmin
|
284
|
-
# - members:
|
285
|
-
# - user:eve@example.com
|
286
|
-
# role: roles/resourcemanager.organizationViewer
|
287
|
-
# condition:
|
288
|
-
# title: expirable access
|
289
|
-
# description: Does not grant access after Sep 2020
|
290
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
291
|
-
# - etag: BwWWja0YfJA=
|
292
|
-
# - version: 3
|
293
|
-
# For a description of IAM and its features, see the
|
294
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
214
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
215
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
216
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
217
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
218
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
219
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
220
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
221
|
+
# condition can add constraints based on attributes of the request, the resource,
|
222
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
223
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
224
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
225
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
226
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
227
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
228
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
229
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
230
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
231
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
232
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
233
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
234
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
235
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
236
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
237
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
238
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
239
|
+
# google.com/iam/docs/).
|
295
240
|
# Corresponds to the JSON property `policy`
|
296
241
|
# @return [Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1Policy]
|
297
242
|
attr_accessor :policy
|
298
243
|
|
299
244
|
# The relevance of this policy to the overall determination in the
|
300
|
-
# TroubleshootIamPolicyResponse.
|
301
|
-
#
|
302
|
-
# is omitted.
|
245
|
+
# TroubleshootIamPolicyResponse. If the sender of the request does not have
|
246
|
+
# access to the policy, this field is omitted.
|
303
247
|
# Corresponds to the JSON property `relevance`
|
304
248
|
# @return [String]
|
305
249
|
attr_accessor :relevance
|
@@ -348,13 +292,12 @@ module Google
|
|
348
292
|
attr_accessor :access
|
349
293
|
|
350
294
|
# List of IAM policies that were evaluated to check the member's permissions,
|
351
|
-
# with annotations to indicate how each policy contributed to the final
|
352
|
-
# result.
|
295
|
+
# with annotations to indicate how each policy contributed to the final result.
|
353
296
|
# The list of policies can include the policy for the resource itself. It can
|
354
297
|
# also include policies that are inherited from higher levels of the resource
|
355
|
-
# hierarchy, including the organization, the folder, and the project.
|
356
|
-
#
|
357
|
-
#
|
298
|
+
# hierarchy, including the organization, the folder, and the project. To learn
|
299
|
+
# more about the resource hierarchy, see https://cloud.google.com/iam/help/
|
300
|
+
# resource-hierarchy.
|
358
301
|
# Corresponds to the JSON property `explainedPolicies`
|
359
302
|
# @return [Array<Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaExplainedPolicy>]
|
360
303
|
attr_accessor :explained_policies
|
@@ -370,53 +313,21 @@ module Google
|
|
370
313
|
end
|
371
314
|
end
|
372
315
|
|
373
|
-
# Specifies the audit configuration for a service.
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
# `
|
383
|
-
# "
|
384
|
-
# `
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
# "log_type": "DATA_READ",
|
389
|
-
# "exempted_members": [
|
390
|
-
# "user:jose@example.com"
|
391
|
-
# ]
|
392
|
-
# `,
|
393
|
-
# `
|
394
|
-
# "log_type": "DATA_WRITE"
|
395
|
-
# `,
|
396
|
-
# `
|
397
|
-
# "log_type": "ADMIN_READ"
|
398
|
-
# `
|
399
|
-
# ]
|
400
|
-
# `,
|
401
|
-
# `
|
402
|
-
# "service": "sampleservice.googleapis.com",
|
403
|
-
# "audit_log_configs": [
|
404
|
-
# `
|
405
|
-
# "log_type": "DATA_READ"
|
406
|
-
# `,
|
407
|
-
# `
|
408
|
-
# "log_type": "DATA_WRITE",
|
409
|
-
# "exempted_members": [
|
410
|
-
# "user:aliya@example.com"
|
411
|
-
# ]
|
412
|
-
# `
|
413
|
-
# ]
|
414
|
-
# `
|
415
|
-
# ]
|
416
|
-
# `
|
417
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
418
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
419
|
-
# aliya@example.com from DATA_WRITE logging.
|
316
|
+
# Specifies the audit configuration for a service. The configuration determines
|
317
|
+
# which permission types are logged, and what identities, if any, are exempted
|
318
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
319
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
320
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
321
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
322
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
323
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
324
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
325
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
326
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
327
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
328
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
329
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
330
|
+
# DATA_WRITE logging.
|
420
331
|
class GoogleIamV1AuditConfig
|
421
332
|
include Google::Apis::Core::Hashable
|
422
333
|
|
@@ -425,9 +336,9 @@ module Google
|
|
425
336
|
# @return [Array<Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1AuditLogConfig>]
|
426
337
|
attr_accessor :audit_log_configs
|
427
338
|
|
428
|
-
# Specifies a service that will be enabled for audit logging.
|
429
|
-
#
|
430
|
-
#
|
339
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
340
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
341
|
+
# value that covers all services.
|
431
342
|
# Corresponds to the JSON property `service`
|
432
343
|
# @return [String]
|
433
344
|
attr_accessor :service
|
@@ -443,28 +354,15 @@ module Google
|
|
443
354
|
end
|
444
355
|
end
|
445
356
|
|
446
|
-
# Provides the configuration for logging a type of permissions.
|
447
|
-
#
|
448
|
-
# `
|
449
|
-
#
|
450
|
-
#
|
451
|
-
# "log_type": "DATA_READ",
|
452
|
-
# "exempted_members": [
|
453
|
-
# "user:jose@example.com"
|
454
|
-
# ]
|
455
|
-
# `,
|
456
|
-
# `
|
457
|
-
# "log_type": "DATA_WRITE"
|
458
|
-
# `
|
459
|
-
# ]
|
460
|
-
# `
|
461
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
462
|
-
# jose@example.com from DATA_READ logging.
|
357
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
358
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
359
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
360
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
361
|
+
# DATA_READ logging.
|
463
362
|
class GoogleIamV1AuditLogConfig
|
464
363
|
include Google::Apis::Core::Hashable
|
465
364
|
|
466
|
-
# Specifies the identities that do not cause logging for this type of
|
467
|
-
# permission.
|
365
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
468
366
|
# Follows the same format of Binding.members.
|
469
367
|
# Corresponds to the JSON property `exemptedMembers`
|
470
368
|
# @return [Array<String>]
|
@@ -490,69 +388,57 @@ module Google
|
|
490
388
|
class GoogleIamV1Binding
|
491
389
|
include Google::Apis::Core::Hashable
|
492
390
|
|
493
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
# description: "Determines if
|
499
|
-
# expression: "document.
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
503
|
-
#
|
504
|
-
#
|
505
|
-
#
|
506
|
-
#
|
507
|
-
#
|
508
|
-
# Example (Data Manipulation):
|
509
|
-
# title: "Notification string"
|
510
|
-
# description: "Create a notification string with a timestamp."
|
511
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
512
|
-
# The exact variables and functions that may be referenced within an expression
|
513
|
-
# are determined by the service that evaluates it. See the service
|
514
|
-
# documentation for additional information.
|
391
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
392
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
393
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
394
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
395
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
396
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
397
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
398
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
399
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
400
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
401
|
+
# string" description: "Create a notification string with a timestamp."
|
402
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
403
|
+
# exact variables and functions that may be referenced within an expression are
|
404
|
+
# determined by the service that evaluates it. See the service documentation for
|
405
|
+
# additional information.
|
515
406
|
# Corresponds to the JSON property `condition`
|
516
407
|
# @return [Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr]
|
517
408
|
attr_accessor :condition
|
518
409
|
|
519
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
520
|
-
#
|
521
|
-
#
|
522
|
-
#
|
523
|
-
#
|
524
|
-
#
|
525
|
-
# * `
|
526
|
-
# account. For example, `
|
527
|
-
# * `
|
528
|
-
#
|
529
|
-
#
|
530
|
-
# For example, `
|
531
|
-
#
|
532
|
-
#
|
533
|
-
#
|
534
|
-
#
|
535
|
-
#
|
536
|
-
#
|
537
|
-
#
|
538
|
-
# deleted
|
539
|
-
#
|
540
|
-
# If the
|
541
|
-
# `
|
542
|
-
# role in the binding.
|
543
|
-
#
|
544
|
-
#
|
545
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
546
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
547
|
-
# recovered group retains the role in the binding.
|
548
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
549
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
410
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
411
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
412
|
+
# that represents anyone who is on the internet; with or without a Google
|
413
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
414
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
415
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
416
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
417
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
418
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
419
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
420
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
421
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
422
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
423
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
424
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
425
|
+
# identifier) representing a service account that has been recently deleted. For
|
426
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
427
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
428
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
429
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
430
|
+
# identifier) representing a Google group that has been recently deleted. For
|
431
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
432
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
433
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
434
|
+
# primary) that represents all the users of that domain. For example, `google.
|
435
|
+
# com` or `example.com`.
|
550
436
|
# Corresponds to the JSON property `members`
|
551
437
|
# @return [Array<String>]
|
552
438
|
attr_accessor :members
|
553
439
|
|
554
|
-
# Role that is assigned to `members`.
|
555
|
-
#
|
440
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
441
|
+
# , or `roles/owner`.
|
556
442
|
# Corresponds to the JSON property `role`
|
557
443
|
# @return [String]
|
558
444
|
attr_accessor :role
|
@@ -570,66 +456,32 @@ module Google
|
|
570
456
|
end
|
571
457
|
|
572
458
|
# An Identity and Access Management (IAM) policy, which specifies access
|
573
|
-
# controls for Google Cloud resources.
|
574
|
-
# A `
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
578
|
-
#
|
579
|
-
#
|
580
|
-
#
|
581
|
-
#
|
582
|
-
#
|
583
|
-
#
|
584
|
-
# [
|
585
|
-
#
|
586
|
-
#
|
587
|
-
# `
|
588
|
-
# "
|
589
|
-
# `
|
590
|
-
# "
|
591
|
-
#
|
592
|
-
#
|
593
|
-
#
|
594
|
-
#
|
595
|
-
#
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
599
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
600
|
-
# "members": [
|
601
|
-
# "user:eve@example.com"
|
602
|
-
# ],
|
603
|
-
# "condition": `
|
604
|
-
# "title": "expirable access",
|
605
|
-
# "description": "Does not grant access after Sep 2020",
|
606
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
607
|
-
# ",
|
608
|
-
# `
|
609
|
-
# `
|
610
|
-
# ],
|
611
|
-
# "etag": "BwWWja0YfJA=",
|
612
|
-
# "version": 3
|
613
|
-
# `
|
614
|
-
# **YAML example:**
|
615
|
-
# bindings:
|
616
|
-
# - members:
|
617
|
-
# - user:mike@example.com
|
618
|
-
# - group:admins@example.com
|
619
|
-
# - domain:google.com
|
620
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
621
|
-
# role: roles/resourcemanager.organizationAdmin
|
622
|
-
# - members:
|
623
|
-
# - user:eve@example.com
|
624
|
-
# role: roles/resourcemanager.organizationViewer
|
625
|
-
# condition:
|
626
|
-
# title: expirable access
|
627
|
-
# description: Does not grant access after Sep 2020
|
628
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
629
|
-
# - etag: BwWWja0YfJA=
|
630
|
-
# - version: 3
|
631
|
-
# For a description of IAM and its features, see the
|
632
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
459
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
460
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
461
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
462
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
463
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
464
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
465
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
466
|
+
# condition can add constraints based on attributes of the request, the resource,
|
467
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
468
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
469
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
470
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
471
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
472
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
473
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
474
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
475
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
476
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
477
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
478
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
479
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
480
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
481
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
482
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
483
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
484
|
+
# google.com/iam/docs/).
|
633
485
|
class GoogleIamV1Policy
|
634
486
|
include Google::Apis::Core::Hashable
|
635
487
|
|
@@ -638,48 +490,44 @@ module Google
|
|
638
490
|
# @return [Array<Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1AuditConfig>]
|
639
491
|
attr_accessor :audit_configs
|
640
492
|
|
641
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
642
|
-
#
|
643
|
-
#
|
493
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
494
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
495
|
+
# the `bindings` must contain at least one member.
|
644
496
|
# Corresponds to the JSON property `bindings`
|
645
497
|
# @return [Array<Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1Binding>]
|
646
498
|
attr_accessor :bindings
|
647
499
|
|
648
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
649
|
-
#
|
650
|
-
#
|
651
|
-
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
500
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
501
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
502
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
503
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
504
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
505
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
506
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
507
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
508
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
509
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
510
|
+
# are lost.
|
659
511
|
# Corresponds to the JSON property `etag`
|
660
512
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
661
513
|
# @return [String]
|
662
514
|
attr_accessor :etag
|
663
515
|
|
664
|
-
# Specifies the format of the policy.
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
676
|
-
#
|
677
|
-
#
|
678
|
-
#
|
679
|
-
# specify any valid version or leave the field unset.
|
680
|
-
# To learn which resources support conditions in their IAM policies, see the
|
681
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
682
|
-
# policies).
|
516
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
517
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
518
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
519
|
+
# applies to the following operations: * Getting a policy that includes a
|
520
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
521
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
522
|
+
# with or without a condition, from a policy that includes conditions **
|
523
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
524
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
525
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
526
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
527
|
+
# any conditions, operations on that policy may specify any valid version or
|
528
|
+
# leave the field unset. To learn which resources support conditions in their
|
529
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
530
|
+
# conditions/resource-policies).
|
683
531
|
# Corresponds to the JSON property `version`
|
684
532
|
# @return [Fixnum]
|
685
533
|
attr_accessor :version
|
@@ -697,52 +545,43 @@ module Google
|
|
697
545
|
end
|
698
546
|
end
|
699
547
|
|
700
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
#
|
705
|
-
# description: "Determines if
|
706
|
-
# expression: "document.
|
707
|
-
#
|
708
|
-
#
|
709
|
-
#
|
710
|
-
#
|
711
|
-
#
|
712
|
-
#
|
713
|
-
#
|
714
|
-
#
|
715
|
-
# Example (Data Manipulation):
|
716
|
-
# title: "Notification string"
|
717
|
-
# description: "Create a notification string with a timestamp."
|
718
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
719
|
-
# The exact variables and functions that may be referenced within an expression
|
720
|
-
# are determined by the service that evaluates it. See the service
|
721
|
-
# documentation for additional information.
|
548
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
549
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
550
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
551
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
552
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
553
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
554
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
555
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
556
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
557
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
558
|
+
# string" description: "Create a notification string with a timestamp."
|
559
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
560
|
+
# exact variables and functions that may be referenced within an expression are
|
561
|
+
# determined by the service that evaluates it. See the service documentation for
|
562
|
+
# additional information.
|
722
563
|
class GoogleTypeExpr
|
723
564
|
include Google::Apis::Core::Hashable
|
724
565
|
|
725
|
-
# Optional. Description of the expression. This is a longer text which
|
726
|
-
#
|
566
|
+
# Optional. Description of the expression. This is a longer text which describes
|
567
|
+
# the expression, e.g. when hovered over it in a UI.
|
727
568
|
# Corresponds to the JSON property `description`
|
728
569
|
# @return [String]
|
729
570
|
attr_accessor :description
|
730
571
|
|
731
|
-
# Textual representation of an expression in Common Expression Language
|
732
|
-
# syntax.
|
572
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
733
573
|
# Corresponds to the JSON property `expression`
|
734
574
|
# @return [String]
|
735
575
|
attr_accessor :expression
|
736
576
|
|
737
|
-
# Optional. String indicating the location of the expression for error
|
738
|
-
#
|
577
|
+
# Optional. String indicating the location of the expression for error reporting,
|
578
|
+
# e.g. a file name and a position in the file.
|
739
579
|
# Corresponds to the JSON property `location`
|
740
580
|
# @return [String]
|
741
581
|
attr_accessor :location
|
742
582
|
|
743
|
-
# Optional. Title for the expression, i.e. a short string describing
|
744
|
-
#
|
745
|
-
# expression.
|
583
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
584
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
746
585
|
# Corresponds to the JSON property `title`
|
747
586
|
# @return [String]
|
748
587
|
attr_accessor :title
|