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
@@ -48,10 +48,10 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
# Lists `
|
51
|
+
# Lists all the `Policies` set for a particular resource.
|
52
52
|
# @param [String] resource
|
53
|
-
# Name of the resource to list
|
54
|
-
# @param [Google::Apis::CloudresourcemanagerV1::
|
53
|
+
# Name of the resource to list Policies for.
|
54
|
+
# @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object
|
55
55
|
# @param [String] fields
|
56
56
|
# Selector specifying which fields to include in a partial response.
|
57
57
|
# @param [String] quota_user
|
@@ -61,30 +61,30 @@ module Google
|
|
61
61
|
# Request-specific options
|
62
62
|
#
|
63
63
|
# @yield [result, err] Result & error if block supplied
|
64
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::
|
64
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object
|
65
65
|
# @yieldparam err [StandardError] error object if request failed
|
66
66
|
#
|
67
|
-
# @return [Google::Apis::CloudresourcemanagerV1::
|
67
|
+
# @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse]
|
68
68
|
#
|
69
69
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
70
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
|
-
def
|
73
|
-
command = make_simple_command(:post, 'v1/{+resource}:
|
74
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::
|
75
|
-
command.request_object =
|
76
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1::
|
77
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1::
|
72
|
+
def list_organization_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
+
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
|
74
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
|
75
|
+
command.request_object = list_org_policies_request_object
|
76
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
|
77
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse
|
78
78
|
command.params['resource'] = resource unless resource.nil?
|
79
79
|
command.query['fields'] = fields unless fields.nil?
|
80
80
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
81
|
execute_or_queue_command(command, &block)
|
82
82
|
end
|
83
83
|
|
84
|
-
# Lists
|
84
|
+
# Lists `Constraints` that could be applied on the specified resource.
|
85
85
|
# @param [String] resource
|
86
|
-
# Name of the resource to list
|
87
|
-
# @param [Google::Apis::CloudresourcemanagerV1::
|
86
|
+
# Name of the resource to list `Constraints` for.
|
87
|
+
# @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object
|
88
88
|
# @param [String] fields
|
89
89
|
# Selector specifying which fields to include in a partial response.
|
90
90
|
# @param [String] quota_user
|
@@ -94,20 +94,20 @@ module Google
|
|
94
94
|
# Request-specific options
|
95
95
|
#
|
96
96
|
# @yield [result, err] Result & error if block supplied
|
97
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::
|
97
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] parsed result object
|
98
98
|
# @yieldparam err [StandardError] error object if request failed
|
99
99
|
#
|
100
|
-
# @return [Google::Apis::CloudresourcemanagerV1::
|
100
|
+
# @return [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse]
|
101
101
|
#
|
102
102
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
103
103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
104
104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
105
|
-
def
|
106
|
-
command = make_simple_command(:post, 'v1/{+resource}:
|
107
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::
|
108
|
-
command.request_object =
|
109
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1::
|
110
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1::
|
105
|
+
def list_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
+
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
|
107
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation
|
108
|
+
command.request_object = list_available_org_policy_constraints_request_object
|
109
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation
|
110
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse
|
111
111
|
command.params['resource'] = resource unless resource.nil?
|
112
112
|
command.query['fields'] = fields unless fields.nil?
|
113
113
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -565,12 +565,13 @@ module Google
|
|
565
565
|
execute_or_queue_command(command, &block)
|
566
566
|
end
|
567
567
|
|
568
|
-
#
|
569
|
-
# `
|
570
|
-
# an `etag`
|
568
|
+
# Updates the specified `Policy` on the resource. Creates a new `Policy` for
|
569
|
+
# that `Constraint` on the resource if one does not exist.
|
570
|
+
# Not supplying an `etag` on the request `Policy` results in an unconditional
|
571
|
+
# write of the `Policy`.
|
571
572
|
# @param [String] resource
|
572
|
-
#
|
573
|
-
# @param [Google::Apis::CloudresourcemanagerV1::
|
573
|
+
# Resource name of the resource to attach the `Policy`.
|
574
|
+
# @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object
|
574
575
|
# @param [String] fields
|
575
576
|
# Selector specifying which fields to include in a partial response.
|
576
577
|
# @param [String] quota_user
|
@@ -588,10 +589,10 @@ module Google
|
|
588
589
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
589
590
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
590
591
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
591
|
-
def
|
592
|
-
command = make_simple_command(:post, 'v1/{+resource}:
|
593
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::
|
594
|
-
command.request_object =
|
592
|
+
def set_folder_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
593
|
+
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
|
594
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation
|
595
|
+
command.request_object = set_org_policy_request_object
|
595
596
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
596
597
|
command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy
|
597
598
|
command.params['resource'] = resource unless resource.nil?
|
@@ -600,10 +601,10 @@ module Google
|
|
600
601
|
execute_or_queue_command(command, &block)
|
601
602
|
end
|
602
603
|
|
603
|
-
#
|
604
|
+
# Lists `Constraints` that could be applied on the specified resource.
|
604
605
|
# @param [String] resource
|
605
|
-
# Name of the resource
|
606
|
-
# @param [Google::Apis::CloudresourcemanagerV1::
|
606
|
+
# Name of the resource to list `Constraints` for.
|
607
|
+
# @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object
|
607
608
|
# @param [String] fields
|
608
609
|
# Selector specifying which fields to include in a partial response.
|
609
610
|
# @param [String] quota_user
|
@@ -613,33 +614,67 @@ module Google
|
|
613
614
|
# Request-specific options
|
614
615
|
#
|
615
616
|
# @yield [result, err] Result & error if block supplied
|
616
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::
|
617
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] parsed result object
|
617
618
|
# @yieldparam err [StandardError] error object if request failed
|
618
619
|
#
|
619
|
-
# @return [Google::Apis::CloudresourcemanagerV1::
|
620
|
+
# @return [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse]
|
620
621
|
#
|
621
622
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
622
623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
623
624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
624
|
-
def
|
625
|
-
command = make_simple_command(:post, 'v1/{+resource}:
|
626
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::
|
627
|
-
command.request_object =
|
628
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1::
|
629
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1::
|
625
|
+
def list_folder_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
626
|
+
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
|
627
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation
|
628
|
+
command.request_object = list_available_org_policy_constraints_request_object
|
629
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation
|
630
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse
|
630
631
|
command.params['resource'] = resource unless resource.nil?
|
631
632
|
command.query['fields'] = fields unless fields.nil?
|
632
633
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
633
634
|
execute_or_queue_command(command, &block)
|
634
635
|
end
|
635
636
|
|
636
|
-
#
|
637
|
-
# that `Constraint` on the resource if one does not exist.
|
638
|
-
# Not supplying an `etag` on the request `Policy` results in an unconditional
|
639
|
-
# write of the `Policy`.
|
637
|
+
# Lists all the `Policies` set for a particular resource.
|
640
638
|
# @param [String] resource
|
641
|
-
#
|
642
|
-
# @param [Google::Apis::CloudresourcemanagerV1::
|
639
|
+
# Name of the resource to list Policies for.
|
640
|
+
# @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object
|
641
|
+
# @param [String] fields
|
642
|
+
# Selector specifying which fields to include in a partial response.
|
643
|
+
# @param [String] quota_user
|
644
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
645
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
646
|
+
# @param [Google::Apis::RequestOptions] options
|
647
|
+
# Request-specific options
|
648
|
+
#
|
649
|
+
# @yield [result, err] Result & error if block supplied
|
650
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object
|
651
|
+
# @yieldparam err [StandardError] error object if request failed
|
652
|
+
#
|
653
|
+
# @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse]
|
654
|
+
#
|
655
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
656
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
657
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
658
|
+
def list_folder_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
659
|
+
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
|
660
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
|
661
|
+
command.request_object = list_org_policies_request_object
|
662
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
|
663
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse
|
664
|
+
command.params['resource'] = resource unless resource.nil?
|
665
|
+
command.query['fields'] = fields unless fields.nil?
|
666
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
667
|
+
execute_or_queue_command(command, &block)
|
668
|
+
end
|
669
|
+
|
670
|
+
# Gets a `Policy` on a resource.
|
671
|
+
# If no `Policy` is set on the resource, a `Policy` is returned with default
|
672
|
+
# values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
|
673
|
+
# `etag` value can be used with `SetOrgPolicy()` to create or update a
|
674
|
+
# `Policy` during read-modify-write.
|
675
|
+
# @param [String] resource
|
676
|
+
# Name of the resource the `Policy` is set on.
|
677
|
+
# @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object
|
643
678
|
# @param [String] fields
|
644
679
|
# Selector specifying which fields to include in a partial response.
|
645
680
|
# @param [String] quota_user
|
@@ -657,10 +692,10 @@ module Google
|
|
657
692
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
658
693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
659
694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
660
|
-
def
|
661
|
-
command = make_simple_command(:post, 'v1/{+resource}:
|
662
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::
|
663
|
-
command.request_object =
|
695
|
+
def get_folder_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
696
|
+
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
|
697
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation
|
698
|
+
command.request_object = get_org_policy_request_object
|
664
699
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
665
700
|
command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy
|
666
701
|
command.params['resource'] = resource unless resource.nil?
|
@@ -669,10 +704,12 @@ module Google
|
|
669
704
|
execute_or_queue_command(command, &block)
|
670
705
|
end
|
671
706
|
|
672
|
-
#
|
707
|
+
# Gets the effective `Policy` on a resource. This is the result of merging
|
708
|
+
# `Policies` in the resource hierarchy. The returned `Policy` will not have
|
709
|
+
# an `etag`set because it is a computed `Policy` across multiple resources.
|
673
710
|
# @param [String] resource
|
674
|
-
#
|
675
|
-
# @param [Google::Apis::CloudresourcemanagerV1::
|
711
|
+
# The name of the resource to start computing the effective `Policy`.
|
712
|
+
# @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object
|
676
713
|
# @param [String] fields
|
677
714
|
# Selector specifying which fields to include in a partial response.
|
678
715
|
# @param [String] quota_user
|
@@ -682,30 +719,30 @@ module Google
|
|
682
719
|
# Request-specific options
|
683
720
|
#
|
684
721
|
# @yield [result, err] Result & error if block supplied
|
685
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::
|
722
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object
|
686
723
|
# @yieldparam err [StandardError] error object if request failed
|
687
724
|
#
|
688
|
-
# @return [Google::Apis::CloudresourcemanagerV1::
|
725
|
+
# @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy]
|
689
726
|
#
|
690
727
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
691
728
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
692
729
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
693
|
-
def
|
694
|
-
command = make_simple_command(:post, 'v1/{+resource}:
|
695
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::
|
696
|
-
command.request_object =
|
697
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1::
|
698
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1::
|
730
|
+
def get_folder_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
731
|
+
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
|
732
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation
|
733
|
+
command.request_object = get_effective_org_policy_request_object
|
734
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
735
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy
|
699
736
|
command.params['resource'] = resource unless resource.nil?
|
700
737
|
command.query['fields'] = fields unless fields.nil?
|
701
738
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
702
739
|
execute_or_queue_command(command, &block)
|
703
740
|
end
|
704
741
|
|
705
|
-
#
|
742
|
+
# Clears a `Policy` from a resource.
|
706
743
|
# @param [String] resource
|
707
|
-
# Name of the resource
|
708
|
-
# @param [Google::Apis::CloudresourcemanagerV1::
|
744
|
+
# Name of the resource for the `Policy` to clear.
|
745
|
+
# @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object
|
709
746
|
# @param [String] fields
|
710
747
|
# Selector specifying which fields to include in a partial response.
|
711
748
|
# @param [String] quota_user
|
@@ -715,34 +752,30 @@ module Google
|
|
715
752
|
# Request-specific options
|
716
753
|
#
|
717
754
|
# @yield [result, err] Result & error if block supplied
|
718
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::
|
755
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object
|
719
756
|
# @yieldparam err [StandardError] error object if request failed
|
720
757
|
#
|
721
|
-
# @return [Google::Apis::CloudresourcemanagerV1::
|
758
|
+
# @return [Google::Apis::CloudresourcemanagerV1::Empty]
|
722
759
|
#
|
723
760
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
724
761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
725
762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
726
|
-
def
|
727
|
-
command = make_simple_command(:post, 'v1/{+resource}:
|
728
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::
|
729
|
-
command.request_object =
|
730
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1::
|
731
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1::
|
763
|
+
def clear_folder_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
764
|
+
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
|
765
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation
|
766
|
+
command.request_object = clear_org_policy_request_object
|
767
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
|
768
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1::Empty
|
732
769
|
command.params['resource'] = resource unless resource.nil?
|
733
770
|
command.query['fields'] = fields unless fields.nil?
|
734
771
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
735
772
|
execute_or_queue_command(command, &block)
|
736
773
|
end
|
737
774
|
|
738
|
-
#
|
739
|
-
# If no `Policy` is set on the resource, a `Policy` is returned with default
|
740
|
-
# values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
|
741
|
-
# `etag` value can be used with `SetOrgPolicy()` to create or update a
|
742
|
-
# `Policy` during read-modify-write.
|
775
|
+
# Lists all the `Policies` set for a particular resource.
|
743
776
|
# @param [String] resource
|
744
|
-
# Name of the resource
|
745
|
-
# @param [Google::Apis::CloudresourcemanagerV1::
|
777
|
+
# Name of the resource to list Policies for.
|
778
|
+
# @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object
|
746
779
|
# @param [String] fields
|
747
780
|
# Selector specifying which fields to include in a partial response.
|
748
781
|
# @param [String] quota_user
|
@@ -752,20 +785,20 @@ module Google
|
|
752
785
|
# Request-specific options
|
753
786
|
#
|
754
787
|
# @yield [result, err] Result & error if block supplied
|
755
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::
|
788
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object
|
756
789
|
# @yieldparam err [StandardError] error object if request failed
|
757
790
|
#
|
758
|
-
# @return [Google::Apis::CloudresourcemanagerV1::
|
791
|
+
# @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse]
|
759
792
|
#
|
760
793
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
761
794
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
762
795
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
763
|
-
def
|
764
|
-
command = make_simple_command(:post, 'v1/{+resource}:
|
765
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::
|
766
|
-
command.request_object =
|
767
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1::
|
768
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1::
|
796
|
+
def list_project_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
797
|
+
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
|
798
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
|
799
|
+
command.request_object = list_org_policies_request_object
|
800
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
|
801
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse
|
769
802
|
command.params['resource'] = resource unless resource.nil?
|
770
803
|
command.query['fields'] = fields unless fields.nil?
|
771
804
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1363,39 +1396,6 @@ module Google
|
|
1363
1396
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1364
1397
|
execute_or_queue_command(command, &block)
|
1365
1398
|
end
|
1366
|
-
|
1367
|
-
# Lists all the `Policies` set for a particular resource.
|
1368
|
-
# @param [String] resource
|
1369
|
-
# Name of the resource to list Policies for.
|
1370
|
-
# @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object
|
1371
|
-
# @param [String] fields
|
1372
|
-
# Selector specifying which fields to include in a partial response.
|
1373
|
-
# @param [String] quota_user
|
1374
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1375
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1376
|
-
# @param [Google::Apis::RequestOptions] options
|
1377
|
-
# Request-specific options
|
1378
|
-
#
|
1379
|
-
# @yield [result, err] Result & error if block supplied
|
1380
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object
|
1381
|
-
# @yieldparam err [StandardError] error object if request failed
|
1382
|
-
#
|
1383
|
-
# @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse]
|
1384
|
-
#
|
1385
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1386
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1387
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1388
|
-
def list_project_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1389
|
-
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
|
1390
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
|
1391
|
-
command.request_object = list_org_policies_request_object
|
1392
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
|
1393
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse
|
1394
|
-
command.params['resource'] = resource unless resource.nil?
|
1395
|
-
command.query['fields'] = fields unless fields.nil?
|
1396
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1397
|
-
execute_or_queue_command(command, &block)
|
1398
|
-
end
|
1399
1399
|
|
1400
1400
|
protected
|
1401
1401
|
|
@@ -22,272 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudresourcemanagerV1beta1
|
24
24
|
|
25
|
-
# A Project is a high-level Google Cloud Platform entity. It is a
|
26
|
-
# container for ACLs, APIs, App Engine Apps, VMs, and other
|
27
|
-
# Google Cloud Platform resources.
|
28
|
-
class Project
|
29
|
-
include Google::Apis::Core::Hashable
|
30
|
-
|
31
|
-
# The number uniquely identifying the project.
|
32
|
-
# Example: <code>415104041262</code>
|
33
|
-
# Read-only.
|
34
|
-
# Corresponds to the JSON property `projectNumber`
|
35
|
-
# @return [Fixnum]
|
36
|
-
attr_accessor :project_number
|
37
|
-
|
38
|
-
# A container to reference an id for any resource type. A `resource` in Google
|
39
|
-
# Cloud Platform is a generic term for something you (a developer) may want to
|
40
|
-
# interact with through one of our API's. Some examples are an App Engine app,
|
41
|
-
# a Compute Engine instance, a Cloud SQL database, and so on.
|
42
|
-
# Corresponds to the JSON property `parent`
|
43
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
|
44
|
-
attr_accessor :parent
|
45
|
-
|
46
|
-
# Creation time.
|
47
|
-
# Read-only.
|
48
|
-
# Corresponds to the JSON property `createTime`
|
49
|
-
# @return [String]
|
50
|
-
attr_accessor :create_time
|
51
|
-
|
52
|
-
# The labels associated with this Project.
|
53
|
-
# Label keys must be between 1 and 63 characters long and must conform
|
54
|
-
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
|
55
|
-
# Label values must be between 0 and 63 characters long and must conform
|
56
|
-
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
|
57
|
-
# No more than 256 labels can be associated with a given resource.
|
58
|
-
# Clients should store labels in a representation such as JSON that does not
|
59
|
-
# depend on specific characters being disallowed.
|
60
|
-
# Example: <code>"environment" : "dev"</code>
|
61
|
-
# Read-write.
|
62
|
-
# Corresponds to the JSON property `labels`
|
63
|
-
# @return [Hash<String,String>]
|
64
|
-
attr_accessor :labels
|
65
|
-
|
66
|
-
# The user-assigned display name of the Project.
|
67
|
-
# It must be 4 to 30 characters.
|
68
|
-
# Allowed characters are: lowercase and uppercase letters, numbers,
|
69
|
-
# hyphen, single-quote, double-quote, space, and exclamation point.
|
70
|
-
# Example: <code>My Project</code>
|
71
|
-
# Read-write.
|
72
|
-
# Corresponds to the JSON property `name`
|
73
|
-
# @return [String]
|
74
|
-
attr_accessor :name
|
75
|
-
|
76
|
-
# The unique, user-assigned ID of the Project.
|
77
|
-
# It must be 6 to 30 lowercase letters, digits, or hyphens.
|
78
|
-
# It must start with a letter.
|
79
|
-
# Trailing hyphens are prohibited.
|
80
|
-
# Example: <code>tokyo-rain-123</code>
|
81
|
-
# Read-only after creation.
|
82
|
-
# Corresponds to the JSON property `projectId`
|
83
|
-
# @return [String]
|
84
|
-
attr_accessor :project_id
|
85
|
-
|
86
|
-
# The Project lifecycle state.
|
87
|
-
# Read-only.
|
88
|
-
# Corresponds to the JSON property `lifecycleState`
|
89
|
-
# @return [String]
|
90
|
-
attr_accessor :lifecycle_state
|
91
|
-
|
92
|
-
def initialize(**args)
|
93
|
-
update!(**args)
|
94
|
-
end
|
95
|
-
|
96
|
-
# Update properties of this object
|
97
|
-
def update!(**args)
|
98
|
-
@project_number = args[:project_number] if args.key?(:project_number)
|
99
|
-
@parent = args[:parent] if args.key?(:parent)
|
100
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
101
|
-
@labels = args[:labels] if args.key?(:labels)
|
102
|
-
@name = args[:name] if args.key?(:name)
|
103
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
104
|
-
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
# Request message for `TestIamPermissions` method.
|
109
|
-
class TestIamPermissionsRequest
|
110
|
-
include Google::Apis::Core::Hashable
|
111
|
-
|
112
|
-
# The set of permissions to check for the `resource`. Permissions with
|
113
|
-
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
114
|
-
# information see
|
115
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
116
|
-
# Corresponds to the JSON property `permissions`
|
117
|
-
# @return [Array<String>]
|
118
|
-
attr_accessor :permissions
|
119
|
-
|
120
|
-
def initialize(**args)
|
121
|
-
update!(**args)
|
122
|
-
end
|
123
|
-
|
124
|
-
# Update properties of this object
|
125
|
-
def update!(**args)
|
126
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
127
|
-
end
|
128
|
-
end
|
129
|
-
|
130
|
-
# Defines an Identity and Access Management (IAM) policy. It is used to
|
131
|
-
# specify access control policies for Cloud Platform resources.
|
132
|
-
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
133
|
-
# `members` to a `role`, where the members can be user accounts, Google groups,
|
134
|
-
# Google domains, and service accounts. A `role` is a named list of permissions
|
135
|
-
# defined by IAM.
|
136
|
-
# **Example**
|
137
|
-
# `
|
138
|
-
# "bindings": [
|
139
|
-
# `
|
140
|
-
# "role": "roles/owner",
|
141
|
-
# "members": [
|
142
|
-
# "user:mike@example.com",
|
143
|
-
# "group:admins@example.com",
|
144
|
-
# "domain:google.com",
|
145
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com",
|
146
|
-
# ]
|
147
|
-
# `,
|
148
|
-
# `
|
149
|
-
# "role": "roles/viewer",
|
150
|
-
# "members": ["user:sean@example.com"]
|
151
|
-
# `
|
152
|
-
# ]
|
153
|
-
# `
|
154
|
-
# For a description of IAM and its features, see the
|
155
|
-
# [IAM developer's guide](https://cloud.google.com/iam).
|
156
|
-
class Policy
|
157
|
-
include Google::Apis::Core::Hashable
|
158
|
-
|
159
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
160
|
-
# prevent simultaneous updates of a policy from overwriting each other.
|
161
|
-
# It is strongly suggested that systems make use of the `etag` in the
|
162
|
-
# read-modify-write cycle to perform policy updates in order to avoid race
|
163
|
-
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
164
|
-
# systems are expected to put that etag in the request to `setIamPolicy` to
|
165
|
-
# ensure that their change will be applied to the same version of the policy.
|
166
|
-
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
167
|
-
# policy is overwritten blindly.
|
168
|
-
# Corresponds to the JSON property `etag`
|
169
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
170
|
-
# @return [String]
|
171
|
-
attr_accessor :etag
|
172
|
-
|
173
|
-
# Version of the `Policy`. The default version is 0.
|
174
|
-
# Corresponds to the JSON property `version`
|
175
|
-
# @return [Fixnum]
|
176
|
-
attr_accessor :version
|
177
|
-
|
178
|
-
# Specifies cloud audit logging configuration for this policy.
|
179
|
-
# Corresponds to the JSON property `auditConfigs`
|
180
|
-
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
|
181
|
-
attr_accessor :audit_configs
|
182
|
-
|
183
|
-
# Associates a list of `members` to a `role`.
|
184
|
-
# Multiple `bindings` must not be specified for the same `role`.
|
185
|
-
# `bindings` with no members will result in an error.
|
186
|
-
# Corresponds to the JSON property `bindings`
|
187
|
-
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
|
188
|
-
attr_accessor :bindings
|
189
|
-
|
190
|
-
def initialize(**args)
|
191
|
-
update!(**args)
|
192
|
-
end
|
193
|
-
|
194
|
-
# Update properties of this object
|
195
|
-
def update!(**args)
|
196
|
-
@etag = args[:etag] if args.key?(:etag)
|
197
|
-
@version = args[:version] if args.key?(:version)
|
198
|
-
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
199
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
200
|
-
end
|
201
|
-
end
|
202
|
-
|
203
|
-
# Metadata describing a long running folder operation
|
204
|
-
class FolderOperation
|
205
|
-
include Google::Apis::Core::Hashable
|
206
|
-
|
207
|
-
# The resource name of the folder or organization we are either creating
|
208
|
-
# the folder under or moving the folder to.
|
209
|
-
# Corresponds to the JSON property `destinationParent`
|
210
|
-
# @return [String]
|
211
|
-
attr_accessor :destination_parent
|
212
|
-
|
213
|
-
# The type of this operation.
|
214
|
-
# Corresponds to the JSON property `operationType`
|
215
|
-
# @return [String]
|
216
|
-
attr_accessor :operation_type
|
217
|
-
|
218
|
-
# The display name of the folder.
|
219
|
-
# Corresponds to the JSON property `displayName`
|
220
|
-
# @return [String]
|
221
|
-
attr_accessor :display_name
|
222
|
-
|
223
|
-
# The resource name of the folder's parent.
|
224
|
-
# Only applicable when the operation_type is MOVE.
|
225
|
-
# Corresponds to the JSON property `sourceParent`
|
226
|
-
# @return [String]
|
227
|
-
attr_accessor :source_parent
|
228
|
-
|
229
|
-
def initialize(**args)
|
230
|
-
update!(**args)
|
231
|
-
end
|
232
|
-
|
233
|
-
# Update properties of this object
|
234
|
-
def update!(**args)
|
235
|
-
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
236
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
237
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
238
|
-
@source_parent = args[:source_parent] if args.key?(:source_parent)
|
239
|
-
end
|
240
|
-
end
|
241
|
-
|
242
|
-
# A classification of the Folder Operation error.
|
243
|
-
class FolderOperationError
|
244
|
-
include Google::Apis::Core::Hashable
|
245
|
-
|
246
|
-
# The type of operation error experienced.
|
247
|
-
# Corresponds to the JSON property `errorMessageId`
|
248
|
-
# @return [String]
|
249
|
-
attr_accessor :error_message_id
|
250
|
-
|
251
|
-
def initialize(**args)
|
252
|
-
update!(**args)
|
253
|
-
end
|
254
|
-
|
255
|
-
# Update properties of this object
|
256
|
-
def update!(**args)
|
257
|
-
@error_message_id = args[:error_message_id] if args.key?(:error_message_id)
|
258
|
-
end
|
259
|
-
end
|
260
|
-
|
261
|
-
# A container to reference an id for any resource type. A `resource` in Google
|
262
|
-
# Cloud Platform is a generic term for something you (a developer) may want to
|
263
|
-
# interact with through one of our API's. Some examples are an App Engine app,
|
264
|
-
# a Compute Engine instance, a Cloud SQL database, and so on.
|
265
|
-
class ResourceId
|
266
|
-
include Google::Apis::Core::Hashable
|
267
|
-
|
268
|
-
# Required field for the type-specific id. This should correspond to the id
|
269
|
-
# used in the type-specific API's.
|
270
|
-
# Corresponds to the JSON property `id`
|
271
|
-
# @return [String]
|
272
|
-
attr_accessor :id
|
273
|
-
|
274
|
-
# Required field representing the resource type this id is for.
|
275
|
-
# At present, the valid types are "project" and "organization".
|
276
|
-
# Corresponds to the JSON property `type`
|
277
|
-
# @return [String]
|
278
|
-
attr_accessor :type
|
279
|
-
|
280
|
-
def initialize(**args)
|
281
|
-
update!(**args)
|
282
|
-
end
|
283
|
-
|
284
|
-
# Update properties of this object
|
285
|
-
def update!(**args)
|
286
|
-
@id = args[:id] if args.key?(:id)
|
287
|
-
@type = args[:type] if args.key?(:type)
|
288
|
-
end
|
289
|
-
end
|
290
|
-
|
291
25
|
# Specifies the audit configuration for a service.
|
292
26
|
# The configuration determines which permission types are logged, and what
|
293
27
|
# identities, if any, are exempted from logging.
|
@@ -338,6 +72,12 @@ module Google
|
|
338
72
|
class AuditConfig
|
339
73
|
include Google::Apis::Core::Hashable
|
340
74
|
|
75
|
+
# The configuration for logging of each type of permission.
|
76
|
+
# Next ID: 4
|
77
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
78
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
|
79
|
+
attr_accessor :audit_log_configs
|
80
|
+
|
341
81
|
# Specifies a service that will be enabled for audit logging.
|
342
82
|
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
343
83
|
# `allServices` is a special value that covers all services.
|
@@ -345,20 +85,14 @@ module Google
|
|
345
85
|
# @return [String]
|
346
86
|
attr_accessor :service
|
347
87
|
|
348
|
-
# The configuration for logging of each type of permission.
|
349
|
-
# Next ID: 4
|
350
|
-
# Corresponds to the JSON property `auditLogConfigs`
|
351
|
-
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
|
352
|
-
attr_accessor :audit_log_configs
|
353
|
-
|
354
88
|
def initialize(**args)
|
355
89
|
update!(**args)
|
356
90
|
end
|
357
91
|
|
358
92
|
# Update properties of this object
|
359
93
|
def update!(**args)
|
360
|
-
@service = args[:service] if args.key?(:service)
|
361
94
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
95
|
+
@service = args[:service] if args.key?(:service)
|
362
96
|
end
|
363
97
|
end
|
364
98
|
|
@@ -384,6 +118,35 @@ module Google
|
|
384
118
|
end
|
385
119
|
end
|
386
120
|
|
121
|
+
# The response returned from the `ListOrganizations` method.
|
122
|
+
class ListOrganizationsResponse
|
123
|
+
include Google::Apis::Core::Hashable
|
124
|
+
|
125
|
+
# A pagination token to be used to retrieve the next page of results. If the
|
126
|
+
# result is too large to fit within the page size specified in the request,
|
127
|
+
# this field will be set with a token that can be used to fetch the next page
|
128
|
+
# of results. If this field is empty, it indicates that this response
|
129
|
+
# contains the last page of results.
|
130
|
+
# Corresponds to the JSON property `nextPageToken`
|
131
|
+
# @return [String]
|
132
|
+
attr_accessor :next_page_token
|
133
|
+
|
134
|
+
# The list of Organizations that matched the list query, possibly paginated.
|
135
|
+
# Corresponds to the JSON property `organizations`
|
136
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>]
|
137
|
+
attr_accessor :organizations
|
138
|
+
|
139
|
+
def initialize(**args)
|
140
|
+
update!(**args)
|
141
|
+
end
|
142
|
+
|
143
|
+
# Update properties of this object
|
144
|
+
def update!(**args)
|
145
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
146
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
387
150
|
# Request message for `SetIamPolicy` method.
|
388
151
|
class SetIamPolicyRequest
|
389
152
|
include Google::Apis::Core::Hashable
|
@@ -433,28 +196,193 @@ module Google
|
|
433
196
|
|
434
197
|
# Update properties of this object
|
435
198
|
def update!(**args)
|
436
|
-
@policy = args[:policy] if args.key?(:policy)
|
437
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
199
|
+
@policy = args[:policy] if args.key?(:policy)
|
200
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# Associates `members` with a `role`.
|
205
|
+
class Binding
|
206
|
+
include Google::Apis::Core::Hashable
|
207
|
+
|
208
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
209
|
+
# `members` can have the following values:
|
210
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
211
|
+
# on the internet; with or without a Google account.
|
212
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
213
|
+
# who is authenticated with a Google account or a service account.
|
214
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
215
|
+
# account. For example, `alice@gmail.com` or `joe@example.com`.
|
216
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
217
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
218
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
219
|
+
# For example, `admins@example.com`.
|
220
|
+
# * `domain:`domain``: A Google Apps domain name that represents all the
|
221
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
222
|
+
# Corresponds to the JSON property `members`
|
223
|
+
# @return [Array<String>]
|
224
|
+
attr_accessor :members
|
225
|
+
|
226
|
+
# Role that is assigned to `members`.
|
227
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
228
|
+
# Required
|
229
|
+
# Corresponds to the JSON property `role`
|
230
|
+
# @return [String]
|
231
|
+
attr_accessor :role
|
232
|
+
|
233
|
+
def initialize(**args)
|
234
|
+
update!(**args)
|
235
|
+
end
|
236
|
+
|
237
|
+
# Update properties of this object
|
238
|
+
def update!(**args)
|
239
|
+
@members = args[:members] if args.key?(:members)
|
240
|
+
@role = args[:role] if args.key?(:role)
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
245
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
246
|
+
# or the response type of an API method. For instance:
|
247
|
+
# service Foo `
|
248
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
249
|
+
# `
|
250
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
251
|
+
class Empty
|
252
|
+
include Google::Apis::Core::Hashable
|
253
|
+
|
254
|
+
def initialize(**args)
|
255
|
+
update!(**args)
|
256
|
+
end
|
257
|
+
|
258
|
+
# Update properties of this object
|
259
|
+
def update!(**args)
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
# The root node in the resource hierarchy to which a particular entity's
|
264
|
+
# (e.g., company) resources belong.
|
265
|
+
class Organization
|
266
|
+
include Google::Apis::Core::Hashable
|
267
|
+
|
268
|
+
# Timestamp when the Organization was created. Assigned by the server.
|
269
|
+
# @OutputOnly
|
270
|
+
# Corresponds to the JSON property `creationTime`
|
271
|
+
# @return [String]
|
272
|
+
attr_accessor :creation_time
|
273
|
+
|
274
|
+
# The entity that owns an Organization. The lifetime of the Organization and
|
275
|
+
# all of its descendants are bound to the `OrganizationOwner`. If the
|
276
|
+
# `OrganizationOwner` is deleted, the Organization and all its descendants will
|
277
|
+
# be deleted.
|
278
|
+
# Corresponds to the JSON property `owner`
|
279
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
|
280
|
+
attr_accessor :owner
|
281
|
+
|
282
|
+
# Output Only. The resource name of the organization. This is the
|
283
|
+
# organization's relative path in the API. Its format is
|
284
|
+
# "organizations/[organization_id]". For example, "organizations/1234".
|
285
|
+
# Corresponds to the JSON property `name`
|
286
|
+
# @return [String]
|
287
|
+
attr_accessor :name
|
288
|
+
|
289
|
+
# An immutable id for the Organization that is assigned on creation. This
|
290
|
+
# should be omitted when creating a new Organization.
|
291
|
+
# This field is read-only.
|
292
|
+
# This field is deprecated and will be removed in v1. Use name instead.
|
293
|
+
# Corresponds to the JSON property `organizationId`
|
294
|
+
# @return [String]
|
295
|
+
attr_accessor :organization_id
|
296
|
+
|
297
|
+
# The organization's current lifecycle state. Assigned by the server.
|
298
|
+
# @OutputOnly
|
299
|
+
# Corresponds to the JSON property `lifecycleState`
|
300
|
+
# @return [String]
|
301
|
+
attr_accessor :lifecycle_state
|
302
|
+
|
303
|
+
# A friendly string to be used to refer to the Organization in the UI.
|
304
|
+
# Assigned by the server, set to the primary domain of the G Suite
|
305
|
+
# customer that owns the organization.
|
306
|
+
# @OutputOnly
|
307
|
+
# Corresponds to the JSON property `displayName`
|
308
|
+
# @return [String]
|
309
|
+
attr_accessor :display_name
|
310
|
+
|
311
|
+
def initialize(**args)
|
312
|
+
update!(**args)
|
313
|
+
end
|
314
|
+
|
315
|
+
# Update properties of this object
|
316
|
+
def update!(**args)
|
317
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
318
|
+
@owner = args[:owner] if args.key?(:owner)
|
319
|
+
@name = args[:name] if args.key?(:name)
|
320
|
+
@organization_id = args[:organization_id] if args.key?(:organization_id)
|
321
|
+
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
322
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
# The request sent to the UndeleteProject
|
327
|
+
# method.
|
328
|
+
class UndeleteProjectRequest
|
329
|
+
include Google::Apis::Core::Hashable
|
330
|
+
|
331
|
+
def initialize(**args)
|
332
|
+
update!(**args)
|
333
|
+
end
|
334
|
+
|
335
|
+
# Update properties of this object
|
336
|
+
def update!(**args)
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
# A status object which is used as the `metadata` field for the Operation
|
341
|
+
# returned by CreateProject. It provides insight for when significant phases of
|
342
|
+
# Project creation have completed.
|
343
|
+
class ProjectCreationStatus
|
344
|
+
include Google::Apis::Core::Hashable
|
345
|
+
|
346
|
+
# True if the project creation process is complete.
|
347
|
+
# Corresponds to the JSON property `ready`
|
348
|
+
# @return [Boolean]
|
349
|
+
attr_accessor :ready
|
350
|
+
alias_method :ready?, :ready
|
351
|
+
|
352
|
+
# Creation time of the project creation workflow.
|
353
|
+
# Corresponds to the JSON property `createTime`
|
354
|
+
# @return [String]
|
355
|
+
attr_accessor :create_time
|
356
|
+
|
357
|
+
# True if the project can be retrieved using GetProject. No other operations
|
358
|
+
# on the project are guaranteed to work until the project creation is
|
359
|
+
# complete.
|
360
|
+
# Corresponds to the JSON property `gettable`
|
361
|
+
# @return [Boolean]
|
362
|
+
attr_accessor :gettable
|
363
|
+
alias_method :gettable?, :gettable
|
364
|
+
|
365
|
+
def initialize(**args)
|
366
|
+
update!(**args)
|
367
|
+
end
|
368
|
+
|
369
|
+
# Update properties of this object
|
370
|
+
def update!(**args)
|
371
|
+
@ready = args[:ready] if args.key?(:ready)
|
372
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
373
|
+
@gettable = args[:gettable] if args.key?(:gettable)
|
438
374
|
end
|
439
375
|
end
|
440
376
|
|
441
|
-
#
|
442
|
-
class
|
377
|
+
# Response message for `TestIamPermissions` method.
|
378
|
+
class TestIamPermissionsResponse
|
443
379
|
include Google::Apis::Core::Hashable
|
444
380
|
|
445
|
-
#
|
446
|
-
#
|
447
|
-
#
|
448
|
-
|
449
|
-
|
450
|
-
# A pagination token to be used to retrieve the next page of results. If the
|
451
|
-
# result is too large to fit within the page size specified in the request,
|
452
|
-
# this field will be set with a token that can be used to fetch the next page
|
453
|
-
# of results. If this field is empty, it indicates that this response
|
454
|
-
# contains the last page of results.
|
455
|
-
# Corresponds to the JSON property `nextPageToken`
|
456
|
-
# @return [String]
|
457
|
-
attr_accessor :next_page_token
|
381
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
382
|
+
# allowed.
|
383
|
+
# Corresponds to the JSON property `permissions`
|
384
|
+
# @return [Array<String>]
|
385
|
+
attr_accessor :permissions
|
458
386
|
|
459
387
|
def initialize(**args)
|
460
388
|
update!(**args)
|
@@ -462,39 +390,33 @@ module Google
|
|
462
390
|
|
463
391
|
# Update properties of this object
|
464
392
|
def update!(**args)
|
465
|
-
@
|
466
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
393
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
467
394
|
end
|
468
395
|
end
|
469
396
|
|
470
|
-
#
|
471
|
-
class
|
397
|
+
# Request message for `GetIamPolicy` method.
|
398
|
+
class GetIamPolicyRequest
|
472
399
|
include Google::Apis::Core::Hashable
|
473
400
|
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
# on the internet; with or without a Google account.
|
478
|
-
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
479
|
-
# who is authenticated with a Google account or a service account.
|
480
|
-
# * `user:`emailid``: An email address that represents a specific Google
|
481
|
-
# account. For example, `alice@gmail.com` or `joe@example.com`.
|
482
|
-
# * `serviceAccount:`emailid``: An email address that represents a service
|
483
|
-
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
484
|
-
# * `group:`emailid``: An email address that represents a Google group.
|
485
|
-
# For example, `admins@example.com`.
|
486
|
-
# * `domain:`domain``: A Google Apps domain name that represents all the
|
487
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
488
|
-
# Corresponds to the JSON property `members`
|
489
|
-
# @return [Array<String>]
|
490
|
-
attr_accessor :members
|
401
|
+
def initialize(**args)
|
402
|
+
update!(**args)
|
403
|
+
end
|
491
404
|
|
492
|
-
#
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
405
|
+
# Update properties of this object
|
406
|
+
def update!(**args)
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
# Response from the GetAncestry method.
|
411
|
+
class GetAncestryResponse
|
412
|
+
include Google::Apis::Core::Hashable
|
413
|
+
|
414
|
+
# Ancestors are ordered from bottom to top of the resource hierarchy. The
|
415
|
+
# first ancestor is the project itself, followed by the project's parent,
|
416
|
+
# etc.
|
417
|
+
# Corresponds to the JSON property `ancestor`
|
418
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
|
419
|
+
attr_accessor :ancestor
|
498
420
|
|
499
421
|
def initialize(**args)
|
500
422
|
update!(**args)
|
@@ -502,77 +424,101 @@ module Google
|
|
502
424
|
|
503
425
|
# Update properties of this object
|
504
426
|
def update!(**args)
|
505
|
-
@
|
506
|
-
@role = args[:role] if args.key?(:role)
|
427
|
+
@ancestor = args[:ancestor] if args.key?(:ancestor)
|
507
428
|
end
|
508
429
|
end
|
509
430
|
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
|
515
|
-
# `
|
516
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
517
|
-
class Empty
|
431
|
+
# The entity that owns an Organization. The lifetime of the Organization and
|
432
|
+
# all of its descendants are bound to the `OrganizationOwner`. If the
|
433
|
+
# `OrganizationOwner` is deleted, the Organization and all its descendants will
|
434
|
+
# be deleted.
|
435
|
+
class OrganizationOwner
|
518
436
|
include Google::Apis::Core::Hashable
|
519
437
|
|
438
|
+
# The Google for Work customer id used in the Directory API.
|
439
|
+
# Corresponds to the JSON property `directoryCustomerId`
|
440
|
+
# @return [String]
|
441
|
+
attr_accessor :directory_customer_id
|
442
|
+
|
520
443
|
def initialize(**args)
|
521
444
|
update!(**args)
|
522
445
|
end
|
523
446
|
|
524
447
|
# Update properties of this object
|
525
448
|
def update!(**args)
|
449
|
+
@directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
|
526
450
|
end
|
527
451
|
end
|
528
452
|
|
529
|
-
#
|
530
|
-
#
|
531
|
-
|
453
|
+
# Provides the configuration for logging a type of permissions.
|
454
|
+
# Example:
|
455
|
+
# `
|
456
|
+
# "audit_log_configs": [
|
457
|
+
# `
|
458
|
+
# "log_type": "DATA_READ",
|
459
|
+
# "exempted_members": [
|
460
|
+
# "user:foo@gmail.com"
|
461
|
+
# ]
|
462
|
+
# `,
|
463
|
+
# `
|
464
|
+
# "log_type": "DATA_WRITE",
|
465
|
+
# `
|
466
|
+
# ]
|
467
|
+
# `
|
468
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
469
|
+
# foo@gmail.com from DATA_READ logging.
|
470
|
+
class AuditLogConfig
|
532
471
|
include Google::Apis::Core::Hashable
|
533
472
|
|
534
|
-
#
|
535
|
-
#
|
536
|
-
#
|
537
|
-
# Corresponds to the JSON property `
|
538
|
-
# @return [String]
|
539
|
-
attr_accessor :
|
473
|
+
# Specifies the identities that do not cause logging for this type of
|
474
|
+
# permission.
|
475
|
+
# Follows the same format of Binding.members.
|
476
|
+
# Corresponds to the JSON property `exemptedMembers`
|
477
|
+
# @return [Array<String>]
|
478
|
+
attr_accessor :exempted_members
|
540
479
|
|
541
|
-
#
|
542
|
-
#
|
543
|
-
# This field is read-only.
|
544
|
-
# This field is deprecated and will be removed in v1. Use name instead.
|
545
|
-
# Corresponds to the JSON property `organizationId`
|
480
|
+
# The log type that this config enables.
|
481
|
+
# Corresponds to the JSON property `logType`
|
546
482
|
# @return [String]
|
547
|
-
attr_accessor :
|
483
|
+
attr_accessor :log_type
|
548
484
|
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
# @return [String]
|
553
|
-
attr_accessor :lifecycle_state
|
485
|
+
def initialize(**args)
|
486
|
+
update!(**args)
|
487
|
+
end
|
554
488
|
|
555
|
-
#
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
attr_accessor :display_name
|
489
|
+
# Update properties of this object
|
490
|
+
def update!(**args)
|
491
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
492
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
493
|
+
end
|
494
|
+
end
|
562
495
|
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
496
|
+
# A page of the response received from the
|
497
|
+
# ListProjects
|
498
|
+
# method.
|
499
|
+
# A paginated response where more pages are available has
|
500
|
+
# `next_page_token` set. This token can be used in a subsequent request to
|
501
|
+
# retrieve the next request page.
|
502
|
+
class ListProjectsResponse
|
503
|
+
include Google::Apis::Core::Hashable
|
568
504
|
|
569
|
-
# The
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
|
574
|
-
|
575
|
-
|
505
|
+
# The list of Projects that matched the list filter. This list can
|
506
|
+
# be paginated.
|
507
|
+
# Corresponds to the JSON property `projects`
|
508
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
|
509
|
+
attr_accessor :projects
|
510
|
+
|
511
|
+
# Pagination token.
|
512
|
+
# If the result set is too large to fit in a single response, this token
|
513
|
+
# is returned. It encodes the position of the current result cursor.
|
514
|
+
# Feeding this value into a new list request with the `page_token` parameter
|
515
|
+
# gives the next page of the results.
|
516
|
+
# When `next_page_token` is not filled in, there is no next page and
|
517
|
+
# the list returned is the last page in the result set.
|
518
|
+
# Pagination tokens have a limited lifetime.
|
519
|
+
# Corresponds to the JSON property `nextPageToken`
|
520
|
+
# @return [String]
|
521
|
+
attr_accessor :next_page_token
|
576
522
|
|
577
523
|
def initialize(**args)
|
578
524
|
update!(**args)
|
@@ -580,18 +526,15 @@ module Google
|
|
580
526
|
|
581
527
|
# Update properties of this object
|
582
528
|
def update!(**args)
|
583
|
-
@
|
584
|
-
@
|
585
|
-
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
586
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
587
|
-
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
588
|
-
@owner = args[:owner] if args.key?(:owner)
|
529
|
+
@projects = args[:projects] if args.key?(:projects)
|
530
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
589
531
|
end
|
590
532
|
end
|
591
533
|
|
592
|
-
# The request sent to the
|
534
|
+
# The request sent to the
|
535
|
+
# GetAncestry
|
593
536
|
# method.
|
594
|
-
class
|
537
|
+
class GetAncestryRequest
|
595
538
|
include Google::Apis::Core::Hashable
|
596
539
|
|
597
540
|
def initialize(**args)
|
@@ -603,30 +546,72 @@ module Google
|
|
603
546
|
end
|
604
547
|
end
|
605
548
|
|
606
|
-
# A
|
607
|
-
#
|
608
|
-
#
|
609
|
-
class
|
549
|
+
# A Project is a high-level Google Cloud Platform entity. It is a
|
550
|
+
# container for ACLs, APIs, App Engine Apps, VMs, and other
|
551
|
+
# Google Cloud Platform resources.
|
552
|
+
class Project
|
610
553
|
include Google::Apis::Core::Hashable
|
611
554
|
|
612
|
-
#
|
613
|
-
#
|
614
|
-
#
|
615
|
-
|
616
|
-
|
555
|
+
# The Project lifecycle state.
|
556
|
+
# Read-only.
|
557
|
+
# Corresponds to the JSON property `lifecycleState`
|
558
|
+
# @return [String]
|
559
|
+
attr_accessor :lifecycle_state
|
560
|
+
|
561
|
+
# The number uniquely identifying the project.
|
562
|
+
# Example: <code>415104041262</code>
|
563
|
+
# Read-only.
|
564
|
+
# Corresponds to the JSON property `projectNumber`
|
565
|
+
# @return [Fixnum]
|
566
|
+
attr_accessor :project_number
|
567
|
+
|
568
|
+
# A container to reference an id for any resource type. A `resource` in Google
|
569
|
+
# Cloud Platform is a generic term for something you (a developer) may want to
|
570
|
+
# interact with through one of our API's. Some examples are an App Engine app,
|
571
|
+
# a Compute Engine instance, a Cloud SQL database, and so on.
|
572
|
+
# Corresponds to the JSON property `parent`
|
573
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
|
574
|
+
attr_accessor :parent
|
575
|
+
|
576
|
+
# Creation time.
|
577
|
+
# Read-only.
|
578
|
+
# Corresponds to the JSON property `createTime`
|
579
|
+
# @return [String]
|
580
|
+
attr_accessor :create_time
|
581
|
+
|
582
|
+
# The labels associated with this Project.
|
583
|
+
# Label keys must be between 1 and 63 characters long and must conform
|
584
|
+
# to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
|
585
|
+
# Label values must be between 0 and 63 characters long and must conform
|
586
|
+
# to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
|
587
|
+
# No more than 256 labels can be associated with a given resource.
|
588
|
+
# Clients should store labels in a representation such as JSON that does not
|
589
|
+
# depend on specific characters being disallowed.
|
590
|
+
# Example: <code>"environment" : "dev"</code>
|
591
|
+
# Read-write.
|
592
|
+
# Corresponds to the JSON property `labels`
|
593
|
+
# @return [Hash<String,String>]
|
594
|
+
attr_accessor :labels
|
617
595
|
|
618
|
-
#
|
619
|
-
#
|
596
|
+
# The user-assigned display name of the Project.
|
597
|
+
# It must be 4 to 30 characters.
|
598
|
+
# Allowed characters are: lowercase and uppercase letters, numbers,
|
599
|
+
# hyphen, single-quote, double-quote, space, and exclamation point.
|
600
|
+
# Example: <code>My Project</code>
|
601
|
+
# Read-write.
|
602
|
+
# Corresponds to the JSON property `name`
|
620
603
|
# @return [String]
|
621
|
-
attr_accessor :
|
604
|
+
attr_accessor :name
|
622
605
|
|
623
|
-
#
|
624
|
-
#
|
625
|
-
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
|
629
|
-
|
606
|
+
# The unique, user-assigned ID of the Project.
|
607
|
+
# It must be 6 to 30 lowercase letters, digits, or hyphens.
|
608
|
+
# It must start with a letter.
|
609
|
+
# Trailing hyphens are prohibited.
|
610
|
+
# Example: <code>tokyo-rain-123</code>
|
611
|
+
# Read-only after creation.
|
612
|
+
# Corresponds to the JSON property `projectId`
|
613
|
+
# @return [String]
|
614
|
+
attr_accessor :project_id
|
630
615
|
|
631
616
|
def initialize(**args)
|
632
617
|
update!(**args)
|
@@ -634,18 +619,24 @@ module Google
|
|
634
619
|
|
635
620
|
# Update properties of this object
|
636
621
|
def update!(**args)
|
637
|
-
@
|
622
|
+
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
623
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
624
|
+
@parent = args[:parent] if args.key?(:parent)
|
638
625
|
@create_time = args[:create_time] if args.key?(:create_time)
|
639
|
-
@
|
626
|
+
@labels = args[:labels] if args.key?(:labels)
|
627
|
+
@name = args[:name] if args.key?(:name)
|
628
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
640
629
|
end
|
641
630
|
end
|
642
631
|
|
643
|
-
#
|
644
|
-
class
|
632
|
+
# Request message for `TestIamPermissions` method.
|
633
|
+
class TestIamPermissionsRequest
|
645
634
|
include Google::Apis::Core::Hashable
|
646
635
|
|
647
|
-
#
|
648
|
-
# allowed.
|
636
|
+
# The set of permissions to check for the `resource`. Permissions with
|
637
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
638
|
+
# information see
|
639
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
649
640
|
# Corresponds to the JSON property `permissions`
|
650
641
|
# @return [Array<String>]
|
651
642
|
attr_accessor :permissions
|
@@ -660,29 +651,65 @@ module Google
|
|
660
651
|
end
|
661
652
|
end
|
662
653
|
|
663
|
-
#
|
664
|
-
|
654
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
655
|
+
# specify access control policies for Cloud Platform resources.
|
656
|
+
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
657
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
658
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
659
|
+
# defined by IAM.
|
660
|
+
# **Example**
|
661
|
+
# `
|
662
|
+
# "bindings": [
|
663
|
+
# `
|
664
|
+
# "role": "roles/owner",
|
665
|
+
# "members": [
|
666
|
+
# "user:mike@example.com",
|
667
|
+
# "group:admins@example.com",
|
668
|
+
# "domain:google.com",
|
669
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com",
|
670
|
+
# ]
|
671
|
+
# `,
|
672
|
+
# `
|
673
|
+
# "role": "roles/viewer",
|
674
|
+
# "members": ["user:sean@example.com"]
|
675
|
+
# `
|
676
|
+
# ]
|
677
|
+
# `
|
678
|
+
# For a description of IAM and its features, see the
|
679
|
+
# [IAM developer's guide](https://cloud.google.com/iam).
|
680
|
+
class Policy
|
665
681
|
include Google::Apis::Core::Hashable
|
666
682
|
|
667
|
-
|
668
|
-
|
669
|
-
|
683
|
+
# Version of the `Policy`. The default version is 0.
|
684
|
+
# Corresponds to the JSON property `version`
|
685
|
+
# @return [Fixnum]
|
686
|
+
attr_accessor :version
|
670
687
|
|
671
|
-
#
|
672
|
-
|
673
|
-
|
674
|
-
|
688
|
+
# Specifies cloud audit logging configuration for this policy.
|
689
|
+
# Corresponds to the JSON property `auditConfigs`
|
690
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
|
691
|
+
attr_accessor :audit_configs
|
675
692
|
|
676
|
-
|
677
|
-
|
678
|
-
|
693
|
+
# Associates a list of `members` to a `role`.
|
694
|
+
# Multiple `bindings` must not be specified for the same `role`.
|
695
|
+
# `bindings` with no members will result in an error.
|
696
|
+
# Corresponds to the JSON property `bindings`
|
697
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
|
698
|
+
attr_accessor :bindings
|
679
699
|
|
680
|
-
#
|
681
|
-
#
|
682
|
-
#
|
683
|
-
#
|
684
|
-
#
|
685
|
-
|
700
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
701
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
702
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
703
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
704
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
705
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
706
|
+
# ensure that their change will be applied to the same version of the policy.
|
707
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
708
|
+
# policy is overwritten blindly.
|
709
|
+
# Corresponds to the JSON property `etag`
|
710
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :etag
|
686
713
|
|
687
714
|
def initialize(**args)
|
688
715
|
update!(**args)
|
@@ -690,58 +717,38 @@ module Google
|
|
690
717
|
|
691
718
|
# Update properties of this object
|
692
719
|
def update!(**args)
|
693
|
-
@
|
720
|
+
@version = args[:version] if args.key?(:version)
|
721
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
722
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
723
|
+
@etag = args[:etag] if args.key?(:etag)
|
694
724
|
end
|
695
725
|
end
|
696
726
|
|
697
|
-
#
|
698
|
-
|
699
|
-
# `OrganizationOwner` is deleted, the Organization and all its descendants will
|
700
|
-
# be deleted.
|
701
|
-
class OrganizationOwner
|
727
|
+
# Metadata describing a long running folder operation
|
728
|
+
class FolderOperation
|
702
729
|
include Google::Apis::Core::Hashable
|
703
730
|
|
704
|
-
# The
|
705
|
-
# Corresponds to the JSON property `
|
731
|
+
# The display name of the folder.
|
732
|
+
# Corresponds to the JSON property `displayName`
|
706
733
|
# @return [String]
|
707
|
-
attr_accessor :
|
708
|
-
|
709
|
-
def initialize(**args)
|
710
|
-
update!(**args)
|
711
|
-
end
|
712
|
-
|
713
|
-
# Update properties of this object
|
714
|
-
def update!(**args)
|
715
|
-
@directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
|
716
|
-
end
|
717
|
-
end
|
734
|
+
attr_accessor :display_name
|
718
735
|
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
# retrieve the next request page.
|
725
|
-
class ListProjectsResponse
|
726
|
-
include Google::Apis::Core::Hashable
|
736
|
+
# The resource name of the folder's parent.
|
737
|
+
# Only applicable when the operation_type is MOVE.
|
738
|
+
# Corresponds to the JSON property `sourceParent`
|
739
|
+
# @return [String]
|
740
|
+
attr_accessor :source_parent
|
727
741
|
|
728
|
-
# The
|
729
|
-
#
|
730
|
-
# Corresponds to the JSON property `
|
731
|
-
# @return [
|
732
|
-
attr_accessor :
|
742
|
+
# The resource name of the folder or organization we are either creating
|
743
|
+
# the folder under or moving the folder to.
|
744
|
+
# Corresponds to the JSON property `destinationParent`
|
745
|
+
# @return [String]
|
746
|
+
attr_accessor :destination_parent
|
733
747
|
|
734
|
-
#
|
735
|
-
#
|
736
|
-
# is returned. It encodes the position of the current result cursor.
|
737
|
-
# Feeding this value into a new list request with the `page_token` parameter
|
738
|
-
# gives the next page of the results.
|
739
|
-
# When `next_page_token` is not filled in, there is no next page and
|
740
|
-
# the list returned is the last page in the result set.
|
741
|
-
# Pagination tokens have a limited lifetime.
|
742
|
-
# Corresponds to the JSON property `nextPageToken`
|
748
|
+
# The type of this operation.
|
749
|
+
# Corresponds to the JSON property `operationType`
|
743
750
|
# @return [String]
|
744
|
-
attr_accessor :
|
751
|
+
attr_accessor :operation_type
|
745
752
|
|
746
753
|
def initialize(**args)
|
747
754
|
update!(**args)
|
@@ -749,42 +756,21 @@ module Google
|
|
749
756
|
|
750
757
|
# Update properties of this object
|
751
758
|
def update!(**args)
|
752
|
-
@
|
753
|
-
@
|
759
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
760
|
+
@source_parent = args[:source_parent] if args.key?(:source_parent)
|
761
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
762
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
754
763
|
end
|
755
764
|
end
|
756
765
|
|
757
|
-
#
|
758
|
-
|
759
|
-
# `
|
760
|
-
# "audit_log_configs": [
|
761
|
-
# `
|
762
|
-
# "log_type": "DATA_READ",
|
763
|
-
# "exempted_members": [
|
764
|
-
# "user:foo@gmail.com"
|
765
|
-
# ]
|
766
|
-
# `,
|
767
|
-
# `
|
768
|
-
# "log_type": "DATA_WRITE",
|
769
|
-
# `
|
770
|
-
# ]
|
771
|
-
# `
|
772
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
773
|
-
# foo@gmail.com from DATA_READ logging.
|
774
|
-
class AuditLogConfig
|
766
|
+
# A classification of the Folder Operation error.
|
767
|
+
class FolderOperationError
|
775
768
|
include Google::Apis::Core::Hashable
|
776
769
|
|
777
|
-
#
|
778
|
-
#
|
779
|
-
# Follows the same format of Binding.members.
|
780
|
-
# Corresponds to the JSON property `exemptedMembers`
|
781
|
-
# @return [Array<String>]
|
782
|
-
attr_accessor :exempted_members
|
783
|
-
|
784
|
-
# The log type that this config enables.
|
785
|
-
# Corresponds to the JSON property `logType`
|
770
|
+
# The type of operation error experienced.
|
771
|
+
# Corresponds to the JSON property `errorMessageId`
|
786
772
|
# @return [String]
|
787
|
-
attr_accessor :
|
773
|
+
attr_accessor :error_message_id
|
788
774
|
|
789
775
|
def initialize(**args)
|
790
776
|
update!(**args)
|
@@ -792,23 +778,37 @@ module Google
|
|
792
778
|
|
793
779
|
# Update properties of this object
|
794
780
|
def update!(**args)
|
795
|
-
@
|
796
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
781
|
+
@error_message_id = args[:error_message_id] if args.key?(:error_message_id)
|
797
782
|
end
|
798
783
|
end
|
799
784
|
|
800
|
-
#
|
801
|
-
#
|
802
|
-
#
|
803
|
-
|
785
|
+
# A container to reference an id for any resource type. A `resource` in Google
|
786
|
+
# Cloud Platform is a generic term for something you (a developer) may want to
|
787
|
+
# interact with through one of our API's. Some examples are an App Engine app,
|
788
|
+
# a Compute Engine instance, a Cloud SQL database, and so on.
|
789
|
+
class ResourceId
|
804
790
|
include Google::Apis::Core::Hashable
|
805
791
|
|
792
|
+
# Required field representing the resource type this id is for.
|
793
|
+
# At present, the valid types are "project" and "organization".
|
794
|
+
# Corresponds to the JSON property `type`
|
795
|
+
# @return [String]
|
796
|
+
attr_accessor :type
|
797
|
+
|
798
|
+
# Required field for the type-specific id. This should correspond to the id
|
799
|
+
# used in the type-specific API's.
|
800
|
+
# Corresponds to the JSON property `id`
|
801
|
+
# @return [String]
|
802
|
+
attr_accessor :id
|
803
|
+
|
806
804
|
def initialize(**args)
|
807
805
|
update!(**args)
|
808
806
|
end
|
809
807
|
|
810
808
|
# Update properties of this object
|
811
809
|
def update!(**args)
|
810
|
+
@type = args[:type] if args.key?(:type)
|
811
|
+
@id = args[:id] if args.key?(:id)
|
812
812
|
end
|
813
813
|
end
|
814
814
|
end
|