google-api-client 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- 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 +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
@@ -22,25 +22,19 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudresourcemanagerV1beta1
|
24
24
|
|
25
|
-
class AuditConfig
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
25
|
class Ancestor
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
27
|
|
34
28
|
include Google::Apis::Core::JsonObjectSupport
|
35
29
|
end
|
36
30
|
|
37
|
-
class
|
31
|
+
class AuditConfig
|
38
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
33
|
|
40
34
|
include Google::Apis::Core::JsonObjectSupport
|
41
35
|
end
|
42
36
|
|
43
|
-
class
|
37
|
+
class AuditLogConfig
|
44
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
39
|
|
46
40
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -58,25 +52,25 @@ module Google
|
|
58
52
|
include Google::Apis::Core::JsonObjectSupport
|
59
53
|
end
|
60
54
|
|
61
|
-
class
|
55
|
+
class FolderOperation
|
62
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
57
|
|
64
58
|
include Google::Apis::Core::JsonObjectSupport
|
65
59
|
end
|
66
60
|
|
67
|
-
class
|
61
|
+
class FolderOperationError
|
68
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
63
|
|
70
64
|
include Google::Apis::Core::JsonObjectSupport
|
71
65
|
end
|
72
66
|
|
73
|
-
class
|
67
|
+
class GetAncestryRequest
|
74
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
69
|
|
76
70
|
include Google::Apis::Core::JsonObjectSupport
|
77
71
|
end
|
78
72
|
|
79
|
-
class
|
73
|
+
class GetAncestryResponse
|
80
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
75
|
|
82
76
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -88,31 +82,31 @@ module Google
|
|
88
82
|
include Google::Apis::Core::JsonObjectSupport
|
89
83
|
end
|
90
84
|
|
91
|
-
class
|
85
|
+
class ListOrganizationsResponse
|
92
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
87
|
|
94
88
|
include Google::Apis::Core::JsonObjectSupport
|
95
89
|
end
|
96
90
|
|
97
|
-
class
|
91
|
+
class ListProjectsResponse
|
98
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
93
|
|
100
94
|
include Google::Apis::Core::JsonObjectSupport
|
101
95
|
end
|
102
96
|
|
103
|
-
class
|
97
|
+
class Organization
|
104
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
99
|
|
106
100
|
include Google::Apis::Core::JsonObjectSupport
|
107
101
|
end
|
108
102
|
|
109
|
-
class
|
103
|
+
class OrganizationOwner
|
110
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
105
|
|
112
106
|
include Google::Apis::Core::JsonObjectSupport
|
113
107
|
end
|
114
108
|
|
115
|
-
class
|
109
|
+
class Policy
|
116
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
111
|
|
118
112
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -124,43 +118,40 @@ module Google
|
|
124
118
|
include Google::Apis::Core::JsonObjectSupport
|
125
119
|
end
|
126
120
|
|
127
|
-
class
|
121
|
+
class ProjectCreationStatus
|
128
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
123
|
|
130
124
|
include Google::Apis::Core::JsonObjectSupport
|
131
125
|
end
|
132
126
|
|
133
|
-
class
|
127
|
+
class ResourceId
|
134
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
129
|
|
136
130
|
include Google::Apis::Core::JsonObjectSupport
|
137
131
|
end
|
138
132
|
|
139
|
-
class
|
133
|
+
class SetIamPolicyRequest
|
140
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
135
|
|
142
136
|
include Google::Apis::Core::JsonObjectSupport
|
143
137
|
end
|
144
138
|
|
145
|
-
class
|
139
|
+
class TestIamPermissionsRequest
|
146
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
141
|
|
148
142
|
include Google::Apis::Core::JsonObjectSupport
|
149
143
|
end
|
150
144
|
|
151
|
-
class
|
145
|
+
class TestIamPermissionsResponse
|
152
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
147
|
|
154
148
|
include Google::Apis::Core::JsonObjectSupport
|
155
149
|
end
|
156
150
|
|
157
|
-
class
|
158
|
-
|
159
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
-
property :service, as: 'service'
|
161
|
-
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig::Representation
|
151
|
+
class UndeleteProjectRequest
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
162
153
|
|
163
|
-
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
164
155
|
end
|
165
156
|
|
166
157
|
class Ancestor
|
@@ -171,21 +162,20 @@ module Google
|
|
171
162
|
end
|
172
163
|
end
|
173
164
|
|
174
|
-
class
|
165
|
+
class AuditConfig
|
175
166
|
# @private
|
176
167
|
class Representation < Google::Apis::Core::JsonRepresentation
|
177
|
-
|
178
|
-
collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1beta1::Organization, decorator: Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
168
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig::Representation
|
179
169
|
|
170
|
+
property :service, as: 'service'
|
180
171
|
end
|
181
172
|
end
|
182
173
|
|
183
|
-
class
|
174
|
+
class AuditLogConfig
|
184
175
|
# @private
|
185
176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
186
|
-
|
187
|
-
|
188
|
-
property :update_mask, as: 'updateMask'
|
177
|
+
collection :exempted_members, as: 'exemptedMembers'
|
178
|
+
property :log_type, as: 'logType'
|
189
179
|
end
|
190
180
|
end
|
191
181
|
|
@@ -203,38 +193,34 @@ module Google
|
|
203
193
|
end
|
204
194
|
end
|
205
195
|
|
206
|
-
class
|
196
|
+
class FolderOperation
|
207
197
|
# @private
|
208
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
199
|
+
property :destination_parent, as: 'destinationParent'
|
200
|
+
property :display_name, as: 'displayName'
|
201
|
+
property :operation_type, as: 'operationType'
|
202
|
+
property :source_parent, as: 'sourceParent'
|
209
203
|
end
|
210
204
|
end
|
211
205
|
|
212
|
-
class
|
206
|
+
class FolderOperationError
|
213
207
|
# @private
|
214
208
|
class Representation < Google::Apis::Core::JsonRepresentation
|
215
|
-
property :
|
216
|
-
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
|
217
|
-
|
218
|
-
property :name, as: 'name'
|
219
|
-
property :organization_id, as: 'organizationId'
|
220
|
-
property :lifecycle_state, as: 'lifecycleState'
|
221
|
-
property :display_name, as: 'displayName'
|
209
|
+
property :error_message_id, as: 'errorMessageId'
|
222
210
|
end
|
223
211
|
end
|
224
212
|
|
225
|
-
class
|
213
|
+
class GetAncestryRequest
|
226
214
|
# @private
|
227
215
|
class Representation < Google::Apis::Core::JsonRepresentation
|
228
|
-
property :ready, as: 'ready'
|
229
|
-
property :gettable, as: 'gettable'
|
230
|
-
property :create_time, as: 'createTime'
|
231
216
|
end
|
232
217
|
end
|
233
218
|
|
234
|
-
class
|
219
|
+
class GetAncestryResponse
|
235
220
|
# @private
|
236
221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
237
|
-
collection :
|
222
|
+
collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1beta1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1beta1::Ancestor::Representation
|
223
|
+
|
238
224
|
end
|
239
225
|
end
|
240
226
|
|
@@ -244,99 +230,113 @@ module Google
|
|
244
230
|
end
|
245
231
|
end
|
246
232
|
|
247
|
-
class
|
233
|
+
class ListOrganizationsResponse
|
248
234
|
# @private
|
249
235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
-
|
236
|
+
property :next_page_token, as: 'nextPageToken'
|
237
|
+
collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1beta1::Organization, decorator: Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
251
238
|
|
252
239
|
end
|
253
240
|
end
|
254
241
|
|
255
|
-
class
|
242
|
+
class ListProjectsResponse
|
256
243
|
# @private
|
257
244
|
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
-
property :
|
245
|
+
property :next_page_token, as: 'nextPageToken'
|
246
|
+
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1beta1::Project, decorator: Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
247
|
+
|
259
248
|
end
|
260
249
|
end
|
261
250
|
|
262
|
-
class
|
251
|
+
class Organization
|
263
252
|
# @private
|
264
253
|
class Representation < Google::Apis::Core::JsonRepresentation
|
265
|
-
|
254
|
+
property :creation_time, as: 'creationTime'
|
255
|
+
property :display_name, as: 'displayName'
|
256
|
+
property :lifecycle_state, as: 'lifecycleState'
|
257
|
+
property :name, as: 'name'
|
258
|
+
property :organization_id, as: 'organizationId'
|
259
|
+
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
|
266
260
|
|
267
|
-
property :next_page_token, as: 'nextPageToken'
|
268
261
|
end
|
269
262
|
end
|
270
263
|
|
271
|
-
class
|
264
|
+
class OrganizationOwner
|
272
265
|
# @private
|
273
266
|
class Representation < Google::Apis::Core::JsonRepresentation
|
274
|
-
|
275
|
-
property :log_type, as: 'logType'
|
267
|
+
property :directory_customer_id, as: 'directoryCustomerId'
|
276
268
|
end
|
277
269
|
end
|
278
270
|
|
279
|
-
class
|
271
|
+
class Policy
|
280
272
|
# @private
|
281
273
|
class Representation < Google::Apis::Core::JsonRepresentation
|
274
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation
|
275
|
+
|
276
|
+
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
|
277
|
+
|
278
|
+
property :etag, :base64 => true, as: 'etag'
|
279
|
+
property :version, as: 'version'
|
282
280
|
end
|
283
281
|
end
|
284
282
|
|
285
283
|
class Project
|
286
284
|
# @private
|
287
285
|
class Representation < Google::Apis::Core::JsonRepresentation
|
286
|
+
property :create_time, as: 'createTime'
|
287
|
+
hash :labels, as: 'labels'
|
288
288
|
property :lifecycle_state, as: 'lifecycleState'
|
289
|
-
property :
|
289
|
+
property :name, as: 'name'
|
290
290
|
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
|
291
291
|
|
292
|
-
hash :labels, as: 'labels'
|
293
|
-
property :create_time, as: 'createTime'
|
294
|
-
property :name, as: 'name'
|
295
292
|
property :project_id, as: 'projectId'
|
293
|
+
property :project_number, :numeric_string => true, as: 'projectNumber'
|
296
294
|
end
|
297
295
|
end
|
298
296
|
|
299
|
-
class
|
297
|
+
class ProjectCreationStatus
|
300
298
|
# @private
|
301
299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
-
|
300
|
+
property :create_time, as: 'createTime'
|
301
|
+
property :gettable, as: 'gettable'
|
302
|
+
property :ready, as: 'ready'
|
303
303
|
end
|
304
304
|
end
|
305
305
|
|
306
|
-
class
|
306
|
+
class ResourceId
|
307
307
|
# @private
|
308
308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
309
|
-
property :
|
309
|
+
property :id, as: 'id'
|
310
|
+
property :type, as: 'type'
|
310
311
|
end
|
311
312
|
end
|
312
313
|
|
313
|
-
class
|
314
|
+
class SetIamPolicyRequest
|
314
315
|
# @private
|
315
316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
316
|
-
property :
|
317
|
-
|
318
|
-
property :
|
319
|
-
property :destination_parent, as: 'destinationParent'
|
317
|
+
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
318
|
+
|
319
|
+
property :update_mask, as: 'updateMask'
|
320
320
|
end
|
321
321
|
end
|
322
322
|
|
323
|
-
class
|
323
|
+
class TestIamPermissionsRequest
|
324
324
|
# @private
|
325
325
|
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
|
326
|
+
collection :permissions, as: 'permissions'
|
327
|
+
end
|
328
|
+
end
|
331
329
|
|
330
|
+
class TestIamPermissionsResponse
|
331
|
+
# @private
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
333
|
+
collection :permissions, as: 'permissions'
|
332
334
|
end
|
333
335
|
end
|
334
336
|
|
335
|
-
class
|
337
|
+
class UndeleteProjectRequest
|
336
338
|
# @private
|
337
339
|
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,43 +48,52 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# invited via Cloud Platform console and must accept the invitation.
|
60
|
-
# + A user cannot be granted the owner role using `setIamPolicy()`. The user
|
61
|
-
# must be granted the owner role using the Cloud Platform Console and must
|
62
|
-
# explicitly accept the invitation.
|
63
|
-
# + Invitations to grant the owner role cannot be sent using
|
64
|
-
# `setIamPolicy()`; they must be sent only using the Cloud Platform Console.
|
65
|
-
# + Membership changes that leave the project without any owners that have
|
66
|
-
# accepted the Terms of Service (ToS) will be rejected.
|
67
|
-
# + If the project is not part of an organization, there must be at least
|
68
|
-
# one owner who has accepted the Terms of Service (ToS) agreement in the
|
69
|
-
# policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner
|
70
|
-
# from the policy will fail. This restriction also applies to legacy
|
71
|
-
# projects that no longer have owners who have accepted the ToS. Edits to
|
72
|
-
# IAM policies will be rejected until the lack of a ToS-accepting owner is
|
73
|
-
# rectified.
|
74
|
-
# + Calling this method requires enabling the App Engine Admin API.
|
75
|
-
# Note: Removing service accounts from policies or changing their roles
|
76
|
-
# can render services completely inoperable. It is important to understand
|
77
|
-
# how the service account is being used before removing or updating its
|
78
|
-
# roles.
|
79
|
-
# @param [String] resource
|
80
|
-
# REQUIRED: The resource for which the policy is being specified.
|
81
|
-
# See the operation documentation for the appropriate value for this field.
|
82
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
51
|
+
# Fetches an Organization resource identified by the specified resource name.
|
52
|
+
# @param [String] name
|
53
|
+
# The resource name of the Organization to fetch, e.g. "organizations/1234".
|
54
|
+
# @param [String] organization_id
|
55
|
+
# The id of the Organization resource to fetch.
|
56
|
+
# This field is deprecated and will be removed in v1. Use name instead.
|
57
|
+
# @param [String] fields
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
83
59
|
# @param [String] quota_user
|
84
60
|
# Available to use for quota purposes for server-side applications. Can be any
|
85
61
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
62
|
+
# @param [Google::Apis::RequestOptions] options
|
63
|
+
# Request-specific options
|
64
|
+
#
|
65
|
+
# @yield [result, err] Result & error if block supplied
|
66
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Organization] parsed result object
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
68
|
+
#
|
69
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Organization]
|
70
|
+
#
|
71
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
72
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
|
+
def get_organization(name, organization_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
76
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
77
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
|
78
|
+
command.params['name'] = name unless name.nil?
|
79
|
+
command.query['organizationId'] = organization_id unless organization_id.nil?
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
|
+
execute_or_queue_command(command, &block)
|
83
|
+
end
|
84
|
+
|
85
|
+
# Gets the access control policy for an Organization resource. May be empty
|
86
|
+
# if no such policy or resource exists. The `resource` field should be the
|
87
|
+
# organization's resource name, e.g. "organizations/123".
|
88
|
+
# @param [String] resource
|
89
|
+
# REQUIRED: The resource for which the policy is being requested.
|
90
|
+
# See the operation documentation for the appropriate value for this field.
|
91
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
86
92
|
# @param [String] fields
|
87
93
|
# Selector specifying which fields to include in a partial response.
|
94
|
+
# @param [String] quota_user
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
88
97
|
# @param [Google::Apis::RequestOptions] options
|
89
98
|
# Request-specific options
|
90
99
|
#
|
@@ -97,67 +106,80 @@ module Google
|
|
97
106
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
98
107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
99
108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
100
|
-
def
|
101
|
-
command = make_simple_command(:post, 'v1beta1/
|
102
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
103
|
-
command.request_object =
|
109
|
+
def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
111
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
|
112
|
+
command.request_object = get_iam_policy_request_object
|
104
113
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
105
114
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
106
115
|
command.params['resource'] = resource unless resource.nil?
|
107
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
108
116
|
command.query['fields'] = fields unless fields.nil?
|
117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
109
118
|
execute_or_queue_command(command, &block)
|
110
119
|
end
|
111
120
|
|
112
|
-
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
121
|
+
# Lists Organization resources that are visible to the user and satisfy
|
122
|
+
# the specified filter. This method returns Organizations in an unspecified
|
123
|
+
# order. New Organizations do not necessarily appear at the end of the list.
|
124
|
+
# @param [String] filter
|
125
|
+
# An optional query string used to filter the Organizations to return in
|
126
|
+
# the response. Filter rules are case-insensitive.
|
127
|
+
# Organizations may be filtered by `owner.directoryCustomerId` or by
|
128
|
+
# `domain`, where the domain is a Google for Work domain, for example:
|
129
|
+
# |Filter|Description|
|
130
|
+
# |------|-----------|
|
131
|
+
# |owner.directorycustomerid:123456789|Organizations with `owner.
|
132
|
+
# directory_customer_id` equal to `123456789`.|
|
133
|
+
# |domain:google.com|Organizations corresponding to the domain `google.com`.|
|
134
|
+
# This field is optional.
|
135
|
+
# @param [Fixnum] page_size
|
136
|
+
# The maximum number of Organizations to return in the response.
|
137
|
+
# This field is optional.
|
138
|
+
# @param [String] page_token
|
139
|
+
# A pagination token returned from a previous call to `ListOrganizations`
|
140
|
+
# that indicates from where listing should continue.
|
141
|
+
# This field is optional.
|
142
|
+
# @param [String] fields
|
143
|
+
# Selector specifying which fields to include in a partial response.
|
121
144
|
# @param [String] quota_user
|
122
145
|
# Available to use for quota purposes for server-side applications. Can be any
|
123
146
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
124
|
-
# @param [String] fields
|
125
|
-
# Selector specifying which fields to include in a partial response.
|
126
147
|
# @param [Google::Apis::RequestOptions] options
|
127
148
|
# Request-specific options
|
128
149
|
#
|
129
150
|
# @yield [result, err] Result & error if block supplied
|
130
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
151
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse] parsed result object
|
131
152
|
# @yieldparam err [StandardError] error object if request failed
|
132
153
|
#
|
133
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
154
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse]
|
134
155
|
#
|
135
156
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
136
157
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
137
158
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
138
|
-
def
|
139
|
-
command = make_simple_command(:
|
140
|
-
command.
|
141
|
-
command.
|
142
|
-
command.
|
143
|
-
command.
|
144
|
-
command.query['
|
145
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
|
+
def list_organizations(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
160
|
+
command = make_simple_command(:get, 'v1beta1/organizations', options)
|
161
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation
|
162
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
|
163
|
+
command.query['filter'] = filter unless filter.nil?
|
164
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
165
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
146
166
|
command.query['fields'] = fields unless fields.nil?
|
167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
147
168
|
execute_or_queue_command(command, &block)
|
148
169
|
end
|
149
170
|
|
150
|
-
#
|
151
|
-
#
|
171
|
+
# Sets the access control policy on an Organization resource. Replaces any
|
172
|
+
# existing policy. The `resource` field should be the organization's resource
|
173
|
+
# name, e.g. "organizations/123".
|
152
174
|
# @param [String] resource
|
153
|
-
# REQUIRED: The resource for which the policy is being
|
175
|
+
# REQUIRED: The resource for which the policy is being specified.
|
154
176
|
# See the operation documentation for the appropriate value for this field.
|
155
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::
|
177
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
178
|
+
# @param [String] fields
|
179
|
+
# Selector specifying which fields to include in a partial response.
|
156
180
|
# @param [String] quota_user
|
157
181
|
# Available to use for quota purposes for server-side applications. Can be any
|
158
182
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
159
|
-
# @param [String] fields
|
160
|
-
# Selector specifying which fields to include in a partial response.
|
161
183
|
# @param [Google::Apis::RequestOptions] options
|
162
184
|
# Request-specific options
|
163
185
|
#
|
@@ -170,68 +192,103 @@ module Google
|
|
170
192
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
171
193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
172
194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
173
|
-
def
|
174
|
-
command = make_simple_command(:post, 'v1beta1/
|
175
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
176
|
-
command.request_object =
|
195
|
+
def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
196
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
197
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
|
198
|
+
command.request_object = set_iam_policy_request_object
|
177
199
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
178
200
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
179
201
|
command.params['resource'] = resource unless resource.nil?
|
180
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
181
202
|
command.query['fields'] = fields unless fields.nil?
|
203
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
182
204
|
execute_or_queue_command(command, &block)
|
183
205
|
end
|
184
206
|
|
185
|
-
#
|
186
|
-
# `
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
# @param [
|
192
|
-
#
|
193
|
-
#
|
194
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
|
207
|
+
# Returns permissions that a caller has on the specified Organization.
|
208
|
+
# The `resource` field should be the organization's resource name,
|
209
|
+
# e.g. "organizations/123".
|
210
|
+
# @param [String] resource
|
211
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
212
|
+
# See the operation documentation for the appropriate value for this field.
|
213
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
214
|
+
# @param [String] fields
|
215
|
+
# Selector specifying which fields to include in a partial response.
|
195
216
|
# @param [String] quota_user
|
196
217
|
# Available to use for quota purposes for server-side applications. Can be any
|
197
218
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
198
|
-
# @param [String] fields
|
199
|
-
# Selector specifying which fields to include in a partial response.
|
200
219
|
# @param [Google::Apis::RequestOptions] options
|
201
220
|
# Request-specific options
|
202
221
|
#
|
203
222
|
# @yield [result, err] Result & error if block supplied
|
204
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
223
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] parsed result object
|
205
224
|
# @yieldparam err [StandardError] error object if request failed
|
206
225
|
#
|
207
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
226
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse]
|
208
227
|
#
|
209
228
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
210
229
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
211
230
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
212
|
-
def
|
213
|
-
command = make_simple_command(:post, 'v1beta1/
|
214
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
215
|
-
command.request_object =
|
216
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
217
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
218
|
-
command.params['
|
219
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
231
|
+
def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
232
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
233
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
|
234
|
+
command.request_object = test_iam_permissions_request_object
|
235
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
|
236
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse
|
237
|
+
command.params['resource'] = resource unless resource.nil?
|
220
238
|
command.query['fields'] = fields unless fields.nil?
|
239
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
221
240
|
execute_or_queue_command(command, &block)
|
222
241
|
end
|
223
242
|
|
224
|
-
#
|
225
|
-
#
|
226
|
-
# The
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
243
|
+
# Updates an Organization resource identified by the specified resource name.
|
244
|
+
# @param [String] name
|
245
|
+
# Output Only. The resource name of the organization. This is the
|
246
|
+
# organization's relative path in the API. Its format is
|
247
|
+
# "organizations/[organization_id]". For example, "organizations/1234".
|
248
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object
|
249
|
+
# @param [String] fields
|
250
|
+
# Selector specifying which fields to include in a partial response.
|
230
251
|
# @param [String] quota_user
|
231
252
|
# Available to use for quota purposes for server-side applications. Can be any
|
232
253
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
254
|
+
# @param [Google::Apis::RequestOptions] options
|
255
|
+
# Request-specific options
|
256
|
+
#
|
257
|
+
# @yield [result, err] Result & error if block supplied
|
258
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Organization] parsed result object
|
259
|
+
# @yieldparam err [StandardError] error object if request failed
|
260
|
+
#
|
261
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Organization]
|
262
|
+
#
|
263
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
264
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
265
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
266
|
+
def update_organization(name, organization_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
267
|
+
command = make_simple_command(:put, 'v1beta1/{+name}', options)
|
268
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
269
|
+
command.request_object = organization_object
|
270
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
271
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
|
272
|
+
command.params['name'] = name unless name.nil?
|
273
|
+
command.query['fields'] = fields unless fields.nil?
|
274
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
275
|
+
execute_or_queue_command(command, &block)
|
276
|
+
end
|
277
|
+
|
278
|
+
# Creates a Project resource.
|
279
|
+
# Initially, the Project resource is owned by its creator exclusively.
|
280
|
+
# The creator can later grant permission to others to read or update the
|
281
|
+
# Project.
|
282
|
+
# Several APIs are activated automatically for the Project, including
|
283
|
+
# Google Cloud Storage.
|
284
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
285
|
+
# @param [Boolean] use_legacy_stack
|
286
|
+
# A safety hatch to opt out of the new reliable project creation process.
|
233
287
|
# @param [String] fields
|
234
288
|
# Selector specifying which fields to include in a partial response.
|
289
|
+
# @param [String] quota_user
|
290
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
291
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
235
292
|
# @param [Google::Apis::RequestOptions] options
|
236
293
|
# Request-specific options
|
237
294
|
#
|
@@ -244,64 +301,78 @@ module Google
|
|
244
301
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
245
302
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
246
303
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
247
|
-
def
|
248
|
-
command = make_simple_command(:
|
304
|
+
def create_project(project_object = nil, use_legacy_stack: nil, fields: nil, quota_user: nil, options: nil, &block)
|
305
|
+
command = make_simple_command(:post, 'v1beta1/projects', options)
|
306
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
307
|
+
command.request_object = project_object
|
249
308
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
250
309
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
|
251
|
-
command.
|
252
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
310
|
+
command.query['useLegacyStack'] = use_legacy_stack unless use_legacy_stack.nil?
|
253
311
|
command.query['fields'] = fields unless fields.nil?
|
312
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
254
313
|
execute_or_queue_command(command, &block)
|
255
314
|
end
|
256
315
|
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
316
|
+
# Marks the Project identified by the specified
|
317
|
+
# `project_id` (for example, `my-project-123`) for deletion.
|
318
|
+
# This method will only affect the Project if the following criteria are met:
|
319
|
+
# + The Project does not have a billing account associated with it.
|
320
|
+
# + The Project has a lifecycle state of
|
321
|
+
# ACTIVE.
|
322
|
+
# This method changes the Project's lifecycle state from
|
323
|
+
# ACTIVE
|
324
|
+
# to DELETE_REQUESTED.
|
325
|
+
# The deletion starts at an unspecified time, at which point the project is
|
326
|
+
# no longer accessible.
|
327
|
+
# Until the deletion completes, you can check the lifecycle state
|
328
|
+
# checked by retrieving the Project with GetProject,
|
329
|
+
# and the Project remains visible to ListProjects.
|
330
|
+
# However, you cannot update the project.
|
331
|
+
# After the deletion completes, the Project is not retrievable by
|
332
|
+
# the GetProject and
|
333
|
+
# ListProjects methods.
|
334
|
+
# The caller must have modify permissions for this Project.
|
260
335
|
# @param [String] project_id
|
261
|
-
# The Project ID (for example, `
|
336
|
+
# The Project ID (for example, `foo-bar-123`).
|
262
337
|
# Required.
|
263
|
-
# @param [
|
338
|
+
# @param [String] fields
|
339
|
+
# Selector specifying which fields to include in a partial response.
|
264
340
|
# @param [String] quota_user
|
265
341
|
# Available to use for quota purposes for server-side applications. Can be any
|
266
342
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
267
|
-
# @param [String] fields
|
268
|
-
# Selector specifying which fields to include in a partial response.
|
269
343
|
# @param [Google::Apis::RequestOptions] options
|
270
344
|
# Request-specific options
|
271
345
|
#
|
272
346
|
# @yield [result, err] Result & error if block supplied
|
273
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
347
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object
|
274
348
|
# @yieldparam err [StandardError] error object if request failed
|
275
349
|
#
|
276
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
350
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Empty]
|
277
351
|
#
|
278
352
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
279
353
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
280
354
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
281
|
-
def
|
282
|
-
command = make_simple_command(:
|
283
|
-
command.
|
284
|
-
command.
|
285
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation
|
286
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse
|
355
|
+
def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
356
|
+
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}', options)
|
357
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
|
358
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty
|
287
359
|
command.params['projectId'] = project_id unless project_id.nil?
|
288
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
289
360
|
command.query['fields'] = fields unless fields.nil?
|
361
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
290
362
|
execute_or_queue_command(command, &block)
|
291
363
|
end
|
292
364
|
|
293
|
-
#
|
365
|
+
# Retrieves the Project identified by the specified
|
294
366
|
# `project_id` (for example, `my-project-123`).
|
295
|
-
# The caller must have
|
367
|
+
# The caller must have read permissions for this Project.
|
296
368
|
# @param [String] project_id
|
297
|
-
# The
|
369
|
+
# The Project ID (for example, `my-project-123`).
|
298
370
|
# Required.
|
299
|
-
# @param [
|
371
|
+
# @param [String] fields
|
372
|
+
# Selector specifying which fields to include in a partial response.
|
300
373
|
# @param [String] quota_user
|
301
374
|
# Available to use for quota purposes for server-side applications. Can be any
|
302
375
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
303
|
-
# @param [String] fields
|
304
|
-
# Selector specifying which fields to include in a partial response.
|
305
376
|
# @param [Google::Apis::RequestOptions] options
|
306
377
|
# Request-specific options
|
307
378
|
#
|
@@ -314,98 +385,84 @@ module Google
|
|
314
385
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
315
386
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
316
387
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
317
|
-
def
|
318
|
-
command = make_simple_command(:
|
319
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
320
|
-
command.request_object = project_object
|
388
|
+
def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
389
|
+
command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options)
|
321
390
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
322
391
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
|
323
392
|
command.params['projectId'] = project_id unless project_id.nil?
|
324
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
325
393
|
command.query['fields'] = fields unless fields.nil?
|
394
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
326
395
|
execute_or_queue_command(command, &block)
|
327
396
|
end
|
328
397
|
|
329
|
-
#
|
330
|
-
#
|
331
|
-
#
|
332
|
-
#
|
333
|
-
#
|
398
|
+
# Gets a list of ancestors in the resource hierarchy for the Project
|
399
|
+
# identified by the specified `project_id` (for example, `my-project-123`).
|
400
|
+
# The caller must have read permissions for this Project.
|
401
|
+
# @param [String] project_id
|
402
|
+
# The Project ID (for example, `my-project-123`).
|
403
|
+
# Required.
|
404
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object
|
405
|
+
# @param [String] fields
|
406
|
+
# Selector specifying which fields to include in a partial response.
|
334
407
|
# @param [String] quota_user
|
335
408
|
# Available to use for quota purposes for server-side applications. Can be any
|
336
409
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
337
|
-
# @param [String] fields
|
338
|
-
# Selector specifying which fields to include in a partial response.
|
339
410
|
# @param [Google::Apis::RequestOptions] options
|
340
411
|
# Request-specific options
|
341
412
|
#
|
342
413
|
# @yield [result, err] Result & error if block supplied
|
343
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
414
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] parsed result object
|
344
415
|
# @yieldparam err [StandardError] error object if request failed
|
345
416
|
#
|
346
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
417
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse]
|
347
418
|
#
|
348
419
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
349
420
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
350
421
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
351
|
-
def
|
352
|
-
command = make_simple_command(:post, 'v1beta1/projects/{
|
353
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
354
|
-
command.request_object =
|
355
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
356
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
357
|
-
command.params['
|
358
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
422
|
+
def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
423
|
+
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options)
|
424
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation
|
425
|
+
command.request_object = get_ancestry_request_object
|
426
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation
|
427
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse
|
428
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
359
429
|
command.query['fields'] = fields unless fields.nil?
|
430
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
360
431
|
execute_or_queue_command(command, &block)
|
361
432
|
end
|
362
433
|
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
# to DELETE_REQUESTED.
|
372
|
-
# The deletion starts at an unspecified time, at which point the project is
|
373
|
-
# no longer accessible.
|
374
|
-
# Until the deletion completes, you can check the lifecycle state
|
375
|
-
# checked by retrieving the Project with GetProject,
|
376
|
-
# and the Project remains visible to ListProjects.
|
377
|
-
# However, you cannot update the project.
|
378
|
-
# After the deletion completes, the Project is not retrievable by
|
379
|
-
# the GetProject and
|
380
|
-
# ListProjects methods.
|
381
|
-
# The caller must have modify permissions for this Project.
|
382
|
-
# @param [String] project_id
|
383
|
-
# The Project ID (for example, `foo-bar-123`).
|
384
|
-
# Required.
|
434
|
+
# Returns the IAM access control policy for the specified Project.
|
435
|
+
# Permission is denied if the policy or the resource does not exist.
|
436
|
+
# @param [String] resource
|
437
|
+
# REQUIRED: The resource for which the policy is being requested.
|
438
|
+
# See the operation documentation for the appropriate value for this field.
|
439
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
440
|
+
# @param [String] fields
|
441
|
+
# Selector specifying which fields to include in a partial response.
|
385
442
|
# @param [String] quota_user
|
386
443
|
# Available to use for quota purposes for server-side applications. Can be any
|
387
444
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
388
|
-
# @param [String] fields
|
389
|
-
# Selector specifying which fields to include in a partial response.
|
390
445
|
# @param [Google::Apis::RequestOptions] options
|
391
446
|
# Request-specific options
|
392
447
|
#
|
393
448
|
# @yield [result, err] Result & error if block supplied
|
394
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
449
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object
|
395
450
|
# @yieldparam err [StandardError] error object if request failed
|
396
451
|
#
|
397
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
452
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
398
453
|
#
|
399
454
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
400
455
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
401
456
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
402
|
-
def
|
403
|
-
command = make_simple_command(:
|
404
|
-
command.
|
405
|
-
command.
|
406
|
-
command.
|
407
|
-
command.
|
457
|
+
def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
458
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options)
|
459
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
|
460
|
+
command.request_object = get_iam_policy_request_object
|
461
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
462
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
463
|
+
command.params['resource'] = resource unless resource.nil?
|
408
464
|
command.query['fields'] = fields unless fields.nil?
|
465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
409
466
|
execute_or_queue_command(command, &block)
|
410
467
|
end
|
411
468
|
|
@@ -438,20 +495,20 @@ module Google
|
|
438
495
|
# filters have been applied. If no filter is specified, the call will return
|
439
496
|
# projects for which the user has `resourcemanager.projects.get` permissions.
|
440
497
|
# Optional.
|
441
|
-
# @param [String] page_token
|
442
|
-
# A pagination token returned from a previous call to ListProjects
|
443
|
-
# that indicates from where listing should continue.
|
444
|
-
# Optional.
|
445
498
|
# @param [Fixnum] page_size
|
446
499
|
# The maximum number of Projects to return in the response.
|
447
500
|
# The server can return fewer Projects than requested.
|
448
501
|
# If unspecified, server picks an appropriate default.
|
449
502
|
# Optional.
|
503
|
+
# @param [String] page_token
|
504
|
+
# A pagination token returned from a previous call to ListProjects
|
505
|
+
# that indicates from where listing should continue.
|
506
|
+
# Optional.
|
507
|
+
# @param [String] fields
|
508
|
+
# Selector specifying which fields to include in a partial response.
|
450
509
|
# @param [String] quota_user
|
451
510
|
# Available to use for quota purposes for server-side applications. Can be any
|
452
511
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
453
|
-
# @param [String] fields
|
454
|
-
# Selector specifying which fields to include in a partial response.
|
455
512
|
# @param [Google::Apis::RequestOptions] options
|
456
513
|
# Request-specific options
|
457
514
|
#
|
@@ -464,80 +521,55 @@ module Google
|
|
464
521
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
465
522
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
466
523
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
467
|
-
def list_projects(filter: nil,
|
524
|
+
def list_projects(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
468
525
|
command = make_simple_command(:get, 'v1beta1/projects', options)
|
469
526
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse::Representation
|
470
527
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse
|
471
528
|
command.query['filter'] = filter unless filter.nil?
|
472
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
473
529
|
command.query['pageSize'] = page_size unless page_size.nil?
|
474
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
475
|
-
command.query['fields'] = fields unless fields.nil?
|
476
|
-
execute_or_queue_command(command, &block)
|
477
|
-
end
|
478
|
-
|
479
|
-
# Lists Organization resources that are visible to the user and satisfy
|
480
|
-
# the specified filter. This method returns Organizations in an unspecified
|
481
|
-
# order. New Organizations do not necessarily appear at the end of the list.
|
482
|
-
# @param [String] filter
|
483
|
-
# An optional query string used to filter the Organizations to return in
|
484
|
-
# the response. Filter rules are case-insensitive.
|
485
|
-
# Organizations may be filtered by `owner.directoryCustomerId` or by
|
486
|
-
# `domain`, where the domain is a Google for Work domain, for example:
|
487
|
-
# |Filter|Description|
|
488
|
-
# |------|-----------|
|
489
|
-
# |owner.directorycustomerid:123456789|Organizations with `owner.
|
490
|
-
# directory_customer_id` equal to `123456789`.|
|
491
|
-
# |domain:google.com|Organizations corresponding to the domain `google.com`.|
|
492
|
-
# This field is optional.
|
493
|
-
# @param [String] page_token
|
494
|
-
# A pagination token returned from a previous call to `ListOrganizations`
|
495
|
-
# that indicates from where listing should continue.
|
496
|
-
# This field is optional.
|
497
|
-
# @param [Fixnum] page_size
|
498
|
-
# The maximum number of Organizations to return in the response.
|
499
|
-
# This field is optional.
|
500
|
-
# @param [String] quota_user
|
501
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
502
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
503
|
-
# @param [String] fields
|
504
|
-
# Selector specifying which fields to include in a partial response.
|
505
|
-
# @param [Google::Apis::RequestOptions] options
|
506
|
-
# Request-specific options
|
507
|
-
#
|
508
|
-
# @yield [result, err] Result & error if block supplied
|
509
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse] parsed result object
|
510
|
-
# @yieldparam err [StandardError] error object if request failed
|
511
|
-
#
|
512
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse]
|
513
|
-
#
|
514
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
515
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
516
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
517
|
-
def list_organizations(filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
518
|
-
command = make_simple_command(:get, 'v1beta1/organizations', options)
|
519
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation
|
520
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
|
521
|
-
command.query['filter'] = filter unless filter.nil?
|
522
530
|
command.query['pageToken'] = page_token unless page_token.nil?
|
523
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
524
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
525
531
|
command.query['fields'] = fields unless fields.nil?
|
532
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
526
533
|
execute_or_queue_command(command, &block)
|
527
534
|
end
|
528
535
|
|
529
|
-
# Sets the access control policy
|
530
|
-
# existing policy.
|
531
|
-
#
|
536
|
+
# Sets the IAM access control policy for the specified Project. Replaces
|
537
|
+
# any existing policy.
|
538
|
+
# The following constraints apply when using `setIamPolicy()`:
|
539
|
+
# + Project does not support `allUsers` and `allAuthenticatedUsers` as
|
540
|
+
# `members` in a `Binding` of a `Policy`.
|
541
|
+
# + The owner role can be granted only to `user` and `serviceAccount`.
|
542
|
+
# + Service accounts can be made owners of a project directly
|
543
|
+
# without any restrictions. However, to be added as an owner, a user must be
|
544
|
+
# invited via Cloud Platform console and must accept the invitation.
|
545
|
+
# + A user cannot be granted the owner role using `setIamPolicy()`. The user
|
546
|
+
# must be granted the owner role using the Cloud Platform Console and must
|
547
|
+
# explicitly accept the invitation.
|
548
|
+
# + Invitations to grant the owner role cannot be sent using
|
549
|
+
# `setIamPolicy()`; they must be sent only using the Cloud Platform Console.
|
550
|
+
# + Membership changes that leave the project without any owners that have
|
551
|
+
# accepted the Terms of Service (ToS) will be rejected.
|
552
|
+
# + If the project is not part of an organization, there must be at least
|
553
|
+
# one owner who has accepted the Terms of Service (ToS) agreement in the
|
554
|
+
# policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner
|
555
|
+
# from the policy will fail. This restriction also applies to legacy
|
556
|
+
# projects that no longer have owners who have accepted the ToS. Edits to
|
557
|
+
# IAM policies will be rejected until the lack of a ToS-accepting owner is
|
558
|
+
# rectified.
|
559
|
+
# + Calling this method requires enabling the App Engine Admin API.
|
560
|
+
# Note: Removing service accounts from policies or changing their roles
|
561
|
+
# can render services completely inoperable. It is important to understand
|
562
|
+
# how the service account is being used before removing or updating its
|
563
|
+
# roles.
|
532
564
|
# @param [String] resource
|
533
565
|
# REQUIRED: The resource for which the policy is being specified.
|
534
566
|
# See the operation documentation for the appropriate value for this field.
|
535
567
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
568
|
+
# @param [String] fields
|
569
|
+
# Selector specifying which fields to include in a partial response.
|
536
570
|
# @param [String] quota_user
|
537
571
|
# Available to use for quota purposes for server-side applications. Can be any
|
538
572
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
539
|
-
# @param [String] fields
|
540
|
-
# Selector specifying which fields to include in a partial response.
|
541
573
|
# @param [Google::Apis::RequestOptions] options
|
542
574
|
# Request-specific options
|
543
575
|
#
|
@@ -550,156 +582,124 @@ module Google
|
|
550
582
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
551
583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
552
584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
553
|
-
def
|
554
|
-
command = make_simple_command(:post, 'v1beta1/{
|
585
|
+
def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
586
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:setIamPolicy', options)
|
555
587
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
|
556
588
|
command.request_object = set_iam_policy_request_object
|
557
589
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
558
590
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
559
591
|
command.params['resource'] = resource unless resource.nil?
|
560
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
561
592
|
command.query['fields'] = fields unless fields.nil?
|
593
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
562
594
|
execute_or_queue_command(command, &block)
|
563
595
|
end
|
564
596
|
|
565
|
-
#
|
566
|
-
# if no such policy or resource exists. The `resource` field should be the
|
567
|
-
# organization's resource name, e.g. "organizations/123".
|
597
|
+
# Returns permissions that a caller has on the specified Project.
|
568
598
|
# @param [String] resource
|
569
|
-
# REQUIRED: The resource for which the policy is being requested.
|
599
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
570
600
|
# See the operation documentation for the appropriate value for this field.
|
571
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::
|
601
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
602
|
+
# @param [String] fields
|
603
|
+
# Selector specifying which fields to include in a partial response.
|
572
604
|
# @param [String] quota_user
|
573
605
|
# Available to use for quota purposes for server-side applications. Can be any
|
574
606
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
575
|
-
# @param [String] fields
|
576
|
-
# Selector specifying which fields to include in a partial response.
|
577
607
|
# @param [Google::Apis::RequestOptions] options
|
578
608
|
# Request-specific options
|
579
609
|
#
|
580
610
|
# @yield [result, err] Result & error if block supplied
|
581
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
611
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] parsed result object
|
582
612
|
# @yieldparam err [StandardError] error object if request failed
|
583
613
|
#
|
584
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
614
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse]
|
585
615
|
#
|
586
616
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
587
617
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
588
618
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
589
|
-
def
|
590
|
-
command = make_simple_command(:post, 'v1beta1/{
|
591
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
592
|
-
command.request_object =
|
593
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
594
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
619
|
+
def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
620
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options)
|
621
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
|
622
|
+
command.request_object = test_iam_permissions_request_object
|
623
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
|
624
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse
|
595
625
|
command.params['resource'] = resource unless resource.nil?
|
596
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
597
626
|
command.query['fields'] = fields unless fields.nil?
|
627
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
598
628
|
execute_or_queue_command(command, &block)
|
599
629
|
end
|
600
630
|
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
607
|
-
# @param [String]
|
608
|
-
#
|
609
|
-
#
|
631
|
+
# Restores the Project identified by the specified
|
632
|
+
# `project_id` (for example, `my-project-123`).
|
633
|
+
# You can only use this method for a Project that has a lifecycle state of
|
634
|
+
# DELETE_REQUESTED.
|
635
|
+
# After deletion starts, the Project cannot be restored.
|
636
|
+
# The caller must have modify permissions for this Project.
|
637
|
+
# @param [String] project_id
|
638
|
+
# The project ID (for example, `foo-bar-123`).
|
639
|
+
# Required.
|
640
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
|
610
641
|
# @param [String] fields
|
611
642
|
# Selector specifying which fields to include in a partial response.
|
612
|
-
# @param [Google::Apis::RequestOptions] options
|
613
|
-
# Request-specific options
|
614
|
-
#
|
615
|
-
# @yield [result, err] Result & error if block supplied
|
616
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Organization] parsed result object
|
617
|
-
# @yieldparam err [StandardError] error object if request failed
|
618
|
-
#
|
619
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::Organization]
|
620
|
-
#
|
621
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
622
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
623
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
624
|
-
def get_organization(name, organization_id: nil, quota_user: nil, fields: nil, options: nil, &block)
|
625
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
626
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
627
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
|
628
|
-
command.params['name'] = name unless name.nil?
|
629
|
-
command.query['organizationId'] = organization_id unless organization_id.nil?
|
630
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
631
|
-
command.query['fields'] = fields unless fields.nil?
|
632
|
-
execute_or_queue_command(command, &block)
|
633
|
-
end
|
634
|
-
|
635
|
-
# Updates an Organization resource identified by the specified resource name.
|
636
|
-
# @param [String] name
|
637
|
-
# Output Only. The resource name of the organization. This is the
|
638
|
-
# organization's relative path in the API. Its format is
|
639
|
-
# "organizations/[organization_id]". For example, "organizations/1234".
|
640
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object
|
641
643
|
# @param [String] quota_user
|
642
644
|
# Available to use for quota purposes for server-side applications. Can be any
|
643
645
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
644
|
-
# @param [String] fields
|
645
|
-
# Selector specifying which fields to include in a partial response.
|
646
646
|
# @param [Google::Apis::RequestOptions] options
|
647
647
|
# Request-specific options
|
648
648
|
#
|
649
649
|
# @yield [result, err] Result & error if block supplied
|
650
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
650
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object
|
651
651
|
# @yieldparam err [StandardError] error object if request failed
|
652
652
|
#
|
653
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
653
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Empty]
|
654
654
|
#
|
655
655
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
656
656
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
657
657
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
658
|
-
def
|
659
|
-
command = make_simple_command(:
|
660
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
661
|
-
command.request_object =
|
662
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
663
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
664
|
-
command.params['
|
665
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
658
|
+
def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
659
|
+
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options)
|
660
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation
|
661
|
+
command.request_object = undelete_project_request_object
|
662
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
|
663
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty
|
664
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
666
665
|
command.query['fields'] = fields unless fields.nil?
|
666
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
667
667
|
execute_or_queue_command(command, &block)
|
668
668
|
end
|
669
669
|
|
670
|
-
#
|
671
|
-
#
|
672
|
-
#
|
673
|
-
# @param [String]
|
674
|
-
#
|
675
|
-
#
|
676
|
-
# @param [Google::Apis::CloudresourcemanagerV1beta1::
|
670
|
+
# Updates the attributes of the Project identified by the specified
|
671
|
+
# `project_id` (for example, `my-project-123`).
|
672
|
+
# The caller must have modify permissions for this Project.
|
673
|
+
# @param [String] project_id
|
674
|
+
# The project ID (for example, `my-project-123`).
|
675
|
+
# Required.
|
676
|
+
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
677
|
+
# @param [String] fields
|
678
|
+
# Selector specifying which fields to include in a partial response.
|
677
679
|
# @param [String] quota_user
|
678
680
|
# Available to use for quota purposes for server-side applications. Can be any
|
679
681
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
680
|
-
# @param [String] fields
|
681
|
-
# Selector specifying which fields to include in a partial response.
|
682
682
|
# @param [Google::Apis::RequestOptions] options
|
683
683
|
# Request-specific options
|
684
684
|
#
|
685
685
|
# @yield [result, err] Result & error if block supplied
|
686
|
-
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::
|
686
|
+
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object
|
687
687
|
# @yieldparam err [StandardError] error object if request failed
|
688
688
|
#
|
689
|
-
# @return [Google::Apis::CloudresourcemanagerV1beta1::
|
689
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::Project]
|
690
690
|
#
|
691
691
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
692
692
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
693
693
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
694
|
-
def
|
695
|
-
command = make_simple_command(:
|
696
|
-
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
697
|
-
command.request_object =
|
698
|
-
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::
|
699
|
-
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::
|
700
|
-
command.params['
|
701
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
694
|
+
def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
695
|
+
command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options)
|
696
|
+
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
697
|
+
command.request_object = project_object
|
698
|
+
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
699
|
+
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
|
700
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
702
701
|
command.query['fields'] = fields unless fields.nil?
|
702
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
703
703
|
execute_or_queue_command(command, &block)
|
704
704
|
end
|
705
705
|
|