google-api-client 0.9.8 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/CHANGELOG.md +84 -0
- data/Gemfile +10 -2
- data/README.md +10 -2
- data/api_names.yaml +37172 -135
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +5 -5
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +256 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
- data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
- data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
- data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
- data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1/service.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 +360 -38
- data/generated/google/apis/bigquery_v2/representations.rb +106 -0
- data/generated/google/apis/bigquery_v2/service.rb +18 -4
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +83 -0
- data/generated/google/apis/books_v1/representations.rb +35 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +208 -5
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -761
- data/generated/google/apis/classroom_v1/representations.rb +263 -198
- data/generated/google/apis/classroom_v1/service.rb +1349 -672
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
- data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
- data/generated/google/apis/clouddebugger_v2.rb +5 -8
- data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
- data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
- data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
- 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 +1529 -167
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
- data/generated/google/apis/cloudtrace_v1.rb +9 -9
- data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
- data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +7007 -3648
- data/generated/google/apis/compute_beta/representations.rb +1459 -120
- data/generated/google/apis/compute_beta/service.rb +7943 -3726
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2567 -370
- data/generated/google/apis/compute_v1/representations.rb +855 -0
- data/generated/google/apis/compute_v1/service.rb +6388 -2908
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +778 -10
- data/generated/google/apis/content_v2/representations.rb +339 -0
- data/generated/google/apis/content_v2/service.rb +364 -49
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
- data/generated/google/apis/dataproc_v1/representations.rb +299 -225
- data/generated/google/apis/dataproc_v1/service.rb +277 -192
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +595 -37
- data/generated/google/apis/drive_v2/representations.rb +140 -0
- data/generated/google/apis/drive_v2/service.rb +406 -40
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +507 -40
- data/generated/google/apis/drive_v3/representations.rb +105 -0
- data/generated/google/apis/drive_v3/service.rb +326 -29
- data/generated/google/apis/fitness_v1.rb +38 -2
- data/generated/google/apis/fitness_v1/classes.rb +65 -7
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- 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 +10 -12
- data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
- data/generated/google/apis/genomics_v1/representations.rb +468 -496
- data/generated/google/apis/genomics_v1/service.rb +978 -882
- data/generated/google/apis/gmail_v1.rb +11 -2
- data/generated/google/apis/gmail_v1/classes.rb +655 -5
- data/generated/google/apis/gmail_v1/representations.rb +261 -0
- data/generated/google/apis/gmail_v1/service.rb +1211 -48
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +446 -368
- data/generated/google/apis/iam_v1/representations.rb +109 -91
- data/generated/google/apis/iam_v1/service.rb +249 -162
- data/generated/google/apis/identitytoolkit_v3.rb +7 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
- data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +26 -24
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +185 -0
- data/generated/google/apis/licensing_v1.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
- data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
- data/generated/google/apis/logging_v2beta1/service.rb +427 -155
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1831 -477
- data/generated/google/apis/partners_v2/representations.rb +571 -114
- data/generated/google/apis/partners_v2/service.rb +898 -167
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +1047 -859
- data/generated/google/apis/people_v1/representations.rb +252 -213
- data/generated/google/apis/people_v1/service.rb +75 -62
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +363 -310
- data/generated/google/apis/pubsub_v1/representations.rb +76 -76
- data/generated/google/apis/pubsub_v1/service.rb +464 -335
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +222 -61
- data/generated/google/apis/reseller_v1/representations.rb +28 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +151 -137
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
- data/generated/google/apis/sheets_v4/representations.rb +988 -737
- data/generated/google/apis/sheets_v4/service.rb +266 -99
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4480 -0
- data/generated/google/apis/slides_v1/representations.rb +1926 -0
- data/generated/google/apis/slides_v1/service.rb +245 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
- data/generated/google/apis/speech_v1beta1/service.rb +270 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +205 -21
- data/generated/google/apis/storage_v1/representations.rb +51 -1
- data/generated/google/apis/storage_v1/service.rb +263 -9
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1275 -731
- data/generated/google/apis/vision_v1/representations.rb +378 -111
- data/generated/google/apis/vision_v1/service.rb +4 -4
- 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_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +430 -22
- data/generated/google/apis/youtube_v3/representations.rb +171 -4
- data/generated/google/apis/youtube_v3/service.rb +100 -9
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
- data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
- data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
- data/google-api-client.gemspec +4 -3
- data/lib/google/apis/core/api_command.rb +16 -6
- data/lib/google/apis/core/base_service.rb +17 -9
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +6 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- data/sync.rb +71 -0
- metadata +86 -18
@@ -22,19 +22,19 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AppengineV1beta5
|
24
24
|
|
25
|
-
class
|
25
|
+
class ListOperationsResponse
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class Operation
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class Status
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class IdentityAwareProxy
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class Version
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class Volume
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class UrlMap
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -184,6 +196,12 @@ module Google
|
|
184
196
|
include Google::Apis::Core::JsonObjectSupport
|
185
197
|
end
|
186
198
|
|
199
|
+
class EndpointsApiService
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
187
205
|
class ListVersionsResponse
|
188
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
207
|
|
@@ -208,13 +226,37 @@ module Google
|
|
208
226
|
include Google::Apis::Core::JsonObjectSupport
|
209
227
|
end
|
210
228
|
|
229
|
+
class Instance
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
211
235
|
class ListInstancesResponse
|
212
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
237
|
|
214
238
|
include Google::Apis::Core::JsonObjectSupport
|
215
239
|
end
|
216
240
|
|
217
|
-
class
|
241
|
+
class DebugInstanceRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class ListLocationsResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class Location
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class OperationMetadataExperimental
|
218
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
261
|
|
220
262
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -232,6 +274,33 @@ module Google
|
|
232
274
|
include Google::Apis::Core::JsonObjectSupport
|
233
275
|
end
|
234
276
|
|
277
|
+
class OperationMetadataV1Beta
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class OperationMetadataV1
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class LocationMetadata
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class ListOperationsResponse
|
296
|
+
# @private
|
297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
298
|
+
collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation
|
299
|
+
|
300
|
+
property :next_page_token, as: 'nextPageToken'
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
235
304
|
class Operation
|
236
305
|
# @private
|
237
306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -253,15 +322,6 @@ module Google
|
|
253
322
|
end
|
254
323
|
end
|
255
324
|
|
256
|
-
class ListOperationsResponse
|
257
|
-
# @private
|
258
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
-
collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation
|
260
|
-
|
261
|
-
property :next_page_token, as: 'nextPageToken'
|
262
|
-
end
|
263
|
-
end
|
264
|
-
|
265
325
|
class Application
|
266
326
|
# @private
|
267
327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -275,6 +335,8 @@ module Google
|
|
275
335
|
property :default_cookie_expiration, as: 'defaultCookieExpiration'
|
276
336
|
property :default_hostname, as: 'defaultHostname'
|
277
337
|
property :default_bucket, as: 'defaultBucket'
|
338
|
+
property :iap, as: 'iap', class: Google::Apis::AppengineV1beta5::IdentityAwareProxy, decorator: Google::Apis::AppengineV1beta5::IdentityAwareProxy::Representation
|
339
|
+
|
278
340
|
end
|
279
341
|
end
|
280
342
|
|
@@ -287,6 +349,16 @@ module Google
|
|
287
349
|
end
|
288
350
|
end
|
289
351
|
|
352
|
+
class IdentityAwareProxy
|
353
|
+
# @private
|
354
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
355
|
+
property :enabled, as: 'enabled'
|
356
|
+
property :oauth2_client_id, as: 'oauth2ClientId'
|
357
|
+
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
358
|
+
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
290
362
|
class Version
|
291
363
|
# @private
|
292
364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -328,6 +400,8 @@ module Google
|
|
328
400
|
property :nobuild_files_regex, as: 'nobuildFilesRegex'
|
329
401
|
property :deployment, as: 'deployment', class: Google::Apis::AppengineV1beta5::Deployment, decorator: Google::Apis::AppengineV1beta5::Deployment::Representation
|
330
402
|
|
403
|
+
property :endpoints_api_service, as: 'endpointsApiService', class: Google::Apis::AppengineV1beta5::EndpointsApiService, decorator: Google::Apis::AppengineV1beta5::EndpointsApiService::Representation
|
404
|
+
|
331
405
|
end
|
332
406
|
end
|
333
407
|
|
@@ -410,6 +484,7 @@ module Google
|
|
410
484
|
collection :forwarded_ports, as: 'forwardedPorts'
|
411
485
|
property :instance_tag, as: 'instanceTag'
|
412
486
|
property :name, as: 'name'
|
487
|
+
property :subnetwork_name, as: 'subnetworkName'
|
413
488
|
end
|
414
489
|
end
|
415
490
|
|
@@ -419,6 +494,17 @@ module Google
|
|
419
494
|
property :cpu, as: 'cpu'
|
420
495
|
property :disk_gb, as: 'diskGb'
|
421
496
|
property :memory_gb, as: 'memoryGb'
|
497
|
+
collection :volumes, as: 'volumes', class: Google::Apis::AppengineV1beta5::Volume, decorator: Google::Apis::AppengineV1beta5::Volume::Representation
|
498
|
+
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
class Volume
|
503
|
+
# @private
|
504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
505
|
+
property :name, as: 'name'
|
506
|
+
property :volume_type, as: 'volumeType'
|
507
|
+
property :size_gb, as: 'sizeGb'
|
422
508
|
end
|
423
509
|
end
|
424
510
|
|
@@ -543,6 +629,14 @@ module Google
|
|
543
629
|
end
|
544
630
|
end
|
545
631
|
|
632
|
+
class EndpointsApiService
|
633
|
+
# @private
|
634
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
635
|
+
property :name, as: 'name'
|
636
|
+
property :config_id, as: 'configId'
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
546
640
|
class ListVersionsResponse
|
547
641
|
# @private
|
548
642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -579,15 +673,6 @@ module Google
|
|
579
673
|
end
|
580
674
|
end
|
581
675
|
|
582
|
-
class ListInstancesResponse
|
583
|
-
# @private
|
584
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
-
collection :instances, as: 'instances', class: Google::Apis::AppengineV1beta5::Instance, decorator: Google::Apis::AppengineV1beta5::Instance::Representation
|
586
|
-
|
587
|
-
property :next_page_token, as: 'nextPageToken'
|
588
|
-
end
|
589
|
-
end
|
590
|
-
|
591
676
|
class Instance
|
592
677
|
# @private
|
593
678
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -606,6 +691,53 @@ module Google
|
|
606
691
|
property :memory_usage, as: 'memoryUsage'
|
607
692
|
property :vm_status, as: 'vmStatus'
|
608
693
|
property :vm_unlocked, as: 'vmUnlocked'
|
694
|
+
property :vm_ip, as: 'vmIp'
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
698
|
+
class ListInstancesResponse
|
699
|
+
# @private
|
700
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
701
|
+
collection :instances, as: 'instances', class: Google::Apis::AppengineV1beta5::Instance, decorator: Google::Apis::AppengineV1beta5::Instance::Representation
|
702
|
+
|
703
|
+
property :next_page_token, as: 'nextPageToken'
|
704
|
+
end
|
705
|
+
end
|
706
|
+
|
707
|
+
class DebugInstanceRequest
|
708
|
+
# @private
|
709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
710
|
+
property :ssh_key, as: 'sshKey'
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
class ListLocationsResponse
|
715
|
+
# @private
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
717
|
+
collection :locations, as: 'locations', class: Google::Apis::AppengineV1beta5::Location, decorator: Google::Apis::AppengineV1beta5::Location::Representation
|
718
|
+
|
719
|
+
property :next_page_token, as: 'nextPageToken'
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
723
|
+
class Location
|
724
|
+
# @private
|
725
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
726
|
+
property :name, as: 'name'
|
727
|
+
property :location_id, as: 'locationId'
|
728
|
+
hash :labels, as: 'labels'
|
729
|
+
hash :metadata, as: 'metadata'
|
730
|
+
end
|
731
|
+
end
|
732
|
+
|
733
|
+
class OperationMetadataExperimental
|
734
|
+
# @private
|
735
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
736
|
+
property :method_prop, as: 'method'
|
737
|
+
property :insert_time, as: 'insertTime'
|
738
|
+
property :end_time, as: 'endTime'
|
739
|
+
property :user, as: 'user'
|
740
|
+
property :target, as: 'target'
|
609
741
|
end
|
610
742
|
end
|
611
743
|
|
@@ -631,6 +763,40 @@ module Google
|
|
631
763
|
property :target, as: 'target'
|
632
764
|
end
|
633
765
|
end
|
766
|
+
|
767
|
+
class OperationMetadataV1Beta
|
768
|
+
# @private
|
769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
770
|
+
property :method_prop, as: 'method'
|
771
|
+
property :insert_time, as: 'insertTime'
|
772
|
+
property :end_time, as: 'endTime'
|
773
|
+
property :user, as: 'user'
|
774
|
+
property :target, as: 'target'
|
775
|
+
property :ephemeral_message, as: 'ephemeralMessage'
|
776
|
+
collection :warning, as: 'warning'
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
780
|
+
class OperationMetadataV1
|
781
|
+
# @private
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
783
|
+
property :method_prop, as: 'method'
|
784
|
+
property :insert_time, as: 'insertTime'
|
785
|
+
property :end_time, as: 'endTime'
|
786
|
+
property :user, as: 'user'
|
787
|
+
property :target, as: 'target'
|
788
|
+
property :ephemeral_message, as: 'ephemeralMessage'
|
789
|
+
collection :warning, as: 'warning'
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
793
|
+
class LocationMetadata
|
794
|
+
# @private
|
795
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
796
|
+
property :standard_environment_available, as: 'standardEnvironmentAvailable'
|
797
|
+
property :flexible_environment_available, as: 'flexibleEnvironmentAvailable'
|
798
|
+
end
|
799
|
+
end
|
634
800
|
end
|
635
801
|
end
|
636
802
|
end
|
@@ -46,12 +46,47 @@ module Google
|
|
46
46
|
super('https://appengine.googleapis.com/', '')
|
47
47
|
end
|
48
48
|
|
49
|
+
# Creates an App Engine application for a Google Cloud Platform project.
|
50
|
+
# Required fields: id - The ID of the target Cloud Platform project. location -
|
51
|
+
# The region (https://cloud.google.com/appengine/docs/locations) where you want
|
52
|
+
# the App Engine application located.For more information about App Engine
|
53
|
+
# applications, see Managing Projects, Applications, and Billing (https://cloud.
|
54
|
+
# google.com/appengine/docs/python/console/).
|
55
|
+
# @param [Google::Apis::AppengineV1beta5::Application] application_object
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
58
|
+
# @param [String] quota_user
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::AppengineV1beta5::Operation]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:post, 'v1beta5/apps', options)
|
75
|
+
command.request_representation = Google::Apis::AppengineV1beta5::Application::Representation
|
76
|
+
command.request_object = application_object
|
77
|
+
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
78
|
+
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
80
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
|
+
execute_or_queue_command(command, &block)
|
82
|
+
end
|
83
|
+
|
49
84
|
# Gets information about an application.
|
50
85
|
# @param [String] apps_id
|
51
|
-
# Part of `name`. Name of the application to get.
|
86
|
+
# Part of `name`. Name of the application to get. Example: apps/myapp.
|
52
87
|
# @param [Boolean] ensure_resources_exist
|
53
88
|
# Certain resources associated with an application are created on-demand.
|
54
|
-
# Controls whether these resources should be created when performing the
|
89
|
+
# Controls whether these resources should be created when performing the GET
|
55
90
|
# operation. If specified and any resources could not be created, the request
|
56
91
|
# will fail with an error code. Additionally, this parameter can cause the
|
57
92
|
# request to take longer to complete. Note: This parameter will be deprecated in
|
@@ -84,12 +119,17 @@ module Google
|
|
84
119
|
execute_or_queue_command(command, &block)
|
85
120
|
end
|
86
121
|
|
87
|
-
#
|
88
|
-
#
|
122
|
+
# Updates the specified Application resource. You can update the following
|
123
|
+
# fields: auth_domain (https://cloud.google.com/appengine/docs/admin-api/
|
124
|
+
# reference/rest/v1beta5/apps#Application.FIELDS.auth_domain)
|
125
|
+
# default_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/
|
126
|
+
# reference/rest/v1beta5/apps#Application.FIELDS.default_cookie_expiration)
|
89
127
|
# @param [String] apps_id
|
90
|
-
# Part of `name`.
|
91
|
-
#
|
92
|
-
#
|
128
|
+
# Part of `name`. Name of the Application resource to update. Example: apps/
|
129
|
+
# myapp.
|
130
|
+
# @param [Google::Apis::AppengineV1beta5::Application] application_object
|
131
|
+
# @param [String] mask
|
132
|
+
# Standard field mask for the set of fields to be updated.
|
93
133
|
# @param [String] fields
|
94
134
|
# Selector specifying which fields to include in a partial response.
|
95
135
|
# @param [String] quota_user
|
@@ -107,21 +147,23 @@ module Google
|
|
107
147
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
108
148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
|
-
def
|
111
|
-
command = make_simple_command(:
|
150
|
+
def patch_app(apps_id, application_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
151
|
+
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}', options)
|
152
|
+
command.request_representation = Google::Apis::AppengineV1beta5::Application::Representation
|
153
|
+
command.request_object = application_object
|
112
154
|
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
113
155
|
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
114
156
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
115
|
-
command.
|
157
|
+
command.query['mask'] = mask unless mask.nil?
|
116
158
|
command.query['fields'] = fields unless fields.nil?
|
117
159
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
118
160
|
execute_or_queue_command(command, &block)
|
119
161
|
end
|
120
162
|
|
121
163
|
# Lists operations that match the specified filter in the request. If the server
|
122
|
-
# doesn't support this method, it returns
|
123
|
-
#
|
124
|
-
#
|
164
|
+
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
165
|
+
# below allows API services to override the binding to use different resource
|
166
|
+
# name schemes, such as users/*/operations.
|
125
167
|
# @param [String] apps_id
|
126
168
|
# Part of `name`. The name of the operation collection.
|
127
169
|
# @param [String] filter
|
@@ -160,10 +202,44 @@ module Google
|
|
160
202
|
execute_or_queue_command(command, &block)
|
161
203
|
end
|
162
204
|
|
163
|
-
#
|
205
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
206
|
+
# to poll the operation result at intervals as recommended by the API service.
|
164
207
|
# @param [String] apps_id
|
165
|
-
# Part of `name`.
|
166
|
-
#
|
208
|
+
# Part of `name`. The name of the operation resource.
|
209
|
+
# @param [String] operations_id
|
210
|
+
# Part of `name`. See documentation of `appsId`.
|
211
|
+
# @param [String] fields
|
212
|
+
# Selector specifying which fields to include in a partial response.
|
213
|
+
# @param [String] quota_user
|
214
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
215
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
216
|
+
# @param [Google::Apis::RequestOptions] options
|
217
|
+
# Request-specific options
|
218
|
+
#
|
219
|
+
# @yield [result, err] Result & error if block supplied
|
220
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
|
221
|
+
# @yieldparam err [StandardError] error object if request failed
|
222
|
+
#
|
223
|
+
# @return [Google::Apis::AppengineV1beta5::Operation]
|
224
|
+
#
|
225
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
226
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
227
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
228
|
+
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
229
|
+
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations/{operationsId}', options)
|
230
|
+
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
231
|
+
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
232
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
233
|
+
command.params['operationsId'] = operations_id unless operations_id.nil?
|
234
|
+
command.query['fields'] = fields unless fields.nil?
|
235
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
236
|
+
execute_or_queue_command(command, &block)
|
237
|
+
end
|
238
|
+
|
239
|
+
# Deletes the specified service and all enclosed versions.
|
240
|
+
# @param [String] apps_id
|
241
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
242
|
+
# default.
|
167
243
|
# @param [String] services_id
|
168
244
|
# Part of `name`. See documentation of `appsId`.
|
169
245
|
# @param [String] fields
|
@@ -194,10 +270,10 @@ module Google
|
|
194
270
|
execute_or_queue_command(command, &block)
|
195
271
|
end
|
196
272
|
|
197
|
-
# Gets the current configuration of the service.
|
273
|
+
# Gets the current configuration of the specified service.
|
198
274
|
# @param [String] apps_id
|
199
|
-
# Part of `name`. Name of the resource requested.
|
200
|
-
#
|
275
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
276
|
+
# default.
|
201
277
|
# @param [String] services_id
|
202
278
|
# Part of `name`. See documentation of `appsId`.
|
203
279
|
# @param [String] fields
|
@@ -230,7 +306,7 @@ module Google
|
|
230
306
|
|
231
307
|
# Lists all the services in the application.
|
232
308
|
# @param [String] apps_id
|
233
|
-
# Part of `name`. Name of the resource requested.
|
309
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp.
|
234
310
|
# @param [Fixnum] page_size
|
235
311
|
# Maximum results to return per page.
|
236
312
|
# @param [String] page_token
|
@@ -266,16 +342,26 @@ module Google
|
|
266
342
|
|
267
343
|
# Updates the configuration of the specified service.
|
268
344
|
# @param [String] apps_id
|
269
|
-
# Part of `name`. Name of the resource to update.
|
270
|
-
#
|
345
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
346
|
+
# default.
|
271
347
|
# @param [String] services_id
|
272
348
|
# Part of `name`. See documentation of `appsId`.
|
273
349
|
# @param [Google::Apis::AppengineV1beta5::Service] service_object
|
274
350
|
# @param [String] mask
|
275
351
|
# Standard field mask for the set of fields to be updated.
|
276
352
|
# @param [Boolean] migrate_traffic
|
277
|
-
#
|
278
|
-
#
|
353
|
+
# Set to true to gradually shift traffic to one or more versions that you
|
354
|
+
# specify. By default, traffic is shifted immediately. For gradual traffic
|
355
|
+
# migration, the target versions must be located within instances that are
|
356
|
+
# configured for both warmup requests (https://cloud.google.com/appengine/docs/
|
357
|
+
# admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype)
|
358
|
+
# and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/
|
359
|
+
# reference/rest/v1beta5/apps.services.versions#automaticscaling). You must
|
360
|
+
# specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/
|
361
|
+
# reference/rest/v1beta5/apps.services#shardby) field in the Service resource.
|
362
|
+
# Gradual traffic migration is not supported in the App Engine flexible
|
363
|
+
# environment. For examples, see Migrating and Splitting Traffic (https://cloud.
|
364
|
+
# google.com/appengine/docs/admin-api/migrating-splitting-traffic).
|
279
365
|
# @param [String] fields
|
280
366
|
# Selector specifying which fields to include in a partial response.
|
281
367
|
# @param [String] quota_user
|
@@ -308,7 +394,7 @@ module Google
|
|
308
394
|
execute_or_queue_command(command, &block)
|
309
395
|
end
|
310
396
|
|
311
|
-
# Deploys new code and resource files to a version.
|
397
|
+
# Deploys new code and resource files to a new version.
|
312
398
|
# @param [String] apps_id
|
313
399
|
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
|
314
400
|
# services/default".
|
@@ -347,8 +433,8 @@ module Google
|
|
347
433
|
|
348
434
|
# Deletes an existing version.
|
349
435
|
# @param [String] apps_id
|
350
|
-
# Part of `name`. Name of the resource requested.
|
351
|
-
#
|
436
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
437
|
+
# default/versions/v1.
|
352
438
|
# @param [String] services_id
|
353
439
|
# Part of `name`. See documentation of `appsId`.
|
354
440
|
# @param [String] versions_id
|
@@ -382,16 +468,17 @@ module Google
|
|
382
468
|
execute_or_queue_command(command, &block)
|
383
469
|
end
|
384
470
|
|
385
|
-
# Gets
|
471
|
+
# Gets the specified Version resource. By default, only a BASIC_VIEW will be
|
472
|
+
# returned. Specify the FULL_VIEW parameter to get the full resource.
|
386
473
|
# @param [String] apps_id
|
387
|
-
# Part of `name`. Name of the resource requested.
|
388
|
-
#
|
474
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
475
|
+
# default/versions/v1.
|
389
476
|
# @param [String] services_id
|
390
477
|
# Part of `name`. See documentation of `appsId`.
|
391
478
|
# @param [String] versions_id
|
392
479
|
# Part of `name`. See documentation of `appsId`.
|
393
480
|
# @param [String] view
|
394
|
-
# Controls the set of fields returned in the
|
481
|
+
# Controls the set of fields returned in the Get response.
|
395
482
|
# @param [String] fields
|
396
483
|
# Selector specifying which fields to include in a partial response.
|
397
484
|
# @param [String] quota_user
|
@@ -424,12 +511,12 @@ module Google
|
|
424
511
|
|
425
512
|
# Lists the versions of a service.
|
426
513
|
# @param [String] apps_id
|
427
|
-
# Part of `name`. Name of the resource requested.
|
428
|
-
#
|
514
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
515
|
+
# default.
|
429
516
|
# @param [String] services_id
|
430
517
|
# Part of `name`. See documentation of `appsId`.
|
431
518
|
# @param [String] view
|
432
|
-
# Controls the set of fields returned in the
|
519
|
+
# Controls the set of fields returned in the List response.
|
433
520
|
# @param [Fixnum] page_size
|
434
521
|
# Maximum results to return per page.
|
435
522
|
# @param [String] page_token
|
@@ -465,10 +552,25 @@ module Google
|
|
465
552
|
execute_or_queue_command(command, &block)
|
466
553
|
end
|
467
554
|
|
468
|
-
# Updates
|
555
|
+
# Updates the specified Version resource. You can specify the following fields
|
556
|
+
# depending on the App Engine environment and type of scaling that the version
|
557
|
+
# resource uses: serving_status (https://cloud.google.com/appengine/docs/admin-
|
558
|
+
# api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
|
559
|
+
# serving_status): For Version resources that use basic scaling, manual scaling,
|
560
|
+
# or run in the App Engine flexible environment. instance_class (https://cloud.
|
561
|
+
# google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.
|
562
|
+
# versions#Version.FIELDS.instance_class): For Version resources that run in the
|
563
|
+
# App Engine standard environment. automatic_scaling.min_idle_instances (https://
|
564
|
+
# cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.
|
565
|
+
# versions#Version.FIELDS.automatic_scaling): For Version resources that use
|
566
|
+
# automatic scaling and run in the App Engine standard environment.
|
567
|
+
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
568
|
+
# admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
|
569
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
570
|
+
# in the App Engine standard environment.
|
469
571
|
# @param [String] apps_id
|
470
|
-
# Part of `name`. Name of the resource to update.
|
471
|
-
#
|
572
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
573
|
+
# default/versions/1.
|
472
574
|
# @param [String] services_id
|
473
575
|
# Part of `name`. See documentation of `appsId`.
|
474
576
|
# @param [String] versions_id
|
@@ -508,10 +610,92 @@ module Google
|
|
508
610
|
execute_or_queue_command(command, &block)
|
509
611
|
end
|
510
612
|
|
511
|
-
#
|
613
|
+
# Stops a running instance.
|
512
614
|
# @param [String] apps_id
|
513
615
|
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
514
|
-
# services/default/versions/v1".
|
616
|
+
# services/default/versions/v1/instances/instance-1".
|
617
|
+
# @param [String] services_id
|
618
|
+
# Part of `name`. See documentation of `appsId`.
|
619
|
+
# @param [String] versions_id
|
620
|
+
# Part of `name`. See documentation of `appsId`.
|
621
|
+
# @param [String] instances_id
|
622
|
+
# Part of `name`. See documentation of `appsId`.
|
623
|
+
# @param [String] fields
|
624
|
+
# Selector specifying which fields to include in a partial response.
|
625
|
+
# @param [String] quota_user
|
626
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
627
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
628
|
+
# @param [Google::Apis::RequestOptions] options
|
629
|
+
# Request-specific options
|
630
|
+
#
|
631
|
+
# @yield [result, err] Result & error if block supplied
|
632
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
|
633
|
+
# @yieldparam err [StandardError] error object if request failed
|
634
|
+
#
|
635
|
+
# @return [Google::Apis::AppengineV1beta5::Operation]
|
636
|
+
#
|
637
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
638
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
639
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
640
|
+
def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
641
|
+
command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
642
|
+
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
643
|
+
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
644
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
645
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
646
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
647
|
+
command.params['instancesId'] = instances_id unless instances_id.nil?
|
648
|
+
command.query['fields'] = fields unless fields.nil?
|
649
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
650
|
+
execute_or_queue_command(command, &block)
|
651
|
+
end
|
652
|
+
|
653
|
+
# Gets instance information.
|
654
|
+
# @param [String] apps_id
|
655
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
656
|
+
# default/versions/v1/instances/instance-1.
|
657
|
+
# @param [String] services_id
|
658
|
+
# Part of `name`. See documentation of `appsId`.
|
659
|
+
# @param [String] versions_id
|
660
|
+
# Part of `name`. See documentation of `appsId`.
|
661
|
+
# @param [String] instances_id
|
662
|
+
# Part of `name`. See documentation of `appsId`.
|
663
|
+
# @param [String] fields
|
664
|
+
# Selector specifying which fields to include in a partial response.
|
665
|
+
# @param [String] quota_user
|
666
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
667
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
668
|
+
# @param [Google::Apis::RequestOptions] options
|
669
|
+
# Request-specific options
|
670
|
+
#
|
671
|
+
# @yield [result, err] Result & error if block supplied
|
672
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::Instance] parsed result object
|
673
|
+
# @yieldparam err [StandardError] error object if request failed
|
674
|
+
#
|
675
|
+
# @return [Google::Apis::AppengineV1beta5::Instance]
|
676
|
+
#
|
677
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
678
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
679
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
680
|
+
def get_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
681
|
+
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
682
|
+
command.response_representation = Google::Apis::AppengineV1beta5::Instance::Representation
|
683
|
+
command.response_class = Google::Apis::AppengineV1beta5::Instance
|
684
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
685
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
686
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
687
|
+
command.params['instancesId'] = instances_id unless instances_id.nil?
|
688
|
+
command.query['fields'] = fields unless fields.nil?
|
689
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
690
|
+
execute_or_queue_command(command, &block)
|
691
|
+
end
|
692
|
+
|
693
|
+
# Lists the instances of a version.Tip: To aggregate details about instances
|
694
|
+
# over time, see the Stackdriver Monitoring API (https://cloud.google.com/
|
695
|
+
# monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
|
696
|
+
# @param [String] apps_id
|
697
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
698
|
+
# default/versions/v1.
|
515
699
|
# @param [String] services_id
|
516
700
|
# Part of `name`. See documentation of `appsId`.
|
517
701
|
# @param [String] versions_id
|
@@ -550,6 +734,126 @@ module Google
|
|
550
734
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
551
735
|
execute_or_queue_command(command, &block)
|
552
736
|
end
|
737
|
+
|
738
|
+
# Enables debugging on a VM instance. This allows you to use the SSH command to
|
739
|
+
# connect to the virtual machine where the instance lives. While in "debug mode",
|
740
|
+
# the instance continues to serve live traffic. You should delete the instance
|
741
|
+
# when you are done debugging and then allow the system to take over and
|
742
|
+
# determine if another instance should be started.Only applicable for instances
|
743
|
+
# in App Engine flexible environment.
|
744
|
+
# @param [String] apps_id
|
745
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
746
|
+
# default/versions/v1/instances/instance-1.
|
747
|
+
# @param [String] services_id
|
748
|
+
# Part of `name`. See documentation of `appsId`.
|
749
|
+
# @param [String] versions_id
|
750
|
+
# Part of `name`. See documentation of `appsId`.
|
751
|
+
# @param [String] instances_id
|
752
|
+
# Part of `name`. See documentation of `appsId`.
|
753
|
+
# @param [Google::Apis::AppengineV1beta5::DebugInstanceRequest] debug_instance_request_object
|
754
|
+
# @param [String] fields
|
755
|
+
# Selector specifying which fields to include in a partial response.
|
756
|
+
# @param [String] quota_user
|
757
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
758
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
759
|
+
# @param [Google::Apis::RequestOptions] options
|
760
|
+
# Request-specific options
|
761
|
+
#
|
762
|
+
# @yield [result, err] Result & error if block supplied
|
763
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
|
764
|
+
# @yieldparam err [StandardError] error object if request failed
|
765
|
+
#
|
766
|
+
# @return [Google::Apis::AppengineV1beta5::Operation]
|
767
|
+
#
|
768
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
769
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
770
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
771
|
+
def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
772
|
+
command = make_simple_command(:post, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
|
773
|
+
command.request_representation = Google::Apis::AppengineV1beta5::DebugInstanceRequest::Representation
|
774
|
+
command.request_object = debug_instance_request_object
|
775
|
+
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
776
|
+
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
777
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
778
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
779
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
780
|
+
command.params['instancesId'] = instances_id unless instances_id.nil?
|
781
|
+
command.query['fields'] = fields unless fields.nil?
|
782
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
783
|
+
execute_or_queue_command(command, &block)
|
784
|
+
end
|
785
|
+
|
786
|
+
# Lists information about the supported locations for this service.
|
787
|
+
# @param [String] apps_id
|
788
|
+
# Part of `name`. The resource that owns the locations collection, if applicable.
|
789
|
+
# @param [String] filter
|
790
|
+
# The standard list filter.
|
791
|
+
# @param [Fixnum] page_size
|
792
|
+
# The standard list page size.
|
793
|
+
# @param [String] page_token
|
794
|
+
# The standard list page token.
|
795
|
+
# @param [String] fields
|
796
|
+
# Selector specifying which fields to include in a partial response.
|
797
|
+
# @param [String] quota_user
|
798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
800
|
+
# @param [Google::Apis::RequestOptions] options
|
801
|
+
# Request-specific options
|
802
|
+
#
|
803
|
+
# @yield [result, err] Result & error if block supplied
|
804
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::ListLocationsResponse] parsed result object
|
805
|
+
# @yieldparam err [StandardError] error object if request failed
|
806
|
+
#
|
807
|
+
# @return [Google::Apis::AppengineV1beta5::ListLocationsResponse]
|
808
|
+
#
|
809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
812
|
+
def list_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
813
|
+
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations', options)
|
814
|
+
command.response_representation = Google::Apis::AppengineV1beta5::ListLocationsResponse::Representation
|
815
|
+
command.response_class = Google::Apis::AppengineV1beta5::ListLocationsResponse
|
816
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
817
|
+
command.query['filter'] = filter unless filter.nil?
|
818
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
819
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
820
|
+
command.query['fields'] = fields unless fields.nil?
|
821
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
822
|
+
execute_or_queue_command(command, &block)
|
823
|
+
end
|
824
|
+
|
825
|
+
# Get information about a location.
|
826
|
+
# @param [String] apps_id
|
827
|
+
# Part of `name`. Resource name for the location.
|
828
|
+
# @param [String] locations_id
|
829
|
+
# Part of `name`. See documentation of `appsId`.
|
830
|
+
# @param [String] fields
|
831
|
+
# Selector specifying which fields to include in a partial response.
|
832
|
+
# @param [String] quota_user
|
833
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
834
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
835
|
+
# @param [Google::Apis::RequestOptions] options
|
836
|
+
# Request-specific options
|
837
|
+
#
|
838
|
+
# @yield [result, err] Result & error if block supplied
|
839
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::Location] parsed result object
|
840
|
+
# @yieldparam err [StandardError] error object if request failed
|
841
|
+
#
|
842
|
+
# @return [Google::Apis::AppengineV1beta5::Location]
|
843
|
+
#
|
844
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
845
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
846
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
847
|
+
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
|
848
|
+
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations/{locationsId}', options)
|
849
|
+
command.response_representation = Google::Apis::AppengineV1beta5::Location::Representation
|
850
|
+
command.response_class = Google::Apis::AppengineV1beta5::Location
|
851
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
852
|
+
command.params['locationsId'] = locations_id unless locations_id.nil?
|
853
|
+
command.query['fields'] = fields unless fields.nil?
|
854
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
855
|
+
execute_or_queue_command(command, &block)
|
856
|
+
end
|
553
857
|
|
554
858
|
protected
|
555
859
|
|