google-api-client 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/api_names.yaml +42335 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
- data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
- data/generated/google/apis/admin_directory_v1/service.rb +61 -61
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +6 -5
- data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
- data/generated/google/apis/appengine_v1/representations.rb +331 -331
- data/generated/google/apis/appengine_v1/service.rb +173 -168
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
- data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
- data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
- data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
- data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
- data/generated/google/apis/cloudfunctions_v1.rb +1 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
- data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
- data/generated/google/apis/cloudkms_v1/service.rb +272 -272
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
- data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +194 -25
- data/generated/google/apis/compute_beta/representations.rb +42 -0
- data/generated/google/apis/compute_beta/service.rb +196 -100
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +69 -18
- data/generated/google/apis/compute_v1/representations.rb +16 -0
- data/generated/google/apis/compute_v1/service.rb +84 -26
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +794 -586
- data/generated/google/apis/container_v1/representations.rb +202 -118
- data/generated/google/apis/container_v1/service.rb +396 -167
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +4 -4
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +487 -484
- data/generated/google/apis/dataproc_v1/representations.rb +83 -83
- data/generated/google/apis/dataproc_v1/service.rb +299 -297
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +703 -703
- data/generated/google/apis/datastore_v1/representations.rb +148 -148
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
- data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
- data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
- data/generated/google/apis/dfareporting_v2_8.rb +40 -0
- data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
- data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +15 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +16 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
- data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
- data/generated/google/apis/firebaserules_v1/service.rb +118 -118
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +920 -920
- data/generated/google/apis/genomics_v1/representations.rb +202 -202
- data/generated/google/apis/genomics_v1/service.rb +1092 -1092
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +455 -435
- data/generated/google/apis/iam_v1/representations.rb +96 -93
- data/generated/google/apis/iam_v1/service.rb +157 -157
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +9 -9
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +455 -455
- data/generated/google/apis/language_v1/representations.rb +102 -102
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +216 -215
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +908 -895
- data/generated/google/apis/logging_v2/representations.rb +121 -120
- data/generated/google/apis/logging_v2/service.rb +489 -489
- data/generated/google/apis/logging_v2beta1.rb +4 -4
- data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
- data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
- data/generated/google/apis/logging_v2beta1/service.rb +249 -249
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
- data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1186 -1183
- data/generated/google/apis/ml_v1/representations.rb +177 -177
- data/generated/google/apis/ml_v1/service.rb +244 -244
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +866 -866
- data/generated/google/apis/monitoring_v3/representations.rb +163 -163
- data/generated/google/apis/monitoring_v3/service.rb +355 -316
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1499 -1499
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +512 -512
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +544 -423
- data/generated/google/apis/people_v1/representations.rb +127 -109
- data/generated/google/apis/people_v1/service.rb +8 -8
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +377 -377
- data/generated/google/apis/pubsub_v1/representations.rb +82 -82
- data/generated/google/apis/pubsub_v1/service.rb +93 -93
- data/generated/google/apis/runtimeconfig_v1.rb +6 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +113 -58
- data/generated/google/apis/script_v1/representations.rb +43 -14
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
- data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
- data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
- data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
- data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
- data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
- data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
- data/generated/google/apis/serviceuser_v1/service.rb +19 -19
- data/generated/google/apis/sheets_v4.rb +4 -1
- data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
- data/generated/google/apis/sheets_v4/representations.rb +858 -858
- data/generated/google/apis/sheets_v4/service.rb +115 -115
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2890 -2890
- data/generated/google/apis/slides_v1/representations.rb +638 -638
- data/generated/google/apis/slides_v1/service.rb +36 -36
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
- data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +466 -466
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
- data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
- data/generated/google/apis/speech_v1beta1/service.rb +49 -49
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
- data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
- data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +0 -12
- data/generated/google/apis/surveys_v2/representations.rb +0 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1301 -1302
- data/generated/google/apis/vision_v1/representations.rb +183 -183
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
- data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
@@ -22,7 +22,8 @@ module Google
|
|
22
22
|
module AppengineV1
|
23
23
|
# Google App Engine Admin API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# The App Engine Admin API enables developers to provision and manage their App
|
26
|
+
# Engine applications.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/appengine_v1'
|
@@ -47,9 +48,13 @@ module Google
|
|
47
48
|
@batch_path = 'batch'
|
48
49
|
end
|
49
50
|
|
50
|
-
#
|
51
|
+
# Recreates the required App Engine features for the specified App Engine
|
52
|
+
# application, for example a Cloud Storage bucket or App Engine service account.
|
53
|
+
# Use this method if you receive an error message about a missing feature, for
|
54
|
+
# example, Error retrieving the App Engine service account.
|
51
55
|
# @param [String] apps_id
|
52
|
-
# Part of `name`. Name of the
|
56
|
+
# Part of `name`. Name of the application to repair. Example: apps/myapp
|
57
|
+
# @param [Google::Apis::AppengineV1::RepairApplicationRequest] repair_application_request_object
|
53
58
|
# @param [String] fields
|
54
59
|
# Selector specifying which fields to include in a partial response.
|
55
60
|
# @param [String] quota_user
|
@@ -59,31 +64,29 @@ module Google
|
|
59
64
|
# Request-specific options
|
60
65
|
#
|
61
66
|
# @yield [result, err] Result & error if block supplied
|
62
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
67
|
+
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
63
68
|
# @yieldparam err [StandardError] error object if request failed
|
64
69
|
#
|
65
|
-
# @return [Google::Apis::AppengineV1::
|
70
|
+
# @return [Google::Apis::AppengineV1::Operation]
|
66
71
|
#
|
67
72
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
68
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
|
-
def
|
71
|
-
command = make_simple_command(:
|
72
|
-
command.
|
73
|
-
command.
|
75
|
+
def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options)
|
77
|
+
command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation
|
78
|
+
command.request_object = repair_application_request_object
|
79
|
+
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
80
|
+
command.response_class = Google::Apis::AppengineV1::Operation
|
74
81
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
75
82
|
command.query['fields'] = fields unless fields.nil?
|
76
83
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
77
84
|
execute_or_queue_command(command, &block)
|
78
85
|
end
|
79
86
|
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
# the App Engine application located.For more information about App Engine
|
84
|
-
# applications, see Managing Projects, Applications, and Billing (https://cloud.
|
85
|
-
# google.com/appengine/docs/python/console/).
|
86
|
-
# @param [Google::Apis::AppengineV1::Application] application_object
|
87
|
+
# Gets information about an application.
|
88
|
+
# @param [String] apps_id
|
89
|
+
# Part of `name`. Name of the Application resource to get. Example: apps/myapp.
|
87
90
|
# @param [String] fields
|
88
91
|
# Selector specifying which fields to include in a partial response.
|
89
92
|
# @param [String] quota_user
|
@@ -93,29 +96,29 @@ module Google
|
|
93
96
|
# Request-specific options
|
94
97
|
#
|
95
98
|
# @yield [result, err] Result & error if block supplied
|
96
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
99
|
+
# @yieldparam result [Google::Apis::AppengineV1::Application] parsed result object
|
97
100
|
# @yieldparam err [StandardError] error object if request failed
|
98
101
|
#
|
99
|
-
# @return [Google::Apis::AppengineV1::
|
102
|
+
# @return [Google::Apis::AppengineV1::Application]
|
100
103
|
#
|
101
104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
102
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
103
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
104
|
-
def
|
105
|
-
command = make_simple_command(:
|
106
|
-
command.
|
107
|
-
command.
|
108
|
-
command.
|
109
|
-
command.response_class = Google::Apis::AppengineV1::Operation
|
107
|
+
def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}', options)
|
109
|
+
command.response_representation = Google::Apis::AppengineV1::Application::Representation
|
110
|
+
command.response_class = Google::Apis::AppengineV1::Application
|
111
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
110
112
|
command.query['fields'] = fields unless fields.nil?
|
111
113
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
112
114
|
execute_or_queue_command(command, &block)
|
113
115
|
end
|
114
116
|
|
115
117
|
# Updates the specified Application resource. You can update the following
|
116
|
-
# fields:
|
117
|
-
#
|
118
|
-
#
|
118
|
+
# fields:
|
119
|
+
# auth_domain - Google authentication domain for controlling user access to the
|
120
|
+
# application.
|
121
|
+
# default_cookie_expiration - Cookie expiration policy for the application.
|
119
122
|
# @param [String] apps_id
|
120
123
|
# Part of `name`. Name of the Application resource to update. Example: apps/
|
121
124
|
# myapp.
|
@@ -152,13 +155,14 @@ module Google
|
|
152
155
|
execute_or_queue_command(command, &block)
|
153
156
|
end
|
154
157
|
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
158
|
+
# Creates an App Engine application for a Google Cloud Platform project.
|
159
|
+
# Required fields:
|
160
|
+
# id - The ID of the target Cloud Platform project.
|
161
|
+
# location - The region (https://cloud.google.com/appengine/docs/locations)
|
162
|
+
# where you want the App Engine application located.For more information about
|
163
|
+
# App Engine applications, see Managing Projects, Applications, and Billing (
|
164
|
+
# https://cloud.google.com/appengine/docs/python/console/).
|
165
|
+
# @param [Google::Apis::AppengineV1::Application] application_object
|
162
166
|
# @param [String] fields
|
163
167
|
# Selector specifying which fields to include in a partial response.
|
164
168
|
# @param [String] quota_user
|
@@ -176,65 +180,22 @@ module Google
|
|
176
180
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
177
181
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
178
182
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
179
|
-
def
|
180
|
-
command = make_simple_command(:post, 'v1/apps
|
181
|
-
command.request_representation = Google::Apis::AppengineV1::
|
182
|
-
command.request_object =
|
183
|
+
def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
184
|
+
command = make_simple_command(:post, 'v1/apps', options)
|
185
|
+
command.request_representation = Google::Apis::AppengineV1::Application::Representation
|
186
|
+
command.request_object = application_object
|
183
187
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
184
188
|
command.response_class = Google::Apis::AppengineV1::Operation
|
185
|
-
command.params['appsId'] = apps_id unless apps_id.nil?
|
186
189
|
command.query['fields'] = fields unless fields.nil?
|
187
190
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
188
191
|
execute_or_queue_command(command, &block)
|
189
192
|
end
|
190
193
|
|
191
|
-
#
|
192
|
-
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
193
|
-
# below allows API services to override the binding to use different resource
|
194
|
-
# name schemes, such as users/*/operations.
|
195
|
-
# @param [String] apps_id
|
196
|
-
# Part of `name`. The name of the operation collection.
|
197
|
-
# @param [String] filter
|
198
|
-
# The standard list filter.
|
199
|
-
# @param [Fixnum] page_size
|
200
|
-
# The standard list page size.
|
201
|
-
# @param [String] page_token
|
202
|
-
# The standard list page token.
|
203
|
-
# @param [String] fields
|
204
|
-
# Selector specifying which fields to include in a partial response.
|
205
|
-
# @param [String] quota_user
|
206
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
207
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
208
|
-
# @param [Google::Apis::RequestOptions] options
|
209
|
-
# Request-specific options
|
210
|
-
#
|
211
|
-
# @yield [result, err] Result & error if block supplied
|
212
|
-
# @yieldparam result [Google::Apis::AppengineV1::ListOperationsResponse] parsed result object
|
213
|
-
# @yieldparam err [StandardError] error object if request failed
|
214
|
-
#
|
215
|
-
# @return [Google::Apis::AppengineV1::ListOperationsResponse]
|
216
|
-
#
|
217
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
218
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
219
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
220
|
-
def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
221
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
|
222
|
-
command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
|
223
|
-
command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
|
224
|
-
command.params['appsId'] = apps_id unless apps_id.nil?
|
225
|
-
command.query['filter'] = filter unless filter.nil?
|
226
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
227
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
228
|
-
command.query['fields'] = fields unless fields.nil?
|
229
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
230
|
-
execute_or_queue_command(command, &block)
|
231
|
-
end
|
232
|
-
|
233
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
234
|
-
# to poll the operation result at intervals as recommended by the API service.
|
194
|
+
# Deletes the specified service and all enclosed versions.
|
235
195
|
# @param [String] apps_id
|
236
|
-
# Part of `name`.
|
237
|
-
#
|
196
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
197
|
+
# default.
|
198
|
+
# @param [String] services_id
|
238
199
|
# Part of `name`. See documentation of `appsId`.
|
239
200
|
# @param [String] fields
|
240
201
|
# Selector specifying which fields to include in a partial response.
|
@@ -253,12 +214,12 @@ module Google
|
|
253
214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
254
215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
255
216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
256
|
-
def
|
257
|
-
command = make_simple_command(:
|
217
|
+
def delete_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
|
218
|
+
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}', options)
|
258
219
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
259
220
|
command.response_class = Google::Apis::AppengineV1::Operation
|
260
221
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
261
|
-
command.params['
|
222
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
262
223
|
command.query['fields'] = fields unless fields.nil?
|
263
224
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
264
225
|
execute_or_queue_command(command, &block)
|
@@ -388,12 +349,14 @@ module Google
|
|
388
349
|
execute_or_queue_command(command, &block)
|
389
350
|
end
|
390
351
|
|
391
|
-
# Deletes
|
352
|
+
# Deletes an existing Version resource.
|
392
353
|
# @param [String] apps_id
|
393
354
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
394
|
-
# default.
|
355
|
+
# default/versions/v1.
|
395
356
|
# @param [String] services_id
|
396
357
|
# Part of `name`. See documentation of `appsId`.
|
358
|
+
# @param [String] versions_id
|
359
|
+
# Part of `name`. See documentation of `appsId`.
|
397
360
|
# @param [String] fields
|
398
361
|
# Selector specifying which fields to include in a partial response.
|
399
362
|
# @param [String] quota_user
|
@@ -411,12 +374,13 @@ module Google
|
|
411
374
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
412
375
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
413
376
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
414
|
-
def
|
415
|
-
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}', options)
|
377
|
+
def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, quota_user: nil, options: nil, &block)
|
378
|
+
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
416
379
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
417
380
|
command.response_class = Google::Apis::AppengineV1::Operation
|
418
381
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
419
382
|
command.params['servicesId'] = services_id unless services_id.nil?
|
383
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
420
384
|
command.query['fields'] = fields unless fields.nil?
|
421
385
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
422
386
|
execute_or_queue_command(command, &block)
|
@@ -428,12 +392,12 @@ module Google
|
|
428
392
|
# services/default.
|
429
393
|
# @param [String] services_id
|
430
394
|
# Part of `parent`. See documentation of `appsId`.
|
431
|
-
# @param [String] view
|
432
|
-
# Controls the set of fields returned in the List response.
|
433
|
-
# @param [Fixnum] page_size
|
434
|
-
# Maximum results to return per page.
|
435
395
|
# @param [String] page_token
|
436
396
|
# Continuation token for fetching the next page of results.
|
397
|
+
# @param [Fixnum] page_size
|
398
|
+
# Maximum results to return per page.
|
399
|
+
# @param [String] view
|
400
|
+
# Controls the set of fields returned in the List response.
|
437
401
|
# @param [String] fields
|
438
402
|
# Selector specifying which fields to include in a partial response.
|
439
403
|
# @param [String] quota_user
|
@@ -451,15 +415,15 @@ module Google
|
|
451
415
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
452
416
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
453
417
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
454
|
-
def list_app_service_versions(apps_id, services_id,
|
418
|
+
def list_app_service_versions(apps_id, services_id, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
455
419
|
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
|
456
420
|
command.response_representation = Google::Apis::AppengineV1::ListVersionsResponse::Representation
|
457
421
|
command.response_class = Google::Apis::AppengineV1::ListVersionsResponse
|
458
422
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
459
423
|
command.params['servicesId'] = services_id unless services_id.nil?
|
460
|
-
command.query['view'] = view unless view.nil?
|
461
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
462
424
|
command.query['pageToken'] = page_token unless page_token.nil?
|
425
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
426
|
+
command.query['view'] = view unless view.nil?
|
463
427
|
command.query['fields'] = fields unless fields.nil?
|
464
428
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
465
429
|
execute_or_queue_command(command, &block)
|
@@ -506,13 +470,34 @@ module Google
|
|
506
470
|
execute_or_queue_command(command, &block)
|
507
471
|
end
|
508
472
|
|
509
|
-
#
|
473
|
+
# Updates the specified Version resource. You can specify the following fields
|
474
|
+
# depending on the App Engine environment and type of scaling that the version
|
475
|
+
# resource uses:
|
476
|
+
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
477
|
+
# rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version
|
478
|
+
# resources that use basic scaling, manual scaling, or run in the App Engine
|
479
|
+
# flexible environment.
|
480
|
+
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
481
|
+
# rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version
|
482
|
+
# resources that run in the App Engine standard environment.
|
483
|
+
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
484
|
+
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
485
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
486
|
+
# in the App Engine standard environment.
|
487
|
+
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
488
|
+
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
489
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
490
|
+
# in the App Engine standard environment.
|
510
491
|
# @param [String] apps_id
|
511
|
-
# Part of `
|
512
|
-
#
|
492
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
493
|
+
# default/versions/1.
|
513
494
|
# @param [String] services_id
|
514
|
-
# Part of `
|
495
|
+
# Part of `name`. See documentation of `appsId`.
|
496
|
+
# @param [String] versions_id
|
497
|
+
# Part of `name`. See documentation of `appsId`.
|
515
498
|
# @param [Google::Apis::AppengineV1::Version] version_object
|
499
|
+
# @param [String] update_mask
|
500
|
+
# Standard field mask for the set of fields to be updated.
|
516
501
|
# @param [String] fields
|
517
502
|
# Selector specifying which fields to include in a partial response.
|
518
503
|
# @param [String] quota_user
|
@@ -530,45 +515,28 @@ module Google
|
|
530
515
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
531
516
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
532
517
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
533
|
-
def
|
534
|
-
command = make_simple_command(:
|
518
|
+
def patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
519
|
+
command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
535
520
|
command.request_representation = Google::Apis::AppengineV1::Version::Representation
|
536
521
|
command.request_object = version_object
|
537
522
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
538
523
|
command.response_class = Google::Apis::AppengineV1::Operation
|
539
524
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
540
525
|
command.params['servicesId'] = services_id unless services_id.nil?
|
526
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
527
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
541
528
|
command.query['fields'] = fields unless fields.nil?
|
542
529
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
543
530
|
execute_or_queue_command(command, &block)
|
544
531
|
end
|
545
532
|
|
546
|
-
#
|
547
|
-
# depending on the App Engine environment and type of scaling that the version
|
548
|
-
# resource uses: serving_status (https://cloud.google.com/appengine/docs/admin-
|
549
|
-
# api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status):
|
550
|
-
# For Version resources that use basic scaling, manual scaling, or run in the
|
551
|
-
# App Engine flexible environment. instance_class (https://cloud.google.com/
|
552
|
-
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.
|
553
|
-
# FIELDS.instance_class): For Version resources that run in the App Engine
|
554
|
-
# standard environment. automatic_scaling.min_idle_instances (https://cloud.
|
555
|
-
# google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
556
|
-
# Version.FIELDS.automatic_scaling): For Version resources that use automatic
|
557
|
-
# scaling and run in the App Engine standard environment. automatic_scaling.
|
558
|
-
# max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/
|
559
|
-
# reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
|
560
|
-
# For Version resources that use automatic scaling and run in the App Engine
|
561
|
-
# standard environment.
|
533
|
+
# Deploys code and resource files to a new version.
|
562
534
|
# @param [String] apps_id
|
563
|
-
# Part of `
|
564
|
-
#
|
535
|
+
# Part of `parent`. Name of the parent resource to create this version under.
|
536
|
+
# Example: apps/myapp/services/default.
|
565
537
|
# @param [String] services_id
|
566
|
-
# Part of `
|
567
|
-
# @param [String] versions_id
|
568
|
-
# Part of `name`. See documentation of `appsId`.
|
538
|
+
# Part of `parent`. See documentation of `appsId`.
|
569
539
|
# @param [Google::Apis::AppengineV1::Version] version_object
|
570
|
-
# @param [String] update_mask
|
571
|
-
# Standard field mask for the set of fields to be updated.
|
572
540
|
# @param [String] fields
|
573
541
|
# Selector specifying which fields to include in a partial response.
|
574
542
|
# @param [String] quota_user
|
@@ -586,29 +554,29 @@ module Google
|
|
586
554
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
587
555
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
588
556
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
589
|
-
def
|
590
|
-
command = make_simple_command(:
|
557
|
+
def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
558
|
+
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
|
591
559
|
command.request_representation = Google::Apis::AppengineV1::Version::Representation
|
592
560
|
command.request_object = version_object
|
593
561
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
594
562
|
command.response_class = Google::Apis::AppengineV1::Operation
|
595
563
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
596
564
|
command.params['servicesId'] = services_id unless services_id.nil?
|
597
|
-
command.params['versionsId'] = versions_id unless versions_id.nil?
|
598
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
599
565
|
command.query['fields'] = fields unless fields.nil?
|
600
566
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
601
567
|
execute_or_queue_command(command, &block)
|
602
568
|
end
|
603
569
|
|
604
|
-
#
|
570
|
+
# Stops a running instance.
|
605
571
|
# @param [String] apps_id
|
606
572
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
607
|
-
# default/versions/v1.
|
573
|
+
# default/versions/v1/instances/instance-1.
|
608
574
|
# @param [String] services_id
|
609
575
|
# Part of `name`. See documentation of `appsId`.
|
610
576
|
# @param [String] versions_id
|
611
577
|
# Part of `name`. See documentation of `appsId`.
|
578
|
+
# @param [String] instances_id
|
579
|
+
# Part of `name`. See documentation of `appsId`.
|
612
580
|
# @param [String] fields
|
613
581
|
# Selector specifying which fields to include in a partial response.
|
614
582
|
# @param [String] quota_user
|
@@ -626,13 +594,14 @@ module Google
|
|
626
594
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
627
595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
628
596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
629
|
-
def
|
630
|
-
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
597
|
+
def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
598
|
+
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
631
599
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
632
600
|
command.response_class = Google::Apis::AppengineV1::Operation
|
633
601
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
634
602
|
command.params['servicesId'] = services_id unless services_id.nil?
|
635
603
|
command.params['versionsId'] = versions_id unless versions_id.nil?
|
604
|
+
command.params['instancesId'] = instances_id unless instances_id.nil?
|
636
605
|
command.query['fields'] = fields unless fields.nil?
|
637
606
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
638
607
|
execute_or_queue_command(command, &block)
|
@@ -648,10 +617,10 @@ module Google
|
|
648
617
|
# Part of `parent`. See documentation of `appsId`.
|
649
618
|
# @param [String] versions_id
|
650
619
|
# Part of `parent`. See documentation of `appsId`.
|
651
|
-
# @param [Fixnum] page_size
|
652
|
-
# Maximum results to return per page.
|
653
620
|
# @param [String] page_token
|
654
621
|
# Continuation token for fetching the next page of results.
|
622
|
+
# @param [Fixnum] page_size
|
623
|
+
# Maximum results to return per page.
|
655
624
|
# @param [String] fields
|
656
625
|
# Selector specifying which fields to include in a partial response.
|
657
626
|
# @param [String] quota_user
|
@@ -669,15 +638,15 @@ module Google
|
|
669
638
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
670
639
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
671
640
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
672
|
-
def list_app_service_version_instances(apps_id, services_id, versions_id,
|
641
|
+
def list_app_service_version_instances(apps_id, services_id, versions_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
673
642
|
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
|
674
643
|
command.response_representation = Google::Apis::AppengineV1::ListInstancesResponse::Representation
|
675
644
|
command.response_class = Google::Apis::AppengineV1::ListInstancesResponse
|
676
645
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
677
646
|
command.params['servicesId'] = services_id unless services_id.nil?
|
678
647
|
command.params['versionsId'] = versions_id unless versions_id.nil?
|
679
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
680
648
|
command.query['pageToken'] = page_token unless page_token.nil?
|
649
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
681
650
|
command.query['fields'] = fields unless fields.nil?
|
682
651
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
683
652
|
execute_or_queue_command(command, &block)
|
@@ -723,7 +692,12 @@ module Google
|
|
723
692
|
execute_or_queue_command(command, &block)
|
724
693
|
end
|
725
694
|
|
726
|
-
#
|
695
|
+
# Enables debugging on a VM instance. This allows you to use the SSH command to
|
696
|
+
# connect to the virtual machine where the instance lives. While in "debug mode",
|
697
|
+
# the instance continues to serve live traffic. You should delete the instance
|
698
|
+
# when you are done debugging and then allow the system to take over and
|
699
|
+
# determine if another instance should be started.Only applicable for instances
|
700
|
+
# in App Engine flexible environment.
|
727
701
|
# @param [String] apps_id
|
728
702
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
729
703
|
# default/versions/v1/instances/instance-1.
|
@@ -733,6 +707,7 @@ module Google
|
|
733
707
|
# Part of `name`. See documentation of `appsId`.
|
734
708
|
# @param [String] instances_id
|
735
709
|
# Part of `name`. See documentation of `appsId`.
|
710
|
+
# @param [Google::Apis::AppengineV1::DebugInstanceRequest] debug_instance_request_object
|
736
711
|
# @param [String] fields
|
737
712
|
# Selector specifying which fields to include in a partial response.
|
738
713
|
# @param [String] quota_user
|
@@ -750,8 +725,10 @@ module Google
|
|
750
725
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
751
726
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
752
727
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
753
|
-
def
|
754
|
-
command = make_simple_command(:
|
728
|
+
def debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
729
|
+
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
|
730
|
+
command.request_representation = Google::Apis::AppengineV1::DebugInstanceRequest::Representation
|
731
|
+
command.request_object = debug_instance_request_object
|
755
732
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
756
733
|
command.response_class = Google::Apis::AppengineV1::Operation
|
757
734
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
@@ -763,22 +740,54 @@ module Google
|
|
763
740
|
execute_or_queue_command(command, &block)
|
764
741
|
end
|
765
742
|
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
770
|
-
# determine if another instance should be started.Only applicable for instances
|
771
|
-
# in App Engine flexible environment.
|
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
|
+
# below allows API services to override the binding to use different resource
|
746
|
+
# name schemes, such as users/*/operations.
|
772
747
|
# @param [String] apps_id
|
773
|
-
# Part of `name`.
|
774
|
-
#
|
775
|
-
#
|
776
|
-
#
|
777
|
-
#
|
778
|
-
#
|
779
|
-
#
|
748
|
+
# Part of `name`. The name of the operation collection.
|
749
|
+
# @param [Fixnum] page_size
|
750
|
+
# The standard list page size.
|
751
|
+
# @param [String] filter
|
752
|
+
# The standard list filter.
|
753
|
+
# @param [String] page_token
|
754
|
+
# The standard list page token.
|
755
|
+
# @param [String] fields
|
756
|
+
# Selector specifying which fields to include in a partial response.
|
757
|
+
# @param [String] quota_user
|
758
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
759
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
760
|
+
# @param [Google::Apis::RequestOptions] options
|
761
|
+
# Request-specific options
|
762
|
+
#
|
763
|
+
# @yield [result, err] Result & error if block supplied
|
764
|
+
# @yieldparam result [Google::Apis::AppengineV1::ListOperationsResponse] parsed result object
|
765
|
+
# @yieldparam err [StandardError] error object if request failed
|
766
|
+
#
|
767
|
+
# @return [Google::Apis::AppengineV1::ListOperationsResponse]
|
768
|
+
#
|
769
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
770
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
771
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
772
|
+
def list_app_operations(apps_id, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
773
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
|
774
|
+
command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
|
775
|
+
command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
|
776
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
777
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
778
|
+
command.query['filter'] = filter unless filter.nil?
|
779
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
780
|
+
command.query['fields'] = fields unless fields.nil?
|
781
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
782
|
+
execute_or_queue_command(command, &block)
|
783
|
+
end
|
784
|
+
|
785
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
786
|
+
# to poll the operation result at intervals as recommended by the API service.
|
787
|
+
# @param [String] apps_id
|
788
|
+
# Part of `name`. The name of the operation resource.
|
789
|
+
# @param [String] operations_id
|
780
790
|
# Part of `name`. See documentation of `appsId`.
|
781
|
-
# @param [Google::Apis::AppengineV1::DebugInstanceRequest] debug_instance_request_object
|
782
791
|
# @param [String] fields
|
783
792
|
# Selector specifying which fields to include in a partial response.
|
784
793
|
# @param [String] quota_user
|
@@ -796,16 +805,12 @@ module Google
|
|
796
805
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
797
806
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
798
807
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
799
|
-
def
|
800
|
-
command = make_simple_command(:
|
801
|
-
command.request_representation = Google::Apis::AppengineV1::DebugInstanceRequest::Representation
|
802
|
-
command.request_object = debug_instance_request_object
|
808
|
+
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
809
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
|
803
810
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
804
811
|
command.response_class = Google::Apis::AppengineV1::Operation
|
805
812
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
806
|
-
command.params['
|
807
|
-
command.params['versionsId'] = versions_id unless versions_id.nil?
|
808
|
-
command.params['instancesId'] = instances_id unless instances_id.nil?
|
813
|
+
command.params['operationsId'] = operations_id unless operations_id.nil?
|
809
814
|
command.query['fields'] = fields unless fields.nil?
|
810
815
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
811
816
|
execute_or_queue_command(command, &block)
|
@@ -816,10 +821,10 @@ module Google
|
|
816
821
|
# Part of `name`. The resource that owns the locations collection, if applicable.
|
817
822
|
# @param [String] filter
|
818
823
|
# The standard list filter.
|
819
|
-
# @param [Fixnum] page_size
|
820
|
-
# The standard list page size.
|
821
824
|
# @param [String] page_token
|
822
825
|
# The standard list page token.
|
826
|
+
# @param [Fixnum] page_size
|
827
|
+
# The standard list page size.
|
823
828
|
# @param [String] fields
|
824
829
|
# Selector specifying which fields to include in a partial response.
|
825
830
|
# @param [String] quota_user
|
@@ -837,14 +842,14 @@ module Google
|
|
837
842
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
838
843
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
839
844
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
840
|
-
def list_app_locations(apps_id, filter: nil,
|
845
|
+
def list_app_locations(apps_id, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
841
846
|
command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
|
842
847
|
command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation
|
843
848
|
command.response_class = Google::Apis::AppengineV1::ListLocationsResponse
|
844
849
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
845
850
|
command.query['filter'] = filter unless filter.nil?
|
846
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
847
851
|
command.query['pageToken'] = page_token unless page_token.nil?
|
852
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
848
853
|
command.query['fields'] = fields unless fields.nil?
|
849
854
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
850
855
|
execute_or_queue_command(command, &block)
|