google-api-client 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +4 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- 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 +399 -399
- data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
- data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +747 -747
- data/generated/google/apis/appengine_v1/representations.rb +158 -158
- data/generated/google/apis/appengine_v1/service.rb +214 -214
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +517 -515
- data/generated/google/apis/classroom_v1/representations.rb +147 -147
- data/generated/google/apis/classroom_v1/service.rb +1144 -1143
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
- data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
- data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
- data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
- data/generated/google/apis/cloudkms_v1/service.rb +276 -276
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +82 -6
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +1177 -834
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +371 -1
- data/generated/google/apis/compute_v1/representations.rb +139 -0
- data/generated/google/apis/compute_v1/service.rb +257 -9
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1122 -826
- data/generated/google/apis/container_v1/representations.rb +279 -135
- data/generated/google/apis/container_v1/service.rb +440 -98
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
- data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
- data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +450 -431
- data/generated/google/apis/dataproc_v1/representations.rb +92 -92
- data/generated/google/apis/dataproc_v1/service.rb +200 -200
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +397 -397
- data/generated/google/apis/datastore_v1/representations.rb +100 -100
- 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 +79 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
- data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
- data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
- data/generated/google/apis/firebaserules_v1/service.rb +151 -151
- 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 +9 -9
- data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
- data/generated/google/apis/genomics_v1/representations.rb +306 -306
- data/generated/google/apis/genomics_v1/service.rb +1172 -1172
- 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 +243 -243
- data/generated/google/apis/iam_v1/representations.rb +79 -79
- data/generated/google/apis/iam_v1/service.rb +137 -137
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +451 -451
- data/generated/google/apis/language_v1/representations.rb +103 -103
- data/generated/google/apis/language_v1/service.rb +49 -49
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +459 -459
- data/generated/google/apis/language_v1beta1/representations.rb +110 -110
- data/generated/google/apis/language_v1beta1/service.rb +43 -43
- data/generated/google/apis/logging_v2.rb +8 -8
- data/generated/google/apis/logging_v2/classes.rb +915 -915
- data/generated/google/apis/logging_v2/representations.rb +142 -142
- data/generated/google/apis/logging_v2/service.rb +415 -415
- data/generated/google/apis/logging_v2beta1.rb +8 -8
- data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
- data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
- data/generated/google/apis/logging_v2beta1/service.rb +221 -221
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
- data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
- data/generated/google/apis/manufacturers_v1/service.rb +101 -4
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +709 -673
- data/generated/google/apis/ml_v1/representations.rb +154 -151
- data/generated/google/apis/ml_v1/service.rb +341 -354
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +869 -869
- data/generated/google/apis/monitoring_v3/representations.rb +171 -171
- data/generated/google/apis/monitoring_v3/service.rb +340 -340
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1569 -1569
- data/generated/google/apis/partners_v2/representations.rb +256 -256
- data/generated/google/apis/partners_v2/service.rb +530 -530
- data/generated/google/apis/people_v1.rb +7 -7
- data/generated/google/apis/people_v1/classes.rb +1287 -946
- data/generated/google/apis/people_v1/representations.rb +355 -203
- data/generated/google/apis/people_v1/service.rb +409 -32
- 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 +445 -445
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +286 -287
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +178 -178
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
- data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/script_v1.rb +4 -4
- data/generated/google/apis/script_v1/classes.rb +172 -172
- data/generated/google/apis/script_v1/representations.rb +41 -41
- 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 +6 -6
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
- data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
- data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
- data/generated/google/apis/servicemanagement_v1.rb +6 -6
- data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
- data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
- data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
- data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
- data/generated/google/apis/serviceuser_v1/service.rb +59 -59
- data/generated/google/apis/sheets_v4.rb +5 -5
- data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
- data/generated/google/apis/sheets_v4/representations.rb +957 -940
- data/generated/google/apis/sheets_v4/service.rb +175 -175
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2932 -2905
- data/generated/google/apis/slides_v1/representations.rb +709 -694
- data/generated/google/apis/slides_v1/service.rb +50 -50
- data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
- data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
- data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
- data/generated/google/apis/spanner_v1.rb +7 -1
- data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
- data/generated/google/apis/spanner_v1/representations.rb +342 -323
- data/generated/google/apis/spanner_v1/service.rb +502 -492
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
- data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
- data/generated/google/apis/speech_v1beta1/service.rb +91 -91
- 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 +784 -781
- data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
- data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
- data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
- data/generated/google/apis/translate_v2/classes.rb +107 -107
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +81 -81
- data/generated/google/apis/vision_v1.rb +4 -1
- data/generated/google/apis/vision_v1/classes.rb +527 -527
- data/generated/google/apis/vision_v1/representations.rb +115 -115
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
- data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
- data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/analytics.rb +2 -2
- metadata +2 -2
|
@@ -48,9 +48,13 @@ module Google
|
|
|
48
48
|
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
#
|
|
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.
|
|
52
55
|
# @param [String] apps_id
|
|
53
|
-
# 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
|
|
54
58
|
# @param [String] fields
|
|
55
59
|
# Selector specifying which fields to include in a partial response.
|
|
56
60
|
# @param [String] quota_user
|
|
@@ -60,18 +64,20 @@ module Google
|
|
|
60
64
|
# Request-specific options
|
|
61
65
|
#
|
|
62
66
|
# @yield [result, err] Result & error if block supplied
|
|
63
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
|
67
|
+
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
|
64
68
|
# @yieldparam err [StandardError] error object if request failed
|
|
65
69
|
#
|
|
66
|
-
# @return [Google::Apis::AppengineV1::
|
|
70
|
+
# @return [Google::Apis::AppengineV1::Operation]
|
|
67
71
|
#
|
|
68
72
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
69
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
70
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
71
|
-
def
|
|
72
|
-
command = make_simple_command(:
|
|
73
|
-
command.
|
|
74
|
-
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
|
|
75
81
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
76
82
|
command.query['fields'] = fields unless fields.nil?
|
|
77
83
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -119,6 +125,36 @@ module Google
|
|
|
119
125
|
execute_or_queue_command(command, &block)
|
|
120
126
|
end
|
|
121
127
|
|
|
128
|
+
# Gets information about an application.
|
|
129
|
+
# @param [String] apps_id
|
|
130
|
+
# Part of `name`. Name of the Application resource to get. Example: apps/myapp.
|
|
131
|
+
# @param [String] fields
|
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
|
133
|
+
# @param [String] quota_user
|
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
|
137
|
+
# Request-specific options
|
|
138
|
+
#
|
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
|
140
|
+
# @yieldparam result [Google::Apis::AppengineV1::Application] parsed result object
|
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
142
|
+
#
|
|
143
|
+
# @return [Google::Apis::AppengineV1::Application]
|
|
144
|
+
#
|
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
148
|
+
def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
149
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}', options)
|
|
150
|
+
command.response_representation = Google::Apis::AppengineV1::Application::Representation
|
|
151
|
+
command.response_class = Google::Apis::AppengineV1::Application
|
|
152
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
|
154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
155
|
+
execute_or_queue_command(command, &block)
|
|
156
|
+
end
|
|
157
|
+
|
|
122
158
|
# Creates an App Engine application for a Google Cloud Platform project.
|
|
123
159
|
# Required fields:
|
|
124
160
|
# id - The ID of the target Cloud Platform project.
|
|
@@ -155,13 +191,12 @@ module Google
|
|
|
155
191
|
execute_or_queue_command(command, &block)
|
|
156
192
|
end
|
|
157
193
|
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
# Use this method if you receive an error message about a missing feature, for
|
|
161
|
-
# example, Error retrieving the App Engine service account.
|
|
194
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
195
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
162
196
|
# @param [String] apps_id
|
|
163
|
-
# Part of `name`.
|
|
164
|
-
# @param [
|
|
197
|
+
# Part of `name`. The name of the operation resource.
|
|
198
|
+
# @param [String] operations_id
|
|
199
|
+
# Part of `name`. See documentation of `appsId`.
|
|
165
200
|
# @param [String] fields
|
|
166
201
|
# Selector specifying which fields to include in a partial response.
|
|
167
202
|
# @param [String] quota_user
|
|
@@ -179,13 +214,12 @@ module Google
|
|
|
179
214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
180
215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
181
216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
182
|
-
def
|
|
183
|
-
command = make_simple_command(:
|
|
184
|
-
command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation
|
|
185
|
-
command.request_object = repair_application_request_object
|
|
217
|
+
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
218
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
|
|
186
219
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
|
187
220
|
command.response_class = Google::Apis::AppengineV1::Operation
|
|
188
221
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
222
|
+
command.params['operationsId'] = operations_id unless operations_id.nil?
|
|
189
223
|
command.query['fields'] = fields unless fields.nil?
|
|
190
224
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
191
225
|
execute_or_queue_command(command, &block)
|
|
@@ -201,12 +235,12 @@ module Google
|
|
|
201
235
|
# binding is the parent resource, without the operations collection id.
|
|
202
236
|
# @param [String] apps_id
|
|
203
237
|
# Part of `name`. The name of the operation's parent resource.
|
|
204
|
-
# @param [String] page_token
|
|
205
|
-
# The standard list page token.
|
|
206
238
|
# @param [Fixnum] page_size
|
|
207
239
|
# The standard list page size.
|
|
208
240
|
# @param [String] filter
|
|
209
241
|
# The standard list filter.
|
|
242
|
+
# @param [String] page_token
|
|
243
|
+
# The standard list page token.
|
|
210
244
|
# @param [String] fields
|
|
211
245
|
# Selector specifying which fields to include in a partial response.
|
|
212
246
|
# @param [String] quota_user
|
|
@@ -224,24 +258,23 @@ module Google
|
|
|
224
258
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
225
259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
226
260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
227
|
-
def list_app_operations(apps_id,
|
|
261
|
+
def list_app_operations(apps_id, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
228
262
|
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
|
|
229
263
|
command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
|
|
230
264
|
command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
|
|
231
265
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
232
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
233
266
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
234
267
|
command.query['filter'] = filter unless filter.nil?
|
|
268
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
235
269
|
command.query['fields'] = fields unless fields.nil?
|
|
236
270
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
237
271
|
execute_or_queue_command(command, &block)
|
|
238
272
|
end
|
|
239
273
|
|
|
240
|
-
#
|
|
241
|
-
# to poll the operation result at intervals as recommended by the API service.
|
|
274
|
+
# Get information about a location.
|
|
242
275
|
# @param [String] apps_id
|
|
243
|
-
# Part of `name`.
|
|
244
|
-
# @param [String]
|
|
276
|
+
# Part of `name`. Resource name for the location.
|
|
277
|
+
# @param [String] locations_id
|
|
245
278
|
# Part of `name`. See documentation of `appsId`.
|
|
246
279
|
# @param [String] fields
|
|
247
280
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -252,20 +285,20 @@ module Google
|
|
|
252
285
|
# Request-specific options
|
|
253
286
|
#
|
|
254
287
|
# @yield [result, err] Result & error if block supplied
|
|
255
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
|
288
|
+
# @yieldparam result [Google::Apis::AppengineV1::Location] parsed result object
|
|
256
289
|
# @yieldparam err [StandardError] error object if request failed
|
|
257
290
|
#
|
|
258
|
-
# @return [Google::Apis::AppengineV1::
|
|
291
|
+
# @return [Google::Apis::AppengineV1::Location]
|
|
259
292
|
#
|
|
260
293
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
261
294
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
262
295
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
263
|
-
def
|
|
264
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/
|
|
265
|
-
command.response_representation = Google::Apis::AppengineV1::
|
|
266
|
-
command.response_class = Google::Apis::AppengineV1::
|
|
296
|
+
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
297
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options)
|
|
298
|
+
command.response_representation = Google::Apis::AppengineV1::Location::Representation
|
|
299
|
+
command.response_class = Google::Apis::AppengineV1::Location
|
|
267
300
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
268
|
-
command.params['
|
|
301
|
+
command.params['locationsId'] = locations_id unless locations_id.nil?
|
|
269
302
|
command.query['fields'] = fields unless fields.nil?
|
|
270
303
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
271
304
|
execute_or_queue_command(command, &block)
|
|
@@ -274,12 +307,12 @@ module Google
|
|
|
274
307
|
# Lists information about the supported locations for this service.
|
|
275
308
|
# @param [String] apps_id
|
|
276
309
|
# Part of `name`. The resource that owns the locations collection, if applicable.
|
|
310
|
+
# @param [String] filter
|
|
311
|
+
# The standard list filter.
|
|
277
312
|
# @param [String] page_token
|
|
278
313
|
# The standard list page token.
|
|
279
314
|
# @param [Fixnum] page_size
|
|
280
315
|
# The standard list page size.
|
|
281
|
-
# @param [String] filter
|
|
282
|
-
# The standard list filter.
|
|
283
316
|
# @param [String] fields
|
|
284
317
|
# Selector specifying which fields to include in a partial response.
|
|
285
318
|
# @param [String] quota_user
|
|
@@ -297,23 +330,24 @@ module Google
|
|
|
297
330
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
298
331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
299
332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
300
|
-
def list_app_locations(apps_id,
|
|
333
|
+
def list_app_locations(apps_id, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
301
334
|
command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
|
|
302
335
|
command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation
|
|
303
336
|
command.response_class = Google::Apis::AppengineV1::ListLocationsResponse
|
|
304
337
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
338
|
+
command.query['filter'] = filter unless filter.nil?
|
|
305
339
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
306
340
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
307
|
-
command.query['filter'] = filter unless filter.nil?
|
|
308
341
|
command.query['fields'] = fields unless fields.nil?
|
|
309
342
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
310
343
|
execute_or_queue_command(command, &block)
|
|
311
344
|
end
|
|
312
345
|
|
|
313
|
-
#
|
|
346
|
+
# Deletes the specified service and all enclosed versions.
|
|
314
347
|
# @param [String] apps_id
|
|
315
|
-
# Part of `name`.
|
|
316
|
-
#
|
|
348
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
349
|
+
# default.
|
|
350
|
+
# @param [String] services_id
|
|
317
351
|
# Part of `name`. See documentation of `appsId`.
|
|
318
352
|
# @param [String] fields
|
|
319
353
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -324,31 +358,47 @@ module Google
|
|
|
324
358
|
# Request-specific options
|
|
325
359
|
#
|
|
326
360
|
# @yield [result, err] Result & error if block supplied
|
|
327
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
|
361
|
+
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
|
328
362
|
# @yieldparam err [StandardError] error object if request failed
|
|
329
363
|
#
|
|
330
|
-
# @return [Google::Apis::AppengineV1::
|
|
364
|
+
# @return [Google::Apis::AppengineV1::Operation]
|
|
331
365
|
#
|
|
332
366
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
333
367
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
334
368
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
335
|
-
def
|
|
336
|
-
command = make_simple_command(:
|
|
337
|
-
command.response_representation = Google::Apis::AppengineV1::
|
|
338
|
-
command.response_class = Google::Apis::AppengineV1::
|
|
369
|
+
def delete_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
370
|
+
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}', options)
|
|
371
|
+
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
|
372
|
+
command.response_class = Google::Apis::AppengineV1::Operation
|
|
339
373
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
340
|
-
command.params['
|
|
374
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
341
375
|
command.query['fields'] = fields unless fields.nil?
|
|
342
376
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
343
377
|
execute_or_queue_command(command, &block)
|
|
344
378
|
end
|
|
345
379
|
|
|
346
|
-
#
|
|
380
|
+
# Updates the configuration of the specified service.
|
|
347
381
|
# @param [String] apps_id
|
|
348
|
-
# Part of `name`. Name of the resource
|
|
382
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
|
349
383
|
# default.
|
|
350
384
|
# @param [String] services_id
|
|
351
385
|
# Part of `name`. See documentation of `appsId`.
|
|
386
|
+
# @param [Google::Apis::AppengineV1::Service] service_object
|
|
387
|
+
# @param [String] update_mask
|
|
388
|
+
# Standard field mask for the set of fields to be updated.
|
|
389
|
+
# @param [Boolean] migrate_traffic
|
|
390
|
+
# Set to true to gradually shift traffic to one or more versions that you
|
|
391
|
+
# specify. By default, traffic is shifted immediately. For gradual traffic
|
|
392
|
+
# migration, the target versions must be located within instances that are
|
|
393
|
+
# configured for both warmup requests (https://cloud.google.com/appengine/docs/
|
|
394
|
+
# admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and
|
|
395
|
+
# automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
396
|
+
# rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy
|
|
397
|
+
# (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.
|
|
398
|
+
# services#shardby) field in the Service resource. Gradual traffic migration is
|
|
399
|
+
# not supported in the App Engine flexible environment. For examples, see
|
|
400
|
+
# Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-
|
|
401
|
+
# api/migrating-splitting-traffic).
|
|
352
402
|
# @param [String] fields
|
|
353
403
|
# Selector specifying which fields to include in a partial response.
|
|
354
404
|
# @param [String] quota_user
|
|
@@ -366,24 +416,27 @@ module Google
|
|
|
366
416
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
367
417
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
368
418
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
369
|
-
def
|
|
370
|
-
command = make_simple_command(:
|
|
419
|
+
def patch_app_service(apps_id, services_id, service_object = nil, update_mask: nil, migrate_traffic: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
420
|
+
command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}', options)
|
|
421
|
+
command.request_representation = Google::Apis::AppengineV1::Service::Representation
|
|
422
|
+
command.request_object = service_object
|
|
371
423
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
|
372
424
|
command.response_class = Google::Apis::AppengineV1::Operation
|
|
373
425
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
374
426
|
command.params['servicesId'] = services_id unless services_id.nil?
|
|
427
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
428
|
+
command.query['migrateTraffic'] = migrate_traffic unless migrate_traffic.nil?
|
|
375
429
|
command.query['fields'] = fields unless fields.nil?
|
|
376
430
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
377
431
|
execute_or_queue_command(command, &block)
|
|
378
432
|
end
|
|
379
433
|
|
|
380
|
-
#
|
|
434
|
+
# Gets the current configuration of the specified service.
|
|
381
435
|
# @param [String] apps_id
|
|
382
|
-
# Part of `
|
|
383
|
-
#
|
|
384
|
-
#
|
|
385
|
-
#
|
|
386
|
-
# Maximum results to return per page.
|
|
436
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
437
|
+
# default.
|
|
438
|
+
# @param [String] services_id
|
|
439
|
+
# Part of `name`. See documentation of `appsId`.
|
|
387
440
|
# @param [String] fields
|
|
388
441
|
# Selector specifying which fields to include in a partial response.
|
|
389
442
|
# @param [String] quota_user
|
|
@@ -393,32 +446,32 @@ module Google
|
|
|
393
446
|
# Request-specific options
|
|
394
447
|
#
|
|
395
448
|
# @yield [result, err] Result & error if block supplied
|
|
396
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
|
449
|
+
# @yieldparam result [Google::Apis::AppengineV1::Service] parsed result object
|
|
397
450
|
# @yieldparam err [StandardError] error object if request failed
|
|
398
451
|
#
|
|
399
|
-
# @return [Google::Apis::AppengineV1::
|
|
452
|
+
# @return [Google::Apis::AppengineV1::Service]
|
|
400
453
|
#
|
|
401
454
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
402
455
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
403
456
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
404
|
-
def
|
|
405
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/services', options)
|
|
406
|
-
command.response_representation = Google::Apis::AppengineV1::
|
|
407
|
-
command.response_class = Google::Apis::AppengineV1::
|
|
457
|
+
def get_app_service(apps_id, services_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
458
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}', options)
|
|
459
|
+
command.response_representation = Google::Apis::AppengineV1::Service::Representation
|
|
460
|
+
command.response_class = Google::Apis::AppengineV1::Service
|
|
408
461
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
409
|
-
command.
|
|
410
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
462
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
411
463
|
command.query['fields'] = fields unless fields.nil?
|
|
412
464
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
413
465
|
execute_or_queue_command(command, &block)
|
|
414
466
|
end
|
|
415
467
|
|
|
416
|
-
#
|
|
468
|
+
# Lists all the services in the application.
|
|
417
469
|
# @param [String] apps_id
|
|
418
|
-
# Part of `
|
|
419
|
-
#
|
|
420
|
-
#
|
|
421
|
-
#
|
|
470
|
+
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
|
471
|
+
# @param [String] page_token
|
|
472
|
+
# Continuation token for fetching the next page of results.
|
|
473
|
+
# @param [Fixnum] page_size
|
|
474
|
+
# Maximum results to return per page.
|
|
422
475
|
# @param [String] fields
|
|
423
476
|
# Selector specifying which fields to include in a partial response.
|
|
424
477
|
# @param [String] quota_user
|
|
@@ -428,47 +481,33 @@ module Google
|
|
|
428
481
|
# Request-specific options
|
|
429
482
|
#
|
|
430
483
|
# @yield [result, err] Result & error if block supplied
|
|
431
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
|
484
|
+
# @yieldparam result [Google::Apis::AppengineV1::ListServicesResponse] parsed result object
|
|
432
485
|
# @yieldparam err [StandardError] error object if request failed
|
|
433
486
|
#
|
|
434
|
-
# @return [Google::Apis::AppengineV1::
|
|
487
|
+
# @return [Google::Apis::AppengineV1::ListServicesResponse]
|
|
435
488
|
#
|
|
436
489
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
437
490
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
438
491
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
439
|
-
def
|
|
440
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/services
|
|
441
|
-
command.response_representation = Google::Apis::AppengineV1::
|
|
442
|
-
command.response_class = Google::Apis::AppengineV1::
|
|
492
|
+
def list_app_services(apps_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
493
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/services', options)
|
|
494
|
+
command.response_representation = Google::Apis::AppengineV1::ListServicesResponse::Representation
|
|
495
|
+
command.response_class = Google::Apis::AppengineV1::ListServicesResponse
|
|
443
496
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
444
|
-
command.
|
|
497
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
498
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
445
499
|
command.query['fields'] = fields unless fields.nil?
|
|
446
500
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
447
501
|
execute_or_queue_command(command, &block)
|
|
448
502
|
end
|
|
449
503
|
|
|
450
|
-
#
|
|
504
|
+
# Deploys code and resource files to a new version.
|
|
451
505
|
# @param [String] apps_id
|
|
452
|
-
# Part of `
|
|
453
|
-
# default.
|
|
506
|
+
# Part of `parent`. Name of the parent resource to create this version under.
|
|
507
|
+
# Example: apps/myapp/services/default.
|
|
454
508
|
# @param [String] services_id
|
|
455
|
-
# Part of `
|
|
456
|
-
# @param [Google::Apis::AppengineV1::
|
|
457
|
-
# @param [String] update_mask
|
|
458
|
-
# Standard field mask for the set of fields to be updated.
|
|
459
|
-
# @param [Boolean] migrate_traffic
|
|
460
|
-
# Set to true to gradually shift traffic to one or more versions that you
|
|
461
|
-
# specify. By default, traffic is shifted immediately. For gradual traffic
|
|
462
|
-
# migration, the target versions must be located within instances that are
|
|
463
|
-
# configured for both warmup requests (https://cloud.google.com/appengine/docs/
|
|
464
|
-
# admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and
|
|
465
|
-
# automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
466
|
-
# rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy
|
|
467
|
-
# (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.
|
|
468
|
-
# services#shardby) field in the Service resource. Gradual traffic migration is
|
|
469
|
-
# not supported in the App Engine flexible environment. For examples, see
|
|
470
|
-
# Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-
|
|
471
|
-
# api/migrating-splitting-traffic).
|
|
509
|
+
# Part of `parent`. See documentation of `appsId`.
|
|
510
|
+
# @param [Google::Apis::AppengineV1::Version] version_object
|
|
472
511
|
# @param [String] fields
|
|
473
512
|
# Selector specifying which fields to include in a partial response.
|
|
474
513
|
# @param [String] quota_user
|
|
@@ -486,16 +525,14 @@ module Google
|
|
|
486
525
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
487
526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
488
527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
489
|
-
def
|
|
490
|
-
command = make_simple_command(:
|
|
491
|
-
command.request_representation = Google::Apis::AppengineV1::
|
|
492
|
-
command.request_object =
|
|
528
|
+
def create_app_service_version(apps_id, services_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
529
|
+
command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
|
|
530
|
+
command.request_representation = Google::Apis::AppengineV1::Version::Representation
|
|
531
|
+
command.request_object = version_object
|
|
493
532
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
|
494
533
|
command.response_class = Google::Apis::AppengineV1::Operation
|
|
495
534
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
496
535
|
command.params['servicesId'] = services_id unless services_id.nil?
|
|
497
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
498
|
-
command.query['migrateTraffic'] = migrate_traffic unless migrate_traffic.nil?
|
|
499
536
|
command.query['fields'] = fields unless fields.nil?
|
|
500
537
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
501
538
|
execute_or_queue_command(command, &block)
|
|
@@ -538,18 +575,34 @@ module Google
|
|
|
538
575
|
execute_or_queue_command(command, &block)
|
|
539
576
|
end
|
|
540
577
|
|
|
541
|
-
#
|
|
578
|
+
# Updates the specified Version resource. You can specify the following fields
|
|
579
|
+
# depending on the App Engine environment and type of scaling that the version
|
|
580
|
+
# resource uses:
|
|
581
|
+
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
582
|
+
# rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version
|
|
583
|
+
# resources that use basic scaling, manual scaling, or run in the App Engine
|
|
584
|
+
# flexible environment.
|
|
585
|
+
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
586
|
+
# rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version
|
|
587
|
+
# resources that run in the App Engine standard environment.
|
|
588
|
+
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
|
589
|
+
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
|
590
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
591
|
+
# in the App Engine standard environment.
|
|
592
|
+
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
|
593
|
+
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
|
594
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
595
|
+
# in the App Engine standard environment.
|
|
542
596
|
# @param [String] apps_id
|
|
543
|
-
# Part of `
|
|
544
|
-
#
|
|
597
|
+
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
|
598
|
+
# default/versions/1.
|
|
545
599
|
# @param [String] services_id
|
|
546
|
-
# Part of `
|
|
547
|
-
# @param [String]
|
|
548
|
-
#
|
|
549
|
-
# @param [
|
|
550
|
-
#
|
|
551
|
-
#
|
|
552
|
-
# Controls the set of fields returned in the List response.
|
|
600
|
+
# Part of `name`. See documentation of `appsId`.
|
|
601
|
+
# @param [String] versions_id
|
|
602
|
+
# Part of `name`. See documentation of `appsId`.
|
|
603
|
+
# @param [Google::Apis::AppengineV1::Version] version_object
|
|
604
|
+
# @param [String] update_mask
|
|
605
|
+
# Standard field mask for the set of fields to be updated.
|
|
553
606
|
# @param [String] fields
|
|
554
607
|
# Selector specifying which fields to include in a partial response.
|
|
555
608
|
# @param [String] quota_user
|
|
@@ -559,23 +612,24 @@ module Google
|
|
|
559
612
|
# Request-specific options
|
|
560
613
|
#
|
|
561
614
|
# @yield [result, err] Result & error if block supplied
|
|
562
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
|
615
|
+
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
|
563
616
|
# @yieldparam err [StandardError] error object if request failed
|
|
564
617
|
#
|
|
565
|
-
# @return [Google::Apis::AppengineV1::
|
|
618
|
+
# @return [Google::Apis::AppengineV1::Operation]
|
|
566
619
|
#
|
|
567
620
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
568
621
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
569
622
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
570
|
-
def
|
|
571
|
-
command = make_simple_command(:
|
|
572
|
-
command.
|
|
573
|
-
command.
|
|
623
|
+
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)
|
|
624
|
+
command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
|
625
|
+
command.request_representation = Google::Apis::AppengineV1::Version::Representation
|
|
626
|
+
command.request_object = version_object
|
|
627
|
+
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
|
628
|
+
command.response_class = Google::Apis::AppengineV1::Operation
|
|
574
629
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
575
630
|
command.params['servicesId'] = services_id unless services_id.nil?
|
|
576
|
-
command.
|
|
577
|
-
command.query['
|
|
578
|
-
command.query['view'] = view unless view.nil?
|
|
631
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
632
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
579
633
|
command.query['fields'] = fields unless fields.nil?
|
|
580
634
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
581
635
|
execute_or_queue_command(command, &block)
|
|
@@ -622,34 +676,18 @@ module Google
|
|
|
622
676
|
execute_or_queue_command(command, &block)
|
|
623
677
|
end
|
|
624
678
|
|
|
625
|
-
#
|
|
626
|
-
# depending on the App Engine environment and type of scaling that the version
|
|
627
|
-
# resource uses:
|
|
628
|
-
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
629
|
-
# rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version
|
|
630
|
-
# resources that use basic scaling, manual scaling, or run in the App Engine
|
|
631
|
-
# flexible environment.
|
|
632
|
-
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
633
|
-
# rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version
|
|
634
|
-
# resources that run in the App Engine standard environment.
|
|
635
|
-
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
|
636
|
-
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
|
637
|
-
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
638
|
-
# in the App Engine standard environment.
|
|
639
|
-
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
|
640
|
-
# admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
|
|
641
|
-
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
642
|
-
# in the App Engine standard environment.
|
|
679
|
+
# Lists the versions of a service.
|
|
643
680
|
# @param [String] apps_id
|
|
644
|
-
# Part of `
|
|
645
|
-
# default
|
|
681
|
+
# Part of `parent`. Name of the parent Service resource. Example: apps/myapp/
|
|
682
|
+
# services/default.
|
|
646
683
|
# @param [String] services_id
|
|
647
|
-
# Part of `
|
|
648
|
-
# @param [String]
|
|
649
|
-
#
|
|
650
|
-
# @param [
|
|
651
|
-
#
|
|
652
|
-
#
|
|
684
|
+
# Part of `parent`. See documentation of `appsId`.
|
|
685
|
+
# @param [String] page_token
|
|
686
|
+
# Continuation token for fetching the next page of results.
|
|
687
|
+
# @param [Fixnum] page_size
|
|
688
|
+
# Maximum results to return per page.
|
|
689
|
+
# @param [String] view
|
|
690
|
+
# Controls the set of fields returned in the List response.
|
|
653
691
|
# @param [String] fields
|
|
654
692
|
# Selector specifying which fields to include in a partial response.
|
|
655
693
|
# @param [String] quota_user
|
|
@@ -659,36 +697,38 @@ module Google
|
|
|
659
697
|
# Request-specific options
|
|
660
698
|
#
|
|
661
699
|
# @yield [result, err] Result & error if block supplied
|
|
662
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
|
700
|
+
# @yieldparam result [Google::Apis::AppengineV1::ListVersionsResponse] parsed result object
|
|
663
701
|
# @yieldparam err [StandardError] error object if request failed
|
|
664
702
|
#
|
|
665
|
-
# @return [Google::Apis::AppengineV1::
|
|
703
|
+
# @return [Google::Apis::AppengineV1::ListVersionsResponse]
|
|
666
704
|
#
|
|
667
705
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
668
706
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
669
707
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
670
|
-
def
|
|
671
|
-
command = make_simple_command(:
|
|
672
|
-
command.
|
|
673
|
-
command.
|
|
674
|
-
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
|
675
|
-
command.response_class = Google::Apis::AppengineV1::Operation
|
|
708
|
+
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)
|
|
709
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions', options)
|
|
710
|
+
command.response_representation = Google::Apis::AppengineV1::ListVersionsResponse::Representation
|
|
711
|
+
command.response_class = Google::Apis::AppengineV1::ListVersionsResponse
|
|
676
712
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
677
713
|
command.params['servicesId'] = services_id unless services_id.nil?
|
|
678
|
-
command.
|
|
679
|
-
command.query['
|
|
714
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
715
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
716
|
+
command.query['view'] = view unless view.nil?
|
|
680
717
|
command.query['fields'] = fields unless fields.nil?
|
|
681
718
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
682
719
|
execute_or_queue_command(command, &block)
|
|
683
720
|
end
|
|
684
721
|
|
|
685
|
-
#
|
|
722
|
+
# Stops a running instance.
|
|
686
723
|
# @param [String] apps_id
|
|
687
|
-
# Part of `
|
|
688
|
-
#
|
|
724
|
+
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
725
|
+
# default/versions/v1/instances/instance-1.
|
|
689
726
|
# @param [String] services_id
|
|
690
|
-
# Part of `
|
|
691
|
-
# @param [
|
|
727
|
+
# Part of `name`. See documentation of `appsId`.
|
|
728
|
+
# @param [String] versions_id
|
|
729
|
+
# Part of `name`. See documentation of `appsId`.
|
|
730
|
+
# @param [String] instances_id
|
|
731
|
+
# Part of `name`. See documentation of `appsId`.
|
|
692
732
|
# @param [String] fields
|
|
693
733
|
# Selector specifying which fields to include in a partial response.
|
|
694
734
|
# @param [String] quota_user
|
|
@@ -706,20 +746,20 @@ module Google
|
|
|
706
746
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
707
747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
708
748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
709
|
-
def
|
|
710
|
-
command = make_simple_command(:
|
|
711
|
-
command.request_representation = Google::Apis::AppengineV1::Version::Representation
|
|
712
|
-
command.request_object = version_object
|
|
749
|
+
def delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
750
|
+
command = make_simple_command(:delete, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
|
713
751
|
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
|
714
752
|
command.response_class = Google::Apis::AppengineV1::Operation
|
|
715
753
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
716
754
|
command.params['servicesId'] = services_id unless services_id.nil?
|
|
755
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
756
|
+
command.params['instancesId'] = instances_id unless instances_id.nil?
|
|
717
757
|
command.query['fields'] = fields unless fields.nil?
|
|
718
758
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
719
759
|
execute_or_queue_command(command, &block)
|
|
720
760
|
end
|
|
721
761
|
|
|
722
|
-
#
|
|
762
|
+
# Gets instance information.
|
|
723
763
|
# @param [String] apps_id
|
|
724
764
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
725
765
|
# default/versions/v1/instances/instance-1.
|
|
@@ -738,18 +778,18 @@ module Google
|
|
|
738
778
|
# Request-specific options
|
|
739
779
|
#
|
|
740
780
|
# @yield [result, err] Result & error if block supplied
|
|
741
|
-
# @yieldparam result [Google::Apis::AppengineV1::
|
|
781
|
+
# @yieldparam result [Google::Apis::AppengineV1::Instance] parsed result object
|
|
742
782
|
# @yieldparam err [StandardError] error object if request failed
|
|
743
783
|
#
|
|
744
|
-
# @return [Google::Apis::AppengineV1::
|
|
784
|
+
# @return [Google::Apis::AppengineV1::Instance]
|
|
745
785
|
#
|
|
746
786
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
747
787
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
748
788
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
749
|
-
def
|
|
750
|
-
command = make_simple_command(:
|
|
751
|
-
command.response_representation = Google::Apis::AppengineV1::
|
|
752
|
-
command.response_class = Google::Apis::AppengineV1::
|
|
789
|
+
def get_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
790
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
|
791
|
+
command.response_representation = Google::Apis::AppengineV1::Instance::Representation
|
|
792
|
+
command.response_class = Google::Apis::AppengineV1::Instance
|
|
753
793
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
754
794
|
command.params['servicesId'] = services_id unless services_id.nil?
|
|
755
795
|
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
@@ -804,46 +844,6 @@ module Google
|
|
|
804
844
|
execute_or_queue_command(command, &block)
|
|
805
845
|
end
|
|
806
846
|
|
|
807
|
-
# Gets instance information.
|
|
808
|
-
# @param [String] apps_id
|
|
809
|
-
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
810
|
-
# default/versions/v1/instances/instance-1.
|
|
811
|
-
# @param [String] services_id
|
|
812
|
-
# Part of `name`. See documentation of `appsId`.
|
|
813
|
-
# @param [String] versions_id
|
|
814
|
-
# Part of `name`. See documentation of `appsId`.
|
|
815
|
-
# @param [String] instances_id
|
|
816
|
-
# Part of `name`. See documentation of `appsId`.
|
|
817
|
-
# @param [String] fields
|
|
818
|
-
# Selector specifying which fields to include in a partial response.
|
|
819
|
-
# @param [String] quota_user
|
|
820
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
821
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
822
|
-
# @param [Google::Apis::RequestOptions] options
|
|
823
|
-
# Request-specific options
|
|
824
|
-
#
|
|
825
|
-
# @yield [result, err] Result & error if block supplied
|
|
826
|
-
# @yieldparam result [Google::Apis::AppengineV1::Instance] parsed result object
|
|
827
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
828
|
-
#
|
|
829
|
-
# @return [Google::Apis::AppengineV1::Instance]
|
|
830
|
-
#
|
|
831
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
832
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
833
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
834
|
-
def get_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
835
|
-
command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
|
836
|
-
command.response_representation = Google::Apis::AppengineV1::Instance::Representation
|
|
837
|
-
command.response_class = Google::Apis::AppengineV1::Instance
|
|
838
|
-
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
839
|
-
command.params['servicesId'] = services_id unless services_id.nil?
|
|
840
|
-
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
841
|
-
command.params['instancesId'] = instances_id unless instances_id.nil?
|
|
842
|
-
command.query['fields'] = fields unless fields.nil?
|
|
843
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
844
|
-
execute_or_queue_command(command, &block)
|
|
845
|
-
end
|
|
846
|
-
|
|
847
847
|
# Enables debugging on a VM instance. This allows you to use the SSH command to
|
|
848
848
|
# connect to the virtual machine where the instance lives. While in "debug mode",
|
|
849
849
|
# the instance continues to serve live traffic. You should delete the instance
|