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
@@ -0,0 +1,38 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/cloudresourcemanager_v2beta1/service.rb'
|
16
|
+
require 'google/apis/cloudresourcemanager_v2beta1/classes.rb'
|
17
|
+
require 'google/apis/cloudresourcemanager_v2beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Google Cloud Resource Manager API
|
22
|
+
#
|
23
|
+
# The Google Cloud Resource Manager API provides methods for creating, reading,
|
24
|
+
# and updating project metadata.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/resource-manager
|
27
|
+
module CloudresourcemanagerV2beta1
|
28
|
+
VERSION = 'V2beta1'
|
29
|
+
REVISION = '20170710'
|
30
|
+
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
+
|
34
|
+
# View your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,819 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module CloudresourcemanagerV2beta1
|
24
|
+
|
25
|
+
# Specifies the audit configuration for a service.
|
26
|
+
# The configuration determines which permission types are logged, and what
|
27
|
+
# identities, if any, are exempted from logging.
|
28
|
+
# An AuditConfig must have one or more AuditLogConfigs.
|
29
|
+
# If there are AuditConfigs for both `allServices` and a specific service,
|
30
|
+
# the union of the two AuditConfigs is used for that service: the log_types
|
31
|
+
# specified in each AuditConfig are enabled, and the exempted_members in each
|
32
|
+
# AuditConfig are exempted.
|
33
|
+
# Example Policy with multiple AuditConfigs:
|
34
|
+
# `
|
35
|
+
# "audit_configs": [
|
36
|
+
# `
|
37
|
+
# "service": "allServices"
|
38
|
+
# "audit_log_configs": [
|
39
|
+
# `
|
40
|
+
# "log_type": "DATA_READ",
|
41
|
+
# "exempted_members": [
|
42
|
+
# "user:foo@gmail.com"
|
43
|
+
# ]
|
44
|
+
# `,
|
45
|
+
# `
|
46
|
+
# "log_type": "DATA_WRITE",
|
47
|
+
# `,
|
48
|
+
# `
|
49
|
+
# "log_type": "ADMIN_READ",
|
50
|
+
# `
|
51
|
+
# ]
|
52
|
+
# `,
|
53
|
+
# `
|
54
|
+
# "service": "fooservice.googleapis.com"
|
55
|
+
# "audit_log_configs": [
|
56
|
+
# `
|
57
|
+
# "log_type": "DATA_READ",
|
58
|
+
# `,
|
59
|
+
# `
|
60
|
+
# "log_type": "DATA_WRITE",
|
61
|
+
# "exempted_members": [
|
62
|
+
# "user:bar@gmail.com"
|
63
|
+
# ]
|
64
|
+
# `
|
65
|
+
# ]
|
66
|
+
# `
|
67
|
+
# ]
|
68
|
+
# `
|
69
|
+
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
70
|
+
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
71
|
+
# bar@gmail.com from DATA_WRITE logging.
|
72
|
+
class AuditConfig
|
73
|
+
include Google::Apis::Core::Hashable
|
74
|
+
|
75
|
+
# The configuration for logging of each type of permission.
|
76
|
+
# Next ID: 4
|
77
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
78
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditLogConfig>]
|
79
|
+
attr_accessor :audit_log_configs
|
80
|
+
|
81
|
+
# Specifies a service that will be enabled for audit logging.
|
82
|
+
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
83
|
+
# `allServices` is a special value that covers all services.
|
84
|
+
# Corresponds to the JSON property `service`
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :service
|
87
|
+
|
88
|
+
def initialize(**args)
|
89
|
+
update!(**args)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Update properties of this object
|
93
|
+
def update!(**args)
|
94
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
95
|
+
@service = args[:service] if args.key?(:service)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# Provides the configuration for logging a type of permissions.
|
100
|
+
# Example:
|
101
|
+
# `
|
102
|
+
# "audit_log_configs": [
|
103
|
+
# `
|
104
|
+
# "log_type": "DATA_READ",
|
105
|
+
# "exempted_members": [
|
106
|
+
# "user:foo@gmail.com"
|
107
|
+
# ]
|
108
|
+
# `,
|
109
|
+
# `
|
110
|
+
# "log_type": "DATA_WRITE",
|
111
|
+
# `
|
112
|
+
# ]
|
113
|
+
# `
|
114
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
115
|
+
# foo@gmail.com from DATA_READ logging.
|
116
|
+
class AuditLogConfig
|
117
|
+
include Google::Apis::Core::Hashable
|
118
|
+
|
119
|
+
# Specifies the identities that do not cause logging for this type of
|
120
|
+
# permission.
|
121
|
+
# Follows the same format of Binding.members.
|
122
|
+
# Corresponds to the JSON property `exemptedMembers`
|
123
|
+
# @return [Array<String>]
|
124
|
+
attr_accessor :exempted_members
|
125
|
+
|
126
|
+
# The log type that this config enables.
|
127
|
+
# Corresponds to the JSON property `logType`
|
128
|
+
# @return [String]
|
129
|
+
attr_accessor :log_type
|
130
|
+
|
131
|
+
def initialize(**args)
|
132
|
+
update!(**args)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Update properties of this object
|
136
|
+
def update!(**args)
|
137
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
138
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# Associates `members` with a `role`.
|
143
|
+
class Binding
|
144
|
+
include Google::Apis::Core::Hashable
|
145
|
+
|
146
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
147
|
+
# `members` can have the following values:
|
148
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
149
|
+
# on the internet; with or without a Google account.
|
150
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
151
|
+
# who is authenticated with a Google account or a service account.
|
152
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
153
|
+
# account. For example, `alice@gmail.com` or `joe@example.com`.
|
154
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
155
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
156
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
157
|
+
# For example, `admins@example.com`.
|
158
|
+
# * `domain:`domain``: A Google Apps domain name that represents all the
|
159
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
160
|
+
# Corresponds to the JSON property `members`
|
161
|
+
# @return [Array<String>]
|
162
|
+
attr_accessor :members
|
163
|
+
|
164
|
+
# Role that is assigned to `members`.
|
165
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
166
|
+
# Required
|
167
|
+
# Corresponds to the JSON property `role`
|
168
|
+
# @return [String]
|
169
|
+
attr_accessor :role
|
170
|
+
|
171
|
+
def initialize(**args)
|
172
|
+
update!(**args)
|
173
|
+
end
|
174
|
+
|
175
|
+
# Update properties of this object
|
176
|
+
def update!(**args)
|
177
|
+
@members = args[:members] if args.key?(:members)
|
178
|
+
@role = args[:role] if args.key?(:role)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
# A Folder in an Organization's resource hierarchy, used to
|
183
|
+
# organize that Organization's resources.
|
184
|
+
class Folder
|
185
|
+
include Google::Apis::Core::Hashable
|
186
|
+
|
187
|
+
# Output only. Timestamp when the Folder was created. Assigned by the server.
|
188
|
+
# Corresponds to the JSON property `createTime`
|
189
|
+
# @return [String]
|
190
|
+
attr_accessor :create_time
|
191
|
+
|
192
|
+
# The folder’s display name.
|
193
|
+
# A folder’s display name must be unique amongst its siblings, e.g.
|
194
|
+
# no two folders with the same parent can share the same display name.
|
195
|
+
# The display name must start and end with a letter or digit, may contain
|
196
|
+
# letters, digits, spaces, hyphens and underscores and can be no longer
|
197
|
+
# than 30 characters. This is captured by the regular expression:
|
198
|
+
# [\p`L`\p`N`](`\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?.
|
199
|
+
# Corresponds to the JSON property `displayName`
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :display_name
|
202
|
+
|
203
|
+
# Output only. The lifecycle state of the folder.
|
204
|
+
# Updates to the lifecycle_state must be performed via
|
205
|
+
# [DeleteFolder] and [UndeleteFolder].
|
206
|
+
# Corresponds to the JSON property `lifecycleState`
|
207
|
+
# @return [String]
|
208
|
+
attr_accessor :lifecycle_state
|
209
|
+
|
210
|
+
# Output only. The resource name of the Folder.
|
211
|
+
# Its format is `folders/`folder_id``, for example: "folders/1234".
|
212
|
+
# Corresponds to the JSON property `name`
|
213
|
+
# @return [String]
|
214
|
+
attr_accessor :name
|
215
|
+
|
216
|
+
# The Folder’s parent's resource name.
|
217
|
+
# Updates to the folder's parent must be performed via [MoveFolders].
|
218
|
+
# Corresponds to the JSON property `parent`
|
219
|
+
# @return [String]
|
220
|
+
attr_accessor :parent
|
221
|
+
|
222
|
+
def initialize(**args)
|
223
|
+
update!(**args)
|
224
|
+
end
|
225
|
+
|
226
|
+
# Update properties of this object
|
227
|
+
def update!(**args)
|
228
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
229
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
230
|
+
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
231
|
+
@name = args[:name] if args.key?(:name)
|
232
|
+
@parent = args[:parent] if args.key?(:parent)
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
# Metadata describing a long running folder operation
|
237
|
+
class FolderOperation
|
238
|
+
include Google::Apis::Core::Hashable
|
239
|
+
|
240
|
+
# The resource name of the folder or organization we are either creating
|
241
|
+
# the folder under or moving the folder to.
|
242
|
+
# Corresponds to the JSON property `destinationParent`
|
243
|
+
# @return [String]
|
244
|
+
attr_accessor :destination_parent
|
245
|
+
|
246
|
+
# The display name of the folder.
|
247
|
+
# Corresponds to the JSON property `displayName`
|
248
|
+
# @return [String]
|
249
|
+
attr_accessor :display_name
|
250
|
+
|
251
|
+
# The type of this operation.
|
252
|
+
# Corresponds to the JSON property `operationType`
|
253
|
+
# @return [String]
|
254
|
+
attr_accessor :operation_type
|
255
|
+
|
256
|
+
# The resource name of the folder's parent.
|
257
|
+
# Only applicable when the operation_type is MOVE.
|
258
|
+
# Corresponds to the JSON property `sourceParent`
|
259
|
+
# @return [String]
|
260
|
+
attr_accessor :source_parent
|
261
|
+
|
262
|
+
def initialize(**args)
|
263
|
+
update!(**args)
|
264
|
+
end
|
265
|
+
|
266
|
+
# Update properties of this object
|
267
|
+
def update!(**args)
|
268
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
269
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
270
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
271
|
+
@source_parent = args[:source_parent] if args.key?(:source_parent)
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
# A classification of the Folder Operation error.
|
276
|
+
class FolderOperationError
|
277
|
+
include Google::Apis::Core::Hashable
|
278
|
+
|
279
|
+
# The type of operation error experienced.
|
280
|
+
# Corresponds to the JSON property `errorMessageId`
|
281
|
+
# @return [String]
|
282
|
+
attr_accessor :error_message_id
|
283
|
+
|
284
|
+
def initialize(**args)
|
285
|
+
update!(**args)
|
286
|
+
end
|
287
|
+
|
288
|
+
# Update properties of this object
|
289
|
+
def update!(**args)
|
290
|
+
@error_message_id = args[:error_message_id] if args.key?(:error_message_id)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
# Request message for `GetIamPolicy` method.
|
295
|
+
class GetIamPolicyRequest
|
296
|
+
include Google::Apis::Core::Hashable
|
297
|
+
|
298
|
+
def initialize(**args)
|
299
|
+
update!(**args)
|
300
|
+
end
|
301
|
+
|
302
|
+
# Update properties of this object
|
303
|
+
def update!(**args)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
# The ListFolders response message.
|
308
|
+
class ListFoldersResponse
|
309
|
+
include Google::Apis::Core::Hashable
|
310
|
+
|
311
|
+
# A possibly paginated list of Folders that are direct descendants of
|
312
|
+
# the specified parent resource.
|
313
|
+
# Corresponds to the JSON property `folders`
|
314
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Folder>]
|
315
|
+
attr_accessor :folders
|
316
|
+
|
317
|
+
# A pagination token returned from a previous call to `ListFolders`
|
318
|
+
# that indicates from where listing should continue.
|
319
|
+
# This field is optional.
|
320
|
+
# Corresponds to the JSON property `nextPageToken`
|
321
|
+
# @return [String]
|
322
|
+
attr_accessor :next_page_token
|
323
|
+
|
324
|
+
def initialize(**args)
|
325
|
+
update!(**args)
|
326
|
+
end
|
327
|
+
|
328
|
+
# Update properties of this object
|
329
|
+
def update!(**args)
|
330
|
+
@folders = args[:folders] if args.key?(:folders)
|
331
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
# The MoveFolder request message.
|
336
|
+
class MoveFolderRequest
|
337
|
+
include Google::Apis::Core::Hashable
|
338
|
+
|
339
|
+
# The resource name of the Folder or Organization to reparent
|
340
|
+
# the folder under.
|
341
|
+
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
|
342
|
+
# Corresponds to the JSON property `destinationParent`
|
343
|
+
# @return [String]
|
344
|
+
attr_accessor :destination_parent
|
345
|
+
|
346
|
+
def initialize(**args)
|
347
|
+
update!(**args)
|
348
|
+
end
|
349
|
+
|
350
|
+
# Update properties of this object
|
351
|
+
def update!(**args)
|
352
|
+
@destination_parent = args[:destination_parent] if args.key?(:destination_parent)
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
# This resource represents a long-running operation that is the result of a
|
357
|
+
# network API call.
|
358
|
+
class Operation
|
359
|
+
include Google::Apis::Core::Hashable
|
360
|
+
|
361
|
+
# If the value is `false`, it means the operation is still in progress.
|
362
|
+
# If true, the operation is completed, and either `error` or `response` is
|
363
|
+
# available.
|
364
|
+
# Corresponds to the JSON property `done`
|
365
|
+
# @return [Boolean]
|
366
|
+
attr_accessor :done
|
367
|
+
alias_method :done?, :done
|
368
|
+
|
369
|
+
# The `Status` type defines a logical error model that is suitable for different
|
370
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
371
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
372
|
+
# - Simple to use and understand for most users
|
373
|
+
# - Flexible enough to meet unexpected needs
|
374
|
+
# # Overview
|
375
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
376
|
+
# and error details. The error code should be an enum value of
|
377
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
378
|
+
# error message should be a developer-facing English message that helps
|
379
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
380
|
+
# error message is needed, put the localized message in the error details or
|
381
|
+
# localize it in the client. The optional error details may contain arbitrary
|
382
|
+
# information about the error. There is a predefined set of error detail types
|
383
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
384
|
+
# # Language mapping
|
385
|
+
# The `Status` message is the logical representation of the error model, but it
|
386
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
387
|
+
# exposed in different client libraries and different wire protocols, it can be
|
388
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
389
|
+
# in Java, but more likely mapped to some error codes in C.
|
390
|
+
# # Other uses
|
391
|
+
# The error model and the `Status` message can be used in a variety of
|
392
|
+
# environments, either with or without APIs, to provide a
|
393
|
+
# consistent developer experience across different environments.
|
394
|
+
# Example uses of this error model include:
|
395
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
396
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
397
|
+
# errors.
|
398
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
399
|
+
# have a `Status` message for error reporting.
|
400
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
401
|
+
# `Status` message should be used directly inside batch response, one for
|
402
|
+
# each error sub-response.
|
403
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
404
|
+
# results in its response, the status of those operations should be
|
405
|
+
# represented directly using the `Status` message.
|
406
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
407
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
408
|
+
# Corresponds to the JSON property `error`
|
409
|
+
# @return [Google::Apis::CloudresourcemanagerV2beta1::Status]
|
410
|
+
attr_accessor :error
|
411
|
+
|
412
|
+
# Service-specific metadata associated with the operation. It typically
|
413
|
+
# contains progress information and common metadata such as create time.
|
414
|
+
# Some services might not provide such metadata. Any method that returns a
|
415
|
+
# long-running operation should document the metadata type, if any.
|
416
|
+
# Corresponds to the JSON property `metadata`
|
417
|
+
# @return [Hash<String,Object>]
|
418
|
+
attr_accessor :metadata
|
419
|
+
|
420
|
+
# The server-assigned name, which is only unique within the same service that
|
421
|
+
# originally returns it. If you use the default HTTP mapping, the
|
422
|
+
# `name` should have the format of `operations/some/unique/name`.
|
423
|
+
# Corresponds to the JSON property `name`
|
424
|
+
# @return [String]
|
425
|
+
attr_accessor :name
|
426
|
+
|
427
|
+
# The normal response of the operation in case of success. If the original
|
428
|
+
# method returns no data on success, such as `Delete`, the response is
|
429
|
+
# `google.protobuf.Empty`. If the original method is standard
|
430
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
431
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
432
|
+
# is the original method name. For example, if the original method name
|
433
|
+
# is `TakeSnapshot()`, the inferred response type is
|
434
|
+
# `TakeSnapshotResponse`.
|
435
|
+
# Corresponds to the JSON property `response`
|
436
|
+
# @return [Hash<String,Object>]
|
437
|
+
attr_accessor :response
|
438
|
+
|
439
|
+
def initialize(**args)
|
440
|
+
update!(**args)
|
441
|
+
end
|
442
|
+
|
443
|
+
# Update properties of this object
|
444
|
+
def update!(**args)
|
445
|
+
@done = args[:done] if args.key?(:done)
|
446
|
+
@error = args[:error] if args.key?(:error)
|
447
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
448
|
+
@name = args[:name] if args.key?(:name)
|
449
|
+
@response = args[:response] if args.key?(:response)
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
454
|
+
# specify access control policies for Cloud Platform resources.
|
455
|
+
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
456
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
457
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
458
|
+
# defined by IAM.
|
459
|
+
# **Example**
|
460
|
+
# `
|
461
|
+
# "bindings": [
|
462
|
+
# `
|
463
|
+
# "role": "roles/owner",
|
464
|
+
# "members": [
|
465
|
+
# "user:mike@example.com",
|
466
|
+
# "group:admins@example.com",
|
467
|
+
# "domain:google.com",
|
468
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com",
|
469
|
+
# ]
|
470
|
+
# `,
|
471
|
+
# `
|
472
|
+
# "role": "roles/viewer",
|
473
|
+
# "members": ["user:sean@example.com"]
|
474
|
+
# `
|
475
|
+
# ]
|
476
|
+
# `
|
477
|
+
# For a description of IAM and its features, see the
|
478
|
+
# [IAM developer's guide](https://cloud.google.com/iam).
|
479
|
+
class Policy
|
480
|
+
include Google::Apis::Core::Hashable
|
481
|
+
|
482
|
+
# Specifies cloud audit logging configuration for this policy.
|
483
|
+
# Corresponds to the JSON property `auditConfigs`
|
484
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditConfig>]
|
485
|
+
attr_accessor :audit_configs
|
486
|
+
|
487
|
+
# Associates a list of `members` to a `role`.
|
488
|
+
# `bindings` with no members will result in an error.
|
489
|
+
# Corresponds to the JSON property `bindings`
|
490
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Binding>]
|
491
|
+
attr_accessor :bindings
|
492
|
+
|
493
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
494
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
495
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
496
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
497
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
498
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
499
|
+
# ensure that their change will be applied to the same version of the policy.
|
500
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
501
|
+
# policy is overwritten blindly.
|
502
|
+
# Corresponds to the JSON property `etag`
|
503
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
504
|
+
# @return [String]
|
505
|
+
attr_accessor :etag
|
506
|
+
|
507
|
+
# Version of the `Policy`. The default version is 0.
|
508
|
+
# Corresponds to the JSON property `version`
|
509
|
+
# @return [Fixnum]
|
510
|
+
attr_accessor :version
|
511
|
+
|
512
|
+
def initialize(**args)
|
513
|
+
update!(**args)
|
514
|
+
end
|
515
|
+
|
516
|
+
# Update properties of this object
|
517
|
+
def update!(**args)
|
518
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
519
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
520
|
+
@etag = args[:etag] if args.key?(:etag)
|
521
|
+
@version = args[:version] if args.key?(:version)
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
# A status object which is used as the `metadata` field for the Operation
|
526
|
+
# returned by CreateProject. It provides insight for when significant phases of
|
527
|
+
# Project creation have completed.
|
528
|
+
class ProjectCreationStatus
|
529
|
+
include Google::Apis::Core::Hashable
|
530
|
+
|
531
|
+
# Creation time of the project creation workflow.
|
532
|
+
# Corresponds to the JSON property `createTime`
|
533
|
+
# @return [String]
|
534
|
+
attr_accessor :create_time
|
535
|
+
|
536
|
+
# True if the project can be retrieved using GetProject. No other operations
|
537
|
+
# on the project are guaranteed to work until the project creation is
|
538
|
+
# complete.
|
539
|
+
# Corresponds to the JSON property `gettable`
|
540
|
+
# @return [Boolean]
|
541
|
+
attr_accessor :gettable
|
542
|
+
alias_method :gettable?, :gettable
|
543
|
+
|
544
|
+
# True if the project creation process is complete.
|
545
|
+
# Corresponds to the JSON property `ready`
|
546
|
+
# @return [Boolean]
|
547
|
+
attr_accessor :ready
|
548
|
+
alias_method :ready?, :ready
|
549
|
+
|
550
|
+
def initialize(**args)
|
551
|
+
update!(**args)
|
552
|
+
end
|
553
|
+
|
554
|
+
# Update properties of this object
|
555
|
+
def update!(**args)
|
556
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
557
|
+
@gettable = args[:gettable] if args.key?(:gettable)
|
558
|
+
@ready = args[:ready] if args.key?(:ready)
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
# The request message for searching folders.
|
563
|
+
class SearchFoldersRequest
|
564
|
+
include Google::Apis::Core::Hashable
|
565
|
+
|
566
|
+
# The maximum number of folders to return in the response.
|
567
|
+
# This field is optional.
|
568
|
+
# Corresponds to the JSON property `pageSize`
|
569
|
+
# @return [Fixnum]
|
570
|
+
attr_accessor :page_size
|
571
|
+
|
572
|
+
# A pagination token returned from a previous call to `SearchFolders`
|
573
|
+
# that indicates from where search should continue.
|
574
|
+
# This field is optional.
|
575
|
+
# Corresponds to the JSON property `pageToken`
|
576
|
+
# @return [String]
|
577
|
+
attr_accessor :page_token
|
578
|
+
|
579
|
+
# Search criteria used to select the Folders to return.
|
580
|
+
# If no search criteria is specified then all accessible folders will be
|
581
|
+
# returned.
|
582
|
+
# Query expressions can be used to restrict results based upon displayName,
|
583
|
+
# lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`
|
584
|
+
# can be used along with the suffix wildcard symbol `*`.
|
585
|
+
# Some example queries are:
|
586
|
+
# |Query|Description|
|
587
|
+
# |------|-----------|
|
588
|
+
# |displayName=Test*|Folders whose display name starts with "Test".|
|
589
|
+
# |lifecycleState=ACTIVE|Folders whose lifecycleState is ACTIVE.|
|
590
|
+
# |parent=folders/123|Folders whose parent is "folders/123".|
|
591
|
+
# |parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose
|
592
|
+
# parent is "folders/123".|
|
593
|
+
# Corresponds to the JSON property `query`
|
594
|
+
# @return [String]
|
595
|
+
attr_accessor :query
|
596
|
+
|
597
|
+
def initialize(**args)
|
598
|
+
update!(**args)
|
599
|
+
end
|
600
|
+
|
601
|
+
# Update properties of this object
|
602
|
+
def update!(**args)
|
603
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
604
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
605
|
+
@query = args[:query] if args.key?(:query)
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
609
|
+
# The response message for searching folders.
|
610
|
+
class SearchFoldersResponse
|
611
|
+
include Google::Apis::Core::Hashable
|
612
|
+
|
613
|
+
# A possibly paginated folder search results.
|
614
|
+
# the specified parent resource.
|
615
|
+
# Corresponds to the JSON property `folders`
|
616
|
+
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Folder>]
|
617
|
+
attr_accessor :folders
|
618
|
+
|
619
|
+
# A pagination token returned from a previous call to `SearchFolders`
|
620
|
+
# that indicates from where searching should continue.
|
621
|
+
# This field is optional.
|
622
|
+
# Corresponds to the JSON property `nextPageToken`
|
623
|
+
# @return [String]
|
624
|
+
attr_accessor :next_page_token
|
625
|
+
|
626
|
+
def initialize(**args)
|
627
|
+
update!(**args)
|
628
|
+
end
|
629
|
+
|
630
|
+
# Update properties of this object
|
631
|
+
def update!(**args)
|
632
|
+
@folders = args[:folders] if args.key?(:folders)
|
633
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
634
|
+
end
|
635
|
+
end
|
636
|
+
|
637
|
+
# Request message for `SetIamPolicy` method.
|
638
|
+
class SetIamPolicyRequest
|
639
|
+
include Google::Apis::Core::Hashable
|
640
|
+
|
641
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
642
|
+
# specify access control policies for Cloud Platform resources.
|
643
|
+
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
644
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
645
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
646
|
+
# defined by IAM.
|
647
|
+
# **Example**
|
648
|
+
# `
|
649
|
+
# "bindings": [
|
650
|
+
# `
|
651
|
+
# "role": "roles/owner",
|
652
|
+
# "members": [
|
653
|
+
# "user:mike@example.com",
|
654
|
+
# "group:admins@example.com",
|
655
|
+
# "domain:google.com",
|
656
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com",
|
657
|
+
# ]
|
658
|
+
# `,
|
659
|
+
# `
|
660
|
+
# "role": "roles/viewer",
|
661
|
+
# "members": ["user:sean@example.com"]
|
662
|
+
# `
|
663
|
+
# ]
|
664
|
+
# `
|
665
|
+
# For a description of IAM and its features, see the
|
666
|
+
# [IAM developer's guide](https://cloud.google.com/iam).
|
667
|
+
# Corresponds to the JSON property `policy`
|
668
|
+
# @return [Google::Apis::CloudresourcemanagerV2beta1::Policy]
|
669
|
+
attr_accessor :policy
|
670
|
+
|
671
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
672
|
+
# the fields in the mask will be modified. If no mask is provided, the
|
673
|
+
# following default mask is used:
|
674
|
+
# paths: "bindings, etag"
|
675
|
+
# This field is only used by Cloud IAM.
|
676
|
+
# Corresponds to the JSON property `updateMask`
|
677
|
+
# @return [String]
|
678
|
+
attr_accessor :update_mask
|
679
|
+
|
680
|
+
def initialize(**args)
|
681
|
+
update!(**args)
|
682
|
+
end
|
683
|
+
|
684
|
+
# Update properties of this object
|
685
|
+
def update!(**args)
|
686
|
+
@policy = args[:policy] if args.key?(:policy)
|
687
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
# The `Status` type defines a logical error model that is suitable for different
|
692
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
693
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
694
|
+
# - Simple to use and understand for most users
|
695
|
+
# - Flexible enough to meet unexpected needs
|
696
|
+
# # Overview
|
697
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
698
|
+
# and error details. The error code should be an enum value of
|
699
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
700
|
+
# error message should be a developer-facing English message that helps
|
701
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
702
|
+
# error message is needed, put the localized message in the error details or
|
703
|
+
# localize it in the client. The optional error details may contain arbitrary
|
704
|
+
# information about the error. There is a predefined set of error detail types
|
705
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
706
|
+
# # Language mapping
|
707
|
+
# The `Status` message is the logical representation of the error model, but it
|
708
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
709
|
+
# exposed in different client libraries and different wire protocols, it can be
|
710
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
711
|
+
# in Java, but more likely mapped to some error codes in C.
|
712
|
+
# # Other uses
|
713
|
+
# The error model and the `Status` message can be used in a variety of
|
714
|
+
# environments, either with or without APIs, to provide a
|
715
|
+
# consistent developer experience across different environments.
|
716
|
+
# Example uses of this error model include:
|
717
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
718
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
719
|
+
# errors.
|
720
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
721
|
+
# have a `Status` message for error reporting.
|
722
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
723
|
+
# `Status` message should be used directly inside batch response, one for
|
724
|
+
# each error sub-response.
|
725
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
726
|
+
# results in its response, the status of those operations should be
|
727
|
+
# represented directly using the `Status` message.
|
728
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
729
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
730
|
+
class Status
|
731
|
+
include Google::Apis::Core::Hashable
|
732
|
+
|
733
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
734
|
+
# Corresponds to the JSON property `code`
|
735
|
+
# @return [Fixnum]
|
736
|
+
attr_accessor :code
|
737
|
+
|
738
|
+
# A list of messages that carry the error details. There is a common set of
|
739
|
+
# message types for APIs to use.
|
740
|
+
# Corresponds to the JSON property `details`
|
741
|
+
# @return [Array<Hash<String,Object>>]
|
742
|
+
attr_accessor :details
|
743
|
+
|
744
|
+
# A developer-facing error message, which should be in English. Any
|
745
|
+
# user-facing error message should be localized and sent in the
|
746
|
+
# google.rpc.Status.details field, or localized by the client.
|
747
|
+
# Corresponds to the JSON property `message`
|
748
|
+
# @return [String]
|
749
|
+
attr_accessor :message
|
750
|
+
|
751
|
+
def initialize(**args)
|
752
|
+
update!(**args)
|
753
|
+
end
|
754
|
+
|
755
|
+
# Update properties of this object
|
756
|
+
def update!(**args)
|
757
|
+
@code = args[:code] if args.key?(:code)
|
758
|
+
@details = args[:details] if args.key?(:details)
|
759
|
+
@message = args[:message] if args.key?(:message)
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
# Request message for `TestIamPermissions` method.
|
764
|
+
class TestIamPermissionsRequest
|
765
|
+
include Google::Apis::Core::Hashable
|
766
|
+
|
767
|
+
# The set of permissions to check for the `resource`. Permissions with
|
768
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
769
|
+
# information see
|
770
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
771
|
+
# Corresponds to the JSON property `permissions`
|
772
|
+
# @return [Array<String>]
|
773
|
+
attr_accessor :permissions
|
774
|
+
|
775
|
+
def initialize(**args)
|
776
|
+
update!(**args)
|
777
|
+
end
|
778
|
+
|
779
|
+
# Update properties of this object
|
780
|
+
def update!(**args)
|
781
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# Response message for `TestIamPermissions` method.
|
786
|
+
class TestIamPermissionsResponse
|
787
|
+
include Google::Apis::Core::Hashable
|
788
|
+
|
789
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
790
|
+
# allowed.
|
791
|
+
# Corresponds to the JSON property `permissions`
|
792
|
+
# @return [Array<String>]
|
793
|
+
attr_accessor :permissions
|
794
|
+
|
795
|
+
def initialize(**args)
|
796
|
+
update!(**args)
|
797
|
+
end
|
798
|
+
|
799
|
+
# Update properties of this object
|
800
|
+
def update!(**args)
|
801
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
802
|
+
end
|
803
|
+
end
|
804
|
+
|
805
|
+
# The UndeleteFolder request message.
|
806
|
+
class UndeleteFolderRequest
|
807
|
+
include Google::Apis::Core::Hashable
|
808
|
+
|
809
|
+
def initialize(**args)
|
810
|
+
update!(**args)
|
811
|
+
end
|
812
|
+
|
813
|
+
# Update properties of this object
|
814
|
+
def update!(**args)
|
815
|
+
end
|
816
|
+
end
|
817
|
+
end
|
818
|
+
end
|
819
|
+
end
|