google-api-client 0.13.2 → 0.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -54,11 +54,11 @@ module Google
|
|
|
54
54
|
# service.
|
|
55
55
|
# @param [String] name
|
|
56
56
|
# The name of the operation resource.
|
|
57
|
+
# @param [String] fields
|
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
|
57
59
|
# @param [String] quota_user
|
|
58
60
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
59
61
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
60
|
-
# @param [String] fields
|
|
61
|
-
# Selector specifying which fields to include in a partial response.
|
|
62
62
|
# @param [Google::Apis::RequestOptions] options
|
|
63
63
|
# Request-specific options
|
|
64
64
|
#
|
|
@@ -71,13 +71,13 @@ module Google
|
|
|
71
71
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
72
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
73
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
74
|
-
def get_operation(name,
|
|
74
|
+
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
75
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
76
76
|
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
77
77
|
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
78
78
|
command.params['name'] = name unless name.nil?
|
|
79
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
80
79
|
command.query['fields'] = fields unless fields.nil?
|
|
80
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
81
81
|
execute_or_queue_command(command, &block)
|
|
82
82
|
end
|
|
83
83
|
|
|
@@ -100,18 +100,18 @@ module Google
|
|
|
100
100
|
# * `serviceName=`some-service`.googleapis.com AND status=done`
|
|
101
101
|
# * `serviceName=`some-service`.googleapis.com AND (status=done OR startTime>="
|
|
102
102
|
# 2017-02-01")`
|
|
103
|
-
# @param [String] page_token
|
|
104
|
-
# The standard list page token.
|
|
105
103
|
# @param [String] name
|
|
106
104
|
# Not used.
|
|
107
105
|
# @param [Fixnum] page_size
|
|
108
106
|
# The maximum number of operations to return. If unspecified, defaults to
|
|
109
107
|
# 50. The maximum value is 100.
|
|
108
|
+
# @param [String] page_token
|
|
109
|
+
# The standard list page token.
|
|
110
|
+
# @param [String] fields
|
|
111
|
+
# Selector specifying which fields to include in a partial response.
|
|
110
112
|
# @param [String] quota_user
|
|
111
113
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
112
114
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
113
|
-
# @param [String] fields
|
|
114
|
-
# Selector specifying which fields to include in a partial response.
|
|
115
115
|
# @param [Google::Apis::RequestOptions] options
|
|
116
116
|
# Request-specific options
|
|
117
117
|
#
|
|
@@ -124,68 +124,64 @@ module Google
|
|
|
124
124
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
125
125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
126
126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
127
|
-
def list_operations(filter: nil,
|
|
127
|
+
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
128
128
|
command = make_simple_command(:get, 'v1/operations', options)
|
|
129
129
|
command.response_representation = Google::Apis::ServicemanagementV1::ListOperationsResponse::Representation
|
|
130
130
|
command.response_class = Google::Apis::ServicemanagementV1::ListOperationsResponse
|
|
131
131
|
command.query['filter'] = filter unless filter.nil?
|
|
132
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
133
132
|
command.query['name'] = name unless name.nil?
|
|
134
133
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
135
|
-
command.query['
|
|
134
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
136
135
|
command.query['fields'] = fields unless fields.nil?
|
|
136
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
137
137
|
execute_or_queue_command(command, &block)
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
-
#
|
|
141
|
-
#
|
|
142
|
-
#
|
|
143
|
-
# @param [
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
# @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
|
|
140
|
+
# Creates a new managed service.
|
|
141
|
+
# Please note one producer project can own no more than 20 services.
|
|
142
|
+
# Operation<response: ManagedService>
|
|
143
|
+
# @param [Google::Apis::ServicemanagementV1::ManagedService] managed_service_object
|
|
144
|
+
# @param [String] fields
|
|
145
|
+
# Selector specifying which fields to include in a partial response.
|
|
147
146
|
# @param [String] quota_user
|
|
148
147
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
149
148
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
150
|
-
# @param [String] fields
|
|
151
|
-
# Selector specifying which fields to include in a partial response.
|
|
152
149
|
# @param [Google::Apis::RequestOptions] options
|
|
153
150
|
# Request-specific options
|
|
154
151
|
#
|
|
155
152
|
# @yield [result, err] Result & error if block supplied
|
|
156
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
153
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
|
|
157
154
|
# @yieldparam err [StandardError] error object if request failed
|
|
158
155
|
#
|
|
159
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
156
|
+
# @return [Google::Apis::ServicemanagementV1::Operation]
|
|
160
157
|
#
|
|
161
158
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
162
159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
163
160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
164
|
-
def
|
|
165
|
-
command = make_simple_command(:post, 'v1/
|
|
166
|
-
command.request_representation = Google::Apis::ServicemanagementV1::
|
|
167
|
-
command.request_object =
|
|
168
|
-
command.response_representation = Google::Apis::ServicemanagementV1::
|
|
169
|
-
command.response_class = Google::Apis::ServicemanagementV1::
|
|
170
|
-
command.params['resource'] = resource unless resource.nil?
|
|
171
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
161
|
+
def create_service(managed_service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
162
|
+
command = make_simple_command(:post, 'v1/services', options)
|
|
163
|
+
command.request_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation
|
|
164
|
+
command.request_object = managed_service_object
|
|
165
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
166
|
+
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
172
167
|
command.query['fields'] = fields unless fields.nil?
|
|
168
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
173
169
|
execute_or_queue_command(command, &block)
|
|
174
170
|
end
|
|
175
171
|
|
|
176
|
-
#
|
|
177
|
-
#
|
|
178
|
-
#
|
|
179
|
-
#
|
|
180
|
-
# Operation<response:
|
|
172
|
+
# Deletes a managed service. This method will change the service to the
|
|
173
|
+
# `Soft-Delete` state for 30 days. Within this period, service producers may
|
|
174
|
+
# call UndeleteService to restore the service.
|
|
175
|
+
# After 30 days, the service will be permanently deleted.
|
|
176
|
+
# Operation<response: google.protobuf.Empty>
|
|
181
177
|
# @param [String] service_name
|
|
182
|
-
# The name of the service.
|
|
183
|
-
# for naming requirements.
|
|
178
|
+
# The name of the service. See the [overview](/service-management/overview)
|
|
179
|
+
# for naming requirements. For example: `example.googleapis.com`.
|
|
180
|
+
# @param [String] fields
|
|
181
|
+
# Selector specifying which fields to include in a partial response.
|
|
184
182
|
# @param [String] quota_user
|
|
185
183
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
186
184
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
187
|
-
# @param [String] fields
|
|
188
|
-
# Selector specifying which fields to include in a partial response.
|
|
189
185
|
# @param [Google::Apis::RequestOptions] options
|
|
190
186
|
# Request-specific options
|
|
191
187
|
#
|
|
@@ -198,74 +194,67 @@ module Google
|
|
|
198
194
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
199
195
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
200
196
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
201
|
-
def
|
|
202
|
-
command = make_simple_command(:
|
|
197
|
+
def delete_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
|
|
198
|
+
command = make_simple_command(:delete, 'v1/services/{serviceName}', options)
|
|
203
199
|
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
204
200
|
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
205
201
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
206
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
207
202
|
command.query['fields'] = fields unless fields.nil?
|
|
203
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
208
204
|
execute_or_queue_command(command, &block)
|
|
209
205
|
end
|
|
210
206
|
|
|
211
|
-
#
|
|
212
|
-
#
|
|
213
|
-
#
|
|
214
|
-
#
|
|
215
|
-
#
|
|
216
|
-
#
|
|
217
|
-
#
|
|
218
|
-
# @param [
|
|
219
|
-
#
|
|
220
|
-
#
|
|
221
|
-
# Include services produced by the specified project.
|
|
222
|
-
# @param [String] consumer_id
|
|
223
|
-
# Include services consumed by the specified consumer.
|
|
224
|
-
# The Google Service Management implementation accepts the following
|
|
225
|
-
# forms:
|
|
226
|
-
# - project:<project_id>
|
|
227
|
-
# @param [String] page_token
|
|
228
|
-
# Token identifying which result to start with; returned by a previous list
|
|
229
|
-
# call.
|
|
207
|
+
# Disables a service for a project, so it can no longer be
|
|
208
|
+
# be used for the project. It prevents accidental usage that may cause
|
|
209
|
+
# unexpected billing charges or security leaks.
|
|
210
|
+
# Operation<response: DisableServiceResponse>
|
|
211
|
+
# @param [String] service_name
|
|
212
|
+
# Name of the service to disable. Specifying an unknown service name
|
|
213
|
+
# will cause the request to fail.
|
|
214
|
+
# @param [Google::Apis::ServicemanagementV1::DisableServiceRequest] disable_service_request_object
|
|
215
|
+
# @param [String] fields
|
|
216
|
+
# Selector specifying which fields to include in a partial response.
|
|
230
217
|
# @param [String] quota_user
|
|
231
218
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
232
219
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
233
|
-
# @param [String] fields
|
|
234
|
-
# Selector specifying which fields to include in a partial response.
|
|
235
220
|
# @param [Google::Apis::RequestOptions] options
|
|
236
221
|
# Request-specific options
|
|
237
222
|
#
|
|
238
223
|
# @yield [result, err] Result & error if block supplied
|
|
239
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
224
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
|
|
240
225
|
# @yieldparam err [StandardError] error object if request failed
|
|
241
226
|
#
|
|
242
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
227
|
+
# @return [Google::Apis::ServicemanagementV1::Operation]
|
|
243
228
|
#
|
|
244
229
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
245
230
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
246
231
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
247
|
-
def
|
|
248
|
-
command = make_simple_command(:
|
|
249
|
-
command.
|
|
250
|
-
command.
|
|
251
|
-
command.
|
|
252
|
-
command.
|
|
253
|
-
command.
|
|
254
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
255
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
232
|
+
def disable_service(service_name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
233
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}:disable', options)
|
|
234
|
+
command.request_representation = Google::Apis::ServicemanagementV1::DisableServiceRequest::Representation
|
|
235
|
+
command.request_object = disable_service_request_object
|
|
236
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
237
|
+
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
238
|
+
command.params['serviceName'] = service_name unless service_name.nil?
|
|
256
239
|
command.query['fields'] = fields unless fields.nil?
|
|
240
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
257
241
|
execute_or_queue_command(command, &block)
|
|
258
242
|
end
|
|
259
243
|
|
|
260
|
-
#
|
|
261
|
-
#
|
|
262
|
-
#
|
|
263
|
-
#
|
|
244
|
+
# Enables a service for a project, so it can be used
|
|
245
|
+
# for the project. See
|
|
246
|
+
# [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
|
|
247
|
+
# more information.
|
|
248
|
+
# Operation<response: EnableServiceResponse>
|
|
249
|
+
# @param [String] service_name
|
|
250
|
+
# Name of the service to enable. Specifying an unknown service name will
|
|
251
|
+
# cause the request to fail.
|
|
252
|
+
# @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_request_object
|
|
253
|
+
# @param [String] fields
|
|
254
|
+
# Selector specifying which fields to include in a partial response.
|
|
264
255
|
# @param [String] quota_user
|
|
265
256
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
266
257
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
267
|
-
# @param [String] fields
|
|
268
|
-
# Selector specifying which fields to include in a partial response.
|
|
269
258
|
# @param [Google::Apis::RequestOptions] options
|
|
270
259
|
# Request-specific options
|
|
271
260
|
#
|
|
@@ -278,14 +267,15 @@ module Google
|
|
|
278
267
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
279
268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
280
269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
281
|
-
def
|
|
282
|
-
command = make_simple_command(:post, 'v1/services', options)
|
|
283
|
-
command.request_representation = Google::Apis::ServicemanagementV1::
|
|
284
|
-
command.request_object =
|
|
270
|
+
def enable_service(service_name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
271
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}:enable', options)
|
|
272
|
+
command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation
|
|
273
|
+
command.request_object = enable_service_request_object
|
|
285
274
|
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
286
275
|
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
287
|
-
command.
|
|
276
|
+
command.params['serviceName'] = service_name unless service_name.nil?
|
|
288
277
|
command.query['fields'] = fields unless fields.nil?
|
|
278
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
289
279
|
execute_or_queue_command(command, &block)
|
|
290
280
|
end
|
|
291
281
|
|
|
@@ -300,11 +290,11 @@ module Google
|
|
|
300
290
|
# will compare GenerateConfigReportRequest.new_value with the last pushed
|
|
301
291
|
# service configuration.
|
|
302
292
|
# @param [Google::Apis::ServicemanagementV1::GenerateConfigReportRequest] generate_config_report_request_object
|
|
293
|
+
# @param [String] fields
|
|
294
|
+
# Selector specifying which fields to include in a partial response.
|
|
303
295
|
# @param [String] quota_user
|
|
304
296
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
305
297
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
306
|
-
# @param [String] fields
|
|
307
|
-
# Selector specifying which fields to include in a partial response.
|
|
308
298
|
# @param [Google::Apis::RequestOptions] options
|
|
309
299
|
# Request-specific options
|
|
310
300
|
#
|
|
@@ -317,14 +307,14 @@ module Google
|
|
|
317
307
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
318
308
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
319
309
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
320
|
-
def generate_service_config_report(generate_config_report_request_object = nil,
|
|
310
|
+
def generate_service_config_report(generate_config_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
321
311
|
command = make_simple_command(:post, 'v1/services:generateConfigReport', options)
|
|
322
312
|
command.request_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportRequest::Representation
|
|
323
313
|
command.request_object = generate_config_report_request_object
|
|
324
314
|
command.response_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse::Representation
|
|
325
315
|
command.response_class = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse
|
|
326
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
327
316
|
command.query['fields'] = fields unless fields.nil?
|
|
317
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
328
318
|
execute_or_queue_command(command, &block)
|
|
329
319
|
end
|
|
330
320
|
|
|
@@ -333,11 +323,11 @@ module Google
|
|
|
333
323
|
# @param [String] service_name
|
|
334
324
|
# The name of the service. See the `ServiceManager` overview for naming
|
|
335
325
|
# requirements. For example: `example.googleapis.com`.
|
|
326
|
+
# @param [String] fields
|
|
327
|
+
# Selector specifying which fields to include in a partial response.
|
|
336
328
|
# @param [String] quota_user
|
|
337
329
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
338
330
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
339
|
-
# @param [String] fields
|
|
340
|
-
# Selector specifying which fields to include in a partial response.
|
|
341
331
|
# @param [Google::Apis::RequestOptions] options
|
|
342
332
|
# Request-specific options
|
|
343
333
|
#
|
|
@@ -350,52 +340,13 @@ module Google
|
|
|
350
340
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
351
341
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
352
342
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
353
|
-
def get_service(service_name,
|
|
343
|
+
def get_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
|
|
354
344
|
command = make_simple_command(:get, 'v1/services/{serviceName}', options)
|
|
355
345
|
command.response_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation
|
|
356
346
|
command.response_class = Google::Apis::ServicemanagementV1::ManagedService
|
|
357
347
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
358
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
359
348
|
command.query['fields'] = fields unless fields.nil?
|
|
360
|
-
execute_or_queue_command(command, &block)
|
|
361
|
-
end
|
|
362
|
-
|
|
363
|
-
# Returns permissions that a caller has on the specified resource.
|
|
364
|
-
# If the resource does not exist, this will return an empty set of
|
|
365
|
-
# permissions, not a NOT_FOUND error.
|
|
366
|
-
# Note: This operation is designed to be used for building permission-aware
|
|
367
|
-
# UIs and command-line tools, not for authorization checking. This operation
|
|
368
|
-
# may "fail open" without warning.
|
|
369
|
-
# @param [String] resource
|
|
370
|
-
# REQUIRED: The resource for which the policy detail is being requested.
|
|
371
|
-
# See the operation documentation for the appropriate value for this field.
|
|
372
|
-
# @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
373
|
-
# @param [String] quota_user
|
|
374
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
375
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
376
|
-
# @param [String] fields
|
|
377
|
-
# Selector specifying which fields to include in a partial response.
|
|
378
|
-
# @param [Google::Apis::RequestOptions] options
|
|
379
|
-
# Request-specific options
|
|
380
|
-
#
|
|
381
|
-
# @yield [result, err] Result & error if block supplied
|
|
382
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse] parsed result object
|
|
383
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
384
|
-
#
|
|
385
|
-
# @return [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse]
|
|
386
|
-
#
|
|
387
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
388
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
389
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
390
|
-
def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
391
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
392
|
-
command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
|
|
393
|
-
command.request_object = test_iam_permissions_request_object
|
|
394
|
-
command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
|
|
395
|
-
command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
|
|
396
|
-
command.params['resource'] = resource unless resource.nil?
|
|
397
349
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
398
|
-
command.query['fields'] = fields unless fields.nil?
|
|
399
350
|
execute_or_queue_command(command, &block)
|
|
400
351
|
end
|
|
401
352
|
|
|
@@ -408,11 +359,11 @@ module Google
|
|
|
408
359
|
# @param [String] view
|
|
409
360
|
# Specifies which parts of the Service Config should be returned in the
|
|
410
361
|
# response.
|
|
362
|
+
# @param [String] fields
|
|
363
|
+
# Selector specifying which fields to include in a partial response.
|
|
411
364
|
# @param [String] quota_user
|
|
412
365
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
413
366
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
414
|
-
# @param [String] fields
|
|
415
|
-
# Selector specifying which fields to include in a partial response.
|
|
416
367
|
# @param [Google::Apis::RequestOptions] options
|
|
417
368
|
# Request-specific options
|
|
418
369
|
#
|
|
@@ -425,88 +376,100 @@ module Google
|
|
|
425
376
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
426
377
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
427
378
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
428
|
-
def get_service_configuration(service_name, config_id: nil, view: nil,
|
|
379
|
+
def get_service_configuration(service_name, config_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
429
380
|
command = make_simple_command(:get, 'v1/services/{serviceName}/config', options)
|
|
430
381
|
command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
431
382
|
command.response_class = Google::Apis::ServicemanagementV1::Service
|
|
432
383
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
433
384
|
command.query['configId'] = config_id unless config_id.nil?
|
|
434
385
|
command.query['view'] = view unless view.nil?
|
|
435
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
436
386
|
command.query['fields'] = fields unless fields.nil?
|
|
387
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
437
388
|
execute_or_queue_command(command, &block)
|
|
438
389
|
end
|
|
439
390
|
|
|
440
|
-
#
|
|
441
|
-
#
|
|
442
|
-
#
|
|
443
|
-
#
|
|
444
|
-
#
|
|
445
|
-
#
|
|
446
|
-
#
|
|
447
|
-
#
|
|
391
|
+
# Gets the access control policy for a resource.
|
|
392
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
|
393
|
+
# set.
|
|
394
|
+
# @param [String] resource
|
|
395
|
+
# REQUIRED: The resource for which the policy is being requested.
|
|
396
|
+
# See the operation documentation for the appropriate value for this field.
|
|
397
|
+
# @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
|
|
398
|
+
# @param [String] fields
|
|
399
|
+
# Selector specifying which fields to include in a partial response.
|
|
448
400
|
# @param [String] quota_user
|
|
449
401
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
450
402
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
451
|
-
# @param [String] fields
|
|
452
|
-
# Selector specifying which fields to include in a partial response.
|
|
453
403
|
# @param [Google::Apis::RequestOptions] options
|
|
454
404
|
# Request-specific options
|
|
455
405
|
#
|
|
456
406
|
# @yield [result, err] Result & error if block supplied
|
|
457
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
407
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
|
|
458
408
|
# @yieldparam err [StandardError] error object if request failed
|
|
459
409
|
#
|
|
460
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
410
|
+
# @return [Google::Apis::ServicemanagementV1::Policy]
|
|
461
411
|
#
|
|
462
412
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
463
413
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
464
414
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
465
|
-
def
|
|
466
|
-
command = make_simple_command(:
|
|
467
|
-
command.
|
|
468
|
-
command.
|
|
469
|
-
command.
|
|
470
|
-
command.
|
|
415
|
+
def get_service_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
416
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
|
417
|
+
command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation
|
|
418
|
+
command.request_object = get_iam_policy_request_object
|
|
419
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
|
|
420
|
+
command.response_class = Google::Apis::ServicemanagementV1::Policy
|
|
421
|
+
command.params['resource'] = resource unless resource.nil?
|
|
471
422
|
command.query['fields'] = fields unless fields.nil?
|
|
423
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
472
424
|
execute_or_queue_command(command, &block)
|
|
473
425
|
end
|
|
474
426
|
|
|
475
|
-
#
|
|
476
|
-
#
|
|
477
|
-
#
|
|
478
|
-
#
|
|
479
|
-
#
|
|
480
|
-
#
|
|
481
|
-
#
|
|
482
|
-
#
|
|
483
|
-
#
|
|
484
|
-
#
|
|
485
|
-
#
|
|
486
|
-
#
|
|
487
|
-
# @param [
|
|
488
|
-
#
|
|
489
|
-
# @param [
|
|
490
|
-
#
|
|
491
|
-
#
|
|
492
|
-
# @
|
|
493
|
-
#
|
|
427
|
+
# Lists managed services.
|
|
428
|
+
# Returns all public services. For authenticated users, also returns all
|
|
429
|
+
# services the calling user has "servicemanagement.services.get" permission
|
|
430
|
+
# for.
|
|
431
|
+
# **BETA:** If the caller specifies the `consumer_id`, it returns only the
|
|
432
|
+
# services enabled on the consumer. The `consumer_id` must have the format
|
|
433
|
+
# of "project:`PROJECT-ID`".
|
|
434
|
+
# @param [String] consumer_id
|
|
435
|
+
# Include services consumed by the specified consumer.
|
|
436
|
+
# The Google Service Management implementation accepts the following
|
|
437
|
+
# forms:
|
|
438
|
+
# - project:<project_id>
|
|
439
|
+
# @param [Fixnum] page_size
|
|
440
|
+
# Requested size of the next page of data.
|
|
441
|
+
# @param [String] page_token
|
|
442
|
+
# Token identifying which result to start with; returned by a previous list
|
|
443
|
+
# call.
|
|
444
|
+
# @param [String] producer_project_id
|
|
445
|
+
# Include services produced by the specified project.
|
|
446
|
+
# @param [String] fields
|
|
447
|
+
# Selector specifying which fields to include in a partial response.
|
|
448
|
+
# @param [String] quota_user
|
|
449
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
450
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
451
|
+
# @param [Google::Apis::RequestOptions] options
|
|
452
|
+
# Request-specific options
|
|
453
|
+
#
|
|
454
|
+
# @yield [result, err] Result & error if block supplied
|
|
455
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::ListServicesResponse] parsed result object
|
|
494
456
|
# @yieldparam err [StandardError] error object if request failed
|
|
495
457
|
#
|
|
496
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
458
|
+
# @return [Google::Apis::ServicemanagementV1::ListServicesResponse]
|
|
497
459
|
#
|
|
498
460
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
499
461
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
500
462
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
501
|
-
def
|
|
502
|
-
command = make_simple_command(:
|
|
503
|
-
command.
|
|
504
|
-
command.
|
|
505
|
-
command.
|
|
506
|
-
command.
|
|
507
|
-
command.
|
|
508
|
-
command.query['
|
|
463
|
+
def list_services(consumer_id: nil, page_size: nil, page_token: nil, producer_project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
464
|
+
command = make_simple_command(:get, 'v1/services', options)
|
|
465
|
+
command.response_representation = Google::Apis::ServicemanagementV1::ListServicesResponse::Representation
|
|
466
|
+
command.response_class = Google::Apis::ServicemanagementV1::ListServicesResponse
|
|
467
|
+
command.query['consumerId'] = consumer_id unless consumer_id.nil?
|
|
468
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
469
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
470
|
+
command.query['producerProjectId'] = producer_project_id unless producer_project_id.nil?
|
|
509
471
|
command.query['fields'] = fields unless fields.nil?
|
|
472
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
510
473
|
execute_or_queue_command(command, &block)
|
|
511
474
|
end
|
|
512
475
|
|
|
@@ -516,11 +479,11 @@ module Google
|
|
|
516
479
|
# REQUIRED: The resource for which the policy is being specified.
|
|
517
480
|
# See the operation documentation for the appropriate value for this field.
|
|
518
481
|
# @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
482
|
+
# @param [String] fields
|
|
483
|
+
# Selector specifying which fields to include in a partial response.
|
|
519
484
|
# @param [String] quota_user
|
|
520
485
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
521
486
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
522
|
-
# @param [String] fields
|
|
523
|
-
# Selector specifying which fields to include in a partial response.
|
|
524
487
|
# @param [Google::Apis::RequestOptions] options
|
|
525
488
|
# Request-specific options
|
|
526
489
|
#
|
|
@@ -533,52 +496,15 @@ module Google
|
|
|
533
496
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
534
497
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
535
498
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
536
|
-
def set_service_iam_policy(resource, set_iam_policy_request_object = nil,
|
|
499
|
+
def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
537
500
|
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
538
501
|
command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
|
|
539
502
|
command.request_object = set_iam_policy_request_object
|
|
540
503
|
command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
|
|
541
504
|
command.response_class = Google::Apis::ServicemanagementV1::Policy
|
|
542
505
|
command.params['resource'] = resource unless resource.nil?
|
|
543
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
544
506
|
command.query['fields'] = fields unless fields.nil?
|
|
545
|
-
execute_or_queue_command(command, &block)
|
|
546
|
-
end
|
|
547
|
-
|
|
548
|
-
# Disables a service for a project, so it can no longer be
|
|
549
|
-
# be used for the project. It prevents accidental usage that may cause
|
|
550
|
-
# unexpected billing charges or security leaks.
|
|
551
|
-
# Operation<response: DisableServiceResponse>
|
|
552
|
-
# @param [String] service_name
|
|
553
|
-
# Name of the service to disable. Specifying an unknown service name
|
|
554
|
-
# will cause the request to fail.
|
|
555
|
-
# @param [Google::Apis::ServicemanagementV1::DisableServiceRequest] disable_service_request_object
|
|
556
|
-
# @param [String] quota_user
|
|
557
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
558
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
559
|
-
# @param [String] fields
|
|
560
|
-
# Selector specifying which fields to include in a partial response.
|
|
561
|
-
# @param [Google::Apis::RequestOptions] options
|
|
562
|
-
# Request-specific options
|
|
563
|
-
#
|
|
564
|
-
# @yield [result, err] Result & error if block supplied
|
|
565
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
|
|
566
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
567
|
-
#
|
|
568
|
-
# @return [Google::Apis::ServicemanagementV1::Operation]
|
|
569
|
-
#
|
|
570
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
571
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
572
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
573
|
-
def disable_service(service_name, disable_service_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
574
|
-
command = make_simple_command(:post, 'v1/services/{serviceName}:disable', options)
|
|
575
|
-
command.request_representation = Google::Apis::ServicemanagementV1::DisableServiceRequest::Representation
|
|
576
|
-
command.request_object = disable_service_request_object
|
|
577
|
-
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
578
|
-
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
579
|
-
command.params['serviceName'] = service_name unless service_name.nil?
|
|
580
507
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
581
|
-
command.query['fields'] = fields unless fields.nil?
|
|
582
508
|
execute_or_queue_command(command, &block)
|
|
583
509
|
end
|
|
584
510
|
|
|
@@ -592,11 +518,11 @@ module Google
|
|
|
592
518
|
# REQUIRED: The resource for which the policy detail is being requested.
|
|
593
519
|
# See the operation documentation for the appropriate value for this field.
|
|
594
520
|
# @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
521
|
+
# @param [String] fields
|
|
522
|
+
# Selector specifying which fields to include in a partial response.
|
|
595
523
|
# @param [String] quota_user
|
|
596
524
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
597
525
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
598
|
-
# @param [String] fields
|
|
599
|
-
# Selector specifying which fields to include in a partial response.
|
|
600
526
|
# @param [Google::Apis::RequestOptions] options
|
|
601
527
|
# Request-specific options
|
|
602
528
|
#
|
|
@@ -609,188 +535,183 @@ module Google
|
|
|
609
535
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
610
536
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
611
537
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
612
|
-
def
|
|
538
|
+
def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
613
539
|
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
614
540
|
command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
|
|
615
541
|
command.request_object = test_iam_permissions_request_object
|
|
616
542
|
command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
|
|
617
543
|
command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
|
|
618
544
|
command.params['resource'] = resource unless resource.nil?
|
|
619
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
620
545
|
command.query['fields'] = fields unless fields.nil?
|
|
546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
621
547
|
execute_or_queue_command(command, &block)
|
|
622
548
|
end
|
|
623
549
|
|
|
624
|
-
#
|
|
625
|
-
#
|
|
626
|
-
#
|
|
627
|
-
#
|
|
628
|
-
#
|
|
629
|
-
#
|
|
630
|
-
#
|
|
550
|
+
# Revives a previously deleted managed service. The method restores the
|
|
551
|
+
# service using the configuration at the time the service was deleted.
|
|
552
|
+
# The target service must exist and must have been deleted within the
|
|
553
|
+
# last 30 days.
|
|
554
|
+
# Operation<response: UndeleteServiceResponse>
|
|
555
|
+
# @param [String] service_name
|
|
556
|
+
# The name of the service. See the [overview](/service-management/overview)
|
|
557
|
+
# for naming requirements. For example: `example.googleapis.com`.
|
|
558
|
+
# @param [String] fields
|
|
559
|
+
# Selector specifying which fields to include in a partial response.
|
|
631
560
|
# @param [String] quota_user
|
|
632
561
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
633
562
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
634
|
-
# @param [String] fields
|
|
635
|
-
# Selector specifying which fields to include in a partial response.
|
|
636
563
|
# @param [Google::Apis::RequestOptions] options
|
|
637
564
|
# Request-specific options
|
|
638
565
|
#
|
|
639
566
|
# @yield [result, err] Result & error if block supplied
|
|
640
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
567
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
|
|
641
568
|
# @yieldparam err [StandardError] error object if request failed
|
|
642
569
|
#
|
|
643
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
570
|
+
# @return [Google::Apis::ServicemanagementV1::Operation]
|
|
644
571
|
#
|
|
645
572
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
646
573
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
647
574
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
648
|
-
def
|
|
649
|
-
command = make_simple_command(:post, 'v1/{
|
|
650
|
-
command.
|
|
651
|
-
command.
|
|
652
|
-
command.
|
|
653
|
-
command.response_class = Google::Apis::ServicemanagementV1::Policy
|
|
654
|
-
command.params['resource'] = resource unless resource.nil?
|
|
655
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
575
|
+
def undelete_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
|
|
576
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}:undelete', options)
|
|
577
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
578
|
+
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
579
|
+
command.params['serviceName'] = service_name unless service_name.nil?
|
|
656
580
|
command.query['fields'] = fields unless fields.nil?
|
|
581
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
657
582
|
execute_or_queue_command(command, &block)
|
|
658
583
|
end
|
|
659
584
|
|
|
660
|
-
#
|
|
661
|
-
#
|
|
662
|
-
#
|
|
663
|
-
#
|
|
664
|
-
#
|
|
665
|
-
#
|
|
585
|
+
# Creates a new service configuration (version) for a managed service.
|
|
586
|
+
# This method only stores the service configuration. To roll out the service
|
|
587
|
+
# configuration to backend systems please call
|
|
588
|
+
# CreateServiceRollout.
|
|
589
|
+
# @param [String] service_name
|
|
590
|
+
# The name of the service. See the [overview](/service-management/overview)
|
|
591
|
+
# for naming requirements. For example: `example.googleapis.com`.
|
|
592
|
+
# @param [Google::Apis::ServicemanagementV1::Service] service_object
|
|
593
|
+
# @param [String] fields
|
|
594
|
+
# Selector specifying which fields to include in a partial response.
|
|
666
595
|
# @param [String] quota_user
|
|
667
596
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
668
597
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
669
|
-
# @param [String] fields
|
|
670
|
-
# Selector specifying which fields to include in a partial response.
|
|
671
598
|
# @param [Google::Apis::RequestOptions] options
|
|
672
599
|
# Request-specific options
|
|
673
600
|
#
|
|
674
601
|
# @yield [result, err] Result & error if block supplied
|
|
675
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
602
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Service] parsed result object
|
|
676
603
|
# @yieldparam err [StandardError] error object if request failed
|
|
677
604
|
#
|
|
678
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
605
|
+
# @return [Google::Apis::ServicemanagementV1::Service]
|
|
679
606
|
#
|
|
680
607
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
681
608
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
682
609
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
683
|
-
def
|
|
684
|
-
command = make_simple_command(:post, 'v1/{
|
|
685
|
-
command.request_representation = Google::Apis::ServicemanagementV1::
|
|
686
|
-
command.request_object =
|
|
687
|
-
command.response_representation = Google::Apis::ServicemanagementV1::
|
|
688
|
-
command.response_class = Google::Apis::ServicemanagementV1::
|
|
689
|
-
command.params['
|
|
690
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
610
|
+
def create_service_config(service_name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
611
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}/configs', options)
|
|
612
|
+
command.request_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
613
|
+
command.request_object = service_object
|
|
614
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
615
|
+
command.response_class = Google::Apis::ServicemanagementV1::Service
|
|
616
|
+
command.params['serviceName'] = service_name unless service_name.nil?
|
|
691
617
|
command.query['fields'] = fields unless fields.nil?
|
|
618
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
692
619
|
execute_or_queue_command(command, &block)
|
|
693
620
|
end
|
|
694
621
|
|
|
695
|
-
# Gets a service configuration
|
|
622
|
+
# Gets a service configuration (version) for a managed service.
|
|
696
623
|
# @param [String] service_name
|
|
697
624
|
# The name of the service. See the [overview](/service-management/overview)
|
|
698
625
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
699
|
-
# @param [String]
|
|
700
|
-
# The id of the
|
|
626
|
+
# @param [String] config_id
|
|
627
|
+
# The id of the service configuration resource.
|
|
628
|
+
# @param [String] view
|
|
629
|
+
# Specifies which parts of the Service Config should be returned in the
|
|
630
|
+
# response.
|
|
631
|
+
# @param [String] fields
|
|
632
|
+
# Selector specifying which fields to include in a partial response.
|
|
701
633
|
# @param [String] quota_user
|
|
702
634
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
703
635
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
704
|
-
# @param [String] fields
|
|
705
|
-
# Selector specifying which fields to include in a partial response.
|
|
706
636
|
# @param [Google::Apis::RequestOptions] options
|
|
707
637
|
# Request-specific options
|
|
708
638
|
#
|
|
709
639
|
# @yield [result, err] Result & error if block supplied
|
|
710
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
640
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Service] parsed result object
|
|
711
641
|
# @yieldparam err [StandardError] error object if request failed
|
|
712
642
|
#
|
|
713
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
643
|
+
# @return [Google::Apis::ServicemanagementV1::Service]
|
|
714
644
|
#
|
|
715
645
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
716
646
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
717
647
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
718
|
-
def
|
|
719
|
-
command = make_simple_command(:get, 'v1/services/{serviceName}/
|
|
720
|
-
command.response_representation = Google::Apis::ServicemanagementV1::
|
|
721
|
-
command.response_class = Google::Apis::ServicemanagementV1::
|
|
648
|
+
def get_service_config(service_name, config_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
649
|
+
command = make_simple_command(:get, 'v1/services/{serviceName}/configs/{configId}', options)
|
|
650
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
651
|
+
command.response_class = Google::Apis::ServicemanagementV1::Service
|
|
722
652
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
723
|
-
command.params['
|
|
724
|
-
command.query['
|
|
653
|
+
command.params['configId'] = config_id unless config_id.nil?
|
|
654
|
+
command.query['view'] = view unless view.nil?
|
|
725
655
|
command.query['fields'] = fields unless fields.nil?
|
|
656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
726
657
|
execute_or_queue_command(command, &block)
|
|
727
658
|
end
|
|
728
659
|
|
|
729
|
-
# Lists the history of the service configuration
|
|
730
|
-
#
|
|
660
|
+
# Lists the history of the service configuration for a managed service,
|
|
661
|
+
# from the newest to the oldest.
|
|
731
662
|
# @param [String] service_name
|
|
732
663
|
# The name of the service. See the [overview](/service-management/overview)
|
|
733
664
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
734
|
-
# @param [String] filter
|
|
735
|
-
# Use `filter` to return subset of rollouts.
|
|
736
|
-
# The following filters are supported:
|
|
737
|
-
# -- To limit the results to only those in
|
|
738
|
-
# [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
|
|
739
|
-
# use filter='status=SUCCESS'
|
|
740
|
-
# -- To limit the results to those in
|
|
741
|
-
# [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
|
|
742
|
-
# or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
|
|
743
|
-
# @param [String] page_token
|
|
744
|
-
# The token of the page to retrieve.
|
|
745
665
|
# @param [Fixnum] page_size
|
|
746
666
|
# The max number of items to include in the response list.
|
|
667
|
+
# @param [String] page_token
|
|
668
|
+
# The token of the page to retrieve.
|
|
669
|
+
# @param [String] fields
|
|
670
|
+
# Selector specifying which fields to include in a partial response.
|
|
747
671
|
# @param [String] quota_user
|
|
748
672
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
749
673
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
750
|
-
# @param [String] fields
|
|
751
|
-
# Selector specifying which fields to include in a partial response.
|
|
752
674
|
# @param [Google::Apis::RequestOptions] options
|
|
753
675
|
# Request-specific options
|
|
754
676
|
#
|
|
755
677
|
# @yield [result, err] Result & error if block supplied
|
|
756
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
678
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::ListServiceConfigsResponse] parsed result object
|
|
757
679
|
# @yieldparam err [StandardError] error object if request failed
|
|
758
680
|
#
|
|
759
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
681
|
+
# @return [Google::Apis::ServicemanagementV1::ListServiceConfigsResponse]
|
|
760
682
|
#
|
|
761
683
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
762
684
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
763
685
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
764
|
-
def
|
|
765
|
-
command = make_simple_command(:get, 'v1/services/{serviceName}/
|
|
766
|
-
command.response_representation = Google::Apis::ServicemanagementV1::
|
|
767
|
-
command.response_class = Google::Apis::ServicemanagementV1::
|
|
686
|
+
def list_service_configs(service_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
687
|
+
command = make_simple_command(:get, 'v1/services/{serviceName}/configs', options)
|
|
688
|
+
command.response_representation = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse::Representation
|
|
689
|
+
command.response_class = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse
|
|
768
690
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
769
|
-
command.query['filter'] = filter unless filter.nil?
|
|
770
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
771
691
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
772
|
-
command.query['
|
|
692
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
773
693
|
command.query['fields'] = fields unless fields.nil?
|
|
694
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
774
695
|
execute_or_queue_command(command, &block)
|
|
775
696
|
end
|
|
776
697
|
|
|
777
|
-
# Creates a new service configuration
|
|
778
|
-
#
|
|
779
|
-
#
|
|
780
|
-
#
|
|
781
|
-
#
|
|
782
|
-
#
|
|
783
|
-
#
|
|
784
|
-
# Operation<response:
|
|
698
|
+
# Creates a new service configuration (version) for a managed service based
|
|
699
|
+
# on
|
|
700
|
+
# user-supplied configuration source files (for example: OpenAPI
|
|
701
|
+
# Specification). This method stores the source configurations as well as the
|
|
702
|
+
# generated service configuration. To rollout the service configuration to
|
|
703
|
+
# other services,
|
|
704
|
+
# please call CreateServiceRollout.
|
|
705
|
+
# Operation<response: SubmitConfigSourceResponse>
|
|
785
706
|
# @param [String] service_name
|
|
786
707
|
# The name of the service. See the [overview](/service-management/overview)
|
|
787
708
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
788
|
-
# @param [Google::Apis::ServicemanagementV1::
|
|
709
|
+
# @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_request_object
|
|
710
|
+
# @param [String] fields
|
|
711
|
+
# Selector specifying which fields to include in a partial response.
|
|
789
712
|
# @param [String] quota_user
|
|
790
713
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
791
714
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
792
|
-
# @param [String] fields
|
|
793
|
-
# Selector specifying which fields to include in a partial response.
|
|
794
715
|
# @param [Google::Apis::RequestOptions] options
|
|
795
716
|
# Request-specific options
|
|
796
717
|
#
|
|
@@ -803,169 +724,248 @@ module Google
|
|
|
803
724
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
804
725
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
805
726
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
806
|
-
def
|
|
807
|
-
command = make_simple_command(:post, 'v1/services/{serviceName}/
|
|
808
|
-
command.request_representation = Google::Apis::ServicemanagementV1::
|
|
809
|
-
command.request_object =
|
|
727
|
+
def submit_config_source(service_name, submit_config_source_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
728
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}/configs:submit', options)
|
|
729
|
+
command.request_representation = Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest::Representation
|
|
730
|
+
command.request_object = submit_config_source_request_object
|
|
810
731
|
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
811
732
|
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
812
733
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
813
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
814
734
|
command.query['fields'] = fields unless fields.nil?
|
|
735
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
815
736
|
execute_or_queue_command(command, &block)
|
|
816
737
|
end
|
|
817
738
|
|
|
818
|
-
# Gets
|
|
819
|
-
#
|
|
820
|
-
#
|
|
821
|
-
#
|
|
822
|
-
#
|
|
823
|
-
#
|
|
824
|
-
# @param [
|
|
825
|
-
#
|
|
826
|
-
# response.
|
|
739
|
+
# Gets the access control policy for a resource.
|
|
740
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
|
741
|
+
# set.
|
|
742
|
+
# @param [String] resource
|
|
743
|
+
# REQUIRED: The resource for which the policy is being requested.
|
|
744
|
+
# See the operation documentation for the appropriate value for this field.
|
|
745
|
+
# @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
|
|
746
|
+
# @param [String] fields
|
|
747
|
+
# Selector specifying which fields to include in a partial response.
|
|
827
748
|
# @param [String] quota_user
|
|
828
749
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
829
750
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
751
|
+
# @param [Google::Apis::RequestOptions] options
|
|
752
|
+
# Request-specific options
|
|
753
|
+
#
|
|
754
|
+
# @yield [result, err] Result & error if block supplied
|
|
755
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
|
|
756
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
757
|
+
#
|
|
758
|
+
# @return [Google::Apis::ServicemanagementV1::Policy]
|
|
759
|
+
#
|
|
760
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
761
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
762
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
763
|
+
def get_consumer_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
764
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
|
765
|
+
command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation
|
|
766
|
+
command.request_object = get_iam_policy_request_object
|
|
767
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
|
|
768
|
+
command.response_class = Google::Apis::ServicemanagementV1::Policy
|
|
769
|
+
command.params['resource'] = resource unless resource.nil?
|
|
770
|
+
command.query['fields'] = fields unless fields.nil?
|
|
771
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
772
|
+
execute_or_queue_command(command, &block)
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
776
|
+
# existing policy.
|
|
777
|
+
# @param [String] resource
|
|
778
|
+
# REQUIRED: The resource for which the policy is being specified.
|
|
779
|
+
# See the operation documentation for the appropriate value for this field.
|
|
780
|
+
# @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
830
781
|
# @param [String] fields
|
|
831
782
|
# Selector specifying which fields to include in a partial response.
|
|
783
|
+
# @param [String] quota_user
|
|
784
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
785
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
832
786
|
# @param [Google::Apis::RequestOptions] options
|
|
833
787
|
# Request-specific options
|
|
834
788
|
#
|
|
835
789
|
# @yield [result, err] Result & error if block supplied
|
|
836
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
790
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
|
|
837
791
|
# @yieldparam err [StandardError] error object if request failed
|
|
838
792
|
#
|
|
839
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
793
|
+
# @return [Google::Apis::ServicemanagementV1::Policy]
|
|
840
794
|
#
|
|
841
795
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
842
796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
843
797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
844
|
-
def
|
|
845
|
-
command = make_simple_command(:
|
|
846
|
-
command.
|
|
847
|
-
command.
|
|
848
|
-
command.
|
|
849
|
-
command.
|
|
850
|
-
command.
|
|
798
|
+
def set_consumer_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
799
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
800
|
+
command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
|
|
801
|
+
command.request_object = set_iam_policy_request_object
|
|
802
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
|
|
803
|
+
command.response_class = Google::Apis::ServicemanagementV1::Policy
|
|
804
|
+
command.params['resource'] = resource unless resource.nil?
|
|
805
|
+
command.query['fields'] = fields unless fields.nil?
|
|
851
806
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
807
|
+
execute_or_queue_command(command, &block)
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
# Returns permissions that a caller has on the specified resource.
|
|
811
|
+
# If the resource does not exist, this will return an empty set of
|
|
812
|
+
# permissions, not a NOT_FOUND error.
|
|
813
|
+
# Note: This operation is designed to be used for building permission-aware
|
|
814
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
|
815
|
+
# may "fail open" without warning.
|
|
816
|
+
# @param [String] resource
|
|
817
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
|
818
|
+
# See the operation documentation for the appropriate value for this field.
|
|
819
|
+
# @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
820
|
+
# @param [String] fields
|
|
821
|
+
# Selector specifying which fields to include in a partial response.
|
|
822
|
+
# @param [String] quota_user
|
|
823
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
824
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
825
|
+
# @param [Google::Apis::RequestOptions] options
|
|
826
|
+
# Request-specific options
|
|
827
|
+
#
|
|
828
|
+
# @yield [result, err] Result & error if block supplied
|
|
829
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse] parsed result object
|
|
830
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
831
|
+
#
|
|
832
|
+
# @return [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse]
|
|
833
|
+
#
|
|
834
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
835
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
836
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
837
|
+
def test_consumer_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
838
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
839
|
+
command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
|
|
840
|
+
command.request_object = test_iam_permissions_request_object
|
|
841
|
+
command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
|
|
842
|
+
command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
|
|
843
|
+
command.params['resource'] = resource unless resource.nil?
|
|
852
844
|
command.query['fields'] = fields unless fields.nil?
|
|
845
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
853
846
|
execute_or_queue_command(command, &block)
|
|
854
847
|
end
|
|
855
848
|
|
|
856
|
-
#
|
|
857
|
-
#
|
|
849
|
+
# Creates a new service configuration rollout. Based on rollout, the
|
|
850
|
+
# Google Service Management will roll out the service configurations to
|
|
851
|
+
# different backend services. For example, the logging configuration will be
|
|
852
|
+
# pushed to Google Cloud Logging.
|
|
853
|
+
# Please note that any previous pending and running Rollouts and associated
|
|
854
|
+
# Operations will be automatically cancelled so that the latest Rollout will
|
|
855
|
+
# not be blocked by previous Rollouts.
|
|
856
|
+
# Operation<response: Rollout>
|
|
858
857
|
# @param [String] service_name
|
|
859
858
|
# The name of the service. See the [overview](/service-management/overview)
|
|
860
859
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
861
|
-
# @param [
|
|
862
|
-
#
|
|
863
|
-
#
|
|
864
|
-
# The max number of items to include in the response list.
|
|
860
|
+
# @param [Google::Apis::ServicemanagementV1::Rollout] rollout_object
|
|
861
|
+
# @param [String] fields
|
|
862
|
+
# Selector specifying which fields to include in a partial response.
|
|
865
863
|
# @param [String] quota_user
|
|
866
864
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
867
865
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
868
|
-
# @param [String] fields
|
|
869
|
-
# Selector specifying which fields to include in a partial response.
|
|
870
866
|
# @param [Google::Apis::RequestOptions] options
|
|
871
867
|
# Request-specific options
|
|
872
868
|
#
|
|
873
869
|
# @yield [result, err] Result & error if block supplied
|
|
874
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
870
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
|
|
875
871
|
# @yieldparam err [StandardError] error object if request failed
|
|
876
872
|
#
|
|
877
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
873
|
+
# @return [Google::Apis::ServicemanagementV1::Operation]
|
|
878
874
|
#
|
|
879
875
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
880
876
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
881
877
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
882
|
-
def
|
|
883
|
-
command = make_simple_command(:
|
|
884
|
-
command.
|
|
885
|
-
command.
|
|
878
|
+
def create_service_rollout(service_name, rollout_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
879
|
+
command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options)
|
|
880
|
+
command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
|
|
881
|
+
command.request_object = rollout_object
|
|
882
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
883
|
+
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
886
884
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
887
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
888
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
889
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
890
885
|
command.query['fields'] = fields unless fields.nil?
|
|
886
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
891
887
|
execute_or_queue_command(command, &block)
|
|
892
888
|
end
|
|
893
889
|
|
|
894
|
-
#
|
|
895
|
-
# This method only stores the service configuration. To roll out the service
|
|
896
|
-
# configuration to backend systems please call
|
|
897
|
-
# CreateServiceRollout.
|
|
890
|
+
# Gets a service configuration rollout.
|
|
898
891
|
# @param [String] service_name
|
|
899
892
|
# The name of the service. See the [overview](/service-management/overview)
|
|
900
893
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
901
|
-
# @param [
|
|
894
|
+
# @param [String] rollout_id
|
|
895
|
+
# The id of the rollout resource.
|
|
896
|
+
# @param [String] fields
|
|
897
|
+
# Selector specifying which fields to include in a partial response.
|
|
902
898
|
# @param [String] quota_user
|
|
903
899
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
904
900
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
905
|
-
# @param [String] fields
|
|
906
|
-
# Selector specifying which fields to include in a partial response.
|
|
907
901
|
# @param [Google::Apis::RequestOptions] options
|
|
908
902
|
# Request-specific options
|
|
909
903
|
#
|
|
910
904
|
# @yield [result, err] Result & error if block supplied
|
|
911
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
905
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::Rollout] parsed result object
|
|
912
906
|
# @yieldparam err [StandardError] error object if request failed
|
|
913
907
|
#
|
|
914
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
908
|
+
# @return [Google::Apis::ServicemanagementV1::Rollout]
|
|
915
909
|
#
|
|
916
910
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
917
911
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
918
912
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
919
|
-
def
|
|
920
|
-
command = make_simple_command(:
|
|
921
|
-
command.
|
|
922
|
-
command.
|
|
923
|
-
command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
|
|
924
|
-
command.response_class = Google::Apis::ServicemanagementV1::Service
|
|
913
|
+
def get_service_rollout(service_name, rollout_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
914
|
+
command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts/{rolloutId}', options)
|
|
915
|
+
command.response_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
|
|
916
|
+
command.response_class = Google::Apis::ServicemanagementV1::Rollout
|
|
925
917
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
926
|
-
command.
|
|
918
|
+
command.params['rolloutId'] = rollout_id unless rollout_id.nil?
|
|
927
919
|
command.query['fields'] = fields unless fields.nil?
|
|
920
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
928
921
|
execute_or_queue_command(command, &block)
|
|
929
922
|
end
|
|
930
923
|
|
|
931
|
-
#
|
|
932
|
-
#
|
|
933
|
-
# user-supplied configuration source files (for example: OpenAPI
|
|
934
|
-
# Specification). This method stores the source configurations as well as the
|
|
935
|
-
# generated service configuration. To rollout the service configuration to
|
|
936
|
-
# other services,
|
|
937
|
-
# please call CreateServiceRollout.
|
|
938
|
-
# Operation<response: SubmitConfigSourceResponse>
|
|
924
|
+
# Lists the history of the service configuration rollouts for a managed
|
|
925
|
+
# service, from the newest to the oldest.
|
|
939
926
|
# @param [String] service_name
|
|
940
927
|
# The name of the service. See the [overview](/service-management/overview)
|
|
941
928
|
# for naming requirements. For example: `example.googleapis.com`.
|
|
942
|
-
# @param [
|
|
929
|
+
# @param [String] filter
|
|
930
|
+
# Use `filter` to return subset of rollouts.
|
|
931
|
+
# The following filters are supported:
|
|
932
|
+
# -- To limit the results to only those in
|
|
933
|
+
# [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
|
|
934
|
+
# use filter='status=SUCCESS'
|
|
935
|
+
# -- To limit the results to those in
|
|
936
|
+
# [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
|
|
937
|
+
# or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
|
|
938
|
+
# @param [Fixnum] page_size
|
|
939
|
+
# The max number of items to include in the response list.
|
|
940
|
+
# @param [String] page_token
|
|
941
|
+
# The token of the page to retrieve.
|
|
942
|
+
# @param [String] fields
|
|
943
|
+
# Selector specifying which fields to include in a partial response.
|
|
943
944
|
# @param [String] quota_user
|
|
944
945
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
945
946
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
946
|
-
# @param [String] fields
|
|
947
|
-
# Selector specifying which fields to include in a partial response.
|
|
948
947
|
# @param [Google::Apis::RequestOptions] options
|
|
949
948
|
# Request-specific options
|
|
950
949
|
#
|
|
951
950
|
# @yield [result, err] Result & error if block supplied
|
|
952
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::
|
|
951
|
+
# @yieldparam result [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse] parsed result object
|
|
953
952
|
# @yieldparam err [StandardError] error object if request failed
|
|
954
953
|
#
|
|
955
|
-
# @return [Google::Apis::ServicemanagementV1::
|
|
954
|
+
# @return [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse]
|
|
956
955
|
#
|
|
957
956
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
958
957
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
959
958
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
960
|
-
def
|
|
961
|
-
command = make_simple_command(:
|
|
962
|
-
command.
|
|
963
|
-
command.
|
|
964
|
-
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
|
965
|
-
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
|
959
|
+
def list_service_rollouts(service_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
960
|
+
command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options)
|
|
961
|
+
command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation
|
|
962
|
+
command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse
|
|
966
963
|
command.params['serviceName'] = service_name unless service_name.nil?
|
|
967
|
-
command.query['
|
|
964
|
+
command.query['filter'] = filter unless filter.nil?
|
|
965
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
966
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
968
967
|
command.query['fields'] = fields unless fields.nil?
|
|
968
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
969
969
|
execute_or_queue_command(command, &block)
|
|
970
970
|
end
|
|
971
971
|
|