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,280 @@
|
|
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 RuntimeconfigV1beta1
|
24
|
+
|
25
|
+
class Binding
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Cardinality
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Empty
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class EndCondition
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class ListConfigsResponse
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class ListVariablesResponse
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ListWaitersResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class Operation
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class Policy
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class RuntimeConfig
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class SetIamPolicyRequest
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class Status
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class TestIamPermissionsRequest
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class TestIamPermissionsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class Variable
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class Waiter
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class WatchVariableRequest
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Binding
|
128
|
+
# @private
|
129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
130
|
+
collection :members, as: 'members'
|
131
|
+
property :role, as: 'role'
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
class Cardinality
|
136
|
+
# @private
|
137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
138
|
+
property :number, as: 'number'
|
139
|
+
property :path, as: 'path'
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
class Empty
|
144
|
+
# @private
|
145
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
class EndCondition
|
150
|
+
# @private
|
151
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
152
|
+
property :cardinality, as: 'cardinality', class: Google::Apis::RuntimeconfigV1beta1::Cardinality, decorator: Google::Apis::RuntimeconfigV1beta1::Cardinality::Representation
|
153
|
+
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
class ListConfigsResponse
|
158
|
+
# @private
|
159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
+
collection :configs, as: 'configs', class: Google::Apis::RuntimeconfigV1beta1::RuntimeConfig, decorator: Google::Apis::RuntimeconfigV1beta1::RuntimeConfig::Representation
|
161
|
+
|
162
|
+
property :next_page_token, as: 'nextPageToken'
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
class ListVariablesResponse
|
167
|
+
# @private
|
168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
169
|
+
property :next_page_token, as: 'nextPageToken'
|
170
|
+
collection :variables, as: 'variables', class: Google::Apis::RuntimeconfigV1beta1::Variable, decorator: Google::Apis::RuntimeconfigV1beta1::Variable::Representation
|
171
|
+
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
class ListWaitersResponse
|
176
|
+
# @private
|
177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
178
|
+
property :next_page_token, as: 'nextPageToken'
|
179
|
+
collection :waiters, as: 'waiters', class: Google::Apis::RuntimeconfigV1beta1::Waiter, decorator: Google::Apis::RuntimeconfigV1beta1::Waiter::Representation
|
180
|
+
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
class Operation
|
185
|
+
# @private
|
186
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
187
|
+
property :done, as: 'done'
|
188
|
+
property :error, as: 'error', class: Google::Apis::RuntimeconfigV1beta1::Status, decorator: Google::Apis::RuntimeconfigV1beta1::Status::Representation
|
189
|
+
|
190
|
+
hash :metadata, as: 'metadata'
|
191
|
+
property :name, as: 'name'
|
192
|
+
hash :response, as: 'response'
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class Policy
|
197
|
+
# @private
|
198
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
199
|
+
collection :bindings, as: 'bindings', class: Google::Apis::RuntimeconfigV1beta1::Binding, decorator: Google::Apis::RuntimeconfigV1beta1::Binding::Representation
|
200
|
+
|
201
|
+
property :etag, :base64 => true, as: 'etag'
|
202
|
+
property :version, as: 'version'
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
class RuntimeConfig
|
207
|
+
# @private
|
208
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
209
|
+
property :description, as: 'description'
|
210
|
+
property :name, as: 'name'
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
class SetIamPolicyRequest
|
215
|
+
# @private
|
216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
217
|
+
property :policy, as: 'policy', class: Google::Apis::RuntimeconfigV1beta1::Policy, decorator: Google::Apis::RuntimeconfigV1beta1::Policy::Representation
|
218
|
+
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
class Status
|
223
|
+
# @private
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
225
|
+
property :code, as: 'code'
|
226
|
+
collection :details, as: 'details'
|
227
|
+
property :message, as: 'message'
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
class TestIamPermissionsRequest
|
232
|
+
# @private
|
233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
234
|
+
collection :permissions, as: 'permissions'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class TestIamPermissionsResponse
|
239
|
+
# @private
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
+
collection :permissions, as: 'permissions'
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
class Variable
|
246
|
+
# @private
|
247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
+
property :name, as: 'name'
|
249
|
+
property :state, as: 'state'
|
250
|
+
property :text, as: 'text'
|
251
|
+
property :update_time, as: 'updateTime'
|
252
|
+
property :value, :base64 => true, as: 'value'
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
class Waiter
|
257
|
+
# @private
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
+
property :create_time, as: 'createTime'
|
260
|
+
property :done, as: 'done'
|
261
|
+
property :error, as: 'error', class: Google::Apis::RuntimeconfigV1beta1::Status, decorator: Google::Apis::RuntimeconfigV1beta1::Status::Representation
|
262
|
+
|
263
|
+
property :failure, as: 'failure', class: Google::Apis::RuntimeconfigV1beta1::EndCondition, decorator: Google::Apis::RuntimeconfigV1beta1::EndCondition::Representation
|
264
|
+
|
265
|
+
property :name, as: 'name'
|
266
|
+
property :success, as: 'success', class: Google::Apis::RuntimeconfigV1beta1::EndCondition, decorator: Google::Apis::RuntimeconfigV1beta1::EndCondition::Representation
|
267
|
+
|
268
|
+
property :timeout, as: 'timeout'
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
class WatchVariableRequest
|
273
|
+
# @private
|
274
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
275
|
+
property :newer_than, as: 'newerThan'
|
276
|
+
end
|
277
|
+
end
|
278
|
+
end
|
279
|
+
end
|
280
|
+
end
|
@@ -0,0 +1,903 @@
|
|
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/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module RuntimeconfigV1beta1
|
23
|
+
# Google Cloud Runtime Configuration API
|
24
|
+
#
|
25
|
+
# The Runtime Configurator allows you to dynamically configure and expose
|
26
|
+
# variables through Google Cloud Platform. In addition, you can also set
|
27
|
+
# Watchers and Waiters that will watch for changes to your data and return based
|
28
|
+
# on certain conditions.
|
29
|
+
#
|
30
|
+
# @example
|
31
|
+
# require 'google/apis/runtimeconfig_v1beta1'
|
32
|
+
#
|
33
|
+
# Runtimeconfig = Google::Apis::RuntimeconfigV1beta1 # Alias the module
|
34
|
+
# service = Runtimeconfig::CloudRuntimeConfigService.new
|
35
|
+
#
|
36
|
+
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
|
37
|
+
class CloudRuntimeConfigService < Google::Apis::Core::BaseService
|
38
|
+
# @return [String]
|
39
|
+
# API key. Your API key identifies your project and provides you with API access,
|
40
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
41
|
+
attr_accessor :key
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
45
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
46
|
+
attr_accessor :quota_user
|
47
|
+
|
48
|
+
def initialize
|
49
|
+
super('https://runtimeconfig.googleapis.com/', '')
|
50
|
+
@batch_path = 'batch'
|
51
|
+
end
|
52
|
+
|
53
|
+
# Creates a new RuntimeConfig resource. The configuration name must be
|
54
|
+
# unique within project.
|
55
|
+
# @param [String] parent
|
56
|
+
# The [project ID](https://support.google.com/cloud/answer/6158840?hl=en&
|
57
|
+
# ref_topic=6158848)
|
58
|
+
# for this request, in the format `projects/[PROJECT_ID]`.
|
59
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::RuntimeConfig] runtime_config_object
|
60
|
+
# @param [String] request_id
|
61
|
+
# An optional but recommended unique `request_id`. If the server
|
62
|
+
# receives two `create()` requests with the same
|
63
|
+
# `request_id`, then the second request will be ignored and the
|
64
|
+
# first resource created and stored in the backend is returned.
|
65
|
+
# Empty `request_id` fields are ignored.
|
66
|
+
# It is responsibility of the client to ensure uniqueness of the
|
67
|
+
# `request_id` strings.
|
68
|
+
# `request_id` strings are limited to 64 characters.
|
69
|
+
# @param [String] fields
|
70
|
+
# Selector specifying which fields to include in a partial response.
|
71
|
+
# @param [String] quota_user
|
72
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
73
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
74
|
+
# @param [Google::Apis::RequestOptions] options
|
75
|
+
# Request-specific options
|
76
|
+
#
|
77
|
+
# @yield [result, err] Result & error if block supplied
|
78
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::RuntimeConfig] parsed result object
|
79
|
+
# @yieldparam err [StandardError] error object if request failed
|
80
|
+
#
|
81
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::RuntimeConfig]
|
82
|
+
#
|
83
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
84
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
85
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
86
|
+
def create_project_config(parent, runtime_config_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
87
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/configs', options)
|
88
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::RuntimeConfig::Representation
|
89
|
+
command.request_object = runtime_config_object
|
90
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::RuntimeConfig::Representation
|
91
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::RuntimeConfig
|
92
|
+
command.params['parent'] = parent unless parent.nil?
|
93
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
94
|
+
command.query['fields'] = fields unless fields.nil?
|
95
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
96
|
+
execute_or_queue_command(command, &block)
|
97
|
+
end
|
98
|
+
|
99
|
+
# Deletes a RuntimeConfig resource.
|
100
|
+
# @param [String] name
|
101
|
+
# The RuntimeConfig resource to delete, in the format:
|
102
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
103
|
+
# @param [String] fields
|
104
|
+
# Selector specifying which fields to include in a partial response.
|
105
|
+
# @param [String] quota_user
|
106
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
107
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
108
|
+
# @param [Google::Apis::RequestOptions] options
|
109
|
+
# Request-specific options
|
110
|
+
#
|
111
|
+
# @yield [result, err] Result & error if block supplied
|
112
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Empty] parsed result object
|
113
|
+
# @yieldparam err [StandardError] error object if request failed
|
114
|
+
#
|
115
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Empty]
|
116
|
+
#
|
117
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
118
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
119
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
120
|
+
def delete_project_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
121
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
122
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Empty::Representation
|
123
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Empty
|
124
|
+
command.params['name'] = name unless name.nil?
|
125
|
+
command.query['fields'] = fields unless fields.nil?
|
126
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
127
|
+
execute_or_queue_command(command, &block)
|
128
|
+
end
|
129
|
+
|
130
|
+
# Gets information about a RuntimeConfig resource.
|
131
|
+
# @param [String] name
|
132
|
+
# The name of the RuntimeConfig resource to retrieve, in the format:
|
133
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
134
|
+
# @param [String] fields
|
135
|
+
# Selector specifying which fields to include in a partial response.
|
136
|
+
# @param [String] quota_user
|
137
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
138
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
139
|
+
# @param [Google::Apis::RequestOptions] options
|
140
|
+
# Request-specific options
|
141
|
+
#
|
142
|
+
# @yield [result, err] Result & error if block supplied
|
143
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::RuntimeConfig] parsed result object
|
144
|
+
# @yieldparam err [StandardError] error object if request failed
|
145
|
+
#
|
146
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::RuntimeConfig]
|
147
|
+
#
|
148
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
149
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
|
+
def get_project_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
152
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
153
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::RuntimeConfig::Representation
|
154
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::RuntimeConfig
|
155
|
+
command.params['name'] = name unless name.nil?
|
156
|
+
command.query['fields'] = fields unless fields.nil?
|
157
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
|
+
execute_or_queue_command(command, &block)
|
159
|
+
end
|
160
|
+
|
161
|
+
# Gets the access control policy for a resource.
|
162
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
163
|
+
# set.
|
164
|
+
# @param [String] resource
|
165
|
+
# REQUIRED: The resource for which the policy is being requested.
|
166
|
+
# See the operation documentation for the appropriate value for this field.
|
167
|
+
# @param [String] fields
|
168
|
+
# Selector specifying which fields to include in a partial response.
|
169
|
+
# @param [String] quota_user
|
170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
172
|
+
# @param [Google::Apis::RequestOptions] options
|
173
|
+
# Request-specific options
|
174
|
+
#
|
175
|
+
# @yield [result, err] Result & error if block supplied
|
176
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Policy] parsed result object
|
177
|
+
# @yieldparam err [StandardError] error object if request failed
|
178
|
+
#
|
179
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Policy]
|
180
|
+
#
|
181
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
182
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
183
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
184
|
+
def get_project_config_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
185
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
186
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Policy::Representation
|
187
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Policy
|
188
|
+
command.params['resource'] = resource unless resource.nil?
|
189
|
+
command.query['fields'] = fields unless fields.nil?
|
190
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
191
|
+
execute_or_queue_command(command, &block)
|
192
|
+
end
|
193
|
+
|
194
|
+
# Lists all the RuntimeConfig resources within project.
|
195
|
+
# @param [String] parent
|
196
|
+
# The [project ID](https://support.google.com/cloud/answer/6158840?hl=en&
|
197
|
+
# ref_topic=6158848)
|
198
|
+
# for this request, in the format `projects/[PROJECT_ID]`.
|
199
|
+
# @param [Fixnum] page_size
|
200
|
+
# Specifies the number of results to return per page. If there are fewer
|
201
|
+
# elements than the specified number, returns all elements.
|
202
|
+
# @param [String] page_token
|
203
|
+
# Specifies a page token to use. Set `pageToken` to a `nextPageToken`
|
204
|
+
# returned by a previous list request to get the next page of results.
|
205
|
+
# @param [String] fields
|
206
|
+
# Selector specifying which fields to include in a partial response.
|
207
|
+
# @param [String] quota_user
|
208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
210
|
+
# @param [Google::Apis::RequestOptions] options
|
211
|
+
# Request-specific options
|
212
|
+
#
|
213
|
+
# @yield [result, err] Result & error if block supplied
|
214
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::ListConfigsResponse] parsed result object
|
215
|
+
# @yieldparam err [StandardError] error object if request failed
|
216
|
+
#
|
217
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::ListConfigsResponse]
|
218
|
+
#
|
219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
222
|
+
def list_project_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
223
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/configs', options)
|
224
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::ListConfigsResponse::Representation
|
225
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::ListConfigsResponse
|
226
|
+
command.params['parent'] = parent unless parent.nil?
|
227
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
228
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
229
|
+
command.query['fields'] = fields unless fields.nil?
|
230
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
231
|
+
execute_or_queue_command(command, &block)
|
232
|
+
end
|
233
|
+
|
234
|
+
# Sets the access control policy on the specified resource. Replaces any
|
235
|
+
# existing policy.
|
236
|
+
# @param [String] resource
|
237
|
+
# REQUIRED: The resource for which the policy is being specified.
|
238
|
+
# See the operation documentation for the appropriate value for this field.
|
239
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
240
|
+
# @param [String] fields
|
241
|
+
# Selector specifying which fields to include in a partial response.
|
242
|
+
# @param [String] quota_user
|
243
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
244
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
245
|
+
# @param [Google::Apis::RequestOptions] options
|
246
|
+
# Request-specific options
|
247
|
+
#
|
248
|
+
# @yield [result, err] Result & error if block supplied
|
249
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Policy] parsed result object
|
250
|
+
# @yieldparam err [StandardError] error object if request failed
|
251
|
+
#
|
252
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Policy]
|
253
|
+
#
|
254
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
255
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
256
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
257
|
+
def set_config_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
258
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
259
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::SetIamPolicyRequest::Representation
|
260
|
+
command.request_object = set_iam_policy_request_object
|
261
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Policy::Representation
|
262
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Policy
|
263
|
+
command.params['resource'] = resource unless resource.nil?
|
264
|
+
command.query['fields'] = fields unless fields.nil?
|
265
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
266
|
+
execute_or_queue_command(command, &block)
|
267
|
+
end
|
268
|
+
|
269
|
+
# Returns permissions that a caller has on the specified resource.
|
270
|
+
# If the resource does not exist, this will return an empty set of
|
271
|
+
# permissions, not a NOT_FOUND error.
|
272
|
+
# Note: This operation is designed to be used for building permission-aware
|
273
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
274
|
+
# may "fail open" without warning.
|
275
|
+
# @param [String] resource
|
276
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
277
|
+
# See the operation documentation for the appropriate value for this field.
|
278
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
279
|
+
# @param [String] fields
|
280
|
+
# Selector specifying which fields to include in a partial response.
|
281
|
+
# @param [String] quota_user
|
282
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
283
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
284
|
+
# @param [Google::Apis::RequestOptions] options
|
285
|
+
# Request-specific options
|
286
|
+
#
|
287
|
+
# @yield [result, err] Result & error if block supplied
|
288
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse] parsed result object
|
289
|
+
# @yieldparam err [StandardError] error object if request failed
|
290
|
+
#
|
291
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse]
|
292
|
+
#
|
293
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
294
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
295
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
296
|
+
def test_config_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
297
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
298
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsRequest::Representation
|
299
|
+
command.request_object = test_iam_permissions_request_object
|
300
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse::Representation
|
301
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse
|
302
|
+
command.params['resource'] = resource unless resource.nil?
|
303
|
+
command.query['fields'] = fields unless fields.nil?
|
304
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
305
|
+
execute_or_queue_command(command, &block)
|
306
|
+
end
|
307
|
+
|
308
|
+
# Updates a RuntimeConfig resource. The configuration must exist beforehand.
|
309
|
+
# @param [String] name
|
310
|
+
# The name of the RuntimeConfig resource to update, in the format:
|
311
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
312
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::RuntimeConfig] runtime_config_object
|
313
|
+
# @param [String] fields
|
314
|
+
# Selector specifying which fields to include in a partial response.
|
315
|
+
# @param [String] quota_user
|
316
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
317
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
318
|
+
# @param [Google::Apis::RequestOptions] options
|
319
|
+
# Request-specific options
|
320
|
+
#
|
321
|
+
# @yield [result, err] Result & error if block supplied
|
322
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::RuntimeConfig] parsed result object
|
323
|
+
# @yieldparam err [StandardError] error object if request failed
|
324
|
+
#
|
325
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::RuntimeConfig]
|
326
|
+
#
|
327
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
328
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
329
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
330
|
+
def update_project_config(name, runtime_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
331
|
+
command = make_simple_command(:put, 'v1beta1/{+name}', options)
|
332
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::RuntimeConfig::Representation
|
333
|
+
command.request_object = runtime_config_object
|
334
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::RuntimeConfig::Representation
|
335
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::RuntimeConfig
|
336
|
+
command.params['name'] = name unless name.nil?
|
337
|
+
command.query['fields'] = fields unless fields.nil?
|
338
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
339
|
+
execute_or_queue_command(command, &block)
|
340
|
+
end
|
341
|
+
|
342
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
343
|
+
# method to poll the operation result at intervals as recommended by the API
|
344
|
+
# service.
|
345
|
+
# @param [String] name
|
346
|
+
# The name of the operation resource.
|
347
|
+
# @param [String] fields
|
348
|
+
# Selector specifying which fields to include in a partial response.
|
349
|
+
# @param [String] quota_user
|
350
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
351
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
352
|
+
# @param [Google::Apis::RequestOptions] options
|
353
|
+
# Request-specific options
|
354
|
+
#
|
355
|
+
# @yield [result, err] Result & error if block supplied
|
356
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Operation] parsed result object
|
357
|
+
# @yieldparam err [StandardError] error object if request failed
|
358
|
+
#
|
359
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Operation]
|
360
|
+
#
|
361
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
362
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
363
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
364
|
+
def get_project_config_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
365
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
366
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Operation::Representation
|
367
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Operation
|
368
|
+
command.params['name'] = name unless name.nil?
|
369
|
+
command.query['fields'] = fields unless fields.nil?
|
370
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
371
|
+
execute_or_queue_command(command, &block)
|
372
|
+
end
|
373
|
+
|
374
|
+
# Returns permissions that a caller has on the specified resource.
|
375
|
+
# If the resource does not exist, this will return an empty set of
|
376
|
+
# permissions, not a NOT_FOUND error.
|
377
|
+
# Note: This operation is designed to be used for building permission-aware
|
378
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
379
|
+
# may "fail open" without warning.
|
380
|
+
# @param [String] resource
|
381
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
382
|
+
# See the operation documentation for the appropriate value for this field.
|
383
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
384
|
+
# @param [String] fields
|
385
|
+
# Selector specifying which fields to include in a partial response.
|
386
|
+
# @param [String] quota_user
|
387
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
388
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
389
|
+
# @param [Google::Apis::RequestOptions] options
|
390
|
+
# Request-specific options
|
391
|
+
#
|
392
|
+
# @yield [result, err] Result & error if block supplied
|
393
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse] parsed result object
|
394
|
+
# @yieldparam err [StandardError] error object if request failed
|
395
|
+
#
|
396
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse]
|
397
|
+
#
|
398
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
399
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
400
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
401
|
+
def test_operation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
402
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
403
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsRequest::Representation
|
404
|
+
command.request_object = test_iam_permissions_request_object
|
405
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse::Representation
|
406
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse
|
407
|
+
command.params['resource'] = resource unless resource.nil?
|
408
|
+
command.query['fields'] = fields unless fields.nil?
|
409
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
410
|
+
execute_or_queue_command(command, &block)
|
411
|
+
end
|
412
|
+
|
413
|
+
# Creates a variable within the given configuration. You cannot create
|
414
|
+
# a variable with a name that is a prefix of an existing variable name, or a
|
415
|
+
# name that has an existing variable name as a prefix.
|
416
|
+
# To learn more about creating a variable, read the
|
417
|
+
# [Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-
|
418
|
+
# get-variables)
|
419
|
+
# documentation.
|
420
|
+
# @param [String] parent
|
421
|
+
# The path to the RutimeConfig resource that this variable should belong to.
|
422
|
+
# The configuration must exist beforehand; the path must by in the format:
|
423
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
424
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::Variable] variable_object
|
425
|
+
# @param [String] request_id
|
426
|
+
# An optional but recommended unique `request_id`. If the server
|
427
|
+
# receives two `create()` requests with the same
|
428
|
+
# `request_id`, then the second request will be ignored and the
|
429
|
+
# first resource created and stored in the backend is returned.
|
430
|
+
# Empty `request_id` fields are ignored.
|
431
|
+
# It is responsibility of the client to ensure uniqueness of the
|
432
|
+
# `request_id` strings.
|
433
|
+
# `request_id` strings are limited to 64 characters.
|
434
|
+
# @param [String] fields
|
435
|
+
# Selector specifying which fields to include in a partial response.
|
436
|
+
# @param [String] quota_user
|
437
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
438
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
439
|
+
# @param [Google::Apis::RequestOptions] options
|
440
|
+
# Request-specific options
|
441
|
+
#
|
442
|
+
# @yield [result, err] Result & error if block supplied
|
443
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Variable] parsed result object
|
444
|
+
# @yieldparam err [StandardError] error object if request failed
|
445
|
+
#
|
446
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Variable]
|
447
|
+
#
|
448
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
449
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
450
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
451
|
+
def create_project_config_variable(parent, variable_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
452
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/variables', options)
|
453
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::Variable::Representation
|
454
|
+
command.request_object = variable_object
|
455
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Variable::Representation
|
456
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Variable
|
457
|
+
command.params['parent'] = parent unless parent.nil?
|
458
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
459
|
+
command.query['fields'] = fields unless fields.nil?
|
460
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
461
|
+
execute_or_queue_command(command, &block)
|
462
|
+
end
|
463
|
+
|
464
|
+
# Deletes a variable or multiple variables.
|
465
|
+
# If you specify a variable name, then that variable is deleted. If you
|
466
|
+
# specify a prefix and `recursive` is true, then all variables with that
|
467
|
+
# prefix are deleted. You must set a `recursive` to true if you delete
|
468
|
+
# variables by prefix.
|
469
|
+
# @param [String] name
|
470
|
+
# The name of the variable to delete, in the format:
|
471
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`
|
472
|
+
# @param [Boolean] recursive
|
473
|
+
# Set to `true` to recursively delete multiple variables with the same
|
474
|
+
# prefix.
|
475
|
+
# @param [String] fields
|
476
|
+
# Selector specifying which fields to include in a partial response.
|
477
|
+
# @param [String] quota_user
|
478
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
479
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
480
|
+
# @param [Google::Apis::RequestOptions] options
|
481
|
+
# Request-specific options
|
482
|
+
#
|
483
|
+
# @yield [result, err] Result & error if block supplied
|
484
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Empty] parsed result object
|
485
|
+
# @yieldparam err [StandardError] error object if request failed
|
486
|
+
#
|
487
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Empty]
|
488
|
+
#
|
489
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
490
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
491
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
492
|
+
def delete_project_config_variable(name, recursive: nil, fields: nil, quota_user: nil, options: nil, &block)
|
493
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
494
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Empty::Representation
|
495
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Empty
|
496
|
+
command.params['name'] = name unless name.nil?
|
497
|
+
command.query['recursive'] = recursive unless recursive.nil?
|
498
|
+
command.query['fields'] = fields unless fields.nil?
|
499
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
500
|
+
execute_or_queue_command(command, &block)
|
501
|
+
end
|
502
|
+
|
503
|
+
# Gets information about a single variable.
|
504
|
+
# @param [String] name
|
505
|
+
# The name of the variable to return, in the format:
|
506
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]`
|
507
|
+
# @param [String] fields
|
508
|
+
# Selector specifying which fields to include in a partial response.
|
509
|
+
# @param [String] quota_user
|
510
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
511
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
512
|
+
# @param [Google::Apis::RequestOptions] options
|
513
|
+
# Request-specific options
|
514
|
+
#
|
515
|
+
# @yield [result, err] Result & error if block supplied
|
516
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Variable] parsed result object
|
517
|
+
# @yieldparam err [StandardError] error object if request failed
|
518
|
+
#
|
519
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Variable]
|
520
|
+
#
|
521
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
522
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
523
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
524
|
+
def get_project_config_variable(name, fields: nil, quota_user: nil, options: nil, &block)
|
525
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
526
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Variable::Representation
|
527
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Variable
|
528
|
+
command.params['name'] = name unless name.nil?
|
529
|
+
command.query['fields'] = fields unless fields.nil?
|
530
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
531
|
+
execute_or_queue_command(command, &block)
|
532
|
+
end
|
533
|
+
|
534
|
+
# Lists variables within given a configuration, matching any provided filters.
|
535
|
+
# This only lists variable names, not the values, unless `return_values` is
|
536
|
+
# true, in which case only variables that user has IAM permission to GetVariable
|
537
|
+
# will be returned.
|
538
|
+
# @param [String] parent
|
539
|
+
# The path to the RuntimeConfig resource for which you want to list variables.
|
540
|
+
# The configuration must exist beforehand; the path must by in the format:
|
541
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
542
|
+
# @param [String] filter
|
543
|
+
# Filters variables by matching the specified filter. For example:
|
544
|
+
# `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.
|
545
|
+
# @param [Fixnum] page_size
|
546
|
+
# Specifies the number of results to return per page. If there are fewer
|
547
|
+
# elements than the specified number, returns all elements.
|
548
|
+
# @param [String] page_token
|
549
|
+
# Specifies a page token to use. Set `pageToken` to a `nextPageToken`
|
550
|
+
# returned by a previous list request to get the next page of results.
|
551
|
+
# @param [Boolean] return_values
|
552
|
+
# The flag indicates whether the user wants to return values of variables.
|
553
|
+
# If true, then only those variables that user has IAM GetVariable permission
|
554
|
+
# will be returned along with their values.
|
555
|
+
# @param [String] fields
|
556
|
+
# Selector specifying which fields to include in a partial response.
|
557
|
+
# @param [String] quota_user
|
558
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
559
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
560
|
+
# @param [Google::Apis::RequestOptions] options
|
561
|
+
# Request-specific options
|
562
|
+
#
|
563
|
+
# @yield [result, err] Result & error if block supplied
|
564
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::ListVariablesResponse] parsed result object
|
565
|
+
# @yieldparam err [StandardError] error object if request failed
|
566
|
+
#
|
567
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::ListVariablesResponse]
|
568
|
+
#
|
569
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
570
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
571
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
572
|
+
def list_project_config_variables(parent, filter: nil, page_size: nil, page_token: nil, return_values: nil, fields: nil, quota_user: nil, options: nil, &block)
|
573
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/variables', options)
|
574
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::ListVariablesResponse::Representation
|
575
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::ListVariablesResponse
|
576
|
+
command.params['parent'] = parent unless parent.nil?
|
577
|
+
command.query['filter'] = filter unless filter.nil?
|
578
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
579
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
580
|
+
command.query['returnValues'] = return_values unless return_values.nil?
|
581
|
+
command.query['fields'] = fields unless fields.nil?
|
582
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
583
|
+
execute_or_queue_command(command, &block)
|
584
|
+
end
|
585
|
+
|
586
|
+
# Returns permissions that a caller has on the specified resource.
|
587
|
+
# If the resource does not exist, this will return an empty set of
|
588
|
+
# permissions, not a NOT_FOUND error.
|
589
|
+
# Note: This operation is designed to be used for building permission-aware
|
590
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
591
|
+
# may "fail open" without warning.
|
592
|
+
# @param [String] resource
|
593
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
594
|
+
# See the operation documentation for the appropriate value for this field.
|
595
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
596
|
+
# @param [String] fields
|
597
|
+
# Selector specifying which fields to include in a partial response.
|
598
|
+
# @param [String] quota_user
|
599
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
600
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
601
|
+
# @param [Google::Apis::RequestOptions] options
|
602
|
+
# Request-specific options
|
603
|
+
#
|
604
|
+
# @yield [result, err] Result & error if block supplied
|
605
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse] parsed result object
|
606
|
+
# @yieldparam err [StandardError] error object if request failed
|
607
|
+
#
|
608
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse]
|
609
|
+
#
|
610
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
611
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
612
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
613
|
+
def test_variable_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
614
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
615
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsRequest::Representation
|
616
|
+
command.request_object = test_iam_permissions_request_object
|
617
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse::Representation
|
618
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse
|
619
|
+
command.params['resource'] = resource unless resource.nil?
|
620
|
+
command.query['fields'] = fields unless fields.nil?
|
621
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
622
|
+
execute_or_queue_command(command, &block)
|
623
|
+
end
|
624
|
+
|
625
|
+
# Updates an existing variable with a new value.
|
626
|
+
# @param [String] name
|
627
|
+
# The name of the variable to update, in the format:
|
628
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`
|
629
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::Variable] variable_object
|
630
|
+
# @param [String] fields
|
631
|
+
# Selector specifying which fields to include in a partial response.
|
632
|
+
# @param [String] quota_user
|
633
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
634
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
635
|
+
# @param [Google::Apis::RequestOptions] options
|
636
|
+
# Request-specific options
|
637
|
+
#
|
638
|
+
# @yield [result, err] Result & error if block supplied
|
639
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Variable] parsed result object
|
640
|
+
# @yieldparam err [StandardError] error object if request failed
|
641
|
+
#
|
642
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Variable]
|
643
|
+
#
|
644
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
645
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
646
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
647
|
+
def update_project_config_variable(name, variable_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
648
|
+
command = make_simple_command(:put, 'v1beta1/{+name}', options)
|
649
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::Variable::Representation
|
650
|
+
command.request_object = variable_object
|
651
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Variable::Representation
|
652
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Variable
|
653
|
+
command.params['name'] = name unless name.nil?
|
654
|
+
command.query['fields'] = fields unless fields.nil?
|
655
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
656
|
+
execute_or_queue_command(command, &block)
|
657
|
+
end
|
658
|
+
|
659
|
+
# Watches a specific variable and waits for a change in the variable's value.
|
660
|
+
# When there is a change, this method returns the new value or times out.
|
661
|
+
# If a variable is deleted while being watched, the `variableState` state is
|
662
|
+
# set to `DELETED` and the method returns the last known variable `value`.
|
663
|
+
# If you set the deadline for watching to a larger value than internal timeout
|
664
|
+
# (60 seconds), the current variable value is returned and the `variableState`
|
665
|
+
# will be `VARIABLE_STATE_UNSPECIFIED`.
|
666
|
+
# To learn more about creating a watcher, read the
|
667
|
+
# [Watching a Variable for Changes](/deployment-manager/runtime-configurator/
|
668
|
+
# watching-a-variable)
|
669
|
+
# documentation.
|
670
|
+
# @param [String] name
|
671
|
+
# The name of the variable to watch, in the format:
|
672
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
673
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::WatchVariableRequest] watch_variable_request_object
|
674
|
+
# @param [String] fields
|
675
|
+
# Selector specifying which fields to include in a partial response.
|
676
|
+
# @param [String] quota_user
|
677
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
678
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
679
|
+
# @param [Google::Apis::RequestOptions] options
|
680
|
+
# Request-specific options
|
681
|
+
#
|
682
|
+
# @yield [result, err] Result & error if block supplied
|
683
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Variable] parsed result object
|
684
|
+
# @yieldparam err [StandardError] error object if request failed
|
685
|
+
#
|
686
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Variable]
|
687
|
+
#
|
688
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
689
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
690
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
691
|
+
def watch_variable(name, watch_variable_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
692
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:watch', options)
|
693
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::WatchVariableRequest::Representation
|
694
|
+
command.request_object = watch_variable_request_object
|
695
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Variable::Representation
|
696
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Variable
|
697
|
+
command.params['name'] = name unless name.nil?
|
698
|
+
command.query['fields'] = fields unless fields.nil?
|
699
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
700
|
+
execute_or_queue_command(command, &block)
|
701
|
+
end
|
702
|
+
|
703
|
+
# Creates a Waiter resource. This operation returns a long-running Operation
|
704
|
+
# resource which can be polled for completion. However, a waiter with the
|
705
|
+
# given name will exist (and can be retrieved) prior to the operation
|
706
|
+
# completing. If the operation fails, the failed Waiter resource will
|
707
|
+
# still exist and must be deleted prior to subsequent creation attempts.
|
708
|
+
# @param [String] parent
|
709
|
+
# The path to the configuration that will own the waiter.
|
710
|
+
# The configuration must exist beforehand; the path must by in the format:
|
711
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
|
712
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::Waiter] waiter_object
|
713
|
+
# @param [String] request_id
|
714
|
+
# An optional but recommended unique `request_id`. If the server
|
715
|
+
# receives two `create()` requests with the same
|
716
|
+
# `request_id`, then the second request will be ignored and the
|
717
|
+
# first resource created and stored in the backend is returned.
|
718
|
+
# Empty `request_id` fields are ignored.
|
719
|
+
# It is responsibility of the client to ensure uniqueness of the
|
720
|
+
# `request_id` strings.
|
721
|
+
# `request_id` strings are limited to 64 characters.
|
722
|
+
# @param [String] fields
|
723
|
+
# Selector specifying which fields to include in a partial response.
|
724
|
+
# @param [String] quota_user
|
725
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
726
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
727
|
+
# @param [Google::Apis::RequestOptions] options
|
728
|
+
# Request-specific options
|
729
|
+
#
|
730
|
+
# @yield [result, err] Result & error if block supplied
|
731
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Operation] parsed result object
|
732
|
+
# @yieldparam err [StandardError] error object if request failed
|
733
|
+
#
|
734
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Operation]
|
735
|
+
#
|
736
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
737
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
738
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
739
|
+
def create_project_config_waiter(parent, waiter_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
740
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/waiters', options)
|
741
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::Waiter::Representation
|
742
|
+
command.request_object = waiter_object
|
743
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Operation::Representation
|
744
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Operation
|
745
|
+
command.params['parent'] = parent unless parent.nil?
|
746
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
747
|
+
command.query['fields'] = fields unless fields.nil?
|
748
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
749
|
+
execute_or_queue_command(command, &block)
|
750
|
+
end
|
751
|
+
|
752
|
+
# Deletes the waiter with the specified name.
|
753
|
+
# @param [String] name
|
754
|
+
# The Waiter resource to delete, in the format:
|
755
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`
|
756
|
+
# @param [String] fields
|
757
|
+
# Selector specifying which fields to include in a partial response.
|
758
|
+
# @param [String] quota_user
|
759
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
760
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
761
|
+
# @param [Google::Apis::RequestOptions] options
|
762
|
+
# Request-specific options
|
763
|
+
#
|
764
|
+
# @yield [result, err] Result & error if block supplied
|
765
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Empty] parsed result object
|
766
|
+
# @yieldparam err [StandardError] error object if request failed
|
767
|
+
#
|
768
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Empty]
|
769
|
+
#
|
770
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
771
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
772
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
773
|
+
def delete_project_config_waiter(name, fields: nil, quota_user: nil, options: nil, &block)
|
774
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
775
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Empty::Representation
|
776
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Empty
|
777
|
+
command.params['name'] = name unless name.nil?
|
778
|
+
command.query['fields'] = fields unless fields.nil?
|
779
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
780
|
+
execute_or_queue_command(command, &block)
|
781
|
+
end
|
782
|
+
|
783
|
+
# Gets information about a single waiter.
|
784
|
+
# @param [String] name
|
785
|
+
# The fully-qualified name of the Waiter resource object to retrieve, in the
|
786
|
+
# format:
|
787
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`
|
788
|
+
# @param [String] fields
|
789
|
+
# Selector specifying which fields to include in a partial response.
|
790
|
+
# @param [String] quota_user
|
791
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
792
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
793
|
+
# @param [Google::Apis::RequestOptions] options
|
794
|
+
# Request-specific options
|
795
|
+
#
|
796
|
+
# @yield [result, err] Result & error if block supplied
|
797
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::Waiter] parsed result object
|
798
|
+
# @yieldparam err [StandardError] error object if request failed
|
799
|
+
#
|
800
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::Waiter]
|
801
|
+
#
|
802
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
803
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
804
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
805
|
+
def get_project_config_waiter(name, fields: nil, quota_user: nil, options: nil, &block)
|
806
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
807
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::Waiter::Representation
|
808
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::Waiter
|
809
|
+
command.params['name'] = name unless name.nil?
|
810
|
+
command.query['fields'] = fields unless fields.nil?
|
811
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
812
|
+
execute_or_queue_command(command, &block)
|
813
|
+
end
|
814
|
+
|
815
|
+
# List waiters within the given configuration.
|
816
|
+
# @param [String] parent
|
817
|
+
# The path to the configuration for which you want to get a list of waiters.
|
818
|
+
# The configuration must exist beforehand; the path must by in the format:
|
819
|
+
# `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
|
820
|
+
# @param [Fixnum] page_size
|
821
|
+
# Specifies the number of results to return per page. If there are fewer
|
822
|
+
# elements than the specified number, returns all elements.
|
823
|
+
# @param [String] page_token
|
824
|
+
# Specifies a page token to use. Set `pageToken` to a `nextPageToken`
|
825
|
+
# returned by a previous list request to get the next page of results.
|
826
|
+
# @param [String] fields
|
827
|
+
# Selector specifying which fields to include in a partial response.
|
828
|
+
# @param [String] quota_user
|
829
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
830
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
831
|
+
# @param [Google::Apis::RequestOptions] options
|
832
|
+
# Request-specific options
|
833
|
+
#
|
834
|
+
# @yield [result, err] Result & error if block supplied
|
835
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::ListWaitersResponse] parsed result object
|
836
|
+
# @yieldparam err [StandardError] error object if request failed
|
837
|
+
#
|
838
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::ListWaitersResponse]
|
839
|
+
#
|
840
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
841
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
842
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
843
|
+
def list_project_config_waiters(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
844
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/waiters', options)
|
845
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::ListWaitersResponse::Representation
|
846
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::ListWaitersResponse
|
847
|
+
command.params['parent'] = parent unless parent.nil?
|
848
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
849
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
850
|
+
command.query['fields'] = fields unless fields.nil?
|
851
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
852
|
+
execute_or_queue_command(command, &block)
|
853
|
+
end
|
854
|
+
|
855
|
+
# Returns permissions that a caller has on the specified resource.
|
856
|
+
# If the resource does not exist, this will return an empty set of
|
857
|
+
# permissions, not a NOT_FOUND error.
|
858
|
+
# Note: This operation is designed to be used for building permission-aware
|
859
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
860
|
+
# may "fail open" without warning.
|
861
|
+
# @param [String] resource
|
862
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
863
|
+
# See the operation documentation for the appropriate value for this field.
|
864
|
+
# @param [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
865
|
+
# @param [String] fields
|
866
|
+
# Selector specifying which fields to include in a partial response.
|
867
|
+
# @param [String] quota_user
|
868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
870
|
+
# @param [Google::Apis::RequestOptions] options
|
871
|
+
# Request-specific options
|
872
|
+
#
|
873
|
+
# @yield [result, err] Result & error if block supplied
|
874
|
+
# @yieldparam result [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse] parsed result object
|
875
|
+
# @yieldparam err [StandardError] error object if request failed
|
876
|
+
#
|
877
|
+
# @return [Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse]
|
878
|
+
#
|
879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
882
|
+
def test_waiter_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
883
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
884
|
+
command.request_representation = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsRequest::Representation
|
885
|
+
command.request_object = test_iam_permissions_request_object
|
886
|
+
command.response_representation = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse::Representation
|
887
|
+
command.response_class = Google::Apis::RuntimeconfigV1beta1::TestIamPermissionsResponse
|
888
|
+
command.params['resource'] = resource unless resource.nil?
|
889
|
+
command.query['fields'] = fields unless fields.nil?
|
890
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
891
|
+
execute_or_queue_command(command, &block)
|
892
|
+
end
|
893
|
+
|
894
|
+
protected
|
895
|
+
|
896
|
+
def apply_command_defaults(command)
|
897
|
+
command.query['key'] = key unless key.nil?
|
898
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
899
|
+
end
|
900
|
+
end
|
901
|
+
end
|
902
|
+
end
|
903
|
+
end
|