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
|
@@ -0,0 +1,1546 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/core/base_service'
|
|
16
|
+
require 'google/apis/core/json_representation'
|
|
17
|
+
require 'google/apis/core/hashable'
|
|
18
|
+
require 'google/apis/errors'
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apis
|
|
22
|
+
module AppengineV1beta
|
|
23
|
+
# Google App Engine Admin API
|
|
24
|
+
#
|
|
25
|
+
# The App Engine Admin API enables developers to provision and manage their App
|
|
26
|
+
# Engine applications.
|
|
27
|
+
#
|
|
28
|
+
# @example
|
|
29
|
+
# require 'google/apis/appengine_v1beta'
|
|
30
|
+
#
|
|
31
|
+
# Appengine = Google::Apis::AppengineV1beta # Alias the module
|
|
32
|
+
# service = Appengine::AppengineService.new
|
|
33
|
+
#
|
|
34
|
+
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
35
|
+
class AppengineService < Google::Apis::Core::BaseService
|
|
36
|
+
# @return [String]
|
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
39
|
+
attr_accessor :key
|
|
40
|
+
|
|
41
|
+
# @return [String]
|
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44
|
+
attr_accessor :quota_user
|
|
45
|
+
|
|
46
|
+
def initialize
|
|
47
|
+
super('https://appengine.googleapis.com/', '')
|
|
48
|
+
@batch_path = 'batch'
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Creates an App Engine application for a Google Cloud Platform project.
|
|
52
|
+
# Required fields:
|
|
53
|
+
# id - The ID of the target Cloud Platform project.
|
|
54
|
+
# location - The region (https://cloud.google.com/appengine/docs/locations)
|
|
55
|
+
# where you want the App Engine application located.For more information about
|
|
56
|
+
# App Engine applications, see Managing Projects, Applications, and Billing (
|
|
57
|
+
# https://cloud.google.com/appengine/docs/python/console/).
|
|
58
|
+
# @param [Google::Apis::AppengineV1beta::Application] application_object
|
|
59
|
+
# @param [String] fields
|
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
|
61
|
+
# @param [String] quota_user
|
|
62
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
63
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
64
|
+
# @param [Google::Apis::RequestOptions] options
|
|
65
|
+
# Request-specific options
|
|
66
|
+
#
|
|
67
|
+
# @yield [result, err] Result & error if block supplied
|
|
68
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
69
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
70
|
+
#
|
|
71
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
72
|
+
#
|
|
73
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
74
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
75
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
76
|
+
def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
77
|
+
command = make_simple_command(:post, 'v1beta/apps', options)
|
|
78
|
+
command.request_representation = Google::Apis::AppengineV1beta::Application::Representation
|
|
79
|
+
command.request_object = application_object
|
|
80
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
81
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
84
|
+
execute_or_queue_command(command, &block)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Gets information about an application.
|
|
88
|
+
# @param [String] apps_id
|
|
89
|
+
# Part of `name`. Name of the Application resource to get. Example: apps/myapp.
|
|
90
|
+
# @param [String] fields
|
|
91
|
+
# Selector specifying which fields to include in a partial response.
|
|
92
|
+
# @param [String] quota_user
|
|
93
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
94
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
95
|
+
# @param [Google::Apis::RequestOptions] options
|
|
96
|
+
# Request-specific options
|
|
97
|
+
#
|
|
98
|
+
# @yield [result, err] Result & error if block supplied
|
|
99
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Application] parsed result object
|
|
100
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
101
|
+
#
|
|
102
|
+
# @return [Google::Apis::AppengineV1beta::Application]
|
|
103
|
+
#
|
|
104
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
105
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
106
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
107
|
+
def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
108
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}', options)
|
|
109
|
+
command.response_representation = Google::Apis::AppengineV1beta::Application::Representation
|
|
110
|
+
command.response_class = Google::Apis::AppengineV1beta::Application
|
|
111
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
112
|
+
command.query['fields'] = fields unless fields.nil?
|
|
113
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
114
|
+
execute_or_queue_command(command, &block)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Updates the specified Application resource. You can update the following
|
|
118
|
+
# fields:
|
|
119
|
+
# auth_domain - Google authentication domain for controlling user access to the
|
|
120
|
+
# application.
|
|
121
|
+
# default_cookie_expiration - Cookie expiration policy for the application.
|
|
122
|
+
# @param [String] apps_id
|
|
123
|
+
# Part of `name`. Name of the Application resource to update. Example: apps/
|
|
124
|
+
# myapp.
|
|
125
|
+
# @param [Google::Apis::AppengineV1beta::Application] application_object
|
|
126
|
+
# @param [String] update_mask
|
|
127
|
+
# Standard field mask for the set of fields to be updated.
|
|
128
|
+
# @param [String] fields
|
|
129
|
+
# Selector specifying which fields to include in a partial response.
|
|
130
|
+
# @param [String] quota_user
|
|
131
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
132
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
133
|
+
# @param [Google::Apis::RequestOptions] options
|
|
134
|
+
# Request-specific options
|
|
135
|
+
#
|
|
136
|
+
# @yield [result, err] Result & error if block supplied
|
|
137
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
138
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
139
|
+
#
|
|
140
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
141
|
+
#
|
|
142
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
143
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
144
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
145
|
+
def patch_app(apps_id, application_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
146
|
+
command = make_simple_command(:patch, 'v1beta/apps/{appsId}', options)
|
|
147
|
+
command.request_representation = Google::Apis::AppengineV1beta::Application::Representation
|
|
148
|
+
command.request_object = application_object
|
|
149
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
150
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
151
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
152
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
|
154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
155
|
+
execute_or_queue_command(command, &block)
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Recreates the required App Engine features for the specified App Engine
|
|
159
|
+
# application, for example a Cloud Storage bucket or App Engine service account.
|
|
160
|
+
# Use this method if you receive an error message about a missing feature, for
|
|
161
|
+
# example, Error retrieving the App Engine service account.
|
|
162
|
+
# @param [String] apps_id
|
|
163
|
+
# Part of `name`. Name of the application to repair. Example: apps/myapp
|
|
164
|
+
# @param [Google::Apis::AppengineV1beta::RepairApplicationRequest] repair_application_request_object
|
|
165
|
+
# @param [String] fields
|
|
166
|
+
# Selector specifying which fields to include in a partial response.
|
|
167
|
+
# @param [String] quota_user
|
|
168
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
169
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
170
|
+
# @param [Google::Apis::RequestOptions] options
|
|
171
|
+
# Request-specific options
|
|
172
|
+
#
|
|
173
|
+
# @yield [result, err] Result & error if block supplied
|
|
174
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
175
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
176
|
+
#
|
|
177
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
178
|
+
#
|
|
179
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
180
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
181
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
182
|
+
def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
183
|
+
command = make_simple_command(:post, 'v1beta/apps/{appsId}:repair', options)
|
|
184
|
+
command.request_representation = Google::Apis::AppengineV1beta::RepairApplicationRequest::Representation
|
|
185
|
+
command.request_object = repair_application_request_object
|
|
186
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
187
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
188
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
189
|
+
command.query['fields'] = fields unless fields.nil?
|
|
190
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
191
|
+
execute_or_queue_command(command, &block)
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Uploads the specified SSL certificate.
|
|
195
|
+
# @param [String] apps_id
|
|
196
|
+
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
|
197
|
+
# @param [Google::Apis::AppengineV1beta::AuthorizedCertificate] authorized_certificate_object
|
|
198
|
+
# @param [String] fields
|
|
199
|
+
# Selector specifying which fields to include in a partial response.
|
|
200
|
+
# @param [String] quota_user
|
|
201
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
202
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
203
|
+
# @param [Google::Apis::RequestOptions] options
|
|
204
|
+
# Request-specific options
|
|
205
|
+
#
|
|
206
|
+
# @yield [result, err] Result & error if block supplied
|
|
207
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::AuthorizedCertificate] parsed result object
|
|
208
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
209
|
+
#
|
|
210
|
+
# @return [Google::Apis::AppengineV1beta::AuthorizedCertificate]
|
|
211
|
+
#
|
|
212
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
213
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
214
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
215
|
+
def create_app_authorized_certificate(apps_id, authorized_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
216
|
+
command = make_simple_command(:post, 'v1beta/apps/{appsId}/authorizedCertificates', options)
|
|
217
|
+
command.request_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
|
|
218
|
+
command.request_object = authorized_certificate_object
|
|
219
|
+
command.response_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
|
|
220
|
+
command.response_class = Google::Apis::AppengineV1beta::AuthorizedCertificate
|
|
221
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
222
|
+
command.query['fields'] = fields unless fields.nil?
|
|
223
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
224
|
+
execute_or_queue_command(command, &block)
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Deletes the specified SSL certificate.
|
|
228
|
+
# @param [String] apps_id
|
|
229
|
+
# Part of `name`. Name of the resource to delete. Example: apps/myapp/
|
|
230
|
+
# authorizedCertificates/12345.
|
|
231
|
+
# @param [String] authorized_certificates_id
|
|
232
|
+
# Part of `name`. See documentation of `appsId`.
|
|
233
|
+
# @param [String] fields
|
|
234
|
+
# Selector specifying which fields to include in a partial response.
|
|
235
|
+
# @param [String] quota_user
|
|
236
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
237
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
238
|
+
# @param [Google::Apis::RequestOptions] options
|
|
239
|
+
# Request-specific options
|
|
240
|
+
#
|
|
241
|
+
# @yield [result, err] Result & error if block supplied
|
|
242
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Empty] parsed result object
|
|
243
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
244
|
+
#
|
|
245
|
+
# @return [Google::Apis::AppengineV1beta::Empty]
|
|
246
|
+
#
|
|
247
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
248
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
249
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
250
|
+
def delete_app_authorized_certificate(apps_id, authorized_certificates_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
251
|
+
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
|
|
252
|
+
command.response_representation = Google::Apis::AppengineV1beta::Empty::Representation
|
|
253
|
+
command.response_class = Google::Apis::AppengineV1beta::Empty
|
|
254
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
255
|
+
command.params['authorizedCertificatesId'] = authorized_certificates_id unless authorized_certificates_id.nil?
|
|
256
|
+
command.query['fields'] = fields unless fields.nil?
|
|
257
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
258
|
+
execute_or_queue_command(command, &block)
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# Gets the specified SSL certificate.
|
|
262
|
+
# @param [String] apps_id
|
|
263
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/
|
|
264
|
+
# authorizedCertificates/12345.
|
|
265
|
+
# @param [String] authorized_certificates_id
|
|
266
|
+
# Part of `name`. See documentation of `appsId`.
|
|
267
|
+
# @param [String] view
|
|
268
|
+
# Controls the set of fields returned in the GET response.
|
|
269
|
+
# @param [String] fields
|
|
270
|
+
# Selector specifying which fields to include in a partial response.
|
|
271
|
+
# @param [String] quota_user
|
|
272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
274
|
+
# @param [Google::Apis::RequestOptions] options
|
|
275
|
+
# Request-specific options
|
|
276
|
+
#
|
|
277
|
+
# @yield [result, err] Result & error if block supplied
|
|
278
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::AuthorizedCertificate] parsed result object
|
|
279
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
280
|
+
#
|
|
281
|
+
# @return [Google::Apis::AppengineV1beta::AuthorizedCertificate]
|
|
282
|
+
#
|
|
283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
286
|
+
def get_app_authorized_certificate(apps_id, authorized_certificates_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
287
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
|
|
288
|
+
command.response_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
|
|
289
|
+
command.response_class = Google::Apis::AppengineV1beta::AuthorizedCertificate
|
|
290
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
291
|
+
command.params['authorizedCertificatesId'] = authorized_certificates_id unless authorized_certificates_id.nil?
|
|
292
|
+
command.query['view'] = view unless view.nil?
|
|
293
|
+
command.query['fields'] = fields unless fields.nil?
|
|
294
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
295
|
+
execute_or_queue_command(command, &block)
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Lists all SSL certificates the user is authorized to administer.
|
|
299
|
+
# @param [String] apps_id
|
|
300
|
+
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
|
301
|
+
# @param [Fixnum] page_size
|
|
302
|
+
# Maximum results to return per page.
|
|
303
|
+
# @param [String] page_token
|
|
304
|
+
# Continuation token for fetching the next page of results.
|
|
305
|
+
# @param [String] view
|
|
306
|
+
# Controls the set of fields returned in the LIST response.
|
|
307
|
+
# @param [String] fields
|
|
308
|
+
# Selector specifying which fields to include in a partial response.
|
|
309
|
+
# @param [String] quota_user
|
|
310
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
311
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
312
|
+
# @param [Google::Apis::RequestOptions] options
|
|
313
|
+
# Request-specific options
|
|
314
|
+
#
|
|
315
|
+
# @yield [result, err] Result & error if block supplied
|
|
316
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListAuthorizedCertificatesResponse] parsed result object
|
|
317
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
318
|
+
#
|
|
319
|
+
# @return [Google::Apis::AppengineV1beta::ListAuthorizedCertificatesResponse]
|
|
320
|
+
#
|
|
321
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
322
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
323
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
324
|
+
def list_app_authorized_certificates(apps_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
325
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedCertificates', options)
|
|
326
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListAuthorizedCertificatesResponse::Representation
|
|
327
|
+
command.response_class = Google::Apis::AppengineV1beta::ListAuthorizedCertificatesResponse
|
|
328
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
329
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
330
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
331
|
+
command.query['view'] = view unless view.nil?
|
|
332
|
+
command.query['fields'] = fields unless fields.nil?
|
|
333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
334
|
+
execute_or_queue_command(command, &block)
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# Updates the specified SSL certificate. To renew a certificate and maintain its
|
|
338
|
+
# existing domain mappings, update certificate_data with a new certificate. The
|
|
339
|
+
# new certificate must be applicable to the same domains as the original
|
|
340
|
+
# certificate. The certificate display_name may also be updated.
|
|
341
|
+
# @param [String] apps_id
|
|
342
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/
|
|
343
|
+
# authorizedCertificates/12345.
|
|
344
|
+
# @param [String] authorized_certificates_id
|
|
345
|
+
# Part of `name`. See documentation of `appsId`.
|
|
346
|
+
# @param [Google::Apis::AppengineV1beta::AuthorizedCertificate] authorized_certificate_object
|
|
347
|
+
# @param [String] update_mask
|
|
348
|
+
# Standard field mask for the set of fields to be updated. Updates are only
|
|
349
|
+
# supported on the certificate_raw_data and display_name fields.
|
|
350
|
+
# @param [String] fields
|
|
351
|
+
# Selector specifying which fields to include in a partial response.
|
|
352
|
+
# @param [String] quota_user
|
|
353
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
354
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
355
|
+
# @param [Google::Apis::RequestOptions] options
|
|
356
|
+
# Request-specific options
|
|
357
|
+
#
|
|
358
|
+
# @yield [result, err] Result & error if block supplied
|
|
359
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::AuthorizedCertificate] parsed result object
|
|
360
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
361
|
+
#
|
|
362
|
+
# @return [Google::Apis::AppengineV1beta::AuthorizedCertificate]
|
|
363
|
+
#
|
|
364
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
365
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
366
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
367
|
+
def patch_app_authorized_certificate(apps_id, authorized_certificates_id, authorized_certificate_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
368
|
+
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}', options)
|
|
369
|
+
command.request_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
|
|
370
|
+
command.request_object = authorized_certificate_object
|
|
371
|
+
command.response_representation = Google::Apis::AppengineV1beta::AuthorizedCertificate::Representation
|
|
372
|
+
command.response_class = Google::Apis::AppengineV1beta::AuthorizedCertificate
|
|
373
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
374
|
+
command.params['authorizedCertificatesId'] = authorized_certificates_id unless authorized_certificates_id.nil?
|
|
375
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
376
|
+
command.query['fields'] = fields unless fields.nil?
|
|
377
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
378
|
+
execute_or_queue_command(command, &block)
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
# Lists all domains the user is authorized to administer.
|
|
382
|
+
# @param [String] apps_id
|
|
383
|
+
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
|
384
|
+
# @param [Fixnum] page_size
|
|
385
|
+
# Maximum results to return per page.
|
|
386
|
+
# @param [String] page_token
|
|
387
|
+
# Continuation token for fetching the next page of results.
|
|
388
|
+
# @param [String] fields
|
|
389
|
+
# Selector specifying which fields to include in a partial response.
|
|
390
|
+
# @param [String] quota_user
|
|
391
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
392
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
393
|
+
# @param [Google::Apis::RequestOptions] options
|
|
394
|
+
# Request-specific options
|
|
395
|
+
#
|
|
396
|
+
# @yield [result, err] Result & error if block supplied
|
|
397
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListAuthorizedDomainsResponse] parsed result object
|
|
398
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
399
|
+
#
|
|
400
|
+
# @return [Google::Apis::AppengineV1beta::ListAuthorizedDomainsResponse]
|
|
401
|
+
#
|
|
402
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
403
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
404
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
405
|
+
def list_app_authorized_domains(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
406
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/authorizedDomains', options)
|
|
407
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListAuthorizedDomainsResponse::Representation
|
|
408
|
+
command.response_class = Google::Apis::AppengineV1beta::ListAuthorizedDomainsResponse
|
|
409
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
410
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
411
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
412
|
+
command.query['fields'] = fields unless fields.nil?
|
|
413
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
414
|
+
execute_or_queue_command(command, &block)
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
# Maps a domain to an application. A user must be authorized to administer a
|
|
418
|
+
# domain in order to map it to an application. For a list of available
|
|
419
|
+
# authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
|
|
420
|
+
# @param [String] apps_id
|
|
421
|
+
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
|
422
|
+
# @param [Google::Apis::AppengineV1beta::DomainMapping] domain_mapping_object
|
|
423
|
+
# @param [String] fields
|
|
424
|
+
# Selector specifying which fields to include in a partial response.
|
|
425
|
+
# @param [String] quota_user
|
|
426
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
427
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
428
|
+
# @param [Google::Apis::RequestOptions] options
|
|
429
|
+
# Request-specific options
|
|
430
|
+
#
|
|
431
|
+
# @yield [result, err] Result & error if block supplied
|
|
432
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
433
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
434
|
+
#
|
|
435
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
436
|
+
#
|
|
437
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
438
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
439
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
440
|
+
def create_app_domain_mapping(apps_id, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
441
|
+
command = make_simple_command(:post, 'v1beta/apps/{appsId}/domainMappings', options)
|
|
442
|
+
command.request_representation = Google::Apis::AppengineV1beta::DomainMapping::Representation
|
|
443
|
+
command.request_object = domain_mapping_object
|
|
444
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
445
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
446
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
447
|
+
command.query['fields'] = fields unless fields.nil?
|
|
448
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
449
|
+
execute_or_queue_command(command, &block)
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# Deletes the specified domain mapping. A user must be authorized to administer
|
|
453
|
+
# the associated domain in order to delete a DomainMapping resource.
|
|
454
|
+
# @param [String] apps_id
|
|
455
|
+
# Part of `name`. Name of the resource to delete. Example: apps/myapp/
|
|
456
|
+
# domainMappings/example.com.
|
|
457
|
+
# @param [String] domain_mappings_id
|
|
458
|
+
# Part of `name`. See documentation of `appsId`.
|
|
459
|
+
# @param [String] fields
|
|
460
|
+
# Selector specifying which fields to include in a partial response.
|
|
461
|
+
# @param [String] quota_user
|
|
462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
464
|
+
# @param [Google::Apis::RequestOptions] options
|
|
465
|
+
# Request-specific options
|
|
466
|
+
#
|
|
467
|
+
# @yield [result, err] Result & error if block supplied
|
|
468
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
469
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
470
|
+
#
|
|
471
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
472
|
+
#
|
|
473
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
474
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
475
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
476
|
+
def delete_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
477
|
+
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
|
|
478
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
479
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
480
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
481
|
+
command.params['domainMappingsId'] = domain_mappings_id unless domain_mappings_id.nil?
|
|
482
|
+
command.query['fields'] = fields unless fields.nil?
|
|
483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
484
|
+
execute_or_queue_command(command, &block)
|
|
485
|
+
end
|
|
486
|
+
|
|
487
|
+
# Gets the specified domain mapping.
|
|
488
|
+
# @param [String] apps_id
|
|
489
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/
|
|
490
|
+
# domainMappings/example.com.
|
|
491
|
+
# @param [String] domain_mappings_id
|
|
492
|
+
# Part of `name`. See documentation of `appsId`.
|
|
493
|
+
# @param [String] fields
|
|
494
|
+
# Selector specifying which fields to include in a partial response.
|
|
495
|
+
# @param [String] quota_user
|
|
496
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
497
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
498
|
+
# @param [Google::Apis::RequestOptions] options
|
|
499
|
+
# Request-specific options
|
|
500
|
+
#
|
|
501
|
+
# @yield [result, err] Result & error if block supplied
|
|
502
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::DomainMapping] parsed result object
|
|
503
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
504
|
+
#
|
|
505
|
+
# @return [Google::Apis::AppengineV1beta::DomainMapping]
|
|
506
|
+
#
|
|
507
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
508
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
509
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
510
|
+
def get_app_domain_mapping(apps_id, domain_mappings_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
511
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
|
|
512
|
+
command.response_representation = Google::Apis::AppengineV1beta::DomainMapping::Representation
|
|
513
|
+
command.response_class = Google::Apis::AppengineV1beta::DomainMapping
|
|
514
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
515
|
+
command.params['domainMappingsId'] = domain_mappings_id unless domain_mappings_id.nil?
|
|
516
|
+
command.query['fields'] = fields unless fields.nil?
|
|
517
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
518
|
+
execute_or_queue_command(command, &block)
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
# Lists the domain mappings on an application.
|
|
522
|
+
# @param [String] apps_id
|
|
523
|
+
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
|
524
|
+
# @param [Fixnum] page_size
|
|
525
|
+
# Maximum results to return per page.
|
|
526
|
+
# @param [String] page_token
|
|
527
|
+
# Continuation token for fetching the next page of results.
|
|
528
|
+
# @param [String] fields
|
|
529
|
+
# Selector specifying which fields to include in a partial response.
|
|
530
|
+
# @param [String] quota_user
|
|
531
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
532
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
533
|
+
# @param [Google::Apis::RequestOptions] options
|
|
534
|
+
# Request-specific options
|
|
535
|
+
#
|
|
536
|
+
# @yield [result, err] Result & error if block supplied
|
|
537
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListDomainMappingsResponse] parsed result object
|
|
538
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
539
|
+
#
|
|
540
|
+
# @return [Google::Apis::AppengineV1beta::ListDomainMappingsResponse]
|
|
541
|
+
#
|
|
542
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
543
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
544
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
545
|
+
def list_app_domain_mappings(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
546
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/domainMappings', options)
|
|
547
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListDomainMappingsResponse::Representation
|
|
548
|
+
command.response_class = Google::Apis::AppengineV1beta::ListDomainMappingsResponse
|
|
549
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
550
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
551
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
552
|
+
command.query['fields'] = fields unless fields.nil?
|
|
553
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
554
|
+
execute_or_queue_command(command, &block)
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
# Updates the specified domain mapping. To map an SSL certificate to a domain
|
|
558
|
+
# mapping, update certificate_id to point to an AuthorizedCertificate resource.
|
|
559
|
+
# A user must be authorized to administer the associated domain in order to
|
|
560
|
+
# update a DomainMapping resource.
|
|
561
|
+
# @param [String] apps_id
|
|
562
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/
|
|
563
|
+
# domainMappings/example.com.
|
|
564
|
+
# @param [String] domain_mappings_id
|
|
565
|
+
# Part of `name`. See documentation of `appsId`.
|
|
566
|
+
# @param [Google::Apis::AppengineV1beta::DomainMapping] domain_mapping_object
|
|
567
|
+
# @param [String] update_mask
|
|
568
|
+
# Standard field mask for the set of fields to be updated.
|
|
569
|
+
# @param [String] fields
|
|
570
|
+
# Selector specifying which fields to include in a partial response.
|
|
571
|
+
# @param [String] quota_user
|
|
572
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
573
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
574
|
+
# @param [Google::Apis::RequestOptions] options
|
|
575
|
+
# Request-specific options
|
|
576
|
+
#
|
|
577
|
+
# @yield [result, err] Result & error if block supplied
|
|
578
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
579
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
580
|
+
#
|
|
581
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
582
|
+
#
|
|
583
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
584
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
585
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
586
|
+
def patch_app_domain_mapping(apps_id, domain_mappings_id, domain_mapping_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
587
|
+
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/domainMappings/{domainMappingsId}', options)
|
|
588
|
+
command.request_representation = Google::Apis::AppengineV1beta::DomainMapping::Representation
|
|
589
|
+
command.request_object = domain_mapping_object
|
|
590
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
591
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
592
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
593
|
+
command.params['domainMappingsId'] = domain_mappings_id unless domain_mappings_id.nil?
|
|
594
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
595
|
+
command.query['fields'] = fields unless fields.nil?
|
|
596
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
597
|
+
execute_or_queue_command(command, &block)
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
# Replaces the entire firewall ruleset in one bulk operation. This overrides and
|
|
601
|
+
# replaces the rules of an existing firewall with the new rules.If the final
|
|
602
|
+
# rule does not match traffic with the '*' wildcard IP range, then an "allow all"
|
|
603
|
+
# rule is explicitly added to the end of the list.
|
|
604
|
+
# @param [String] apps_id
|
|
605
|
+
# Part of `name`. Name of the Firewall collection to set. Example: apps/myapp/
|
|
606
|
+
# firewall/ingressRules.
|
|
607
|
+
# @param [Google::Apis::AppengineV1beta::BatchUpdateIngressRulesRequest] batch_update_ingress_rules_request_object
|
|
608
|
+
# @param [String] fields
|
|
609
|
+
# Selector specifying which fields to include in a partial response.
|
|
610
|
+
# @param [String] quota_user
|
|
611
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
612
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
613
|
+
# @param [Google::Apis::RequestOptions] options
|
|
614
|
+
# Request-specific options
|
|
615
|
+
#
|
|
616
|
+
# @yield [result, err] Result & error if block supplied
|
|
617
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::BatchUpdateIngressRulesResponse] parsed result object
|
|
618
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
619
|
+
#
|
|
620
|
+
# @return [Google::Apis::AppengineV1beta::BatchUpdateIngressRulesResponse]
|
|
621
|
+
#
|
|
622
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
623
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
624
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
625
|
+
def batch_update_ingress_rules(apps_id, batch_update_ingress_rules_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
626
|
+
command = make_simple_command(:post, 'v1beta/apps/{appsId}/firewall/ingressRules:batchUpdate', options)
|
|
627
|
+
command.request_representation = Google::Apis::AppengineV1beta::BatchUpdateIngressRulesRequest::Representation
|
|
628
|
+
command.request_object = batch_update_ingress_rules_request_object
|
|
629
|
+
command.response_representation = Google::Apis::AppengineV1beta::BatchUpdateIngressRulesResponse::Representation
|
|
630
|
+
command.response_class = Google::Apis::AppengineV1beta::BatchUpdateIngressRulesResponse
|
|
631
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
632
|
+
command.query['fields'] = fields unless fields.nil?
|
|
633
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
634
|
+
execute_or_queue_command(command, &block)
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
# Creates a firewall rule for the application.
|
|
638
|
+
# @param [String] apps_id
|
|
639
|
+
# Part of `parent`. Name of the parent Firewall collection in which to create a
|
|
640
|
+
# new rule. Example: apps/myapp/firewall/ingressRules.
|
|
641
|
+
# @param [Google::Apis::AppengineV1beta::FirewallRule] firewall_rule_object
|
|
642
|
+
# @param [String] fields
|
|
643
|
+
# Selector specifying which fields to include in a partial response.
|
|
644
|
+
# @param [String] quota_user
|
|
645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
647
|
+
# @param [Google::Apis::RequestOptions] options
|
|
648
|
+
# Request-specific options
|
|
649
|
+
#
|
|
650
|
+
# @yield [result, err] Result & error if block supplied
|
|
651
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::FirewallRule] parsed result object
|
|
652
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
653
|
+
#
|
|
654
|
+
# @return [Google::Apis::AppengineV1beta::FirewallRule]
|
|
655
|
+
#
|
|
656
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
657
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
658
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
659
|
+
def create_app_firewall_ingress_rule(apps_id, firewall_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
660
|
+
command = make_simple_command(:post, 'v1beta/apps/{appsId}/firewall/ingressRules', options)
|
|
661
|
+
command.request_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
|
|
662
|
+
command.request_object = firewall_rule_object
|
|
663
|
+
command.response_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
|
|
664
|
+
command.response_class = Google::Apis::AppengineV1beta::FirewallRule
|
|
665
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
666
|
+
command.query['fields'] = fields unless fields.nil?
|
|
667
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
668
|
+
execute_or_queue_command(command, &block)
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
# Deletes the specified firewall rule.
|
|
672
|
+
# @param [String] apps_id
|
|
673
|
+
# Part of `name`. Name of the Firewall resource to delete. Example: apps/myapp/
|
|
674
|
+
# firewall/ingressRules/100.
|
|
675
|
+
# @param [String] ingress_rules_id
|
|
676
|
+
# Part of `name`. See documentation of `appsId`.
|
|
677
|
+
# @param [String] fields
|
|
678
|
+
# Selector specifying which fields to include in a partial response.
|
|
679
|
+
# @param [String] quota_user
|
|
680
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
681
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
682
|
+
# @param [Google::Apis::RequestOptions] options
|
|
683
|
+
# Request-specific options
|
|
684
|
+
#
|
|
685
|
+
# @yield [result, err] Result & error if block supplied
|
|
686
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Empty] parsed result object
|
|
687
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
688
|
+
#
|
|
689
|
+
# @return [Google::Apis::AppengineV1beta::Empty]
|
|
690
|
+
#
|
|
691
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
692
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
693
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
694
|
+
def delete_app_firewall_ingress_rule(apps_id, ingress_rules_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
695
|
+
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
|
|
696
|
+
command.response_representation = Google::Apis::AppengineV1beta::Empty::Representation
|
|
697
|
+
command.response_class = Google::Apis::AppengineV1beta::Empty
|
|
698
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
699
|
+
command.params['ingressRulesId'] = ingress_rules_id unless ingress_rules_id.nil?
|
|
700
|
+
command.query['fields'] = fields unless fields.nil?
|
|
701
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
702
|
+
execute_or_queue_command(command, &block)
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
# Gets the specified firewall rule.
|
|
706
|
+
# @param [String] apps_id
|
|
707
|
+
# Part of `name`. Name of the Firewall resource to retrieve. Example: apps/myapp/
|
|
708
|
+
# firewall/ingressRules/100.
|
|
709
|
+
# @param [String] ingress_rules_id
|
|
710
|
+
# Part of `name`. See documentation of `appsId`.
|
|
711
|
+
# @param [String] fields
|
|
712
|
+
# Selector specifying which fields to include in a partial response.
|
|
713
|
+
# @param [String] quota_user
|
|
714
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
715
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
716
|
+
# @param [Google::Apis::RequestOptions] options
|
|
717
|
+
# Request-specific options
|
|
718
|
+
#
|
|
719
|
+
# @yield [result, err] Result & error if block supplied
|
|
720
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::FirewallRule] parsed result object
|
|
721
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
722
|
+
#
|
|
723
|
+
# @return [Google::Apis::AppengineV1beta::FirewallRule]
|
|
724
|
+
#
|
|
725
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
726
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
727
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
728
|
+
def get_app_firewall_ingress_rule(apps_id, ingress_rules_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
729
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
|
|
730
|
+
command.response_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
|
|
731
|
+
command.response_class = Google::Apis::AppengineV1beta::FirewallRule
|
|
732
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
733
|
+
command.params['ingressRulesId'] = ingress_rules_id unless ingress_rules_id.nil?
|
|
734
|
+
command.query['fields'] = fields unless fields.nil?
|
|
735
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
736
|
+
execute_or_queue_command(command, &block)
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
# Lists the firewall rules of an application.
|
|
740
|
+
# @param [String] apps_id
|
|
741
|
+
# Part of `parent`. Name of the Firewall collection to retrieve. Example: apps/
|
|
742
|
+
# myapp/firewall/ingressRules.
|
|
743
|
+
# @param [String] matching_address
|
|
744
|
+
# A valid IP Address. If set, only rules matching this address will be returned.
|
|
745
|
+
# The first returned rule will be the rule that fires on requests from this IP.
|
|
746
|
+
# @param [Fixnum] page_size
|
|
747
|
+
# Maximum results to return per page.
|
|
748
|
+
# @param [String] page_token
|
|
749
|
+
# Continuation token for fetching the next page of results.
|
|
750
|
+
# @param [String] fields
|
|
751
|
+
# Selector specifying which fields to include in a partial response.
|
|
752
|
+
# @param [String] quota_user
|
|
753
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
754
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
755
|
+
# @param [Google::Apis::RequestOptions] options
|
|
756
|
+
# Request-specific options
|
|
757
|
+
#
|
|
758
|
+
# @yield [result, err] Result & error if block supplied
|
|
759
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListIngressRulesResponse] parsed result object
|
|
760
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
761
|
+
#
|
|
762
|
+
# @return [Google::Apis::AppengineV1beta::ListIngressRulesResponse]
|
|
763
|
+
#
|
|
764
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
765
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
766
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
767
|
+
def list_app_firewall_ingress_rules(apps_id, matching_address: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
768
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/firewall/ingressRules', options)
|
|
769
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListIngressRulesResponse::Representation
|
|
770
|
+
command.response_class = Google::Apis::AppengineV1beta::ListIngressRulesResponse
|
|
771
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
772
|
+
command.query['matchingAddress'] = matching_address unless matching_address.nil?
|
|
773
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
774
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
775
|
+
command.query['fields'] = fields unless fields.nil?
|
|
776
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
777
|
+
execute_or_queue_command(command, &block)
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
# Updates the specified firewall rule.
|
|
781
|
+
# @param [String] apps_id
|
|
782
|
+
# Part of `name`. Name of the Firewall resource to update. Example: apps/myapp/
|
|
783
|
+
# firewall/ingressRules/100.
|
|
784
|
+
# @param [String] ingress_rules_id
|
|
785
|
+
# Part of `name`. See documentation of `appsId`.
|
|
786
|
+
# @param [Google::Apis::AppengineV1beta::FirewallRule] firewall_rule_object
|
|
787
|
+
# @param [String] update_mask
|
|
788
|
+
# Standard field mask for the set of fields to be updated.
|
|
789
|
+
# @param [String] fields
|
|
790
|
+
# Selector specifying which fields to include in a partial response.
|
|
791
|
+
# @param [String] quota_user
|
|
792
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
793
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
794
|
+
# @param [Google::Apis::RequestOptions] options
|
|
795
|
+
# Request-specific options
|
|
796
|
+
#
|
|
797
|
+
# @yield [result, err] Result & error if block supplied
|
|
798
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::FirewallRule] parsed result object
|
|
799
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
800
|
+
#
|
|
801
|
+
# @return [Google::Apis::AppengineV1beta::FirewallRule]
|
|
802
|
+
#
|
|
803
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
804
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
805
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
806
|
+
def patch_app_firewall_ingress_rule(apps_id, ingress_rules_id, firewall_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
807
|
+
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
|
|
808
|
+
command.request_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
|
|
809
|
+
command.request_object = firewall_rule_object
|
|
810
|
+
command.response_representation = Google::Apis::AppengineV1beta::FirewallRule::Representation
|
|
811
|
+
command.response_class = Google::Apis::AppengineV1beta::FirewallRule
|
|
812
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
813
|
+
command.params['ingressRulesId'] = ingress_rules_id unless ingress_rules_id.nil?
|
|
814
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
815
|
+
command.query['fields'] = fields unless fields.nil?
|
|
816
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
817
|
+
execute_or_queue_command(command, &block)
|
|
818
|
+
end
|
|
819
|
+
|
|
820
|
+
# Get information about a location.
|
|
821
|
+
# @param [String] apps_id
|
|
822
|
+
# Part of `name`. Resource name for the location.
|
|
823
|
+
# @param [String] locations_id
|
|
824
|
+
# Part of `name`. See documentation of `appsId`.
|
|
825
|
+
# @param [String] fields
|
|
826
|
+
# Selector specifying which fields to include in a partial response.
|
|
827
|
+
# @param [String] quota_user
|
|
828
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
829
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
830
|
+
# @param [Google::Apis::RequestOptions] options
|
|
831
|
+
# Request-specific options
|
|
832
|
+
#
|
|
833
|
+
# @yield [result, err] Result & error if block supplied
|
|
834
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Location] parsed result object
|
|
835
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
836
|
+
#
|
|
837
|
+
# @return [Google::Apis::AppengineV1beta::Location]
|
|
838
|
+
#
|
|
839
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
840
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
841
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
842
|
+
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
843
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/locations/{locationsId}', options)
|
|
844
|
+
command.response_representation = Google::Apis::AppengineV1beta::Location::Representation
|
|
845
|
+
command.response_class = Google::Apis::AppengineV1beta::Location
|
|
846
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
847
|
+
command.params['locationsId'] = locations_id unless locations_id.nil?
|
|
848
|
+
command.query['fields'] = fields unless fields.nil?
|
|
849
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
850
|
+
execute_or_queue_command(command, &block)
|
|
851
|
+
end
|
|
852
|
+
|
|
853
|
+
# Lists information about the supported locations for this service.
|
|
854
|
+
# @param [String] apps_id
|
|
855
|
+
# Part of `name`. The resource that owns the locations collection, if applicable.
|
|
856
|
+
# @param [String] filter
|
|
857
|
+
# The standard list filter.
|
|
858
|
+
# @param [Fixnum] page_size
|
|
859
|
+
# The standard list page size.
|
|
860
|
+
# @param [String] page_token
|
|
861
|
+
# The standard list page token.
|
|
862
|
+
# @param [String] fields
|
|
863
|
+
# Selector specifying which fields to include in a partial response.
|
|
864
|
+
# @param [String] quota_user
|
|
865
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
866
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
867
|
+
# @param [Google::Apis::RequestOptions] options
|
|
868
|
+
# Request-specific options
|
|
869
|
+
#
|
|
870
|
+
# @yield [result, err] Result & error if block supplied
|
|
871
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListLocationsResponse] parsed result object
|
|
872
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
873
|
+
#
|
|
874
|
+
# @return [Google::Apis::AppengineV1beta::ListLocationsResponse]
|
|
875
|
+
#
|
|
876
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
877
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
878
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
879
|
+
def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
880
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/locations', options)
|
|
881
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListLocationsResponse::Representation
|
|
882
|
+
command.response_class = Google::Apis::AppengineV1beta::ListLocationsResponse
|
|
883
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
884
|
+
command.query['filter'] = filter unless filter.nil?
|
|
885
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
886
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
887
|
+
command.query['fields'] = fields unless fields.nil?
|
|
888
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
889
|
+
execute_or_queue_command(command, &block)
|
|
890
|
+
end
|
|
891
|
+
|
|
892
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
893
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
894
|
+
# @param [String] apps_id
|
|
895
|
+
# Part of `name`. The name of the operation resource.
|
|
896
|
+
# @param [String] operations_id
|
|
897
|
+
# Part of `name`. See documentation of `appsId`.
|
|
898
|
+
# @param [String] fields
|
|
899
|
+
# Selector specifying which fields to include in a partial response.
|
|
900
|
+
# @param [String] quota_user
|
|
901
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
902
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
903
|
+
# @param [Google::Apis::RequestOptions] options
|
|
904
|
+
# Request-specific options
|
|
905
|
+
#
|
|
906
|
+
# @yield [result, err] Result & error if block supplied
|
|
907
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
908
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
909
|
+
#
|
|
910
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
911
|
+
#
|
|
912
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
913
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
914
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
915
|
+
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
916
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/operations/{operationsId}', options)
|
|
917
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
918
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
919
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
920
|
+
command.params['operationsId'] = operations_id unless operations_id.nil?
|
|
921
|
+
command.query['fields'] = fields unless fields.nil?
|
|
922
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
923
|
+
execute_or_queue_command(command, &block)
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
927
|
+
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
|
928
|
+
# allows API services to override the binding to use different resource name
|
|
929
|
+
# schemes, such as users/*/operations. To override the binding, API services can
|
|
930
|
+
# add a binding such as "/v1/`name=users/*`/operations" to their service
|
|
931
|
+
# configuration. For backwards compatibility, the default name includes the
|
|
932
|
+
# operations collection id, however overriding users must ensure the name
|
|
933
|
+
# binding is the parent resource, without the operations collection id.
|
|
934
|
+
# @param [String] apps_id
|
|
935
|
+
# Part of `name`. The name of the operation's parent resource.
|
|
936
|
+
# @param [String] filter
|
|
937
|
+
# The standard list filter.
|
|
938
|
+
# @param [Fixnum] page_size
|
|
939
|
+
# The standard list page size.
|
|
940
|
+
# @param [String] page_token
|
|
941
|
+
# The standard list page token.
|
|
942
|
+
# @param [String] fields
|
|
943
|
+
# Selector specifying which fields to include in a partial response.
|
|
944
|
+
# @param [String] quota_user
|
|
945
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
946
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
947
|
+
# @param [Google::Apis::RequestOptions] options
|
|
948
|
+
# Request-specific options
|
|
949
|
+
#
|
|
950
|
+
# @yield [result, err] Result & error if block supplied
|
|
951
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListOperationsResponse] parsed result object
|
|
952
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
953
|
+
#
|
|
954
|
+
# @return [Google::Apis::AppengineV1beta::ListOperationsResponse]
|
|
955
|
+
#
|
|
956
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
957
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
958
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
959
|
+
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
960
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/operations', options)
|
|
961
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListOperationsResponse::Representation
|
|
962
|
+
command.response_class = Google::Apis::AppengineV1beta::ListOperationsResponse
|
|
963
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
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?
|
|
967
|
+
command.query['fields'] = fields unless fields.nil?
|
|
968
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
969
|
+
execute_or_queue_command(command, &block)
|
|
970
|
+
end
|
|
971
|
+
|
|
972
|
+
# Deletes the specified service and all enclosed versions.
|
|
973
|
+
# @param [String] apps_id
|
|
974
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
975
|
+
# default.
|
|
976
|
+
# @param [String] services_id
|
|
977
|
+
# Part of `name`. See documentation of `appsId`.
|
|
978
|
+
# @param [String] fields
|
|
979
|
+
# Selector specifying which fields to include in a partial response.
|
|
980
|
+
# @param [String] quota_user
|
|
981
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
982
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
983
|
+
# @param [Google::Apis::RequestOptions] options
|
|
984
|
+
# Request-specific options
|
|
985
|
+
#
|
|
986
|
+
# @yield [result, err] Result & error if block supplied
|
|
987
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
988
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
989
|
+
#
|
|
990
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
991
|
+
#
|
|
992
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
993
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
994
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
995
|
+
def delete_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
996
|
+
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}', options)
|
|
997
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
998
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
999
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1000
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1001
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1002
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1003
|
+
execute_or_queue_command(command, &block)
|
|
1004
|
+
end
|
|
1005
|
+
|
|
1006
|
+
# Gets the current configuration of the specified service.
|
|
1007
|
+
# @param [String] apps_id
|
|
1008
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
1009
|
+
# default.
|
|
1010
|
+
# @param [String] services_id
|
|
1011
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1012
|
+
# @param [String] fields
|
|
1013
|
+
# Selector specifying which fields to include in a partial response.
|
|
1014
|
+
# @param [String] quota_user
|
|
1015
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1016
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1017
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1018
|
+
# Request-specific options
|
|
1019
|
+
#
|
|
1020
|
+
# @yield [result, err] Result & error if block supplied
|
|
1021
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Service] parsed result object
|
|
1022
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1023
|
+
#
|
|
1024
|
+
# @return [Google::Apis::AppengineV1beta::Service]
|
|
1025
|
+
#
|
|
1026
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1027
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1028
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1029
|
+
def get_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1030
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}', options)
|
|
1031
|
+
command.response_representation = Google::Apis::AppengineV1beta::Service::Representation
|
|
1032
|
+
command.response_class = Google::Apis::AppengineV1beta::Service
|
|
1033
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1034
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1035
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1036
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1037
|
+
execute_or_queue_command(command, &block)
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1040
|
+
# Lists all the services in the application.
|
|
1041
|
+
# @param [String] apps_id
|
|
1042
|
+
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
|
1043
|
+
# @param [Fixnum] page_size
|
|
1044
|
+
# Maximum results to return per page.
|
|
1045
|
+
# @param [String] page_token
|
|
1046
|
+
# Continuation token for fetching the next page of results.
|
|
1047
|
+
# @param [String] fields
|
|
1048
|
+
# Selector specifying which fields to include in a partial response.
|
|
1049
|
+
# @param [String] quota_user
|
|
1050
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1051
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1052
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1053
|
+
# Request-specific options
|
|
1054
|
+
#
|
|
1055
|
+
# @yield [result, err] Result & error if block supplied
|
|
1056
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListServicesResponse] parsed result object
|
|
1057
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1058
|
+
#
|
|
1059
|
+
# @return [Google::Apis::AppengineV1beta::ListServicesResponse]
|
|
1060
|
+
#
|
|
1061
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1062
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1063
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1064
|
+
def list_app_services(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1065
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services', options)
|
|
1066
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListServicesResponse::Representation
|
|
1067
|
+
command.response_class = Google::Apis::AppengineV1beta::ListServicesResponse
|
|
1068
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1069
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1070
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1071
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1072
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1073
|
+
execute_or_queue_command(command, &block)
|
|
1074
|
+
end
|
|
1075
|
+
|
|
1076
|
+
# Updates the configuration of the specified service.
|
|
1077
|
+
# @param [String] apps_id
|
|
1078
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
|
1079
|
+
# default.
|
|
1080
|
+
# @param [String] services_id
|
|
1081
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1082
|
+
# @param [Google::Apis::AppengineV1beta::Service] service_object
|
|
1083
|
+
# @param [Boolean] migrate_traffic
|
|
1084
|
+
# Set to true to gradually shift traffic to one or more versions that you
|
|
1085
|
+
# specify. By default, traffic is shifted immediately. For gradual traffic
|
|
1086
|
+
# migration, the target versions must be located within instances that are
|
|
1087
|
+
# configured for both warmup requests (https://cloud.google.com/appengine/docs/
|
|
1088
|
+
# admin-api/reference/rest/v1beta/apps.services.versions#inboundservicetype) and
|
|
1089
|
+
# automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
1090
|
+
# rest/v1beta/apps.services.versions#automaticscaling). You must specify the
|
|
1091
|
+
# shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/
|
|
1092
|
+
# v1beta/apps.services#shardby) field in the Service resource. Gradual traffic
|
|
1093
|
+
# migration is not supported in the App Engine flexible environment. For
|
|
1094
|
+
# examples, see Migrating and Splitting Traffic (https://cloud.google.com/
|
|
1095
|
+
# appengine/docs/admin-api/migrating-splitting-traffic).
|
|
1096
|
+
# @param [String] update_mask
|
|
1097
|
+
# Standard field mask for the set of fields to be updated.
|
|
1098
|
+
# @param [String] fields
|
|
1099
|
+
# Selector specifying which fields to include in a partial response.
|
|
1100
|
+
# @param [String] quota_user
|
|
1101
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1102
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1103
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1104
|
+
# Request-specific options
|
|
1105
|
+
#
|
|
1106
|
+
# @yield [result, err] Result & error if block supplied
|
|
1107
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
1108
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1109
|
+
#
|
|
1110
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
1111
|
+
#
|
|
1112
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1113
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1114
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1115
|
+
def patch_app_service(apps_id, services_id, service_object = nil, migrate_traffic: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1116
|
+
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/services/{servicesId}', options)
|
|
1117
|
+
command.request_representation = Google::Apis::AppengineV1beta::Service::Representation
|
|
1118
|
+
command.request_object = service_object
|
|
1119
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
1120
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
1121
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1122
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1123
|
+
command.query['migrateTraffic'] = migrate_traffic unless migrate_traffic.nil?
|
|
1124
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1125
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1126
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1127
|
+
execute_or_queue_command(command, &block)
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
# Deploys code and resource files to a new version.
|
|
1131
|
+
# @param [String] apps_id
|
|
1132
|
+
# Part of `parent`. Name of the parent resource to create this version under.
|
|
1133
|
+
# Example: apps/myapp/services/default.
|
|
1134
|
+
# @param [String] services_id
|
|
1135
|
+
# Part of `parent`. See documentation of `appsId`.
|
|
1136
|
+
# @param [Google::Apis::AppengineV1beta::Version] version_object
|
|
1137
|
+
# @param [String] fields
|
|
1138
|
+
# Selector specifying which fields to include in a partial response.
|
|
1139
|
+
# @param [String] quota_user
|
|
1140
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1141
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1142
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1143
|
+
# Request-specific options
|
|
1144
|
+
#
|
|
1145
|
+
# @yield [result, err] Result & error if block supplied
|
|
1146
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
1147
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1148
|
+
#
|
|
1149
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
1150
|
+
#
|
|
1151
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1152
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1153
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1154
|
+
def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1155
|
+
command = make_simple_command(:post, 'v1beta/apps/{appsId}/services/{servicesId}/versions', options)
|
|
1156
|
+
command.request_representation = Google::Apis::AppengineV1beta::Version::Representation
|
|
1157
|
+
command.request_object = version_object
|
|
1158
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
1159
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
1160
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1161
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1162
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1163
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1164
|
+
execute_or_queue_command(command, &block)
|
|
1165
|
+
end
|
|
1166
|
+
|
|
1167
|
+
# Deletes an existing Version resource.
|
|
1168
|
+
# @param [String] apps_id
|
|
1169
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
1170
|
+
# default/versions/v1.
|
|
1171
|
+
# @param [String] services_id
|
|
1172
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1173
|
+
# @param [String] versions_id
|
|
1174
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1175
|
+
# @param [String] fields
|
|
1176
|
+
# Selector specifying which fields to include in a partial response.
|
|
1177
|
+
# @param [String] quota_user
|
|
1178
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1179
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1180
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1181
|
+
# Request-specific options
|
|
1182
|
+
#
|
|
1183
|
+
# @yield [result, err] Result & error if block supplied
|
|
1184
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
1185
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1186
|
+
#
|
|
1187
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
1188
|
+
#
|
|
1189
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1190
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1191
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1192
|
+
def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1193
|
+
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
|
1194
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
1195
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
1196
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1197
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1198
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
1199
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1200
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1201
|
+
execute_or_queue_command(command, &block)
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1204
|
+
# Gets the specified Version resource. By default, only a BASIC_VIEW will be
|
|
1205
|
+
# returned. Specify the FULL_VIEW parameter to get the full resource.
|
|
1206
|
+
# @param [String] apps_id
|
|
1207
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
1208
|
+
# default/versions/v1.
|
|
1209
|
+
# @param [String] services_id
|
|
1210
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1211
|
+
# @param [String] versions_id
|
|
1212
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1213
|
+
# @param [String] view
|
|
1214
|
+
# Controls the set of fields returned in the Get response.
|
|
1215
|
+
# @param [String] fields
|
|
1216
|
+
# Selector specifying which fields to include in a partial response.
|
|
1217
|
+
# @param [String] quota_user
|
|
1218
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1219
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1220
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1221
|
+
# Request-specific options
|
|
1222
|
+
#
|
|
1223
|
+
# @yield [result, err] Result & error if block supplied
|
|
1224
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Version] parsed result object
|
|
1225
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1226
|
+
#
|
|
1227
|
+
# @return [Google::Apis::AppengineV1beta::Version]
|
|
1228
|
+
#
|
|
1229
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1230
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1231
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1232
|
+
def get_app_service_version(apps_id, services_id, versions_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1233
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
|
1234
|
+
command.response_representation = Google::Apis::AppengineV1beta::Version::Representation
|
|
1235
|
+
command.response_class = Google::Apis::AppengineV1beta::Version
|
|
1236
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1237
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1238
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
1239
|
+
command.query['view'] = view unless view.nil?
|
|
1240
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1242
|
+
execute_or_queue_command(command, &block)
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
# Lists the versions of a service.
|
|
1246
|
+
# @param [String] apps_id
|
|
1247
|
+
# Part of `parent`. Name of the parent Service resource. Example: apps/myapp/
|
|
1248
|
+
# services/default.
|
|
1249
|
+
# @param [String] services_id
|
|
1250
|
+
# Part of `parent`. See documentation of `appsId`.
|
|
1251
|
+
# @param [Fixnum] page_size
|
|
1252
|
+
# Maximum results to return per page.
|
|
1253
|
+
# @param [String] page_token
|
|
1254
|
+
# Continuation token for fetching the next page of results.
|
|
1255
|
+
# @param [String] view
|
|
1256
|
+
# Controls the set of fields returned in the List response.
|
|
1257
|
+
# @param [String] fields
|
|
1258
|
+
# Selector specifying which fields to include in a partial response.
|
|
1259
|
+
# @param [String] quota_user
|
|
1260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1262
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1263
|
+
# Request-specific options
|
|
1264
|
+
#
|
|
1265
|
+
# @yield [result, err] Result & error if block supplied
|
|
1266
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListVersionsResponse] parsed result object
|
|
1267
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1268
|
+
#
|
|
1269
|
+
# @return [Google::Apis::AppengineV1beta::ListVersionsResponse]
|
|
1270
|
+
#
|
|
1271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1274
|
+
def list_app_service_versions(apps_id, services_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1275
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions', options)
|
|
1276
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListVersionsResponse::Representation
|
|
1277
|
+
command.response_class = Google::Apis::AppengineV1beta::ListVersionsResponse
|
|
1278
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1279
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1280
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1281
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1282
|
+
command.query['view'] = view unless view.nil?
|
|
1283
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1284
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1285
|
+
execute_or_queue_command(command, &block)
|
|
1286
|
+
end
|
|
1287
|
+
|
|
1288
|
+
# Updates the specified Version resource. You can specify the following fields
|
|
1289
|
+
# depending on the App Engine environment and type of scaling that the version
|
|
1290
|
+
# resource uses:
|
|
1291
|
+
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
1292
|
+
# rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For
|
|
1293
|
+
# Version resources that use basic scaling, manual scaling, or run in the App
|
|
1294
|
+
# Engine flexible environment.
|
|
1295
|
+
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
1296
|
+
# rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): For
|
|
1297
|
+
# Version resources that run in the App Engine standard environment.
|
|
1298
|
+
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
|
1299
|
+
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
|
1300
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
1301
|
+
# in the App Engine standard environment.
|
|
1302
|
+
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
|
1303
|
+
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
|
1304
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
1305
|
+
# in the App Engine standard environment.
|
|
1306
|
+
# automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
|
|
1307
|
+
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
|
1308
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
1309
|
+
# in the App Engine Flexible environment.
|
|
1310
|
+
# automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
|
|
1311
|
+
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
|
1312
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
1313
|
+
# in the App Engine Flexible environment.
|
|
1314
|
+
# automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
|
|
1315
|
+
# docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
|
1316
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
1317
|
+
# in the App Engine Flexible environment.
|
|
1318
|
+
# automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
|
|
1319
|
+
# appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.
|
|
1320
|
+
# FIELDS.automatic_scaling): For Version resources that use automatic scaling
|
|
1321
|
+
# and run in the App Engine Flexible environment.
|
|
1322
|
+
# @param [String] apps_id
|
|
1323
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
|
1324
|
+
# default/versions/1.
|
|
1325
|
+
# @param [String] services_id
|
|
1326
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1327
|
+
# @param [String] versions_id
|
|
1328
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1329
|
+
# @param [Google::Apis::AppengineV1beta::Version] version_object
|
|
1330
|
+
# @param [String] update_mask
|
|
1331
|
+
# Standard field mask for the set of fields to be updated.
|
|
1332
|
+
# @param [String] fields
|
|
1333
|
+
# Selector specifying which fields to include in a partial response.
|
|
1334
|
+
# @param [String] quota_user
|
|
1335
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1336
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1337
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1338
|
+
# Request-specific options
|
|
1339
|
+
#
|
|
1340
|
+
# @yield [result, err] Result & error if block supplied
|
|
1341
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
1342
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1343
|
+
#
|
|
1344
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
1345
|
+
#
|
|
1346
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1347
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1348
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1349
|
+
def patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1350
|
+
command = make_simple_command(:patch, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
|
1351
|
+
command.request_representation = Google::Apis::AppengineV1beta::Version::Representation
|
|
1352
|
+
command.request_object = version_object
|
|
1353
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
1354
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
1355
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1356
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1357
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
1358
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1359
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1360
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1361
|
+
execute_or_queue_command(command, &block)
|
|
1362
|
+
end
|
|
1363
|
+
|
|
1364
|
+
# Enables debugging on a VM instance. This allows you to use the SSH command to
|
|
1365
|
+
# connect to the virtual machine where the instance lives. While in "debug mode",
|
|
1366
|
+
# the instance continues to serve live traffic. You should delete the instance
|
|
1367
|
+
# when you are done debugging and then allow the system to take over and
|
|
1368
|
+
# determine if another instance should be started.Only applicable for instances
|
|
1369
|
+
# in App Engine flexible environment.
|
|
1370
|
+
# @param [String] apps_id
|
|
1371
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
1372
|
+
# default/versions/v1/instances/instance-1.
|
|
1373
|
+
# @param [String] services_id
|
|
1374
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1375
|
+
# @param [String] versions_id
|
|
1376
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1377
|
+
# @param [String] instances_id
|
|
1378
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1379
|
+
# @param [Google::Apis::AppengineV1beta::DebugInstanceRequest] debug_instance_request_object
|
|
1380
|
+
# @param [String] fields
|
|
1381
|
+
# Selector specifying which fields to include in a partial response.
|
|
1382
|
+
# @param [String] quota_user
|
|
1383
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1384
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1385
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1386
|
+
# Request-specific options
|
|
1387
|
+
#
|
|
1388
|
+
# @yield [result, err] Result & error if block supplied
|
|
1389
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
1390
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1391
|
+
#
|
|
1392
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
1393
|
+
#
|
|
1394
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1395
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1396
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1397
|
+
def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1398
|
+
command = make_simple_command(:post, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
|
|
1399
|
+
command.request_representation = Google::Apis::AppengineV1beta::DebugInstanceRequest::Representation
|
|
1400
|
+
command.request_object = debug_instance_request_object
|
|
1401
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
1402
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
1403
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1404
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1405
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
1406
|
+
command.params['instancesId'] = instances_id unless instances_id.nil?
|
|
1407
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1408
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1409
|
+
execute_or_queue_command(command, &block)
|
|
1410
|
+
end
|
|
1411
|
+
|
|
1412
|
+
# Stops a running instance.
|
|
1413
|
+
# @param [String] apps_id
|
|
1414
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
1415
|
+
# default/versions/v1/instances/instance-1.
|
|
1416
|
+
# @param [String] services_id
|
|
1417
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1418
|
+
# @param [String] versions_id
|
|
1419
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1420
|
+
# @param [String] instances_id
|
|
1421
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1422
|
+
# @param [String] fields
|
|
1423
|
+
# Selector specifying which fields to include in a partial response.
|
|
1424
|
+
# @param [String] quota_user
|
|
1425
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1426
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1427
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1428
|
+
# Request-specific options
|
|
1429
|
+
#
|
|
1430
|
+
# @yield [result, err] Result & error if block supplied
|
|
1431
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
|
|
1432
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1433
|
+
#
|
|
1434
|
+
# @return [Google::Apis::AppengineV1beta::Operation]
|
|
1435
|
+
#
|
|
1436
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1437
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1438
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1439
|
+
def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1440
|
+
command = make_simple_command(:delete, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
|
1441
|
+
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
|
1442
|
+
command.response_class = Google::Apis::AppengineV1beta::Operation
|
|
1443
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1444
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1445
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
1446
|
+
command.params['instancesId'] = instances_id unless instances_id.nil?
|
|
1447
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1448
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1449
|
+
execute_or_queue_command(command, &block)
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1452
|
+
# Gets instance information.
|
|
1453
|
+
# @param [String] apps_id
|
|
1454
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
1455
|
+
# default/versions/v1/instances/instance-1.
|
|
1456
|
+
# @param [String] services_id
|
|
1457
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1458
|
+
# @param [String] versions_id
|
|
1459
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1460
|
+
# @param [String] instances_id
|
|
1461
|
+
# Part of `name`. See documentation of `appsId`.
|
|
1462
|
+
# @param [String] fields
|
|
1463
|
+
# Selector specifying which fields to include in a partial response.
|
|
1464
|
+
# @param [String] quota_user
|
|
1465
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1466
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1467
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1468
|
+
# Request-specific options
|
|
1469
|
+
#
|
|
1470
|
+
# @yield [result, err] Result & error if block supplied
|
|
1471
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::Instance] parsed result object
|
|
1472
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1473
|
+
#
|
|
1474
|
+
# @return [Google::Apis::AppengineV1beta::Instance]
|
|
1475
|
+
#
|
|
1476
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1477
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1478
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1479
|
+
def get_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1480
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
|
1481
|
+
command.response_representation = Google::Apis::AppengineV1beta::Instance::Representation
|
|
1482
|
+
command.response_class = Google::Apis::AppengineV1beta::Instance
|
|
1483
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1484
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1485
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
1486
|
+
command.params['instancesId'] = instances_id unless instances_id.nil?
|
|
1487
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1488
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1489
|
+
execute_or_queue_command(command, &block)
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1492
|
+
# Lists the instances of a version.Tip: To aggregate details about instances
|
|
1493
|
+
# over time, see the Stackdriver Monitoring API (https://cloud.google.com/
|
|
1494
|
+
# monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
|
|
1495
|
+
# @param [String] apps_id
|
|
1496
|
+
# Part of `parent`. Name of the parent Version resource. Example: apps/myapp/
|
|
1497
|
+
# services/default/versions/v1.
|
|
1498
|
+
# @param [String] services_id
|
|
1499
|
+
# Part of `parent`. See documentation of `appsId`.
|
|
1500
|
+
# @param [String] versions_id
|
|
1501
|
+
# Part of `parent`. See documentation of `appsId`.
|
|
1502
|
+
# @param [Fixnum] page_size
|
|
1503
|
+
# Maximum results to return per page.
|
|
1504
|
+
# @param [String] page_token
|
|
1505
|
+
# Continuation token for fetching the next page of results.
|
|
1506
|
+
# @param [String] fields
|
|
1507
|
+
# Selector specifying which fields to include in a partial response.
|
|
1508
|
+
# @param [String] quota_user
|
|
1509
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1510
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1511
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1512
|
+
# Request-specific options
|
|
1513
|
+
#
|
|
1514
|
+
# @yield [result, err] Result & error if block supplied
|
|
1515
|
+
# @yieldparam result [Google::Apis::AppengineV1beta::ListInstancesResponse] parsed result object
|
|
1516
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1517
|
+
#
|
|
1518
|
+
# @return [Google::Apis::AppengineV1beta::ListInstancesResponse]
|
|
1519
|
+
#
|
|
1520
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1521
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1522
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1523
|
+
def list_app_service_version_instances(apps_id, services_id, versions_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1524
|
+
command = make_simple_command(:get, 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
|
|
1525
|
+
command.response_representation = Google::Apis::AppengineV1beta::ListInstancesResponse::Representation
|
|
1526
|
+
command.response_class = Google::Apis::AppengineV1beta::ListInstancesResponse
|
|
1527
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
1528
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
1529
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
1530
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1531
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1532
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1533
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1534
|
+
execute_or_queue_command(command, &block)
|
|
1535
|
+
end
|
|
1536
|
+
|
|
1537
|
+
protected
|
|
1538
|
+
|
|
1539
|
+
def apply_command_defaults(command)
|
|
1540
|
+
command.query['key'] = key unless key.nil?
|
|
1541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1542
|
+
end
|
|
1543
|
+
end
|
|
1544
|
+
end
|
|
1545
|
+
end
|
|
1546
|
+
end
|