google-api-client 0.11.3 → 0.12.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 +51 -0
- data/api_names.yaml +32317 -34465
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
- data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
- data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +825 -817
- data/generated/google/apis/appengine_v1/representations.rb +185 -184
- data/generated/google/apis/appengine_v1/service.rb +220 -216
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -7
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +8 -8
- data/generated/google/apis/classroom_v1.rb +24 -24
- data/generated/google/apis/classroom_v1/classes.rb +381 -381
- data/generated/google/apis/classroom_v1/representations.rb +108 -108
- data/generated/google/apis/classroom_v1/service.rb +503 -503
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
- data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
- data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
- data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
- data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +3 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
- data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
- data/generated/google/apis/cloudkms_v1/service.rb +224 -224
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +57 -15
- data/generated/google/apis/compute_beta/representations.rb +30 -14
- data/generated/google/apis/compute_beta/service.rb +52 -52
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +223 -10
- data/generated/google/apis/compute_v1/representations.rb +85 -16
- data/generated/google/apis/compute_v1/service.rb +327 -51
- data/generated/google/apis/container_v1/classes.rb +267 -267
- data/generated/google/apis/container_v1/representations.rb +61 -61
- data/generated/google/apis/container_v1/service.rb +123 -123
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +71 -71
- data/generated/google/apis/content_v2/representations.rb +105 -105
- data/generated/google/apis/content_v2/service.rb +120 -120
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
- data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
- data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
- data/generated/google/apis/dataproc_v1/representations.rb +147 -147
- data/generated/google/apis/dataproc_v1/service.rb +309 -305
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +818 -818
- data/generated/google/apis/datastore_v1/representations.rb +151 -151
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
- data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
- data/generated/google/apis/firebaserules_v1/service.rb +89 -89
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
- data/generated/google/apis/genomics_v1/representations.rb +298 -298
- data/generated/google/apis/genomics_v1/service.rb +1160 -1160
- data/generated/google/apis/groupssettings_v1/service.rb +0 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +235 -235
- data/generated/google/apis/iam_v1/representations.rb +72 -72
- data/generated/google/apis/iam_v1/service.rb +189 -189
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1/classes.rb +220 -220
- data/generated/google/apis/language_v1/representations.rb +81 -81
- data/generated/google/apis/language_v1/service.rb +43 -43
- data/generated/google/apis/language_v1beta1/classes.rb +448 -448
- data/generated/google/apis/language_v1beta1/representations.rb +106 -106
- data/generated/google/apis/language_v1beta1/service.rb +31 -31
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +737 -737
- data/generated/google/apis/logging_v2/representations.rb +120 -120
- data/generated/google/apis/logging_v2/service.rb +479 -479
- data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
- data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
- data/generated/google/apis/logging_v2beta1/service.rb +349 -349
- data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
- data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1285 -1205
- data/generated/google/apis/ml_v1/representations.rb +204 -174
- data/generated/google/apis/ml_v1/service.rb +150 -145
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +880 -880
- data/generated/google/apis/monitoring_v3/representations.rb +154 -154
- data/generated/google/apis/monitoring_v3/service.rb +299 -299
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +524 -509
- data/generated/google/apis/partners_v2/representations.rb +115 -111
- data/generated/google/apis/partners_v2/service.rb +287 -287
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +1150 -1150
- data/generated/google/apis/people_v1/representations.rb +258 -258
- data/generated/google/apis/people_v1/service.rb +7 -7
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
- data/generated/google/apis/pubsub_v1/classes.rb +228 -228
- data/generated/google/apis/pubsub_v1/representations.rb +69 -69
- data/generated/google/apis/pubsub_v1/service.rb +182 -182
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
- data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +94 -94
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
- data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
- data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
- data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
- data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
- data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
- data/generated/google/apis/sheets_v4/representations.rb +324 -324
- data/generated/google/apis/sheets_v4/service.rb +49 -49
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2907 -2907
- data/generated/google/apis/slides_v1/representations.rb +695 -695
- data/generated/google/apis/slides_v1/service.rb +40 -40
- data/generated/google/apis/sourcerepo_v1.rb +7 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
- data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
- data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
- data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
- data/generated/google/apis/spanner_v1/representations.rb +205 -205
- data/generated/google/apis/spanner_v1/service.rb +525 -525
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
- data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
- data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
- data/generated/google/apis/storage_v1/classes.rb +6 -6
- data/generated/google/apis/storage_v1/representations.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
- data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +46 -46
- data/generated/google/apis/translate_v2/representations.rb +22 -22
- data/generated/google/apis/translate_v2/service.rb +81 -74
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +166 -166
- data/generated/google/apis/vision_v1/service.rb +6 -6
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/core/base_service.rb +6 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -94
- data/dl.rb +0 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
- data/generated/google/apis/appengine_v1beta4.rb +0 -35
- data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
- data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
- data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
- data/generated/google/apis/appengine_v1beta5.rb +0 -40
- data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
- data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
- data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
- data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
- data/generated/google/apis/classroom_v1beta1.rb +0 -49
- data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
- data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
- data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
- data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
- data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
- data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
- data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
- data/generated/google/apis/container_v1beta1.rb +0 -35
- data/generated/google/apis/container_v1beta1/classes.rb +0 -466
- data/generated/google/apis/container_v1beta1/representations.rb +0 -177
- data/generated/google/apis/container_v1beta1/service.rb +0 -394
- data/generated/google/apis/coordinate_v1.rb +0 -37
- data/generated/google/apis/coordinate_v1/classes.rb +0 -669
- data/generated/google/apis/coordinate_v1/representations.rb +0 -321
- data/generated/google/apis/coordinate_v1/service.rb +0 -678
- data/generated/google/apis/datastore_v1beta2.rb +0 -40
- data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
- data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
- data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
- data/generated/google/apis/datastore_v1beta3.rb +0 -38
- data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
- data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
- data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
- data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
- data/generated/google/apis/dfareporting_v2_1.rb +0 -37
- data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
- data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
- data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
- data/generated/google/apis/dfareporting_v2_3.rb +0 -37
- data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
- data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
- data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
- data/generated/google/apis/dfareporting_v2_5.rb +0 -40
- data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
- data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
- data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
- data/generated/google/apis/dfareporting_v2_6.rb +0 -40
- data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
- data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
- data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
- data/generated/google/apis/gan_v1beta1.rb +0 -31
- data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
- data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
- data/generated/google/apis/gan_v1beta1/service.rb +0 -682
- data/generated/google/apis/genomics_v1beta2.rb +0 -46
- data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
- data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
- data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
- data/generated/google/apis/logging_v1beta3.rb +0 -47
- data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
- data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
- data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
- data/generated/google/apis/manager_v1beta2.rb +0 -53
- data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
- data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
- data/generated/google/apis/manager_v1beta2/service.rb +0 -372
- data/generated/google/apis/pubsub_v1beta2.rb +0 -37
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
- data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
- data/generated/google/apis/tracing_v1.rb +0 -40
- data/generated/google/apis/tracing_v1/classes.rb +0 -664
- data/generated/google/apis/tracing_v1/representations.rb +0 -279
- data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -1,35 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/cloudkms_v1beta1/service.rb'
|
16
|
-
require 'google/apis/cloudkms_v1beta1/classes.rb'
|
17
|
-
require 'google/apis/cloudkms_v1beta1/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google Cloud Key Management Service (KMS) API
|
22
|
-
#
|
23
|
-
# Manages encryption for your cloud services the same way you do on-premise. You
|
24
|
-
# can generate, use, rotate, and destroy AES256 encryption keys.
|
25
|
-
#
|
26
|
-
# @see https://cloud.google.com/kms/
|
27
|
-
module CloudkmsV1beta1
|
28
|
-
VERSION = 'V1beta1'
|
29
|
-
REVISION = '20170301'
|
30
|
-
|
31
|
-
# View and manage your data across Google Cloud Platform services
|
32
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
@@ -1,1039 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module CloudkmsV1beta1
|
24
|
-
|
25
|
-
# Write a Cloud Audit log
|
26
|
-
class CloudAuditOptions
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
def initialize(**args)
|
30
|
-
update!(**args)
|
31
|
-
end
|
32
|
-
|
33
|
-
# Update properties of this object
|
34
|
-
def update!(**args)
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
|
-
# Associates `members` with a `role`.
|
39
|
-
class Binding
|
40
|
-
include Google::Apis::Core::Hashable
|
41
|
-
|
42
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
43
|
-
# `members` can have the following values:
|
44
|
-
# * `allUsers`: A special identifier that represents anyone who is
|
45
|
-
# on the internet; with or without a Google account.
|
46
|
-
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
47
|
-
# who is authenticated with a Google account or a service account.
|
48
|
-
# * `user:`emailid``: An email address that represents a specific Google
|
49
|
-
# account. For example, `alice@gmail.com` or `joe@example.com`.
|
50
|
-
# * `serviceAccount:`emailid``: An email address that represents a service
|
51
|
-
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
52
|
-
# * `group:`emailid``: An email address that represents a Google group.
|
53
|
-
# For example, `admins@example.com`.
|
54
|
-
# * `domain:`domain``: A Google Apps domain name that represents all the
|
55
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
56
|
-
# Corresponds to the JSON property `members`
|
57
|
-
# @return [Array<String>]
|
58
|
-
attr_accessor :members
|
59
|
-
|
60
|
-
# Role that is assigned to `members`.
|
61
|
-
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
62
|
-
# Required
|
63
|
-
# Corresponds to the JSON property `role`
|
64
|
-
# @return [String]
|
65
|
-
attr_accessor :role
|
66
|
-
|
67
|
-
def initialize(**args)
|
68
|
-
update!(**args)
|
69
|
-
end
|
70
|
-
|
71
|
-
# Update properties of this object
|
72
|
-
def update!(**args)
|
73
|
-
@members = args[:members] if args.key?(:members)
|
74
|
-
@role = args[:role] if args.key?(:role)
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
# Request message for KeyManagementService.Encrypt.
|
79
|
-
class EncryptRequest
|
80
|
-
include Google::Apis::Core::Hashable
|
81
|
-
|
82
|
-
# Optional data that, if specified, must also be provided during decryption
|
83
|
-
# through DecryptRequest.additional_authenticated_data. Must be no
|
84
|
-
# larger than 64KiB.
|
85
|
-
# Corresponds to the JSON property `additionalAuthenticatedData`
|
86
|
-
# @return [String]
|
87
|
-
attr_accessor :additional_authenticated_data
|
88
|
-
|
89
|
-
# Required. The data to encrypt. Must be no larger than 64KiB.
|
90
|
-
# Corresponds to the JSON property `plaintext`
|
91
|
-
# @return [String]
|
92
|
-
attr_accessor :plaintext
|
93
|
-
|
94
|
-
def initialize(**args)
|
95
|
-
update!(**args)
|
96
|
-
end
|
97
|
-
|
98
|
-
# Update properties of this object
|
99
|
-
def update!(**args)
|
100
|
-
@additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
|
101
|
-
@plaintext = args[:plaintext] if args.key?(:plaintext)
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
# Response message for KeyManagementService.ListCryptoKeyVersions.
|
106
|
-
class ListCryptoKeyVersionsResponse
|
107
|
-
include Google::Apis::Core::Hashable
|
108
|
-
|
109
|
-
# A token to retrieve next page of results. Pass this value in
|
110
|
-
# ListCryptoKeyVersionsRequest.page_token to retrieve the next page of
|
111
|
-
# results.
|
112
|
-
# Corresponds to the JSON property `nextPageToken`
|
113
|
-
# @return [String]
|
114
|
-
attr_accessor :next_page_token
|
115
|
-
|
116
|
-
# The total number of CryptoKeyVersions that matched the
|
117
|
-
# query.
|
118
|
-
# Corresponds to the JSON property `totalSize`
|
119
|
-
# @return [Fixnum]
|
120
|
-
attr_accessor :total_size
|
121
|
-
|
122
|
-
# The list of CryptoKeyVersions.
|
123
|
-
# Corresponds to the JSON property `cryptoKeyVersions`
|
124
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::CryptoKeyVersion>]
|
125
|
-
attr_accessor :crypto_key_versions
|
126
|
-
|
127
|
-
def initialize(**args)
|
128
|
-
update!(**args)
|
129
|
-
end
|
130
|
-
|
131
|
-
# Update properties of this object
|
132
|
-
def update!(**args)
|
133
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
134
|
-
@total_size = args[:total_size] if args.key?(:total_size)
|
135
|
-
@crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions)
|
136
|
-
end
|
137
|
-
end
|
138
|
-
|
139
|
-
# Response message for `TestIamPermissions` method.
|
140
|
-
class TestIamPermissionsResponse
|
141
|
-
include Google::Apis::Core::Hashable
|
142
|
-
|
143
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
144
|
-
# allowed.
|
145
|
-
# Corresponds to the JSON property `permissions`
|
146
|
-
# @return [Array<String>]
|
147
|
-
attr_accessor :permissions
|
148
|
-
|
149
|
-
def initialize(**args)
|
150
|
-
update!(**args)
|
151
|
-
end
|
152
|
-
|
153
|
-
# Update properties of this object
|
154
|
-
def update!(**args)
|
155
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
# Request message for KeyManagementService.DestroyCryptoKeyVersion.
|
160
|
-
class DestroyCryptoKeyVersionRequest
|
161
|
-
include Google::Apis::Core::Hashable
|
162
|
-
|
163
|
-
def initialize(**args)
|
164
|
-
update!(**args)
|
165
|
-
end
|
166
|
-
|
167
|
-
# Update properties of this object
|
168
|
-
def update!(**args)
|
169
|
-
end
|
170
|
-
end
|
171
|
-
|
172
|
-
# A CryptoKey represents a logical key that can be used for cryptographic
|
173
|
-
# operations.
|
174
|
-
# A CryptoKey is made up of one or more versions, which
|
175
|
-
# represent the actual key material used in cryptographic operations.
|
176
|
-
class CryptoKey
|
177
|
-
include Google::Apis::Core::Hashable
|
178
|
-
|
179
|
-
# Output only. The time at which this CryptoKey was created.
|
180
|
-
# Corresponds to the JSON property `createTime`
|
181
|
-
# @return [String]
|
182
|
-
attr_accessor :create_time
|
183
|
-
|
184
|
-
# next_rotation_time will be advanced by this period when the service
|
185
|
-
# automatically rotates a key. Must be at least one day.
|
186
|
-
# If rotation_period is set, next_rotation_time must also be set.
|
187
|
-
# Corresponds to the JSON property `rotationPeriod`
|
188
|
-
# @return [String]
|
189
|
-
attr_accessor :rotation_period
|
190
|
-
|
191
|
-
# A CryptoKeyVersion represents an individual cryptographic key, and the
|
192
|
-
# associated key material.
|
193
|
-
# It can be used for cryptographic operations either directly, or via its
|
194
|
-
# parent CryptoKey, in which case the server will choose the appropriate
|
195
|
-
# version for the operation.
|
196
|
-
# Corresponds to the JSON property `primary`
|
197
|
-
# @return [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion]
|
198
|
-
attr_accessor :primary
|
199
|
-
|
200
|
-
# Output only. The resource name for this CryptoKey in the format
|
201
|
-
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
202
|
-
# Corresponds to the JSON property `name`
|
203
|
-
# @return [String]
|
204
|
-
attr_accessor :name
|
205
|
-
|
206
|
-
# The immutable purpose of this CryptoKey. Currently, the only acceptable
|
207
|
-
# purpose is ENCRYPT_DECRYPT.
|
208
|
-
# Corresponds to the JSON property `purpose`
|
209
|
-
# @return [String]
|
210
|
-
attr_accessor :purpose
|
211
|
-
|
212
|
-
# At next_rotation_time, the Key Management Service will automatically:
|
213
|
-
# 1. Create a new version of this CryptoKey.
|
214
|
-
# 2. Mark the new version as primary.
|
215
|
-
# Key rotations performed manually via
|
216
|
-
# CreateCryptoKeyVersion and
|
217
|
-
# UpdateCryptoKeyPrimaryVersion
|
218
|
-
# do not affect next_rotation_time.
|
219
|
-
# Corresponds to the JSON property `nextRotationTime`
|
220
|
-
# @return [String]
|
221
|
-
attr_accessor :next_rotation_time
|
222
|
-
|
223
|
-
def initialize(**args)
|
224
|
-
update!(**args)
|
225
|
-
end
|
226
|
-
|
227
|
-
# Update properties of this object
|
228
|
-
def update!(**args)
|
229
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
230
|
-
@rotation_period = args[:rotation_period] if args.key?(:rotation_period)
|
231
|
-
@primary = args[:primary] if args.key?(:primary)
|
232
|
-
@name = args[:name] if args.key?(:name)
|
233
|
-
@purpose = args[:purpose] if args.key?(:purpose)
|
234
|
-
@next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
|
235
|
-
end
|
236
|
-
end
|
237
|
-
|
238
|
-
# A rule to be applied in a Policy.
|
239
|
-
class Rule
|
240
|
-
include Google::Apis::Core::Hashable
|
241
|
-
|
242
|
-
# A permission is a string of form '<service>.<resource type>.<verb>'
|
243
|
-
# (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
|
244
|
-
# and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
|
245
|
-
# Corresponds to the JSON property `permissions`
|
246
|
-
# @return [Array<String>]
|
247
|
-
attr_accessor :permissions
|
248
|
-
|
249
|
-
# Required
|
250
|
-
# Corresponds to the JSON property `action`
|
251
|
-
# @return [String]
|
252
|
-
attr_accessor :action
|
253
|
-
|
254
|
-
# If one or more 'not_in' clauses are specified, the rule matches
|
255
|
-
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
256
|
-
# The format for in and not_in entries is the same as for members in a
|
257
|
-
# Binding (see google/iam/v1/policy.proto).
|
258
|
-
# Corresponds to the JSON property `notIn`
|
259
|
-
# @return [Array<String>]
|
260
|
-
attr_accessor :not_in
|
261
|
-
|
262
|
-
# Human-readable description of the rule.
|
263
|
-
# Corresponds to the JSON property `description`
|
264
|
-
# @return [String]
|
265
|
-
attr_accessor :description
|
266
|
-
|
267
|
-
# Additional restrictions that must be met
|
268
|
-
# Corresponds to the JSON property `conditions`
|
269
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::Condition>]
|
270
|
-
attr_accessor :conditions
|
271
|
-
|
272
|
-
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
273
|
-
# that match the LOG action.
|
274
|
-
# Corresponds to the JSON property `logConfig`
|
275
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::LogConfig>]
|
276
|
-
attr_accessor :log_config
|
277
|
-
|
278
|
-
# If one or more 'in' clauses are specified, the rule matches if
|
279
|
-
# the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
|
280
|
-
# Corresponds to the JSON property `in`
|
281
|
-
# @return [Array<String>]
|
282
|
-
attr_accessor :in
|
283
|
-
|
284
|
-
def initialize(**args)
|
285
|
-
update!(**args)
|
286
|
-
end
|
287
|
-
|
288
|
-
# Update properties of this object
|
289
|
-
def update!(**args)
|
290
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
291
|
-
@action = args[:action] if args.key?(:action)
|
292
|
-
@not_in = args[:not_in] if args.key?(:not_in)
|
293
|
-
@description = args[:description] if args.key?(:description)
|
294
|
-
@conditions = args[:conditions] if args.key?(:conditions)
|
295
|
-
@log_config = args[:log_config] if args.key?(:log_config)
|
296
|
-
@in = args[:in] if args.key?(:in)
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
|
-
# Specifies what kind of log the caller must write
|
301
|
-
# Increment a streamz counter with the specified metric and field names.
|
302
|
-
# Metric names should start with a '/', generally be lowercase-only,
|
303
|
-
# and end in "_count". Field names should not contain an initial slash.
|
304
|
-
# The actual exported metric names will have "/iam/policy" prepended.
|
305
|
-
# Field names correspond to IAM request parameters and field values are
|
306
|
-
# their respective values.
|
307
|
-
# At present the only supported field names are
|
308
|
-
# - "iam_principal", corresponding to IAMContext.principal;
|
309
|
-
# - "" (empty string), resulting in one aggretated counter with no field.
|
310
|
-
# Examples:
|
311
|
-
# counter ` metric: "/debug_access_count" field: "iam_principal" `
|
312
|
-
# ==> increment counter /iam/policy/backend_debug_access_count
|
313
|
-
# `iam_principal=[value of IAMContext.principal]`
|
314
|
-
# At this time we do not support:
|
315
|
-
# * multiple field names (though this may be supported in the future)
|
316
|
-
# * decrementing the counter
|
317
|
-
# * incrementing it by anything other than 1
|
318
|
-
class LogConfig
|
319
|
-
include Google::Apis::Core::Hashable
|
320
|
-
|
321
|
-
# Write a Data Access (Gin) log
|
322
|
-
# Corresponds to the JSON property `dataAccess`
|
323
|
-
# @return [Google::Apis::CloudkmsV1beta1::DataAccessOptions]
|
324
|
-
attr_accessor :data_access
|
325
|
-
|
326
|
-
# Write a Cloud Audit log
|
327
|
-
# Corresponds to the JSON property `cloudAudit`
|
328
|
-
# @return [Google::Apis::CloudkmsV1beta1::CloudAuditOptions]
|
329
|
-
attr_accessor :cloud_audit
|
330
|
-
|
331
|
-
# Options for counters
|
332
|
-
# Corresponds to the JSON property `counter`
|
333
|
-
# @return [Google::Apis::CloudkmsV1beta1::CounterOptions]
|
334
|
-
attr_accessor :counter
|
335
|
-
|
336
|
-
def initialize(**args)
|
337
|
-
update!(**args)
|
338
|
-
end
|
339
|
-
|
340
|
-
# Update properties of this object
|
341
|
-
def update!(**args)
|
342
|
-
@data_access = args[:data_access] if args.key?(:data_access)
|
343
|
-
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
344
|
-
@counter = args[:counter] if args.key?(:counter)
|
345
|
-
end
|
346
|
-
end
|
347
|
-
|
348
|
-
# Request message for `SetIamPolicy` method.
|
349
|
-
class SetIamPolicyRequest
|
350
|
-
include Google::Apis::Core::Hashable
|
351
|
-
|
352
|
-
# Defines an Identity and Access Management (IAM) policy. It is used to
|
353
|
-
# specify access control policies for Cloud Platform resources.
|
354
|
-
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
355
|
-
# `members` to a `role`, where the members can be user accounts, Google groups,
|
356
|
-
# Google domains, and service accounts. A `role` is a named list of permissions
|
357
|
-
# defined by IAM.
|
358
|
-
# **Example**
|
359
|
-
# `
|
360
|
-
# "bindings": [
|
361
|
-
# `
|
362
|
-
# "role": "roles/owner",
|
363
|
-
# "members": [
|
364
|
-
# "user:mike@example.com",
|
365
|
-
# "group:admins@example.com",
|
366
|
-
# "domain:google.com",
|
367
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com",
|
368
|
-
# ]
|
369
|
-
# `,
|
370
|
-
# `
|
371
|
-
# "role": "roles/viewer",
|
372
|
-
# "members": ["user:sean@example.com"]
|
373
|
-
# `
|
374
|
-
# ]
|
375
|
-
# `
|
376
|
-
# For a description of IAM and its features, see the
|
377
|
-
# [IAM developer's guide](https://cloud.google.com/iam).
|
378
|
-
# Corresponds to the JSON property `policy`
|
379
|
-
# @return [Google::Apis::CloudkmsV1beta1::Policy]
|
380
|
-
attr_accessor :policy
|
381
|
-
|
382
|
-
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
383
|
-
# the fields in the mask will be modified. If no mask is provided, a default
|
384
|
-
# mask is used:
|
385
|
-
# paths: "bindings, etag"
|
386
|
-
# This field is only used by Cloud IAM.
|
387
|
-
# Corresponds to the JSON property `updateMask`
|
388
|
-
# @return [String]
|
389
|
-
attr_accessor :update_mask
|
390
|
-
|
391
|
-
def initialize(**args)
|
392
|
-
update!(**args)
|
393
|
-
end
|
394
|
-
|
395
|
-
# Update properties of this object
|
396
|
-
def update!(**args)
|
397
|
-
@policy = args[:policy] if args.key?(:policy)
|
398
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
399
|
-
end
|
400
|
-
end
|
401
|
-
|
402
|
-
# Request message for KeyManagementService.Decrypt.
|
403
|
-
class DecryptRequest
|
404
|
-
include Google::Apis::Core::Hashable
|
405
|
-
|
406
|
-
# Required. The encrypted data originally returned in
|
407
|
-
# EncryptResponse.ciphertext.
|
408
|
-
# Corresponds to the JSON property `ciphertext`
|
409
|
-
# @return [String]
|
410
|
-
attr_accessor :ciphertext
|
411
|
-
|
412
|
-
# Optional data that must match the data originally supplied in
|
413
|
-
# EncryptRequest.additional_authenticated_data.
|
414
|
-
# Corresponds to the JSON property `additionalAuthenticatedData`
|
415
|
-
# @return [String]
|
416
|
-
attr_accessor :additional_authenticated_data
|
417
|
-
|
418
|
-
def initialize(**args)
|
419
|
-
update!(**args)
|
420
|
-
end
|
421
|
-
|
422
|
-
# Update properties of this object
|
423
|
-
def update!(**args)
|
424
|
-
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
425
|
-
@additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
|
426
|
-
end
|
427
|
-
end
|
428
|
-
|
429
|
-
# A resource that represents Google Cloud Platform location.
|
430
|
-
class Location
|
431
|
-
include Google::Apis::Core::Hashable
|
432
|
-
|
433
|
-
# Resource name for the location, which may vary between implementations.
|
434
|
-
# For example: `"projects/example-project/locations/us-east1"`
|
435
|
-
# Corresponds to the JSON property `name`
|
436
|
-
# @return [String]
|
437
|
-
attr_accessor :name
|
438
|
-
|
439
|
-
# The canonical id for this location. For example: `"us-east1"`.
|
440
|
-
# Corresponds to the JSON property `locationId`
|
441
|
-
# @return [String]
|
442
|
-
attr_accessor :location_id
|
443
|
-
|
444
|
-
# Service-specific metadata. For example the available capacity at the given
|
445
|
-
# location.
|
446
|
-
# Corresponds to the JSON property `metadata`
|
447
|
-
# @return [Hash<String,Object>]
|
448
|
-
attr_accessor :metadata
|
449
|
-
|
450
|
-
# Cross-service attributes for the location. For example
|
451
|
-
# `"cloud.googleapis.com/region": "us-east1"`
|
452
|
-
# Corresponds to the JSON property `labels`
|
453
|
-
# @return [Hash<String,String>]
|
454
|
-
attr_accessor :labels
|
455
|
-
|
456
|
-
def initialize(**args)
|
457
|
-
update!(**args)
|
458
|
-
end
|
459
|
-
|
460
|
-
# Update properties of this object
|
461
|
-
def update!(**args)
|
462
|
-
@name = args[:name] if args.key?(:name)
|
463
|
-
@location_id = args[:location_id] if args.key?(:location_id)
|
464
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
465
|
-
@labels = args[:labels] if args.key?(:labels)
|
466
|
-
end
|
467
|
-
end
|
468
|
-
|
469
|
-
# Response message for KeyManagementService.ListCryptoKeys.
|
470
|
-
class ListCryptoKeysResponse
|
471
|
-
include Google::Apis::Core::Hashable
|
472
|
-
|
473
|
-
# A token to retrieve next page of results. Pass this value in
|
474
|
-
# ListCryptoKeysRequest.page_token to retrieve the next page of results.
|
475
|
-
# Corresponds to the JSON property `nextPageToken`
|
476
|
-
# @return [String]
|
477
|
-
attr_accessor :next_page_token
|
478
|
-
|
479
|
-
# The list of CryptoKeys.
|
480
|
-
# Corresponds to the JSON property `cryptoKeys`
|
481
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::CryptoKey>]
|
482
|
-
attr_accessor :crypto_keys
|
483
|
-
|
484
|
-
# The total number of CryptoKeys that matched the query.
|
485
|
-
# Corresponds to the JSON property `totalSize`
|
486
|
-
# @return [Fixnum]
|
487
|
-
attr_accessor :total_size
|
488
|
-
|
489
|
-
def initialize(**args)
|
490
|
-
update!(**args)
|
491
|
-
end
|
492
|
-
|
493
|
-
# Update properties of this object
|
494
|
-
def update!(**args)
|
495
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
496
|
-
@crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys)
|
497
|
-
@total_size = args[:total_size] if args.key?(:total_size)
|
498
|
-
end
|
499
|
-
end
|
500
|
-
|
501
|
-
# A condition to be met.
|
502
|
-
class Condition
|
503
|
-
include Google::Apis::Core::Hashable
|
504
|
-
|
505
|
-
# Trusted attributes supplied by any service that owns resources and uses
|
506
|
-
# the IAM system for access control.
|
507
|
-
# Corresponds to the JSON property `sys`
|
508
|
-
# @return [String]
|
509
|
-
attr_accessor :sys
|
510
|
-
|
511
|
-
# DEPRECATED. Use 'values' instead.
|
512
|
-
# Corresponds to the JSON property `value`
|
513
|
-
# @return [String]
|
514
|
-
attr_accessor :value
|
515
|
-
|
516
|
-
# The objects of the condition. This is mutually exclusive with 'value'.
|
517
|
-
# Corresponds to the JSON property `values`
|
518
|
-
# @return [Array<String>]
|
519
|
-
attr_accessor :values
|
520
|
-
|
521
|
-
# Trusted attributes supplied by the IAM system.
|
522
|
-
# Corresponds to the JSON property `iam`
|
523
|
-
# @return [String]
|
524
|
-
attr_accessor :iam
|
525
|
-
|
526
|
-
# An operator to apply the subject with.
|
527
|
-
# Corresponds to the JSON property `op`
|
528
|
-
# @return [String]
|
529
|
-
attr_accessor :op
|
530
|
-
|
531
|
-
# Trusted attributes discharged by the service.
|
532
|
-
# Corresponds to the JSON property `svc`
|
533
|
-
# @return [String]
|
534
|
-
attr_accessor :svc
|
535
|
-
|
536
|
-
def initialize(**args)
|
537
|
-
update!(**args)
|
538
|
-
end
|
539
|
-
|
540
|
-
# Update properties of this object
|
541
|
-
def update!(**args)
|
542
|
-
@sys = args[:sys] if args.key?(:sys)
|
543
|
-
@value = args[:value] if args.key?(:value)
|
544
|
-
@values = args[:values] if args.key?(:values)
|
545
|
-
@iam = args[:iam] if args.key?(:iam)
|
546
|
-
@op = args[:op] if args.key?(:op)
|
547
|
-
@svc = args[:svc] if args.key?(:svc)
|
548
|
-
end
|
549
|
-
end
|
550
|
-
|
551
|
-
# Options for counters
|
552
|
-
class CounterOptions
|
553
|
-
include Google::Apis::Core::Hashable
|
554
|
-
|
555
|
-
# The metric to update.
|
556
|
-
# Corresponds to the JSON property `metric`
|
557
|
-
# @return [String]
|
558
|
-
attr_accessor :metric
|
559
|
-
|
560
|
-
# The field value to attribute.
|
561
|
-
# Corresponds to the JSON property `field`
|
562
|
-
# @return [String]
|
563
|
-
attr_accessor :field
|
564
|
-
|
565
|
-
def initialize(**args)
|
566
|
-
update!(**args)
|
567
|
-
end
|
568
|
-
|
569
|
-
# Update properties of this object
|
570
|
-
def update!(**args)
|
571
|
-
@metric = args[:metric] if args.key?(:metric)
|
572
|
-
@field = args[:field] if args.key?(:field)
|
573
|
-
end
|
574
|
-
end
|
575
|
-
|
576
|
-
# Provides the configuration for logging a type of permissions.
|
577
|
-
# Example:
|
578
|
-
# `
|
579
|
-
# "audit_log_configs": [
|
580
|
-
# `
|
581
|
-
# "log_type": "DATA_READ",
|
582
|
-
# "exempted_members": [
|
583
|
-
# "user:foo@gmail.com"
|
584
|
-
# ]
|
585
|
-
# `,
|
586
|
-
# `
|
587
|
-
# "log_type": "DATA_WRITE",
|
588
|
-
# `
|
589
|
-
# ]
|
590
|
-
# `
|
591
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
592
|
-
# foo@gmail.com from DATA_READ logging.
|
593
|
-
class AuditLogConfig
|
594
|
-
include Google::Apis::Core::Hashable
|
595
|
-
|
596
|
-
# Specifies the identities that do not cause logging for this type of
|
597
|
-
# permission.
|
598
|
-
# Follows the same format of Binding.members.
|
599
|
-
# Corresponds to the JSON property `exemptedMembers`
|
600
|
-
# @return [Array<String>]
|
601
|
-
attr_accessor :exempted_members
|
602
|
-
|
603
|
-
# The log type that this config enables.
|
604
|
-
# Corresponds to the JSON property `logType`
|
605
|
-
# @return [String]
|
606
|
-
attr_accessor :log_type
|
607
|
-
|
608
|
-
def initialize(**args)
|
609
|
-
update!(**args)
|
610
|
-
end
|
611
|
-
|
612
|
-
# Update properties of this object
|
613
|
-
def update!(**args)
|
614
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
615
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
616
|
-
end
|
617
|
-
end
|
618
|
-
|
619
|
-
# Response message for KeyManagementService.Decrypt.
|
620
|
-
class DecryptResponse
|
621
|
-
include Google::Apis::Core::Hashable
|
622
|
-
|
623
|
-
# The decrypted data originally supplied in EncryptRequest.plaintext.
|
624
|
-
# Corresponds to the JSON property `plaintext`
|
625
|
-
# @return [String]
|
626
|
-
attr_accessor :plaintext
|
627
|
-
|
628
|
-
def initialize(**args)
|
629
|
-
update!(**args)
|
630
|
-
end
|
631
|
-
|
632
|
-
# Update properties of this object
|
633
|
-
def update!(**args)
|
634
|
-
@plaintext = args[:plaintext] if args.key?(:plaintext)
|
635
|
-
end
|
636
|
-
end
|
637
|
-
|
638
|
-
# Request message for `TestIamPermissions` method.
|
639
|
-
class TestIamPermissionsRequest
|
640
|
-
include Google::Apis::Core::Hashable
|
641
|
-
|
642
|
-
# The set of permissions to check for the `resource`. Permissions with
|
643
|
-
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
644
|
-
# information see
|
645
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
646
|
-
# Corresponds to the JSON property `permissions`
|
647
|
-
# @return [Array<String>]
|
648
|
-
attr_accessor :permissions
|
649
|
-
|
650
|
-
def initialize(**args)
|
651
|
-
update!(**args)
|
652
|
-
end
|
653
|
-
|
654
|
-
# Update properties of this object
|
655
|
-
def update!(**args)
|
656
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
657
|
-
end
|
658
|
-
end
|
659
|
-
|
660
|
-
# A KeyRing is a toplevel logical grouping of CryptoKeys.
|
661
|
-
class KeyRing
|
662
|
-
include Google::Apis::Core::Hashable
|
663
|
-
|
664
|
-
# Output only. The time at which this KeyRing was created.
|
665
|
-
# Corresponds to the JSON property `createTime`
|
666
|
-
# @return [String]
|
667
|
-
attr_accessor :create_time
|
668
|
-
|
669
|
-
# Output only. The resource name for the KeyRing in the format
|
670
|
-
# `projects/*/locations/*/keyRings/*`.
|
671
|
-
# Corresponds to the JSON property `name`
|
672
|
-
# @return [String]
|
673
|
-
attr_accessor :name
|
674
|
-
|
675
|
-
def initialize(**args)
|
676
|
-
update!(**args)
|
677
|
-
end
|
678
|
-
|
679
|
-
# Update properties of this object
|
680
|
-
def update!(**args)
|
681
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
682
|
-
@name = args[:name] if args.key?(:name)
|
683
|
-
end
|
684
|
-
end
|
685
|
-
|
686
|
-
# Response message for KeyManagementService.Encrypt.
|
687
|
-
class EncryptResponse
|
688
|
-
include Google::Apis::Core::Hashable
|
689
|
-
|
690
|
-
# The resource name of the CryptoKeyVersion used in encryption.
|
691
|
-
# Corresponds to the JSON property `name`
|
692
|
-
# @return [String]
|
693
|
-
attr_accessor :name
|
694
|
-
|
695
|
-
# The encrypted data.
|
696
|
-
# Corresponds to the JSON property `ciphertext`
|
697
|
-
# @return [String]
|
698
|
-
attr_accessor :ciphertext
|
699
|
-
|
700
|
-
def initialize(**args)
|
701
|
-
update!(**args)
|
702
|
-
end
|
703
|
-
|
704
|
-
# Update properties of this object
|
705
|
-
def update!(**args)
|
706
|
-
@name = args[:name] if args.key?(:name)
|
707
|
-
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
708
|
-
end
|
709
|
-
end
|
710
|
-
|
711
|
-
# The response message for Locations.ListLocations.
|
712
|
-
class ListLocationsResponse
|
713
|
-
include Google::Apis::Core::Hashable
|
714
|
-
|
715
|
-
# A list of locations that matches the specified filter in the request.
|
716
|
-
# Corresponds to the JSON property `locations`
|
717
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::Location>]
|
718
|
-
attr_accessor :locations
|
719
|
-
|
720
|
-
# The standard List next-page token.
|
721
|
-
# Corresponds to the JSON property `nextPageToken`
|
722
|
-
# @return [String]
|
723
|
-
attr_accessor :next_page_token
|
724
|
-
|
725
|
-
def initialize(**args)
|
726
|
-
update!(**args)
|
727
|
-
end
|
728
|
-
|
729
|
-
# Update properties of this object
|
730
|
-
def update!(**args)
|
731
|
-
@locations = args[:locations] if args.key?(:locations)
|
732
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
733
|
-
end
|
734
|
-
end
|
735
|
-
|
736
|
-
# Defines an Identity and Access Management (IAM) policy. It is used to
|
737
|
-
# specify access control policies for Cloud Platform resources.
|
738
|
-
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
739
|
-
# `members` to a `role`, where the members can be user accounts, Google groups,
|
740
|
-
# Google domains, and service accounts. A `role` is a named list of permissions
|
741
|
-
# defined by IAM.
|
742
|
-
# **Example**
|
743
|
-
# `
|
744
|
-
# "bindings": [
|
745
|
-
# `
|
746
|
-
# "role": "roles/owner",
|
747
|
-
# "members": [
|
748
|
-
# "user:mike@example.com",
|
749
|
-
# "group:admins@example.com",
|
750
|
-
# "domain:google.com",
|
751
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com",
|
752
|
-
# ]
|
753
|
-
# `,
|
754
|
-
# `
|
755
|
-
# "role": "roles/viewer",
|
756
|
-
# "members": ["user:sean@example.com"]
|
757
|
-
# `
|
758
|
-
# ]
|
759
|
-
# `
|
760
|
-
# For a description of IAM and its features, see the
|
761
|
-
# [IAM developer's guide](https://cloud.google.com/iam).
|
762
|
-
class Policy
|
763
|
-
include Google::Apis::Core::Hashable
|
764
|
-
|
765
|
-
# Specifies cloud audit logging configuration for this policy.
|
766
|
-
# Corresponds to the JSON property `auditConfigs`
|
767
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::AuditConfig>]
|
768
|
-
attr_accessor :audit_configs
|
769
|
-
|
770
|
-
# Associates a list of `members` to a `role`.
|
771
|
-
# Multiple `bindings` must not be specified for the same `role`.
|
772
|
-
# `bindings` with no members will result in an error.
|
773
|
-
# Corresponds to the JSON property `bindings`
|
774
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::Binding>]
|
775
|
-
attr_accessor :bindings
|
776
|
-
|
777
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
778
|
-
# prevent simultaneous updates of a policy from overwriting each other.
|
779
|
-
# It is strongly suggested that systems make use of the `etag` in the
|
780
|
-
# read-modify-write cycle to perform policy updates in order to avoid race
|
781
|
-
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
782
|
-
# systems are expected to put that etag in the request to `setIamPolicy` to
|
783
|
-
# ensure that their change will be applied to the same version of the policy.
|
784
|
-
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
785
|
-
# policy is overwritten blindly.
|
786
|
-
# Corresponds to the JSON property `etag`
|
787
|
-
# @return [String]
|
788
|
-
attr_accessor :etag
|
789
|
-
|
790
|
-
#
|
791
|
-
# Corresponds to the JSON property `iamOwned`
|
792
|
-
# @return [Boolean]
|
793
|
-
attr_accessor :iam_owned
|
794
|
-
alias_method :iam_owned?, :iam_owned
|
795
|
-
|
796
|
-
# If more than one rule is specified, the rules are applied in the following
|
797
|
-
# manner:
|
798
|
-
# - All matching LOG rules are always applied.
|
799
|
-
# - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
|
800
|
-
# Logging will be applied if one or more matching rule requires logging.
|
801
|
-
# - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
|
802
|
-
# granted.
|
803
|
-
# Logging will be applied if one or more matching rule requires logging.
|
804
|
-
# - Otherwise, if no rule applies, permission is denied.
|
805
|
-
# Corresponds to the JSON property `rules`
|
806
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::Rule>]
|
807
|
-
attr_accessor :rules
|
808
|
-
|
809
|
-
# Version of the `Policy`. The default version is 0.
|
810
|
-
# Corresponds to the JSON property `version`
|
811
|
-
# @return [Fixnum]
|
812
|
-
attr_accessor :version
|
813
|
-
|
814
|
-
def initialize(**args)
|
815
|
-
update!(**args)
|
816
|
-
end
|
817
|
-
|
818
|
-
# Update properties of this object
|
819
|
-
def update!(**args)
|
820
|
-
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
821
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
822
|
-
@etag = args[:etag] if args.key?(:etag)
|
823
|
-
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
824
|
-
@rules = args[:rules] if args.key?(:rules)
|
825
|
-
@version = args[:version] if args.key?(:version)
|
826
|
-
end
|
827
|
-
end
|
828
|
-
|
829
|
-
# Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.
|
830
|
-
class UpdateCryptoKeyPrimaryVersionRequest
|
831
|
-
include Google::Apis::Core::Hashable
|
832
|
-
|
833
|
-
# The id of the child CryptoKeyVersion to use as primary.
|
834
|
-
# Corresponds to the JSON property `cryptoKeyVersionId`
|
835
|
-
# @return [String]
|
836
|
-
attr_accessor :crypto_key_version_id
|
837
|
-
|
838
|
-
def initialize(**args)
|
839
|
-
update!(**args)
|
840
|
-
end
|
841
|
-
|
842
|
-
# Update properties of this object
|
843
|
-
def update!(**args)
|
844
|
-
@crypto_key_version_id = args[:crypto_key_version_id] if args.key?(:crypto_key_version_id)
|
845
|
-
end
|
846
|
-
end
|
847
|
-
|
848
|
-
# Request message for KeyManagementService.RestoreCryptoKeyVersion.
|
849
|
-
class RestoreCryptoKeyVersionRequest
|
850
|
-
include Google::Apis::Core::Hashable
|
851
|
-
|
852
|
-
def initialize(**args)
|
853
|
-
update!(**args)
|
854
|
-
end
|
855
|
-
|
856
|
-
# Update properties of this object
|
857
|
-
def update!(**args)
|
858
|
-
end
|
859
|
-
end
|
860
|
-
|
861
|
-
# Write a Data Access (Gin) log
|
862
|
-
class DataAccessOptions
|
863
|
-
include Google::Apis::Core::Hashable
|
864
|
-
|
865
|
-
def initialize(**args)
|
866
|
-
update!(**args)
|
867
|
-
end
|
868
|
-
|
869
|
-
# Update properties of this object
|
870
|
-
def update!(**args)
|
871
|
-
end
|
872
|
-
end
|
873
|
-
|
874
|
-
# Response message for KeyManagementService.ListKeyRings.
|
875
|
-
class ListKeyRingsResponse
|
876
|
-
include Google::Apis::Core::Hashable
|
877
|
-
|
878
|
-
# A token to retrieve next page of results. Pass this value in
|
879
|
-
# ListKeyRingsRequest.page_token to retrieve the next page of results.
|
880
|
-
# Corresponds to the JSON property `nextPageToken`
|
881
|
-
# @return [String]
|
882
|
-
attr_accessor :next_page_token
|
883
|
-
|
884
|
-
# The total number of KeyRings that matched the query.
|
885
|
-
# Corresponds to the JSON property `totalSize`
|
886
|
-
# @return [Fixnum]
|
887
|
-
attr_accessor :total_size
|
888
|
-
|
889
|
-
# The list of KeyRings.
|
890
|
-
# Corresponds to the JSON property `keyRings`
|
891
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::KeyRing>]
|
892
|
-
attr_accessor :key_rings
|
893
|
-
|
894
|
-
def initialize(**args)
|
895
|
-
update!(**args)
|
896
|
-
end
|
897
|
-
|
898
|
-
# Update properties of this object
|
899
|
-
def update!(**args)
|
900
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
901
|
-
@total_size = args[:total_size] if args.key?(:total_size)
|
902
|
-
@key_rings = args[:key_rings] if args.key?(:key_rings)
|
903
|
-
end
|
904
|
-
end
|
905
|
-
|
906
|
-
# Specifies the audit configuration for a service.
|
907
|
-
# It consists of which permission types are logged, and what identities, if
|
908
|
-
# any, are exempted from logging.
|
909
|
-
# An AuditConifg must have one or more AuditLogConfigs.
|
910
|
-
# If there are AuditConfigs for both `allServices` and a specific service,
|
911
|
-
# the union of the two AuditConfigs is used for that service: the log_types
|
912
|
-
# specified in each AuditConfig are enabled, and the exempted_members in each
|
913
|
-
# AuditConfig are exempted.
|
914
|
-
# Example Policy with multiple AuditConfigs:
|
915
|
-
# `
|
916
|
-
# "audit_configs": [
|
917
|
-
# `
|
918
|
-
# "service": "allServices"
|
919
|
-
# "audit_log_configs": [
|
920
|
-
# `
|
921
|
-
# "log_type": "DATA_READ",
|
922
|
-
# "exempted_members": [
|
923
|
-
# "user:foo@gmail.com"
|
924
|
-
# ]
|
925
|
-
# `,
|
926
|
-
# `
|
927
|
-
# "log_type": "DATA_WRITE",
|
928
|
-
# `,
|
929
|
-
# `
|
930
|
-
# "log_type": "ADMIN_READ",
|
931
|
-
# `
|
932
|
-
# ]
|
933
|
-
# `,
|
934
|
-
# `
|
935
|
-
# "service": "fooservice@googleapis.com"
|
936
|
-
# "audit_log_configs": [
|
937
|
-
# `
|
938
|
-
# "log_type": "DATA_READ",
|
939
|
-
# `,
|
940
|
-
# `
|
941
|
-
# "log_type": "DATA_WRITE",
|
942
|
-
# "exempted_members": [
|
943
|
-
# "user:bar@gmail.com"
|
944
|
-
# ]
|
945
|
-
# `
|
946
|
-
# ]
|
947
|
-
# `
|
948
|
-
# ]
|
949
|
-
# `
|
950
|
-
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
951
|
-
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
952
|
-
# bar@gmail.com from DATA_WRITE logging.
|
953
|
-
class AuditConfig
|
954
|
-
include Google::Apis::Core::Hashable
|
955
|
-
|
956
|
-
# The configuration for logging of each type of permission.
|
957
|
-
# Next ID: 4
|
958
|
-
# Corresponds to the JSON property `auditLogConfigs`
|
959
|
-
# @return [Array<Google::Apis::CloudkmsV1beta1::AuditLogConfig>]
|
960
|
-
attr_accessor :audit_log_configs
|
961
|
-
|
962
|
-
#
|
963
|
-
# Corresponds to the JSON property `exemptedMembers`
|
964
|
-
# @return [Array<String>]
|
965
|
-
attr_accessor :exempted_members
|
966
|
-
|
967
|
-
# Specifies a service that will be enabled for audit logging.
|
968
|
-
# For example, `resourcemanager`, `storage`, `compute`.
|
969
|
-
# `allServices` is a special value that covers all services.
|
970
|
-
# Corresponds to the JSON property `service`
|
971
|
-
# @return [String]
|
972
|
-
attr_accessor :service
|
973
|
-
|
974
|
-
def initialize(**args)
|
975
|
-
update!(**args)
|
976
|
-
end
|
977
|
-
|
978
|
-
# Update properties of this object
|
979
|
-
def update!(**args)
|
980
|
-
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
981
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
982
|
-
@service = args[:service] if args.key?(:service)
|
983
|
-
end
|
984
|
-
end
|
985
|
-
|
986
|
-
# A CryptoKeyVersion represents an individual cryptographic key, and the
|
987
|
-
# associated key material.
|
988
|
-
# It can be used for cryptographic operations either directly, or via its
|
989
|
-
# parent CryptoKey, in which case the server will choose the appropriate
|
990
|
-
# version for the operation.
|
991
|
-
class CryptoKeyVersion
|
992
|
-
include Google::Apis::Core::Hashable
|
993
|
-
|
994
|
-
# The current state of the CryptoKeyVersion.
|
995
|
-
# Corresponds to the JSON property `state`
|
996
|
-
# @return [String]
|
997
|
-
attr_accessor :state
|
998
|
-
|
999
|
-
# Output only. The resource name for this CryptoKeyVersion in the format
|
1000
|
-
# `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
|
1001
|
-
# Corresponds to the JSON property `name`
|
1002
|
-
# @return [String]
|
1003
|
-
attr_accessor :name
|
1004
|
-
|
1005
|
-
# Output only. The time this CryptoKeyVersion's key material was
|
1006
|
-
# destroyed. Only present if state is
|
1007
|
-
# DESTROYED.
|
1008
|
-
# Corresponds to the JSON property `destroyEventTime`
|
1009
|
-
# @return [String]
|
1010
|
-
attr_accessor :destroy_event_time
|
1011
|
-
|
1012
|
-
# Output only. The time this CryptoKeyVersion's key material is scheduled
|
1013
|
-
# for destruction. Only present if state is
|
1014
|
-
# DESTROY_SCHEDULED.
|
1015
|
-
# Corresponds to the JSON property `destroyTime`
|
1016
|
-
# @return [String]
|
1017
|
-
attr_accessor :destroy_time
|
1018
|
-
|
1019
|
-
# Output only. The time at which this CryptoKeyVersion was created.
|
1020
|
-
# Corresponds to the JSON property `createTime`
|
1021
|
-
# @return [String]
|
1022
|
-
attr_accessor :create_time
|
1023
|
-
|
1024
|
-
def initialize(**args)
|
1025
|
-
update!(**args)
|
1026
|
-
end
|
1027
|
-
|
1028
|
-
# Update properties of this object
|
1029
|
-
def update!(**args)
|
1030
|
-
@state = args[:state] if args.key?(:state)
|
1031
|
-
@name = args[:name] if args.key?(:name)
|
1032
|
-
@destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time)
|
1033
|
-
@destroy_time = args[:destroy_time] if args.key?(:destroy_time)
|
1034
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
1035
|
-
end
|
1036
|
-
end
|
1037
|
-
end
|
1038
|
-
end
|
1039
|
-
end
|