google-api-client 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- 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 +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -48,6 +48,77 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
+
# Gets information about an application.
|
52
|
+
# @param [String] apps_id
|
53
|
+
# Part of `name`. Name of the Application resource to get. Example: apps/myapp.
|
54
|
+
# @param [String] fields
|
55
|
+
# Selector specifying which fields to include in a partial response.
|
56
|
+
# @param [String] quota_user
|
57
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
58
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
59
|
+
# @param [Google::Apis::RequestOptions] options
|
60
|
+
# Request-specific options
|
61
|
+
#
|
62
|
+
# @yield [result, err] Result & error if block supplied
|
63
|
+
# @yieldparam result [Google::Apis::AppengineV1::Application] parsed result object
|
64
|
+
# @yieldparam err [StandardError] error object if request failed
|
65
|
+
#
|
66
|
+
# @return [Google::Apis::AppengineV1::Application]
|
67
|
+
#
|
68
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
+
def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
|
72
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}', options)
|
73
|
+
command.response_representation = Google::Apis::AppengineV1::Application::Representation
|
74
|
+
command.response_class = Google::Apis::AppengineV1::Application
|
75
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
76
|
+
command.query['fields'] = fields unless fields.nil?
|
77
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
78
|
+
execute_or_queue_command(command, &block)
|
79
|
+
end
|
80
|
+
|
81
|
+
# Updates the specified Application resource. You can update the following
|
82
|
+
# fields:
|
83
|
+
# auth_domain - Google authentication domain for controlling user access to the
|
84
|
+
# application.
|
85
|
+
# default_cookie_expiration - Cookie expiration policy for the application.
|
86
|
+
# @param [String] apps_id
|
87
|
+
# Part of `name`. Name of the Application resource to update. Example: apps/
|
88
|
+
# myapp.
|
89
|
+
# @param [Google::Apis::AppengineV1::Application] application_object
|
90
|
+
# @param [String] update_mask
|
91
|
+
# Standard field mask for the set of fields to be updated.
|
92
|
+
# @param [String] fields
|
93
|
+
# Selector specifying which fields to include in a partial response.
|
94
|
+
# @param [String] quota_user
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
97
|
+
# @param [Google::Apis::RequestOptions] options
|
98
|
+
# Request-specific options
|
99
|
+
#
|
100
|
+
# @yield [result, err] Result & error if block supplied
|
101
|
+
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
102
|
+
# @yieldparam err [StandardError] error object if request failed
|
103
|
+
#
|
104
|
+
# @return [Google::Apis::AppengineV1::Operation]
|
105
|
+
#
|
106
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
+
def patch_app(apps_id, application_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
command = make_simple_command(:patch, 'v1/apps/{appsId}', options)
|
111
|
+
command.request_representation = Google::Apis::AppengineV1::Application::Representation
|
112
|
+
command.request_object = application_object
|
113
|
+
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
114
|
+
command.response_class = Google::Apis::AppengineV1::Operation
|
115
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
116
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
117
|
+
command.query['fields'] = fields unless fields.nil?
|
118
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
119
|
+
execute_or_queue_command(command, &block)
|
120
|
+
end
|
121
|
+
|
51
122
|
# Creates an App Engine application for a Google Cloud Platform project.
|
52
123
|
# Required fields:
|
53
124
|
# id - The ID of the target Cloud Platform project.
|
@@ -120,9 +191,22 @@ module Google
|
|
120
191
|
execute_or_queue_command(command, &block)
|
121
192
|
end
|
122
193
|
|
123
|
-
#
|
194
|
+
# Lists operations that match the specified filter in the request. If the server
|
195
|
+
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
196
|
+
# allows API services to override the binding to use different resource name
|
197
|
+
# schemes, such as users/*/operations. To override the binding, API services can
|
198
|
+
# add a binding such as "/v1/`name=users/*`/operations" to their service
|
199
|
+
# configuration. For backwards compatibility, the default name includes the
|
200
|
+
# operations collection id, however overriding users must ensure the name
|
201
|
+
# binding is the parent resource, without the operations collection id.
|
124
202
|
# @param [String] apps_id
|
125
|
-
# Part of `name`.
|
203
|
+
# Part of `name`. The name of the operation's parent resource.
|
204
|
+
# @param [String] page_token
|
205
|
+
# The standard list page token.
|
206
|
+
# @param [Fixnum] page_size
|
207
|
+
# The standard list page size.
|
208
|
+
# @param [String] filter
|
209
|
+
# The standard list filter.
|
126
210
|
# @param [String] fields
|
127
211
|
# Selector specifying which fields to include in a partial response.
|
128
212
|
# @param [String] quota_user
|
@@ -132,35 +216,33 @@ module Google
|
|
132
216
|
# Request-specific options
|
133
217
|
#
|
134
218
|
# @yield [result, err] Result & error if block supplied
|
135
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
219
|
+
# @yieldparam result [Google::Apis::AppengineV1::ListOperationsResponse] parsed result object
|
136
220
|
# @yieldparam err [StandardError] error object if request failed
|
137
221
|
#
|
138
|
-
# @return [Google::Apis::AppengineV1::
|
222
|
+
# @return [Google::Apis::AppengineV1::ListOperationsResponse]
|
139
223
|
#
|
140
224
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
141
225
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
142
226
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
143
|
-
def
|
144
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}', options)
|
145
|
-
command.response_representation = Google::Apis::AppengineV1::
|
146
|
-
command.response_class = Google::Apis::AppengineV1::
|
227
|
+
def list_app_operations(apps_id, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
228
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
|
229
|
+
command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
|
230
|
+
command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
|
147
231
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
232
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
233
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
234
|
+
command.query['filter'] = filter unless filter.nil?
|
148
235
|
command.query['fields'] = fields unless fields.nil?
|
149
236
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
150
237
|
execute_or_queue_command(command, &block)
|
151
238
|
end
|
152
239
|
|
153
|
-
#
|
154
|
-
#
|
155
|
-
# auth_domain - Google authentication domain for controlling user access to the
|
156
|
-
# application.
|
157
|
-
# default_cookie_expiration - Cookie expiration policy for the application.
|
240
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
241
|
+
# to poll the operation result at intervals as recommended by the API service.
|
158
242
|
# @param [String] apps_id
|
159
|
-
# Part of `name`.
|
160
|
-
#
|
161
|
-
#
|
162
|
-
# @param [String] update_mask
|
163
|
-
# Standard field mask for the set of fields to be updated.
|
243
|
+
# Part of `name`. The name of the operation resource.
|
244
|
+
# @param [String] operations_id
|
245
|
+
# Part of `name`. See documentation of `appsId`.
|
164
246
|
# @param [String] fields
|
165
247
|
# Selector specifying which fields to include in a partial response.
|
166
248
|
# @param [String] quota_user
|
@@ -178,14 +260,84 @@ module Google
|
|
178
260
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
179
261
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
180
262
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
181
|
-
def
|
182
|
-
command = make_simple_command(:
|
183
|
-
command.request_representation = Google::Apis::AppengineV1::Application::Representation
|
184
|
-
command.request_object = application_object
|
263
|
+
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
264
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
|
185
265
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
186
266
|
command.response_class = Google::Apis::AppengineV1::Operation
|
187
267
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
188
|
-
command.
|
268
|
+
command.params['operationsId'] = operations_id unless operations_id.nil?
|
269
|
+
command.query['fields'] = fields unless fields.nil?
|
270
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
271
|
+
execute_or_queue_command(command, &block)
|
272
|
+
end
|
273
|
+
|
274
|
+
# Lists information about the supported locations for this service.
|
275
|
+
# @param [String] apps_id
|
276
|
+
# Part of `name`. The resource that owns the locations collection, if applicable.
|
277
|
+
# @param [String] page_token
|
278
|
+
# The standard list page token.
|
279
|
+
# @param [Fixnum] page_size
|
280
|
+
# The standard list page size.
|
281
|
+
# @param [String] filter
|
282
|
+
# The standard list filter.
|
283
|
+
# @param [String] fields
|
284
|
+
# Selector specifying which fields to include in a partial response.
|
285
|
+
# @param [String] quota_user
|
286
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
287
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
288
|
+
# @param [Google::Apis::RequestOptions] options
|
289
|
+
# Request-specific options
|
290
|
+
#
|
291
|
+
# @yield [result, err] Result & error if block supplied
|
292
|
+
# @yieldparam result [Google::Apis::AppengineV1::ListLocationsResponse] parsed result object
|
293
|
+
# @yieldparam err [StandardError] error object if request failed
|
294
|
+
#
|
295
|
+
# @return [Google::Apis::AppengineV1::ListLocationsResponse]
|
296
|
+
#
|
297
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
298
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
299
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
300
|
+
def list_app_locations(apps_id, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
301
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
|
302
|
+
command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation
|
303
|
+
command.response_class = Google::Apis::AppengineV1::ListLocationsResponse
|
304
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
305
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
306
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
307
|
+
command.query['filter'] = filter unless filter.nil?
|
308
|
+
command.query['fields'] = fields unless fields.nil?
|
309
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
310
|
+
execute_or_queue_command(command, &block)
|
311
|
+
end
|
312
|
+
|
313
|
+
# Get information about a location.
|
314
|
+
# @param [String] apps_id
|
315
|
+
# Part of `name`. Resource name for the location.
|
316
|
+
# @param [String] locations_id
|
317
|
+
# Part of `name`. See documentation of `appsId`.
|
318
|
+
# @param [String] fields
|
319
|
+
# Selector specifying which fields to include in a partial response.
|
320
|
+
# @param [String] quota_user
|
321
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
322
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
323
|
+
# @param [Google::Apis::RequestOptions] options
|
324
|
+
# Request-specific options
|
325
|
+
#
|
326
|
+
# @yield [result, err] Result & error if block supplied
|
327
|
+
# @yieldparam result [Google::Apis::AppengineV1::Location] parsed result object
|
328
|
+
# @yieldparam err [StandardError] error object if request failed
|
329
|
+
#
|
330
|
+
# @return [Google::Apis::AppengineV1::Location]
|
331
|
+
#
|
332
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
333
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
334
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
335
|
+
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
|
336
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options)
|
337
|
+
command.response_representation = Google::Apis::AppengineV1::Location::Representation
|
338
|
+
command.response_class = Google::Apis::AppengineV1::Location
|
339
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
340
|
+
command.params['locationsId'] = locations_id unless locations_id.nil?
|
189
341
|
command.query['fields'] = fields unless fields.nil?
|
190
342
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
191
343
|
execute_or_queue_command(command, &block)
|
@@ -228,10 +380,10 @@ module Google
|
|
228
380
|
# Lists all the services in the application.
|
229
381
|
# @param [String] apps_id
|
230
382
|
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
231
|
-
# @param [Fixnum] page_size
|
232
|
-
# Maximum results to return per page.
|
233
383
|
# @param [String] page_token
|
234
384
|
# Continuation token for fetching the next page of results.
|
385
|
+
# @param [Fixnum] page_size
|
386
|
+
# Maximum results to return per page.
|
235
387
|
# @param [String] fields
|
236
388
|
# Selector specifying which fields to include in a partial response.
|
237
389
|
# @param [String] quota_user
|
@@ -249,13 +401,13 @@ module Google
|
|
249
401
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
250
402
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
251
403
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
252
|
-
def list_app_services(apps_id,
|
404
|
+
def list_app_services(apps_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
253
405
|
command = make_simple_command(:get, 'v1/apps/{appsId}/services', options)
|
254
406
|
command.response_representation = Google::Apis::AppengineV1::ListServicesResponse::Representation
|
255
407
|
command.response_class = Google::Apis::AppengineV1::ListServicesResponse
|
256
408
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
257
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
258
409
|
command.query['pageToken'] = page_token unless page_token.nil?
|
410
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
259
411
|
command.query['fields'] = fields unless fields.nil?
|
260
412
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
261
413
|
execute_or_queue_command(command, &block)
|
@@ -302,6 +454,8 @@ module Google
|
|
302
454
|
# @param [String] services_id
|
303
455
|
# Part of `name`. See documentation of `appsId`.
|
304
456
|
# @param [Google::Apis::AppengineV1::Service] service_object
|
457
|
+
# @param [String] update_mask
|
458
|
+
# Standard field mask for the set of fields to be updated.
|
305
459
|
# @param [Boolean] migrate_traffic
|
306
460
|
# Set to true to gradually shift traffic to one or more versions that you
|
307
461
|
# specify. By default, traffic is shifted immediately. For gradual traffic
|
@@ -315,8 +469,6 @@ module Google
|
|
315
469
|
# not supported in the App Engine flexible environment. For examples, see
|
316
470
|
# Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-
|
317
471
|
# api/migrating-splitting-traffic).
|
318
|
-
# @param [String] update_mask
|
319
|
-
# Standard field mask for the set of fields to be updated.
|
320
472
|
# @param [String] fields
|
321
473
|
# Selector specifying which fields to include in a partial response.
|
322
474
|
# @param [String] quota_user
|
@@ -334,7 +486,7 @@ module Google
|
|
334
486
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
335
487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
336
488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
337
|
-
def patch_app_service(apps_id, services_id, service_object = nil,
|
489
|
+
def patch_app_service(apps_id, services_id, service_object = nil, update_mask: nil, migrate_traffic: nil, fields: nil, quota_user: nil, options: nil, &block)
|
338
490
|
command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}', options)
|
339
491
|
command.request_representation = Google::Apis::AppengineV1::Service::Representation
|
340
492
|
command.request_object = service_object
|
@@ -342,45 +494,8 @@ module Google
|
|
342
494
|
command.response_class = Google::Apis::AppengineV1::Operation
|
343
495
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
344
496
|
command.params['servicesId'] = services_id unless services_id.nil?
|
345
|
-
command.query['migrateTraffic'] = migrate_traffic unless migrate_traffic.nil?
|
346
497
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
347
|
-
command.query['
|
348
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
349
|
-
execute_or_queue_command(command, &block)
|
350
|
-
end
|
351
|
-
|
352
|
-
# Deploys code and resource files to a new version.
|
353
|
-
# @param [String] apps_id
|
354
|
-
# Part of `parent`. Name of the parent resource to create this version under.
|
355
|
-
# Example: apps/myapp/services/default.
|
356
|
-
# @param [String] services_id
|
357
|
-
# Part of `parent`. See documentation of `appsId`.
|
358
|
-
# @param [Google::Apis::AppengineV1::Version] version_object
|
359
|
-
# @param [String] fields
|
360
|
-
# Selector specifying which fields to include in a partial response.
|
361
|
-
# @param [String] quota_user
|
362
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
363
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
364
|
-
# @param [Google::Apis::RequestOptions] options
|
365
|
-
# Request-specific options
|
366
|
-
#
|
367
|
-
# @yield [result, err] Result & error if block supplied
|
368
|
-
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
369
|
-
# @yieldparam err [StandardError] error object if request failed
|
370
|
-
#
|
371
|
-
# @return [Google::Apis::AppengineV1::Operation]
|
372
|
-
#
|
373
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
374
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
375
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
376
|
-
def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
377
|
-
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
|
378
|
-
command.request_representation = Google::Apis::AppengineV1::Version::Representation
|
379
|
-
command.request_object = version_object
|
380
|
-
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
381
|
-
command.response_class = Google::Apis::AppengineV1::Operation
|
382
|
-
command.params['appsId'] = apps_id unless apps_id.nil?
|
383
|
-
command.params['servicesId'] = services_id unless services_id.nil?
|
498
|
+
command.query['migrateTraffic'] = migrate_traffic unless migrate_traffic.nil?
|
384
499
|
command.query['fields'] = fields unless fields.nil?
|
385
500
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
386
501
|
execute_or_queue_command(command, &block)
|
@@ -567,6 +682,43 @@ module Google
|
|
567
682
|
execute_or_queue_command(command, &block)
|
568
683
|
end
|
569
684
|
|
685
|
+
# Deploys code and resource files to a new version.
|
686
|
+
# @param [String] apps_id
|
687
|
+
# Part of `parent`. Name of the parent resource to create this version under.
|
688
|
+
# Example: apps/myapp/services/default.
|
689
|
+
# @param [String] services_id
|
690
|
+
# Part of `parent`. See documentation of `appsId`.
|
691
|
+
# @param [Google::Apis::AppengineV1::Version] version_object
|
692
|
+
# @param [String] fields
|
693
|
+
# Selector specifying which fields to include in a partial response.
|
694
|
+
# @param [String] quota_user
|
695
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
696
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
697
|
+
# @param [Google::Apis::RequestOptions] options
|
698
|
+
# Request-specific options
|
699
|
+
#
|
700
|
+
# @yield [result, err] Result & error if block supplied
|
701
|
+
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
702
|
+
# @yieldparam err [StandardError] error object if request failed
|
703
|
+
#
|
704
|
+
# @return [Google::Apis::AppengineV1::Operation]
|
705
|
+
#
|
706
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
707
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
708
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
709
|
+
def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
710
|
+
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
|
711
|
+
command.request_representation = Google::Apis::AppengineV1::Version::Representation
|
712
|
+
command.request_object = version_object
|
713
|
+
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
714
|
+
command.response_class = Google::Apis::AppengineV1::Operation
|
715
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
716
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
717
|
+
command.query['fields'] = fields unless fields.nil?
|
718
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
719
|
+
execute_or_queue_command(command, &block)
|
720
|
+
end
|
721
|
+
|
570
722
|
# Stops a running instance.
|
571
723
|
# @param [String] apps_id
|
572
724
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
@@ -739,158 +891,6 @@ module Google
|
|
739
891
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
740
892
|
execute_or_queue_command(command, &block)
|
741
893
|
end
|
742
|
-
|
743
|
-
# Lists operations that match the specified filter in the request. If the server
|
744
|
-
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
745
|
-
# allows API services to override the binding to use different resource name
|
746
|
-
# schemes, such as users/*/operations. To override the binding, API services can
|
747
|
-
# add a binding such as "/v1/`name=users/*`/operations" to their service
|
748
|
-
# configuration. For backwards compatibility, the default name includes the
|
749
|
-
# operations collection id, however overriding users must ensure the name
|
750
|
-
# binding is the parent resource, without the operations collection id.
|
751
|
-
# @param [String] apps_id
|
752
|
-
# Part of `name`. The name of the operation's parent resource.
|
753
|
-
# @param [String] page_token
|
754
|
-
# The standard list page token.
|
755
|
-
# @param [Fixnum] page_size
|
756
|
-
# The standard list page size.
|
757
|
-
# @param [String] filter
|
758
|
-
# The standard list filter.
|
759
|
-
# @param [String] fields
|
760
|
-
# Selector specifying which fields to include in a partial response.
|
761
|
-
# @param [String] quota_user
|
762
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
763
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
764
|
-
# @param [Google::Apis::RequestOptions] options
|
765
|
-
# Request-specific options
|
766
|
-
#
|
767
|
-
# @yield [result, err] Result & error if block supplied
|
768
|
-
# @yieldparam result [Google::Apis::AppengineV1::ListOperationsResponse] parsed result object
|
769
|
-
# @yieldparam err [StandardError] error object if request failed
|
770
|
-
#
|
771
|
-
# @return [Google::Apis::AppengineV1::ListOperationsResponse]
|
772
|
-
#
|
773
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
774
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
775
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
776
|
-
def list_app_operations(apps_id, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
777
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
|
778
|
-
command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
|
779
|
-
command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
|
780
|
-
command.params['appsId'] = apps_id unless apps_id.nil?
|
781
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
782
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
783
|
-
command.query['filter'] = filter unless filter.nil?
|
784
|
-
command.query['fields'] = fields unless fields.nil?
|
785
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
786
|
-
execute_or_queue_command(command, &block)
|
787
|
-
end
|
788
|
-
|
789
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
790
|
-
# to poll the operation result at intervals as recommended by the API service.
|
791
|
-
# @param [String] apps_id
|
792
|
-
# Part of `name`. The name of the operation resource.
|
793
|
-
# @param [String] operations_id
|
794
|
-
# Part of `name`. See documentation of `appsId`.
|
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::AppengineV1::Operation] parsed result object
|
805
|
-
# @yieldparam err [StandardError] error object if request failed
|
806
|
-
#
|
807
|
-
# @return [Google::Apis::AppengineV1::Operation]
|
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 get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
813
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
|
814
|
-
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
815
|
-
command.response_class = Google::Apis::AppengineV1::Operation
|
816
|
-
command.params['appsId'] = apps_id unless apps_id.nil?
|
817
|
-
command.params['operationsId'] = operations_id unless operations_id.nil?
|
818
|
-
command.query['fields'] = fields unless fields.nil?
|
819
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
820
|
-
execute_or_queue_command(command, &block)
|
821
|
-
end
|
822
|
-
|
823
|
-
# Lists information about the supported locations for this service.
|
824
|
-
# @param [String] apps_id
|
825
|
-
# Part of `name`. The resource that owns the locations collection, if applicable.
|
826
|
-
# @param [String] filter
|
827
|
-
# The standard list filter.
|
828
|
-
# @param [String] page_token
|
829
|
-
# The standard list page token.
|
830
|
-
# @param [Fixnum] page_size
|
831
|
-
# The standard list page size.
|
832
|
-
# @param [String] fields
|
833
|
-
# Selector specifying which fields to include in a partial response.
|
834
|
-
# @param [String] quota_user
|
835
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
836
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
837
|
-
# @param [Google::Apis::RequestOptions] options
|
838
|
-
# Request-specific options
|
839
|
-
#
|
840
|
-
# @yield [result, err] Result & error if block supplied
|
841
|
-
# @yieldparam result [Google::Apis::AppengineV1::ListLocationsResponse] parsed result object
|
842
|
-
# @yieldparam err [StandardError] error object if request failed
|
843
|
-
#
|
844
|
-
# @return [Google::Apis::AppengineV1::ListLocationsResponse]
|
845
|
-
#
|
846
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
847
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
848
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
849
|
-
def list_app_locations(apps_id, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
850
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
|
851
|
-
command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation
|
852
|
-
command.response_class = Google::Apis::AppengineV1::ListLocationsResponse
|
853
|
-
command.params['appsId'] = apps_id unless apps_id.nil?
|
854
|
-
command.query['filter'] = filter unless filter.nil?
|
855
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
856
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
857
|
-
command.query['fields'] = fields unless fields.nil?
|
858
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
859
|
-
execute_or_queue_command(command, &block)
|
860
|
-
end
|
861
|
-
|
862
|
-
# Get information about a location.
|
863
|
-
# @param [String] apps_id
|
864
|
-
# Part of `name`. Resource name for the location.
|
865
|
-
# @param [String] locations_id
|
866
|
-
# Part of `name`. See documentation of `appsId`.
|
867
|
-
# @param [String] fields
|
868
|
-
# Selector specifying which fields to include in a partial response.
|
869
|
-
# @param [String] quota_user
|
870
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
871
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
872
|
-
# @param [Google::Apis::RequestOptions] options
|
873
|
-
# Request-specific options
|
874
|
-
#
|
875
|
-
# @yield [result, err] Result & error if block supplied
|
876
|
-
# @yieldparam result [Google::Apis::AppengineV1::Location] parsed result object
|
877
|
-
# @yieldparam err [StandardError] error object if request failed
|
878
|
-
#
|
879
|
-
# @return [Google::Apis::AppengineV1::Location]
|
880
|
-
#
|
881
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
882
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
883
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
884
|
-
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
|
885
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options)
|
886
|
-
command.response_representation = Google::Apis::AppengineV1::Location::Representation
|
887
|
-
command.response_class = Google::Apis::AppengineV1::Location
|
888
|
-
command.params['appsId'] = apps_id unless apps_id.nil?
|
889
|
-
command.params['locationsId'] = locations_id unless locations_id.nil?
|
890
|
-
command.query['fields'] = fields unless fields.nil?
|
891
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
892
|
-
execute_or_queue_command(command, &block)
|
893
|
-
end
|
894
894
|
|
895
895
|
protected
|
896
896
|
|