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
@@ -22,42 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudresourcemanagerV1beta1
|
24
24
|
|
25
|
-
class Project
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class TestIamPermissionsRequest
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
|
-
class Policy
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
|
-
class FolderOperation
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
|
-
class FolderOperationError
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
|
-
class ResourceId
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
25
|
class AuditConfig
|
62
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
27
|
|
@@ -70,13 +34,13 @@ module Google
|
|
70
34
|
include Google::Apis::Core::JsonObjectSupport
|
71
35
|
end
|
72
36
|
|
73
|
-
class
|
37
|
+
class ListOrganizationsResponse
|
74
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
39
|
|
76
40
|
include Google::Apis::Core::JsonObjectSupport
|
77
41
|
end
|
78
42
|
|
79
|
-
class
|
43
|
+
class SetIamPolicyRequest
|
80
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
45
|
|
82
46
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -136,13 +100,13 @@ module Google
|
|
136
100
|
include Google::Apis::Core::JsonObjectSupport
|
137
101
|
end
|
138
102
|
|
139
|
-
class
|
103
|
+
class AuditLogConfig
|
140
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
105
|
|
142
106
|
include Google::Apis::Core::JsonObjectSupport
|
143
107
|
end
|
144
108
|
|
145
|
-
class
|
109
|
+
class ListProjectsResponse
|
146
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
111
|
|
148
112
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -155,69 +119,47 @@ module Google
|
|
155
119
|
end
|
156
120
|
|
157
121
|
class Project
|
158
|
-
|
159
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
-
property :project_number, :numeric_string => true, as: 'projectNumber'
|
161
|
-
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
162
123
|
|
163
|
-
|
164
|
-
hash :labels, as: 'labels'
|
165
|
-
property :name, as: 'name'
|
166
|
-
property :project_id, as: 'projectId'
|
167
|
-
property :lifecycle_state, as: 'lifecycleState'
|
168
|
-
end
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
169
125
|
end
|
170
126
|
|
171
127
|
class TestIamPermissionsRequest
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
end
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
176
131
|
end
|
177
132
|
|
178
133
|
class Policy
|
179
|
-
|
180
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
181
|
-
property :etag, :base64 => true, as: 'etag'
|
182
|
-
property :version, as: 'version'
|
183
|
-
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation
|
184
|
-
|
185
|
-
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
186
135
|
|
187
|
-
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
188
137
|
end
|
189
138
|
|
190
139
|
class FolderOperation
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
property :operation_type, as: 'operationType'
|
195
|
-
property :display_name, as: 'displayName'
|
196
|
-
property :source_parent, as: 'sourceParent'
|
197
|
-
end
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
198
143
|
end
|
199
144
|
|
200
145
|
class FolderOperationError
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
end
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
205
149
|
end
|
206
150
|
|
207
151
|
class ResourceId
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
property :type, as: 'type'
|
212
|
-
end
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
213
155
|
end
|
214
156
|
|
215
157
|
class AuditConfig
|
216
158
|
# @private
|
217
159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
218
|
-
property :service, as: 'service'
|
219
160
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig::Representation
|
220
161
|
|
162
|
+
property :service, as: 'service'
|
221
163
|
end
|
222
164
|
end
|
223
165
|
|
@@ -229,21 +171,21 @@ module Google
|
|
229
171
|
end
|
230
172
|
end
|
231
173
|
|
232
|
-
class
|
174
|
+
class ListOrganizationsResponse
|
233
175
|
# @private
|
234
176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
235
|
-
property :
|
177
|
+
property :next_page_token, as: 'nextPageToken'
|
178
|
+
collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1beta1::Organization, decorator: Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
236
179
|
|
237
|
-
property :update_mask, as: 'updateMask'
|
238
180
|
end
|
239
181
|
end
|
240
182
|
|
241
|
-
class
|
183
|
+
class SetIamPolicyRequest
|
242
184
|
# @private
|
243
185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
244
|
-
|
186
|
+
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
245
187
|
|
246
|
-
property :
|
188
|
+
property :update_mask, as: 'updateMask'
|
247
189
|
end
|
248
190
|
end
|
249
191
|
|
@@ -264,13 +206,13 @@ module Google
|
|
264
206
|
class Organization
|
265
207
|
# @private
|
266
208
|
class Representation < Google::Apis::Core::JsonRepresentation
|
209
|
+
property :creation_time, as: 'creationTime'
|
210
|
+
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
|
211
|
+
|
267
212
|
property :name, as: 'name'
|
268
213
|
property :organization_id, as: 'organizationId'
|
269
214
|
property :lifecycle_state, as: 'lifecycleState'
|
270
215
|
property :display_name, as: 'displayName'
|
271
|
-
property :creation_time, as: 'creationTime'
|
272
|
-
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
|
273
|
-
|
274
216
|
end
|
275
217
|
end
|
276
218
|
|
@@ -317,6 +259,14 @@ module Google
|
|
317
259
|
end
|
318
260
|
end
|
319
261
|
|
262
|
+
class AuditLogConfig
|
263
|
+
# @private
|
264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
265
|
+
collection :exempted_members, as: 'exemptedMembers'
|
266
|
+
property :log_type, as: 'logType'
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
320
270
|
class ListProjectsResponse
|
321
271
|
# @private
|
322
272
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -326,17 +276,67 @@ module Google
|
|
326
276
|
end
|
327
277
|
end
|
328
278
|
|
329
|
-
class
|
279
|
+
class GetAncestryRequest
|
330
280
|
# @private
|
331
281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
332
|
-
collection :exempted_members, as: 'exemptedMembers'
|
333
|
-
property :log_type, as: 'logType'
|
334
282
|
end
|
335
283
|
end
|
336
284
|
|
337
|
-
class
|
285
|
+
class Project
|
286
|
+
# @private
|
287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
+
property :lifecycle_state, as: 'lifecycleState'
|
289
|
+
property :project_number, :numeric_string => true, as: 'projectNumber'
|
290
|
+
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
|
291
|
+
|
292
|
+
property :create_time, as: 'createTime'
|
293
|
+
hash :labels, as: 'labels'
|
294
|
+
property :name, as: 'name'
|
295
|
+
property :project_id, as: 'projectId'
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
class TestIamPermissionsRequest
|
300
|
+
# @private
|
301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
+
collection :permissions, as: 'permissions'
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
class Policy
|
307
|
+
# @private
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
309
|
+
property :version, as: 'version'
|
310
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation
|
311
|
+
|
312
|
+
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
|
313
|
+
|
314
|
+
property :etag, :base64 => true, as: 'etag'
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
class FolderOperation
|
338
319
|
# @private
|
339
320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
+
property :display_name, as: 'displayName'
|
322
|
+
property :source_parent, as: 'sourceParent'
|
323
|
+
property :destination_parent, as: 'destinationParent'
|
324
|
+
property :operation_type, as: 'operationType'
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
class FolderOperationError
|
329
|
+
# @private
|
330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
331
|
+
property :error_message_id, as: 'errorMessageId'
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
class ResourceId
|
336
|
+
# @private
|
337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
338
|
+
property :type, as: 'type'
|
339
|
+
property :id, as: 'id'
|
340
340
|
end
|
341
341
|
end
|
342
342
|
end
|
@@ -48,63 +48,28 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
74
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
75
|
-
# @param [String] fields
|
76
|
-
# Selector specifying which fields to include in a partial response.
|
77
|
-
# @param [Google::Apis::RequestOptions] options
|
78
|
-
# Request-specific options
|
79
|
-
#
|
80
|
-
# @yield [result, err] Result & error if block supplied
|
81
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse] parsed result object
|
82
|
-
# @yieldparam err [StandardError] error object if request failed
|
83
|
-
#
|
84
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse]
|
85
|
-
#
|
86
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
87
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
88
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
89
|
-
def list_organizations(filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
90
|
-
command = make_simple_command(:get, 'v1beta1/organizations', options)
|
91
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation
|
92
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
|
93
|
-
command.query['filter'] = filter unless filter.nil?
|
94
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
95
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
96
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
97
|
-
command.query['fields'] = fields unless fields.nil?
|
98
|
-
execute_or_queue_command(command, &block)
|
99
|
-
end
|
100
|
-
|
101
|
-
# Sets the access control policy on an Organization resource. Replaces any
|
102
|
-
# existing policy. The `resource` field should be the organization's resource
|
103
|
-
# name, e.g. "organizations/123".
|
104
|
-
# @param [String] resource
|
105
|
-
# REQUIRED: The resource for which the policy is being specified.
|
106
|
-
# See the operation documentation for the appropriate value for this field.
|
107
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
51
|
+
# Marks the Project identified by the specified
|
52
|
+
# `project_id` (for example, `my-project-123`) for deletion.
|
53
|
+
# This method will only affect the Project if the following criteria are met:
|
54
|
+
# + The Project does not have a billing account associated with it.
|
55
|
+
# + The Project has a lifecycle state of
|
56
|
+
# ACTIVE.
|
57
|
+
# This method changes the Project's lifecycle state from
|
58
|
+
# ACTIVE
|
59
|
+
# to DELETE_REQUESTED.
|
60
|
+
# The deletion starts at an unspecified time, at which point the project is
|
61
|
+
# no longer accessible.
|
62
|
+
# Until the deletion completes, you can check the lifecycle state
|
63
|
+
# checked by retrieving the Project with GetProject,
|
64
|
+
# and the Project remains visible to ListProjects.
|
65
|
+
# However, you cannot update the project.
|
66
|
+
# After the deletion completes, the Project is not retrievable by
|
67
|
+
# the GetProject and
|
68
|
+
# ListProjects methods.
|
69
|
+
# The caller must have modify permissions for this Project.
|
70
|
+
# @param [String] project_id
|
71
|
+
# The Project ID (for example, `foo-bar-123`).
|
72
|
+
# Required.
|
108
73
|
# @param [String] quota_user
|
109
74
|
# Available to use for quota purposes for server-side applications. Can be any
|
110
75
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -114,33 +79,54 @@ module Google
|
|
114
79
|
# Request-specific options
|
115
80
|
#
|
116
81
|
# @yield [result, err] Result & error if block supplied
|
117
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
82
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object
|
118
83
|
# @yieldparam err [StandardError] error object if request failed
|
119
84
|
#
|
120
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
85
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Empty]
|
121
86
|
#
|
122
87
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
123
88
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
124
89
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
125
|
-
def
|
126
|
-
command = make_simple_command(:
|
127
|
-
command.
|
128
|
-
command.
|
129
|
-
command.
|
130
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
131
|
-
command.params['resource'] = resource unless resource.nil?
|
90
|
+
def delete_project(project_id, quota_user: nil, fields: nil, options: nil, &block)
|
91
|
+
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}', options)
|
92
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
|
93
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty
|
94
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
132
95
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
133
96
|
command.query['fields'] = fields unless fields.nil?
|
134
97
|
execute_or_queue_command(command, &block)
|
135
98
|
end
|
136
99
|
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
# @param [String]
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
100
|
+
# Lists Projects that are visible to the user and satisfy the
|
101
|
+
# specified filter. This method returns Projects in an unspecified order.
|
102
|
+
# New Projects do not necessarily appear at the end of the list.
|
103
|
+
# @param [String] filter
|
104
|
+
# An expression for filtering the results of the request. Filter rules are
|
105
|
+
# case insensitive. The fields eligible for filtering are:
|
106
|
+
# + `name`
|
107
|
+
# + `id`
|
108
|
+
# + <code>labels.<em>key</em></code> where *key* is the name of a label
|
109
|
+
# Some examples of using labels as filters:
|
110
|
+
# |Filter|Description|
|
111
|
+
# |------|-----------|
|
112
|
+
# |name:how*|The project's name starts with "how".|
|
113
|
+
# |name:Howl|The project's name is `Howl` or `howl`.|
|
114
|
+
# |name:HOWL|Equivalent to above.|
|
115
|
+
# |NAME:howl|Equivalent to above.|
|
116
|
+
# |labels.color:*|The project has the label `color`.|
|
117
|
+
# |labels.color:red|The project's label `color` has the value `red`.|
|
118
|
+
# |labels.color:red labels.size:big|The project's label `color` has the
|
119
|
+
# value `red` and its label `size` has the value `big`.
|
120
|
+
# Optional.
|
121
|
+
# @param [String] page_token
|
122
|
+
# A pagination token returned from a previous call to ListProjects
|
123
|
+
# that indicates from where listing should continue.
|
124
|
+
# Optional.
|
125
|
+
# @param [Fixnum] page_size
|
126
|
+
# The maximum number of Projects to return in the response.
|
127
|
+
# The server can return fewer Projects than requested.
|
128
|
+
# If unspecified, server picks an appropriate default.
|
129
|
+
# Optional.
|
144
130
|
# @param [String] quota_user
|
145
131
|
# Available to use for quota purposes for server-side applications. Can be any
|
146
132
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -150,32 +136,35 @@ module Google
|
|
150
136
|
# Request-specific options
|
151
137
|
#
|
152
138
|
# @yield [result, err] Result & error if block supplied
|
153
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
139
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse] parsed result object
|
154
140
|
# @yieldparam err [StandardError] error object if request failed
|
155
141
|
#
|
156
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
142
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse]
|
157
143
|
#
|
158
144
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
159
145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
|
-
def
|
162
|
-
command = make_simple_command(:
|
163
|
-
command.
|
164
|
-
command.
|
165
|
-
command.
|
166
|
-
command.
|
167
|
-
command.
|
147
|
+
def list_projects(filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
148
|
+
command = make_simple_command(:get, 'v1beta1/projects', options)
|
149
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse::Representation
|
150
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse
|
151
|
+
command.query['filter'] = filter unless filter.nil?
|
152
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
153
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
168
154
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
169
155
|
command.query['fields'] = fields unless fields.nil?
|
170
156
|
execute_or_queue_command(command, &block)
|
171
157
|
end
|
172
158
|
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
176
|
-
#
|
177
|
-
#
|
178
|
-
#
|
159
|
+
# Creates a Project resource.
|
160
|
+
# Initially, the Project resource is owned by its creator exclusively.
|
161
|
+
# The creator can later grant permission to others to read or update the
|
162
|
+
# Project.
|
163
|
+
# Several APIs are activated automatically for the Project, including
|
164
|
+
# Google Cloud Storage.
|
165
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
166
|
+
# @param [Boolean] use_legacy_stack
|
167
|
+
# A safety hatch to opt out of the new reliable project creation process.
|
179
168
|
# @param [String] quota_user
|
180
169
|
# Available to use for quota purposes for server-side applications. Can be any
|
181
170
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -185,31 +174,57 @@ module Google
|
|
185
174
|
# Request-specific options
|
186
175
|
#
|
187
176
|
# @yield [result, err] Result & error if block supplied
|
188
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
177
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object
|
189
178
|
# @yieldparam err [StandardError] error object if request failed
|
190
179
|
#
|
191
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
180
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Project]
|
192
181
|
#
|
193
182
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
194
183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
195
184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
196
|
-
def
|
197
|
-
command = make_simple_command(:
|
198
|
-
command.
|
199
|
-
command.
|
200
|
-
command.
|
201
|
-
command.
|
185
|
+
def create_project(project_object = nil, use_legacy_stack: nil, quota_user: nil, fields: nil, options: nil, &block)
|
186
|
+
command = make_simple_command(:post, 'v1beta1/projects', options)
|
187
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
188
|
+
command.request_object = project_object
|
189
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
190
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
|
191
|
+
command.query['useLegacyStack'] = use_legacy_stack unless use_legacy_stack.nil?
|
202
192
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
203
193
|
command.query['fields'] = fields unless fields.nil?
|
204
194
|
execute_or_queue_command(command, &block)
|
205
195
|
end
|
206
196
|
|
207
|
-
#
|
208
|
-
#
|
209
|
-
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
#
|
197
|
+
# Sets the IAM access control policy for the specified Project. Replaces
|
198
|
+
# any existing policy.
|
199
|
+
# The following constraints apply when using `setIamPolicy()`:
|
200
|
+
# + Project does not support `allUsers` and `allAuthenticatedUsers` as
|
201
|
+
# `members` in a `Binding` of a `Policy`.
|
202
|
+
# + The owner role can be granted only to `user` and `serviceAccount`.
|
203
|
+
# + Service accounts can be made owners of a project directly
|
204
|
+
# without any restrictions. However, to be added as an owner, a user must be
|
205
|
+
# invited via Cloud Platform console and must accept the invitation.
|
206
|
+
# + A user cannot be granted the owner role using `setIamPolicy()`. The user
|
207
|
+
# must be granted the owner role using the Cloud Platform Console and must
|
208
|
+
# explicitly accept the invitation.
|
209
|
+
# + Invitations to grant the owner role cannot be sent using
|
210
|
+
# `setIamPolicy()`; they must be sent only using the Cloud Platform Console.
|
211
|
+
# + Membership changes that leave the project without any owners that have
|
212
|
+
# accepted the Terms of Service (ToS) will be rejected.
|
213
|
+
# + There must be at least one owner who has accepted the Terms of
|
214
|
+
# Service (ToS) agreement in the policy. Calling `setIamPolicy()` to
|
215
|
+
# remove the last ToS-accepted owner from the policy will fail. This
|
216
|
+
# restriction also applies to legacy projects that no longer have owners
|
217
|
+
# who have accepted the ToS. Edits to IAM policies will be rejected until
|
218
|
+
# the lack of a ToS-accepting owner is rectified.
|
219
|
+
# + Calling this method requires enabling the App Engine Admin API.
|
220
|
+
# Note: Removing service accounts from policies or changing their roles
|
221
|
+
# can render services completely inoperable. It is important to understand
|
222
|
+
# how the service account is being used before removing or updating its
|
223
|
+
# roles.
|
224
|
+
# @param [String] resource
|
225
|
+
# REQUIRED: The resource for which the policy is being specified.
|
226
|
+
# See the operation documentation for the appropriate value for this field.
|
227
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
213
228
|
# @param [String] quota_user
|
214
229
|
# Available to use for quota purposes for server-side applications. Can be any
|
215
230
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -219,33 +234,32 @@ module Google
|
|
219
234
|
# Request-specific options
|
220
235
|
#
|
221
236
|
# @yield [result, err] Result & error if block supplied
|
222
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
237
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object
|
223
238
|
# @yieldparam err [StandardError] error object if request failed
|
224
239
|
#
|
225
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
240
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
226
241
|
#
|
227
242
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
228
243
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
244
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
|
-
def
|
231
|
-
command = make_simple_command(:
|
232
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
233
|
-
command.request_object =
|
234
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
235
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
236
|
-
command.params['
|
245
|
+
def set_project_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
246
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:setIamPolicy', options)
|
247
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
|
248
|
+
command.request_object = set_iam_policy_request_object
|
249
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
250
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
251
|
+
command.params['resource'] = resource unless resource.nil?
|
237
252
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
238
253
|
command.query['fields'] = fields unless fields.nil?
|
239
254
|
execute_or_queue_command(command, &block)
|
240
255
|
end
|
241
256
|
|
242
|
-
# Returns
|
243
|
-
#
|
244
|
-
# e.g. "organizations/123".
|
257
|
+
# Returns the IAM access control policy for the specified Project.
|
258
|
+
# Permission is denied if the policy or the resource does not exist.
|
245
259
|
# @param [String] resource
|
246
|
-
# REQUIRED: The resource for which the policy
|
260
|
+
# REQUIRED: The resource for which the policy is being requested.
|
247
261
|
# See the operation documentation for the appropriate value for this field.
|
248
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::
|
262
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
249
263
|
# @param [String] quota_user
|
250
264
|
# Available to use for quota purposes for server-side applications. Can be any
|
251
265
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -255,57 +269,36 @@ module Google
|
|
255
269
|
# Request-specific options
|
256
270
|
#
|
257
271
|
# @yield [result, err] Result & error if block supplied
|
258
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
272
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object
|
259
273
|
# @yieldparam err [StandardError] error object if request failed
|
260
274
|
#
|
261
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
275
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
262
276
|
#
|
263
277
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
264
278
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
265
279
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
266
|
-
def
|
267
|
-
command = make_simple_command(:post, 'v1beta1/{
|
268
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
269
|
-
command.request_object =
|
270
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
271
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
280
|
+
def get_project_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
281
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options)
|
282
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
|
283
|
+
command.request_object = get_iam_policy_request_object
|
284
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
285
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
272
286
|
command.params['resource'] = resource unless resource.nil?
|
273
287
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
274
288
|
command.query['fields'] = fields unless fields.nil?
|
275
289
|
execute_or_queue_command(command, &block)
|
276
290
|
end
|
277
291
|
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
# must be granted the owner role using the Cloud Platform Console and must
|
289
|
-
# explicitly accept the invitation.
|
290
|
-
# + Invitations to grant the owner role cannot be sent using
|
291
|
-
# `setIamPolicy()`; they must be sent only using the Cloud Platform Console.
|
292
|
-
# + Membership changes that leave the project without any owners that have
|
293
|
-
# accepted the Terms of Service (ToS) will be rejected.
|
294
|
-
# + There must be at least one owner who has accepted the Terms of
|
295
|
-
# Service (ToS) agreement in the policy. Calling `setIamPolicy()` to
|
296
|
-
# remove the last ToS-accepted owner from the policy will fail. This
|
297
|
-
# restriction also applies to legacy projects that no longer have owners
|
298
|
-
# who have accepted the ToS. Edits to IAM policies will be rejected until
|
299
|
-
# the lack of a ToS-accepting owner is rectified.
|
300
|
-
# + Calling this method requires enabling the App Engine Admin API.
|
301
|
-
# Note: Removing service accounts from policies or changing their roles
|
302
|
-
# can render services completely inoperable. It is important to understand
|
303
|
-
# how the service account is being used before removing or updating its
|
304
|
-
# roles.
|
305
|
-
# @param [String] resource
|
306
|
-
# REQUIRED: The resource for which the policy is being specified.
|
307
|
-
# See the operation documentation for the appropriate value for this field.
|
308
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
292
|
+
# Restores the Project identified by the specified
|
293
|
+
# `project_id` (for example, `my-project-123`).
|
294
|
+
# You can only use this method for a Project that has a lifecycle state of
|
295
|
+
# DELETE_REQUESTED.
|
296
|
+
# After deletion starts, the Project cannot be restored.
|
297
|
+
# The caller must have modify permissions for this Project.
|
298
|
+
# @param [String] project_id
|
299
|
+
# The project ID (for example, `foo-bar-123`).
|
300
|
+
# Required.
|
301
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
|
309
302
|
# @param [String] quota_user
|
310
303
|
# Available to use for quota purposes for server-side applications. Can be any
|
311
304
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -315,35 +308,32 @@ module Google
|
|
315
308
|
# Request-specific options
|
316
309
|
#
|
317
310
|
# @yield [result, err] Result & error if block supplied
|
318
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
311
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object
|
319
312
|
# @yieldparam err [StandardError] error object if request failed
|
320
313
|
#
|
321
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
314
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Empty]
|
322
315
|
#
|
323
316
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
324
317
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
318
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
|
-
def
|
327
|
-
command = make_simple_command(:post, 'v1beta1/projects/{
|
328
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
329
|
-
command.request_object =
|
330
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
331
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
332
|
-
command.params['
|
319
|
+
def undelete_project(project_id, undelete_project_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
320
|
+
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options)
|
321
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation
|
322
|
+
command.request_object = undelete_project_request_object
|
323
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
|
324
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty
|
325
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
333
326
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
334
327
|
command.query['fields'] = fields unless fields.nil?
|
335
328
|
execute_or_queue_command(command, &block)
|
336
329
|
end
|
337
330
|
|
338
|
-
#
|
339
|
-
#
|
340
|
-
# The
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
345
|
-
# @param [Boolean] use_legacy_stack
|
346
|
-
# A safety hatch to opt out of the new reliable project creation process.
|
331
|
+
# Retrieves the Project identified by the specified
|
332
|
+
# `project_id` (for example, `my-project-123`).
|
333
|
+
# The caller must have read permissions for this Project.
|
334
|
+
# @param [String] project_id
|
335
|
+
# The Project ID (for example, `my-project-123`).
|
336
|
+
# Required.
|
347
337
|
# @param [String] quota_user
|
348
338
|
# Available to use for quota purposes for server-side applications. Can be any
|
349
339
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -361,24 +351,23 @@ module Google
|
|
361
351
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
362
352
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
363
353
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
364
|
-
def
|
365
|
-
command = make_simple_command(:
|
366
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
367
|
-
command.request_object = project_object
|
354
|
+
def get_project(project_id, quota_user: nil, fields: nil, options: nil, &block)
|
355
|
+
command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options)
|
368
356
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
369
357
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
|
370
|
-
command.
|
358
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
371
359
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
372
360
|
command.query['fields'] = fields unless fields.nil?
|
373
361
|
execute_or_queue_command(command, &block)
|
374
362
|
end
|
375
363
|
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
364
|
+
# Gets a list of ancestors in the resource hierarchy for the Project
|
365
|
+
# identified by the specified `project_id` (for example, `my-project-123`).
|
366
|
+
# The caller must have read permissions for this Project.
|
367
|
+
# @param [String] project_id
|
368
|
+
# The Project ID (for example, `my-project-123`).
|
369
|
+
# Required.
|
370
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object
|
382
371
|
# @param [String] quota_user
|
383
372
|
# Available to use for quota purposes for server-side applications. Can be any
|
384
373
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -388,32 +377,33 @@ module Google
|
|
388
377
|
# Request-specific options
|
389
378
|
#
|
390
379
|
# @yield [result, err] Result & error if block supplied
|
391
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
380
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] parsed result object
|
392
381
|
# @yieldparam err [StandardError] error object if request failed
|
393
382
|
#
|
394
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
383
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse]
|
395
384
|
#
|
396
385
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
397
386
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
398
387
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
399
|
-
def
|
400
|
-
command = make_simple_command(:post, 'v1beta1/projects/{
|
401
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
402
|
-
command.request_object =
|
403
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
404
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
405
|
-
command.params['
|
388
|
+
def get_project_ancestry(project_id, get_ancestry_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
389
|
+
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options)
|
390
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation
|
391
|
+
command.request_object = get_ancestry_request_object
|
392
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation
|
393
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse
|
394
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
406
395
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
407
396
|
command.query['fields'] = fields unless fields.nil?
|
408
397
|
execute_or_queue_command(command, &block)
|
409
398
|
end
|
410
399
|
|
411
|
-
#
|
400
|
+
# Updates the attributes of the Project identified by the specified
|
412
401
|
# `project_id` (for example, `my-project-123`).
|
413
|
-
# The caller must have
|
402
|
+
# The caller must have modify permissions for this Project.
|
414
403
|
# @param [String] project_id
|
415
|
-
# The
|
404
|
+
# The project ID (for example, `my-project-123`).
|
416
405
|
# Required.
|
406
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
417
407
|
# @param [String] quota_user
|
418
408
|
# Available to use for quota purposes for server-side applications. Can be any
|
419
409
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -431,8 +421,10 @@ module Google
|
|
431
421
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
422
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
423
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
-
def
|
435
|
-
command = make_simple_command(:
|
424
|
+
def update_project(project_id, project_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
425
|
+
command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options)
|
426
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
427
|
+
command.request_object = project_object
|
436
428
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
437
429
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
|
438
430
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -441,16 +433,11 @@ module Google
|
|
441
433
|
execute_or_queue_command(command, &block)
|
442
434
|
end
|
443
435
|
|
444
|
-
#
|
445
|
-
#
|
446
|
-
#
|
447
|
-
#
|
448
|
-
#
|
449
|
-
# The caller must have modify permissions for this Project.
|
450
|
-
# @param [String] project_id
|
451
|
-
# The project ID (for example, `foo-bar-123`).
|
452
|
-
# Required.
|
453
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
|
436
|
+
# Returns permissions that a caller has on the specified Project.
|
437
|
+
# @param [String] resource
|
438
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
439
|
+
# See the operation documentation for the appropriate value for this field.
|
440
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
454
441
|
# @param [String] quota_user
|
455
442
|
# Available to use for quota purposes for server-side applications. Can be any
|
456
443
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -460,33 +447,33 @@ module Google
|
|
460
447
|
# Request-specific options
|
461
448
|
#
|
462
449
|
# @yield [result, err] Result & error if block supplied
|
463
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
450
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] parsed result object
|
464
451
|
# @yieldparam err [StandardError] error object if request failed
|
465
452
|
#
|
466
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
453
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse]
|
467
454
|
#
|
468
455
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
469
456
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
470
457
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
471
|
-
def
|
472
|
-
command = make_simple_command(:post, 'v1beta1/projects/{
|
473
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
474
|
-
command.request_object =
|
475
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
476
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
477
|
-
command.params['
|
458
|
+
def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
459
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options)
|
460
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
|
461
|
+
command.request_object = test_iam_permissions_request_object
|
462
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
|
463
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse
|
464
|
+
command.params['resource'] = resource unless resource.nil?
|
478
465
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
479
466
|
command.query['fields'] = fields unless fields.nil?
|
480
467
|
execute_or_queue_command(command, &block)
|
481
468
|
end
|
482
469
|
|
483
|
-
#
|
484
|
-
# `
|
485
|
-
#
|
486
|
-
# @param [String]
|
487
|
-
# The
|
488
|
-
#
|
489
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::
|
470
|
+
# Gets the access control policy for an Organization resource. May be empty
|
471
|
+
# if no such policy or resource exists. The `resource` field should be the
|
472
|
+
# organization's resource name, e.g. "organizations/123".
|
473
|
+
# @param [String] resource
|
474
|
+
# REQUIRED: The resource for which the policy is being requested.
|
475
|
+
# See the operation documentation for the appropriate value for this field.
|
476
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
490
477
|
# @param [String] quota_user
|
491
478
|
# Available to use for quota purposes for server-side applications. Can be any
|
492
479
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -496,33 +483,32 @@ module Google
|
|
496
483
|
# Request-specific options
|
497
484
|
#
|
498
485
|
# @yield [result, err] Result & error if block supplied
|
499
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
486
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object
|
500
487
|
# @yieldparam err [StandardError] error object if request failed
|
501
488
|
#
|
502
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
489
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
503
490
|
#
|
504
491
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
505
492
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
506
493
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
507
|
-
def
|
508
|
-
command = make_simple_command(:
|
509
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
510
|
-
command.request_object =
|
511
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
512
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
513
|
-
command.params['
|
494
|
+
def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
495
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
496
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
|
497
|
+
command.request_object = get_iam_policy_request_object
|
498
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
499
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
500
|
+
command.params['resource'] = resource unless resource.nil?
|
514
501
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
515
502
|
command.query['fields'] = fields unless fields.nil?
|
516
503
|
execute_or_queue_command(command, &block)
|
517
504
|
end
|
518
505
|
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
# @param [String]
|
523
|
-
# The
|
524
|
-
#
|
525
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object
|
506
|
+
# Fetches an Organization resource identified by the specified resource name.
|
507
|
+
# @param [String] name
|
508
|
+
# The resource name of the Organization to fetch, e.g. "organizations/1234".
|
509
|
+
# @param [String] organization_id
|
510
|
+
# The id of the Organization resource to fetch.
|
511
|
+
# This field is deprecated and will be removed in v1. Use name instead.
|
526
512
|
# @param [String] quota_user
|
527
513
|
# Available to use for quota purposes for server-side applications. Can be any
|
528
514
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -532,27 +518,63 @@ module Google
|
|
532
518
|
# Request-specific options
|
533
519
|
#
|
534
520
|
# @yield [result, err] Result & error if block supplied
|
535
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
521
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Organization] parsed result object
|
536
522
|
# @yieldparam err [StandardError] error object if request failed
|
537
523
|
#
|
538
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
524
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Organization]
|
539
525
|
#
|
540
526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
541
527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
542
528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
543
|
-
def
|
544
|
-
command = make_simple_command(:
|
545
|
-
command.
|
546
|
-
command.
|
547
|
-
command.
|
548
|
-
command.
|
549
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
529
|
+
def get_organization(name, organization_id: nil, quota_user: nil, fields: nil, options: nil, &block)
|
530
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
531
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
532
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
|
533
|
+
command.params['name'] = name unless name.nil?
|
534
|
+
command.query['organizationId'] = organization_id unless organization_id.nil?
|
550
535
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
551
536
|
command.query['fields'] = fields unless fields.nil?
|
552
537
|
execute_or_queue_command(command, &block)
|
553
538
|
end
|
554
539
|
|
555
|
-
#
|
540
|
+
# Updates an Organization resource identified by the specified resource name.
|
541
|
+
# @param [String] name
|
542
|
+
# Output Only. The resource name of the organization. This is the
|
543
|
+
# organization's relative path in the API. Its format is
|
544
|
+
# "organizations/[organization_id]". For example, "organizations/1234".
|
545
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object
|
546
|
+
# @param [String] quota_user
|
547
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
548
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
549
|
+
# @param [String] fields
|
550
|
+
# Selector specifying which fields to include in a partial response.
|
551
|
+
# @param [Google::Apis::RequestOptions] options
|
552
|
+
# Request-specific options
|
553
|
+
#
|
554
|
+
# @yield [result, err] Result & error if block supplied
|
555
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Organization] parsed result object
|
556
|
+
# @yieldparam err [StandardError] error object if request failed
|
557
|
+
#
|
558
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Organization]
|
559
|
+
#
|
560
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
561
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
562
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
563
|
+
def update_organization(name, organization_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
564
|
+
command = make_simple_command(:put, 'v1beta1/{+name}', options)
|
565
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
566
|
+
command.request_object = organization_object
|
567
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
568
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
|
569
|
+
command.params['name'] = name unless name.nil?
|
570
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
571
|
+
command.query['fields'] = fields unless fields.nil?
|
572
|
+
execute_or_queue_command(command, &block)
|
573
|
+
end
|
574
|
+
|
575
|
+
# Returns permissions that a caller has on the specified Organization.
|
576
|
+
# The `resource` field should be the organization's resource name,
|
577
|
+
# e.g. "organizations/123".
|
556
578
|
# @param [String] resource
|
557
579
|
# REQUIRED: The resource for which the policy detail is being requested.
|
558
580
|
# See the operation documentation for the appropriate value for this field.
|
@@ -574,8 +596,8 @@ module Google
|
|
574
596
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
575
597
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
576
598
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
577
|
-
def
|
578
|
-
command = make_simple_command(:post, 'v1beta1/
|
599
|
+
def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
600
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
579
601
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
|
580
602
|
command.request_object = test_iam_permissions_request_object
|
581
603
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
|
@@ -586,28 +608,27 @@ module Google
|
|
586
608
|
execute_or_queue_command(command, &block)
|
587
609
|
end
|
588
610
|
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
#
|
594
|
-
#
|
595
|
-
#
|
596
|
-
#
|
597
|
-
# to
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
607
|
-
#
|
608
|
-
#
|
609
|
-
#
|
610
|
-
# Required.
|
611
|
+
# Lists Organization resources that are visible to the user and satisfy
|
612
|
+
# the specified filter. This method returns Organizations in an unspecified
|
613
|
+
# order. New Organizations do not necessarily appear at the end of the list.
|
614
|
+
# @param [String] page_token
|
615
|
+
# A pagination token returned from a previous call to `ListOrganizations`
|
616
|
+
# that indicates from where listing should continue.
|
617
|
+
# This field is optional.
|
618
|
+
# @param [Fixnum] page_size
|
619
|
+
# The maximum number of Organizations to return in the response.
|
620
|
+
# This field is optional.
|
621
|
+
# @param [String] filter
|
622
|
+
# An optional query string used to filter the Organizations to return in
|
623
|
+
# the response. Filter rules are case-insensitive.
|
624
|
+
# Organizations may be filtered by `owner.directoryCustomerId` or by
|
625
|
+
# `domain`, where the domain is a Google for Work domain, for example:
|
626
|
+
# |Filter|Description|
|
627
|
+
# |------|-----------|
|
628
|
+
# |owner.directorycustomerid:123456789|Organizations with `owner.
|
629
|
+
# directory_customer_id` equal to `123456789`.|
|
630
|
+
# |domain:google.com|Organizations corresponding to the domain `google.com`.|
|
631
|
+
# This field is optional.
|
611
632
|
# @param [String] quota_user
|
612
633
|
# Available to use for quota purposes for server-side applications. Can be any
|
613
634
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -617,54 +638,33 @@ module Google
|
|
617
638
|
# Request-specific options
|
618
639
|
#
|
619
640
|
# @yield [result, err] Result & error if block supplied
|
620
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
641
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse] parsed result object
|
621
642
|
# @yieldparam err [StandardError] error object if request failed
|
622
643
|
#
|
623
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
644
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse]
|
624
645
|
#
|
625
646
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
626
647
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
627
648
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
628
|
-
def
|
629
|
-
command = make_simple_command(:
|
630
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
631
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
632
|
-
command.
|
649
|
+
def list_organizations(page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block)
|
650
|
+
command = make_simple_command(:get, 'v1beta1/organizations', options)
|
651
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation
|
652
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
|
653
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
654
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
655
|
+
command.query['filter'] = filter unless filter.nil?
|
633
656
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
634
657
|
command.query['fields'] = fields unless fields.nil?
|
635
658
|
execute_or_queue_command(command, &block)
|
636
659
|
end
|
637
660
|
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
641
|
-
# @param [String]
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
645
|
-
# @param [Fixnum] page_size
|
646
|
-
# The maximum number of Projects to return in the response.
|
647
|
-
# The server can return fewer Projects than requested.
|
648
|
-
# If unspecified, server picks an appropriate default.
|
649
|
-
# Optional.
|
650
|
-
# @param [String] filter
|
651
|
-
# An expression for filtering the results of the request. Filter rules are
|
652
|
-
# case insensitive. The fields eligible for filtering are:
|
653
|
-
# + `name`
|
654
|
-
# + `id`
|
655
|
-
# + <code>labels.<em>key</em></code> where *key* is the name of a label
|
656
|
-
# Some examples of using labels as filters:
|
657
|
-
# |Filter|Description|
|
658
|
-
# |------|-----------|
|
659
|
-
# |name:how*|The project's name starts with "how".|
|
660
|
-
# |name:Howl|The project's name is `Howl` or `howl`.|
|
661
|
-
# |name:HOWL|Equivalent to above.|
|
662
|
-
# |NAME:howl|Equivalent to above.|
|
663
|
-
# |labels.color:*|The project has the label `color`.|
|
664
|
-
# |labels.color:red|The project's label `color` has the value `red`.|
|
665
|
-
# |labels.color:red labels.size:big|The project's label `color` has the
|
666
|
-
# value `red` and its label `size` has the value `big`.
|
667
|
-
# Optional.
|
661
|
+
# Sets the access control policy on an Organization resource. Replaces any
|
662
|
+
# existing policy. The `resource` field should be the organization's resource
|
663
|
+
# name, e.g. "organizations/123".
|
664
|
+
# @param [String] resource
|
665
|
+
# REQUIRED: The resource for which the policy is being specified.
|
666
|
+
# See the operation documentation for the appropriate value for this field.
|
667
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
668
668
|
# @param [String] quota_user
|
669
669
|
# Available to use for quota purposes for server-side applications. Can be any
|
670
670
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -674,21 +674,21 @@ module Google
|
|
674
674
|
# Request-specific options
|
675
675
|
#
|
676
676
|
# @yield [result, err] Result & error if block supplied
|
677
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
677
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object
|
678
678
|
# @yieldparam err [StandardError] error object if request failed
|
679
679
|
#
|
680
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
680
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
681
681
|
#
|
682
682
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
683
683
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
684
684
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
685
|
-
def
|
686
|
-
command = make_simple_command(:
|
687
|
-
command.
|
688
|
-
command.
|
689
|
-
command.
|
690
|
-
command.
|
691
|
-
command.
|
685
|
+
def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
686
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
687
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
|
688
|
+
command.request_object = set_iam_policy_request_object
|
689
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
690
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
691
|
+
command.params['resource'] = resource unless resource.nil?
|
692
692
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
693
693
|
command.query['fields'] = fields unless fields.nil?
|
694
694
|
execute_or_queue_command(command, &block)
|