google-api-client 0.9.pre3 → 0.9.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
@@ -0,0 +1,476 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module AppengineV1beta4
|
23
|
+
# Google App Engine Admin API
|
24
|
+
#
|
25
|
+
# The Google App Engine Admin API enables developers to provision and manage
|
26
|
+
# their App Engine applications.
|
27
|
+
#
|
28
|
+
# @example
|
29
|
+
# require 'google/apis/appengine_v1beta4'
|
30
|
+
#
|
31
|
+
# Appengine = Google::Apis::AppengineV1beta4 # Alias the module
|
32
|
+
# service = Appengine::AppengineService.new
|
33
|
+
#
|
34
|
+
# @see https://cloud.google.com/appengine/docs/admin-api/
|
35
|
+
class AppengineService < Google::Apis::Core::BaseService
|
36
|
+
# @return [String]
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
+
attr_accessor :key
|
40
|
+
|
41
|
+
# @return [String]
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
+
attr_accessor :quota_user
|
45
|
+
|
46
|
+
def initialize
|
47
|
+
super('https://appengine.googleapis.com/', '')
|
48
|
+
end
|
49
|
+
|
50
|
+
# Gets information about an application.
|
51
|
+
# @param [String] apps_id
|
52
|
+
# Part of `name`. Name of the application to get. For example: "apps/myapp".
|
53
|
+
# @param [Boolean] ensure_resources_exist
|
54
|
+
# Certain resources associated with an application are created on-demand.
|
55
|
+
# Controls whether these resources should be created when performing the `GET`
|
56
|
+
# operation. If specified and any resources cloud not be created, the request
|
57
|
+
# will fail with an error code.
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
64
|
+
# Request-specific options
|
65
|
+
#
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
67
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::Application] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::AppengineV1beta4::Application]
|
71
|
+
#
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
+
def get_app(apps_id, ensure_resources_exist: nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:get, 'v1beta4/apps/{appsId}', options)
|
77
|
+
command.response_representation = Google::Apis::AppengineV1beta4::Application::Representation
|
78
|
+
command.response_class = Google::Apis::AppengineV1beta4::Application
|
79
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
80
|
+
command.query['ensureResourcesExist'] = ensure_resources_exist unless ensure_resources_exist.nil?
|
81
|
+
command.query['fields'] = fields unless fields.nil?
|
82
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
83
|
+
execute_or_queue_command(command, &block)
|
84
|
+
end
|
85
|
+
|
86
|
+
# Deletes a module and all enclosed versions.
|
87
|
+
# @param [String] apps_id
|
88
|
+
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
89
|
+
# modules/default".
|
90
|
+
# @param [String] modules_id
|
91
|
+
# Part of `name`. See documentation of `appsId`.
|
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::AppengineV1beta4::Operation] parsed result object
|
102
|
+
# @yieldparam err [StandardError] error object if request failed
|
103
|
+
#
|
104
|
+
# @return [Google::Apis::AppengineV1beta4::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 delete_app_module(apps_id, modules_id, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
command = make_simple_command(:delete, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
|
111
|
+
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
|
112
|
+
command.response_class = Google::Apis::AppengineV1beta4::Operation
|
113
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
114
|
+
command.params['modulesId'] = modules_id unless modules_id.nil?
|
115
|
+
command.query['fields'] = fields unless fields.nil?
|
116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
+
execute_or_queue_command(command, &block)
|
118
|
+
end
|
119
|
+
|
120
|
+
# Gets the current configuration of the module.
|
121
|
+
# @param [String] apps_id
|
122
|
+
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
123
|
+
# modules/default".
|
124
|
+
# @param [String] modules_id
|
125
|
+
# Part of `name`. See documentation of `appsId`.
|
126
|
+
# @param [String] fields
|
127
|
+
# Selector specifying which fields to include in a partial response.
|
128
|
+
# @param [String] quota_user
|
129
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
130
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
131
|
+
# @param [Google::Apis::RequestOptions] options
|
132
|
+
# Request-specific options
|
133
|
+
#
|
134
|
+
# @yield [result, err] Result & error if block supplied
|
135
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::Module] parsed result object
|
136
|
+
# @yieldparam err [StandardError] error object if request failed
|
137
|
+
#
|
138
|
+
# @return [Google::Apis::AppengineV1beta4::Module]
|
139
|
+
#
|
140
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
141
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
142
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
143
|
+
def get_app_module(apps_id, modules_id, fields: nil, quota_user: nil, options: nil, &block)
|
144
|
+
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
|
145
|
+
command.response_representation = Google::Apis::AppengineV1beta4::Module::Representation
|
146
|
+
command.response_class = Google::Apis::AppengineV1beta4::Module
|
147
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
148
|
+
command.params['modulesId'] = modules_id unless modules_id.nil?
|
149
|
+
command.query['fields'] = fields unless fields.nil?
|
150
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
151
|
+
execute_or_queue_command(command, &block)
|
152
|
+
end
|
153
|
+
|
154
|
+
# Lists all the modules in the application.
|
155
|
+
# @param [String] apps_id
|
156
|
+
# Part of `name`. Name of the resource requested. For example: "apps/myapp".
|
157
|
+
# @param [Fixnum] page_size
|
158
|
+
# Maximum results to return per page.
|
159
|
+
# @param [String] page_token
|
160
|
+
# Continuation token for fetching the next page of results.
|
161
|
+
# @param [String] fields
|
162
|
+
# Selector specifying which fields to include in a partial response.
|
163
|
+
# @param [String] quota_user
|
164
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
165
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
166
|
+
# @param [Google::Apis::RequestOptions] options
|
167
|
+
# Request-specific options
|
168
|
+
#
|
169
|
+
# @yield [result, err] Result & error if block supplied
|
170
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::ListModulesResponse] parsed result object
|
171
|
+
# @yieldparam err [StandardError] error object if request failed
|
172
|
+
#
|
173
|
+
# @return [Google::Apis::AppengineV1beta4::ListModulesResponse]
|
174
|
+
#
|
175
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
176
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
177
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
178
|
+
def list_app_modules(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
179
|
+
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules', options)
|
180
|
+
command.response_representation = Google::Apis::AppengineV1beta4::ListModulesResponse::Representation
|
181
|
+
command.response_class = Google::Apis::AppengineV1beta4::ListModulesResponse
|
182
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
183
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
184
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
185
|
+
command.query['fields'] = fields unless fields.nil?
|
186
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
187
|
+
execute_or_queue_command(command, &block)
|
188
|
+
end
|
189
|
+
|
190
|
+
# Updates the configuration of the specified module.
|
191
|
+
# @param [String] apps_id
|
192
|
+
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
|
193
|
+
# modules/default".
|
194
|
+
# @param [String] modules_id
|
195
|
+
# Part of `name`. See documentation of `appsId`.
|
196
|
+
# @param [Google::Apis::AppengineV1beta4::Module] module_object
|
197
|
+
# @param [String] mask
|
198
|
+
# Standard field mask for the set of fields to be updated.
|
199
|
+
# @param [Boolean] migrate_traffic
|
200
|
+
# Whether to use Traffic Migration to shift traffic gradually. Traffic can only
|
201
|
+
# be migrated from a single version to another single version.
|
202
|
+
# @param [String] fields
|
203
|
+
# Selector specifying which fields to include in a partial response.
|
204
|
+
# @param [String] quota_user
|
205
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
206
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
207
|
+
# @param [Google::Apis::RequestOptions] options
|
208
|
+
# Request-specific options
|
209
|
+
#
|
210
|
+
# @yield [result, err] Result & error if block supplied
|
211
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::Operation] parsed result object
|
212
|
+
# @yieldparam err [StandardError] error object if request failed
|
213
|
+
#
|
214
|
+
# @return [Google::Apis::AppengineV1beta4::Operation]
|
215
|
+
#
|
216
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
217
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
|
+
def patch_app_module(apps_id, modules_id, module_object = nil, mask: nil, migrate_traffic: nil, fields: nil, quota_user: nil, options: nil, &block)
|
220
|
+
command = make_simple_command(:patch, 'v1beta4/apps/{appsId}/modules/{modulesId}', options)
|
221
|
+
command.request_representation = Google::Apis::AppengineV1beta4::Module::Representation
|
222
|
+
command.request_object = module_object
|
223
|
+
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
|
224
|
+
command.response_class = Google::Apis::AppengineV1beta4::Operation
|
225
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
226
|
+
command.params['modulesId'] = modules_id unless modules_id.nil?
|
227
|
+
command.query['mask'] = mask unless mask.nil?
|
228
|
+
command.query['migrateTraffic'] = migrate_traffic unless migrate_traffic.nil?
|
229
|
+
command.query['fields'] = fields unless fields.nil?
|
230
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
231
|
+
execute_or_queue_command(command, &block)
|
232
|
+
end
|
233
|
+
|
234
|
+
# Deploys new code and resource files to a version.
|
235
|
+
# @param [String] apps_id
|
236
|
+
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
|
237
|
+
# modules/default".
|
238
|
+
# @param [String] modules_id
|
239
|
+
# Part of `name`. See documentation of `appsId`.
|
240
|
+
# @param [Google::Apis::AppengineV1beta4::Version] version_object
|
241
|
+
# @param [String] fields
|
242
|
+
# Selector specifying which fields to include in a partial response.
|
243
|
+
# @param [String] quota_user
|
244
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
245
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
246
|
+
# @param [Google::Apis::RequestOptions] options
|
247
|
+
# Request-specific options
|
248
|
+
#
|
249
|
+
# @yield [result, err] Result & error if block supplied
|
250
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::Operation] parsed result object
|
251
|
+
# @yieldparam err [StandardError] error object if request failed
|
252
|
+
#
|
253
|
+
# @return [Google::Apis::AppengineV1beta4::Operation]
|
254
|
+
#
|
255
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
256
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
257
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
258
|
+
def create_app_module_version(apps_id, modules_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
259
|
+
command = make_simple_command(:post, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', options)
|
260
|
+
command.request_representation = Google::Apis::AppengineV1beta4::Version::Representation
|
261
|
+
command.request_object = version_object
|
262
|
+
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
|
263
|
+
command.response_class = Google::Apis::AppengineV1beta4::Operation
|
264
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
265
|
+
command.params['modulesId'] = modules_id unless modules_id.nil?
|
266
|
+
command.query['fields'] = fields unless fields.nil?
|
267
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
268
|
+
execute_or_queue_command(command, &block)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Deletes an existing version.
|
272
|
+
# @param [String] apps_id
|
273
|
+
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
274
|
+
# modules/default/versions/v1".
|
275
|
+
# @param [String] modules_id
|
276
|
+
# Part of `name`. See documentation of `appsId`.
|
277
|
+
# @param [String] versions_id
|
278
|
+
# Part of `name`. See documentation of `appsId`.
|
279
|
+
# @param [String] fields
|
280
|
+
# Selector specifying which fields to include in a partial response.
|
281
|
+
# @param [String] quota_user
|
282
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
283
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
284
|
+
# @param [Google::Apis::RequestOptions] options
|
285
|
+
# Request-specific options
|
286
|
+
#
|
287
|
+
# @yield [result, err] Result & error if block supplied
|
288
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::Operation] parsed result object
|
289
|
+
# @yieldparam err [StandardError] error object if request failed
|
290
|
+
#
|
291
|
+
# @return [Google::Apis::AppengineV1beta4::Operation]
|
292
|
+
#
|
293
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
294
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
295
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
296
|
+
def delete_app_module_version(apps_id, modules_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
|
297
|
+
command = make_simple_command(:delete, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', options)
|
298
|
+
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
|
299
|
+
command.response_class = Google::Apis::AppengineV1beta4::Operation
|
300
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
301
|
+
command.params['modulesId'] = modules_id unless modules_id.nil?
|
302
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
303
|
+
command.query['fields'] = fields unless fields.nil?
|
304
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
305
|
+
execute_or_queue_command(command, &block)
|
306
|
+
end
|
307
|
+
|
308
|
+
# Gets application deployment information.
|
309
|
+
# @param [String] apps_id
|
310
|
+
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
311
|
+
# modules/default/versions/v1".
|
312
|
+
# @param [String] modules_id
|
313
|
+
# Part of `name`. See documentation of `appsId`.
|
314
|
+
# @param [String] versions_id
|
315
|
+
# Part of `name`. See documentation of `appsId`.
|
316
|
+
# @param [String] view
|
317
|
+
# Controls the set of fields returned in the `Get` response.
|
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::AppengineV1beta4::Version] parsed result object
|
328
|
+
# @yieldparam err [StandardError] error object if request failed
|
329
|
+
#
|
330
|
+
# @return [Google::Apis::AppengineV1beta4::Version]
|
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_module_version(apps_id, modules_id, versions_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
336
|
+
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', options)
|
337
|
+
command.response_representation = Google::Apis::AppengineV1beta4::Version::Representation
|
338
|
+
command.response_class = Google::Apis::AppengineV1beta4::Version
|
339
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
340
|
+
command.params['modulesId'] = modules_id unless modules_id.nil?
|
341
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
342
|
+
command.query['view'] = view unless view.nil?
|
343
|
+
command.query['fields'] = fields unless fields.nil?
|
344
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
345
|
+
execute_or_queue_command(command, &block)
|
346
|
+
end
|
347
|
+
|
348
|
+
# Lists the versions of a module.
|
349
|
+
# @param [String] apps_id
|
350
|
+
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
351
|
+
# modules/default".
|
352
|
+
# @param [String] modules_id
|
353
|
+
# Part of `name`. See documentation of `appsId`.
|
354
|
+
# @param [String] view
|
355
|
+
# Controls the set of fields returned in the `List` response.
|
356
|
+
# @param [Fixnum] page_size
|
357
|
+
# Maximum results to return per page.
|
358
|
+
# @param [String] page_token
|
359
|
+
# Continuation token for fetching the next page of results.
|
360
|
+
# @param [String] fields
|
361
|
+
# Selector specifying which fields to include in a partial response.
|
362
|
+
# @param [String] quota_user
|
363
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
364
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
365
|
+
# @param [Google::Apis::RequestOptions] options
|
366
|
+
# Request-specific options
|
367
|
+
#
|
368
|
+
# @yield [result, err] Result & error if block supplied
|
369
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::ListVersionsResponse] parsed result object
|
370
|
+
# @yieldparam err [StandardError] error object if request failed
|
371
|
+
#
|
372
|
+
# @return [Google::Apis::AppengineV1beta4::ListVersionsResponse]
|
373
|
+
#
|
374
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
375
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
376
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
377
|
+
def list_app_module_versions(apps_id, modules_id, view: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
378
|
+
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', options)
|
379
|
+
command.response_representation = Google::Apis::AppengineV1beta4::ListVersionsResponse::Representation
|
380
|
+
command.response_class = Google::Apis::AppengineV1beta4::ListVersionsResponse
|
381
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
382
|
+
command.params['modulesId'] = modules_id unless modules_id.nil?
|
383
|
+
command.query['view'] = view unless view.nil?
|
384
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
385
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
386
|
+
command.query['fields'] = fields unless fields.nil?
|
387
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
388
|
+
execute_or_queue_command(command, &block)
|
389
|
+
end
|
390
|
+
|
391
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
392
|
+
# to poll the operation result at intervals as recommended by the API service.
|
393
|
+
# @param [String] apps_id
|
394
|
+
# Part of `name`. The name of the operation resource.
|
395
|
+
# @param [String] operations_id
|
396
|
+
# Part of `name`. See documentation of `appsId`.
|
397
|
+
# @param [String] fields
|
398
|
+
# Selector specifying which fields to include in a partial response.
|
399
|
+
# @param [String] quota_user
|
400
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
401
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
402
|
+
# @param [Google::Apis::RequestOptions] options
|
403
|
+
# Request-specific options
|
404
|
+
#
|
405
|
+
# @yield [result, err] Result & error if block supplied
|
406
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::Operation] parsed result object
|
407
|
+
# @yieldparam err [StandardError] error object if request failed
|
408
|
+
#
|
409
|
+
# @return [Google::Apis::AppengineV1beta4::Operation]
|
410
|
+
#
|
411
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
412
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
413
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
414
|
+
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
415
|
+
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/operations/{operationsId}', options)
|
416
|
+
command.response_representation = Google::Apis::AppengineV1beta4::Operation::Representation
|
417
|
+
command.response_class = Google::Apis::AppengineV1beta4::Operation
|
418
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
419
|
+
command.params['operationsId'] = operations_id unless operations_id.nil?
|
420
|
+
command.query['fields'] = fields unless fields.nil?
|
421
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
422
|
+
execute_or_queue_command(command, &block)
|
423
|
+
end
|
424
|
+
|
425
|
+
# Lists operations that match the specified filter in the request. If the server
|
426
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
427
|
+
# binding below allows API services to override the binding to use different
|
428
|
+
# resource name schemes, such as `users/*/operations`.
|
429
|
+
# @param [String] apps_id
|
430
|
+
# Part of `name`. The name of the operation collection.
|
431
|
+
# @param [String] filter
|
432
|
+
# The standard list filter.
|
433
|
+
# @param [Fixnum] page_size
|
434
|
+
# The standard list page size.
|
435
|
+
# @param [String] page_token
|
436
|
+
# The standard list page token.
|
437
|
+
# @param [String] fields
|
438
|
+
# Selector specifying which fields to include in a partial response.
|
439
|
+
# @param [String] quota_user
|
440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
442
|
+
# @param [Google::Apis::RequestOptions] options
|
443
|
+
# Request-specific options
|
444
|
+
#
|
445
|
+
# @yield [result, err] Result & error if block supplied
|
446
|
+
# @yieldparam result [Google::Apis::AppengineV1beta4::ListOperationsResponse] parsed result object
|
447
|
+
# @yieldparam err [StandardError] error object if request failed
|
448
|
+
#
|
449
|
+
# @return [Google::Apis::AppengineV1beta4::ListOperationsResponse]
|
450
|
+
#
|
451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
454
|
+
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
455
|
+
command = make_simple_command(:get, 'v1beta4/apps/{appsId}/operations', options)
|
456
|
+
command.response_representation = Google::Apis::AppengineV1beta4::ListOperationsResponse::Representation
|
457
|
+
command.response_class = Google::Apis::AppengineV1beta4::ListOperationsResponse
|
458
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
459
|
+
command.query['filter'] = filter unless filter.nil?
|
460
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
461
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
462
|
+
command.query['fields'] = fields unless fields.nil?
|
463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
464
|
+
execute_or_queue_command(command, &block)
|
465
|
+
end
|
466
|
+
|
467
|
+
protected
|
468
|
+
|
469
|
+
def apply_command_defaults(command)
|
470
|
+
command.query['key'] = key unless key.nil?
|
471
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
472
|
+
end
|
473
|
+
end
|
474
|
+
end
|
475
|
+
end
|
476
|
+
end
|