google-api-client 0.10.0 → 0.10.1
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/README.md +1 -1
- data/api_names.yaml +37747 -36512
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
- 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 +60 -66
- data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +34 -8
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -5
- data/generated/google/apis/classroom_v1.rb +25 -22
- data/generated/google/apis/classroom_v1/classes.rb +910 -1001
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1064 -1272
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
- data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
- data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
- data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
- data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +813 -82
- data/generated/google/apis/compute_beta/representations.rb +305 -0
- data/generated/google/apis/compute_beta/service.rb +971 -180
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +147 -21
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +347 -65
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
- data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
- data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
- data/generated/google/apis/dataproc_v1/representations.rb +220 -204
- data/generated/google/apis/dataproc_v1/service.rb +299 -299
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +688 -688
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
- 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 +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 +487 -15
- data/generated/google/apis/drive_v2/representations.rb +120 -0
- data/generated/google/apis/drive_v2/service.rb +355 -38
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +416 -14
- data/generated/google/apis/drive_v3/representations.rb +99 -0
- data/generated/google/apis/drive_v3/service.rb +315 -28
- 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 +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
- data/generated/google/apis/genomics_v1/representations.rb +239 -239
- data/generated/google/apis/genomics_v1/service.rb +599 -599
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +18 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +96 -96
- data/generated/google/apis/iam_v1/service.rb +150 -150
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +235 -235
- data/generated/google/apis/language_v1beta1/representations.rb +73 -73
- data/generated/google/apis/language_v1beta1/service.rb +49 -49
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
- data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
- data/generated/google/apis/logging_v2beta1/service.rb +315 -316
- data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
- data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
- data/generated/google/apis/manufacturers_v1/service.rb +32 -32
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +229 -229
- data/generated/google/apis/monitoring_v3/representations.rb +45 -45
- data/generated/google/apis/monitoring_v3/service.rb +141 -141
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1837 -483
- data/generated/google/apis/partners_v2/representations.rb +614 -157
- data/generated/google/apis/partners_v2/service.rb +881 -150
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +517 -465
- data/generated/google/apis/people_v1/representations.rb +138 -107
- data/generated/google/apis/people_v1/service.rb +56 -49
- 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 +529 -458
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +203 -203
- data/generated/google/apis/pubsub_v1/representations.rb +65 -65
- data/generated/google/apis/pubsub_v1/service.rb +226 -217
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +213 -61
- data/generated/google/apis/reseller_v1/representations.rb +27 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +95 -95
- data/generated/google/apis/script_v1/representations.rb +25 -25
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
- data/generated/google/apis/sheets_v4/representations.rb +853 -837
- data/generated/google/apis/sheets_v4/service.rb +32 -32
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +804 -748
- data/generated/google/apis/slides_v1/representations.rb +204 -187
- data/generated/google/apis/slides_v1/service.rb +16 -16
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
- data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
- data/generated/google/apis/speech_v1beta1/service.rb +66 -66
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +10 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1393 -865
- data/generated/google/apis/vision_v1/representations.rb +367 -102
- data/generated/google/apis/vision_v1/service.rb +4 -4
- 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 +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -30
@@ -46,6 +46,18 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class ResellernotifyGetwatchdetailsResponse
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class ResellernotifyResource
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
49
61
|
class Seats
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
63
|
|
@@ -139,6 +151,21 @@ module Google
|
|
139
151
|
end
|
140
152
|
end
|
141
153
|
|
154
|
+
class ResellernotifyGetwatchdetailsResponse
|
155
|
+
# @private
|
156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
157
|
+
collection :service_account_email_addresses, as: 'serviceAccountEmailAddresses'
|
158
|
+
property :topic_name, as: 'topicName'
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
class ResellernotifyResource
|
163
|
+
# @private
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
165
|
+
property :topic_name, as: 'topicName'
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
142
169
|
class Seats
|
143
170
|
# @private
|
144
171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -52,9 +52,12 @@ module Google
|
|
52
52
|
super('https://www.googleapis.com/', 'apps/reseller/v1/')
|
53
53
|
end
|
54
54
|
|
55
|
-
#
|
55
|
+
# Get a customer account.
|
56
56
|
# @param [String] customer_id
|
57
|
-
#
|
57
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
58
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
59
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
60
|
+
# system automatically updates.
|
58
61
|
# @param [String] fields
|
59
62
|
# Selector specifying which fields to include in a partial response.
|
60
63
|
# @param [String] quota_user
|
@@ -87,11 +90,14 @@ module Google
|
|
87
90
|
execute_or_queue_command(command, &block)
|
88
91
|
end
|
89
92
|
|
90
|
-
#
|
93
|
+
# Order a new customer's account.
|
91
94
|
# @param [Google::Apis::ResellerV1::Customer] customer_object
|
92
95
|
# @param [String] customer_auth_token
|
93
|
-
#
|
94
|
-
#
|
96
|
+
# The customerAuthToken query string is required when creating a resold account
|
97
|
+
# that transfers a direct customer's subscription or transfers another reseller
|
98
|
+
# customer's subscription to your reseller management. This is a hexadecimal
|
99
|
+
# authentication token needed to complete the subscription transfer. For more
|
100
|
+
# information, see the administrator help center.
|
95
101
|
# @param [String] fields
|
96
102
|
# Selector specifying which fields to include in a partial response.
|
97
103
|
# @param [String] quota_user
|
@@ -126,10 +132,12 @@ module Google
|
|
126
132
|
execute_or_queue_command(command, &block)
|
127
133
|
end
|
128
134
|
|
129
|
-
# Update a customer
|
130
|
-
# method supports patch semantics.
|
135
|
+
# Update a customer account's settings. This method supports patch semantics.
|
131
136
|
# @param [String] customer_id
|
132
|
-
#
|
137
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
138
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
139
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
140
|
+
# system automatically updates.
|
133
141
|
# @param [Google::Apis::ResellerV1::Customer] customer_object
|
134
142
|
# @param [String] fields
|
135
143
|
# Selector specifying which fields to include in a partial response.
|
@@ -165,9 +173,12 @@ module Google
|
|
165
173
|
execute_or_queue_command(command, &block)
|
166
174
|
end
|
167
175
|
|
168
|
-
# Update a customer
|
176
|
+
# Update a customer account's settings.
|
169
177
|
# @param [String] customer_id
|
170
|
-
#
|
178
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
179
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
180
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
181
|
+
# system automatically updates.
|
171
182
|
# @param [Google::Apis::ResellerV1::Customer] customer_object
|
172
183
|
# @param [String] fields
|
173
184
|
# Selector specifying which fields to include in a partial response.
|
@@ -203,11 +214,120 @@ module Google
|
|
203
214
|
execute_or_queue_command(command, &block)
|
204
215
|
end
|
205
216
|
|
217
|
+
# Returns all the details of the watch corresponding to the reseller.
|
218
|
+
# @param [String] fields
|
219
|
+
# Selector specifying which fields to include in a partial response.
|
220
|
+
# @param [String] quota_user
|
221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
223
|
+
# Overrides userIp if both are provided.
|
224
|
+
# @param [String] user_ip
|
225
|
+
# IP address of the site where the request originates. Use this if you want to
|
226
|
+
# enforce per-user limits.
|
227
|
+
# @param [Google::Apis::RequestOptions] options
|
228
|
+
# Request-specific options
|
229
|
+
#
|
230
|
+
# @yield [result, err] Result & error if block supplied
|
231
|
+
# @yieldparam result [Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse] parsed result object
|
232
|
+
# @yieldparam err [StandardError] error object if request failed
|
233
|
+
#
|
234
|
+
# @return [Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse]
|
235
|
+
#
|
236
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
237
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
238
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
239
|
+
def getwatchdetails_resellernotify(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
240
|
+
command = make_simple_command(:get, 'resellernotify/getwatchdetails', options)
|
241
|
+
command.response_representation = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse::Representation
|
242
|
+
command.response_class = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse
|
243
|
+
command.query['fields'] = fields unless fields.nil?
|
244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
245
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
246
|
+
execute_or_queue_command(command, &block)
|
247
|
+
end
|
248
|
+
|
249
|
+
# Registers a Reseller for receiving notifications.
|
250
|
+
# @param [String] service_account_email_address
|
251
|
+
# The service account which will own the created Cloud-PubSub topic.
|
252
|
+
# @param [String] fields
|
253
|
+
# Selector specifying which fields to include in a partial response.
|
254
|
+
# @param [String] quota_user
|
255
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
256
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
257
|
+
# Overrides userIp if both are provided.
|
258
|
+
# @param [String] user_ip
|
259
|
+
# IP address of the site where the request originates. Use this if you want to
|
260
|
+
# enforce per-user limits.
|
261
|
+
# @param [Google::Apis::RequestOptions] options
|
262
|
+
# Request-specific options
|
263
|
+
#
|
264
|
+
# @yield [result, err] Result & error if block supplied
|
265
|
+
# @yieldparam result [Google::Apis::ResellerV1::ResellernotifyResource] parsed result object
|
266
|
+
# @yieldparam err [StandardError] error object if request failed
|
267
|
+
#
|
268
|
+
# @return [Google::Apis::ResellerV1::ResellernotifyResource]
|
269
|
+
#
|
270
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
271
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
272
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
273
|
+
def register_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
274
|
+
command = make_simple_command(:post, 'resellernotify/register', options)
|
275
|
+
command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
|
276
|
+
command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
|
277
|
+
command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
|
278
|
+
command.query['fields'] = fields unless fields.nil?
|
279
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
280
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
281
|
+
execute_or_queue_command(command, &block)
|
282
|
+
end
|
283
|
+
|
284
|
+
# Unregisters a Reseller for receiving notifications.
|
285
|
+
# @param [String] service_account_email_address
|
286
|
+
# The service account which owns the Cloud-PubSub topic.
|
287
|
+
# @param [String] fields
|
288
|
+
# Selector specifying which fields to include in a partial response.
|
289
|
+
# @param [String] quota_user
|
290
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
291
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
292
|
+
# Overrides userIp if both are provided.
|
293
|
+
# @param [String] user_ip
|
294
|
+
# IP address of the site where the request originates. Use this if you want to
|
295
|
+
# enforce per-user limits.
|
296
|
+
# @param [Google::Apis::RequestOptions] options
|
297
|
+
# Request-specific options
|
298
|
+
#
|
299
|
+
# @yield [result, err] Result & error if block supplied
|
300
|
+
# @yieldparam result [Google::Apis::ResellerV1::ResellernotifyResource] parsed result object
|
301
|
+
# @yieldparam err [StandardError] error object if request failed
|
302
|
+
#
|
303
|
+
# @return [Google::Apis::ResellerV1::ResellernotifyResource]
|
304
|
+
#
|
305
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
306
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
307
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
308
|
+
def unregister_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
309
|
+
command = make_simple_command(:post, 'resellernotify/unregister', options)
|
310
|
+
command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
|
311
|
+
command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
|
312
|
+
command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
|
313
|
+
command.query['fields'] = fields unless fields.nil?
|
314
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
315
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
316
|
+
execute_or_queue_command(command, &block)
|
317
|
+
end
|
318
|
+
|
206
319
|
# Activates a subscription previously suspended by the reseller
|
207
320
|
# @param [String] customer_id
|
208
|
-
#
|
321
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
322
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
323
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
324
|
+
# system automatically updates.
|
209
325
|
# @param [String] subscription_id
|
210
|
-
#
|
326
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
327
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
328
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
329
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
330
|
+
# reseller subscriptions method.
|
211
331
|
# @param [String] fields
|
212
332
|
# Selector specifying which fields to include in a partial response.
|
213
333
|
# @param [String] quota_user
|
@@ -241,11 +361,20 @@ module Google
|
|
241
361
|
execute_or_queue_command(command, &block)
|
242
362
|
end
|
243
363
|
|
244
|
-
#
|
364
|
+
# Update a subscription plan. Use this method to update a plan for a 30-day
|
365
|
+
# trial or a flexible plan subscription to an annual commitment plan with
|
366
|
+
# monthly or yearly payments.
|
245
367
|
# @param [String] customer_id
|
246
|
-
#
|
368
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
369
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
370
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
371
|
+
# system automatically updates.
|
247
372
|
# @param [String] subscription_id
|
248
|
-
#
|
373
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
374
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
375
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
376
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
377
|
+
# reseller subscriptions method.
|
249
378
|
# @param [Google::Apis::ResellerV1::ChangePlanRequest] change_plan_request_object
|
250
379
|
# @param [String] fields
|
251
380
|
# Selector specifying which fields to include in a partial response.
|
@@ -282,11 +411,19 @@ module Google
|
|
282
411
|
execute_or_queue_command(command, &block)
|
283
412
|
end
|
284
413
|
|
285
|
-
#
|
414
|
+
# Update a user license's renewal settings. This is applicable for accounts with
|
415
|
+
# annual commitment plans only.
|
286
416
|
# @param [String] customer_id
|
287
|
-
#
|
417
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
418
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
419
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
420
|
+
# system automatically updates.
|
288
421
|
# @param [String] subscription_id
|
289
|
-
#
|
422
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
423
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
424
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
425
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
426
|
+
# reseller subscriptions method.
|
290
427
|
# @param [Google::Apis::ResellerV1::RenewalSettings] renewal_settings_object
|
291
428
|
# @param [String] fields
|
292
429
|
# Selector specifying which fields to include in a partial response.
|
@@ -323,11 +460,18 @@ module Google
|
|
323
460
|
execute_or_queue_command(command, &block)
|
324
461
|
end
|
325
462
|
|
326
|
-
#
|
463
|
+
# Update a subscription's user license settings.
|
327
464
|
# @param [String] customer_id
|
328
|
-
#
|
465
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
466
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
467
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
468
|
+
# system automatically updates.
|
329
469
|
# @param [String] subscription_id
|
330
|
-
#
|
470
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
471
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
472
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
473
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
474
|
+
# reseller subscriptions method.
|
331
475
|
# @param [Google::Apis::ResellerV1::Seats] seats_object
|
332
476
|
# @param [String] fields
|
333
477
|
# Selector specifying which fields to include in a partial response.
|
@@ -364,13 +508,21 @@ module Google
|
|
364
508
|
execute_or_queue_command(command, &block)
|
365
509
|
end
|
366
510
|
|
367
|
-
#
|
511
|
+
# Cancel, suspend or transfer a subscription to direct.
|
368
512
|
# @param [String] customer_id
|
369
|
-
#
|
513
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
514
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
515
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
516
|
+
# system automatically updates.
|
370
517
|
# @param [String] subscription_id
|
371
|
-
#
|
518
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
519
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
520
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
521
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
522
|
+
# reseller subscriptions method.
|
372
523
|
# @param [String] deletion_type
|
373
|
-
#
|
524
|
+
# The deletionType query string enables the cancellation, downgrade, or
|
525
|
+
# suspension of a subscription.
|
374
526
|
# @param [String] fields
|
375
527
|
# Selector specifying which fields to include in a partial response.
|
376
528
|
# @param [String] quota_user
|
@@ -403,11 +555,18 @@ module Google
|
|
403
555
|
execute_or_queue_command(command, &block)
|
404
556
|
end
|
405
557
|
|
406
|
-
#
|
558
|
+
# Get a specific subscription.
|
407
559
|
# @param [String] customer_id
|
408
|
-
#
|
560
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
561
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
562
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
563
|
+
# system automatically updates.
|
409
564
|
# @param [String] subscription_id
|
410
|
-
#
|
565
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
566
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
567
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
568
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
569
|
+
# reseller subscriptions method.
|
411
570
|
# @param [String] fields
|
412
571
|
# Selector specifying which fields to include in a partial response.
|
413
572
|
# @param [String] quota_user
|
@@ -441,13 +600,19 @@ module Google
|
|
441
600
|
execute_or_queue_command(command, &block)
|
442
601
|
end
|
443
602
|
|
444
|
-
#
|
603
|
+
# Create or transfer a subscription.
|
445
604
|
# @param [String] customer_id
|
446
|
-
#
|
605
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
606
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
607
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
608
|
+
# system automatically updates.
|
447
609
|
# @param [Google::Apis::ResellerV1::Subscription] subscription_object
|
448
610
|
# @param [String] customer_auth_token
|
449
|
-
#
|
450
|
-
#
|
611
|
+
# The customerAuthToken query string is required when creating a resold account
|
612
|
+
# that transfers a direct customer's subscription or transfers another reseller
|
613
|
+
# customer's subscription to your reseller management. This is a hexadecimal
|
614
|
+
# authentication token needed to complete the subscription transfer. For more
|
615
|
+
# information, see the administrator help center.
|
451
616
|
# @param [String] fields
|
452
617
|
# Selector specifying which fields to include in a partial response.
|
453
618
|
# @param [String] quota_user
|
@@ -483,19 +648,32 @@ module Google
|
|
483
648
|
execute_or_queue_command(command, &block)
|
484
649
|
end
|
485
650
|
|
486
|
-
#
|
487
|
-
#
|
651
|
+
# List of subscriptions managed by the reseller. The list can be all
|
652
|
+
# subscriptions, all of a customer's subscriptions, or all of a customer's
|
653
|
+
# transferable subscriptions.
|
488
654
|
# @param [String] customer_auth_token
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
655
|
+
# The customerAuthToken query string is required when creating a resold account
|
656
|
+
# that transfers a direct customer's subscription or transfers another reseller
|
657
|
+
# customer's subscription to your reseller management. This is a hexadecimal
|
658
|
+
# authentication token needed to complete the subscription transfer. For more
|
659
|
+
# information, see the administrator help center.
|
492
660
|
# @param [String] customer_id
|
493
|
-
#
|
661
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
662
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
663
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
664
|
+
# system automatically updates.
|
494
665
|
# @param [String] customer_name_prefix
|
495
|
-
#
|
496
|
-
#
|
666
|
+
# When retrieving all of your subscriptions and filtering for specific customers,
|
667
|
+
# you can enter a prefix for a customer name. Using an example customer group
|
668
|
+
# that includes exam.com, example20.com and example.com:
|
669
|
+
# - exa -- Returns all customer names that start with 'exa' which could include
|
670
|
+
# exam.com, example20.com, and example.com. A name prefix is similar to using a
|
671
|
+
# regular expression's asterisk, exa*.
|
672
|
+
# - example -- Returns example20.com and example.com.
|
497
673
|
# @param [Fixnum] max_results
|
498
|
-
#
|
674
|
+
# When retrieving a large list, the maxResults is the maximum number of results
|
675
|
+
# per page. The nextPageToken value takes you to the next page. The default is
|
676
|
+
# 20.
|
499
677
|
# @param [String] page_token
|
500
678
|
# Token to specify next page in the list
|
501
679
|
# @param [String] fields
|
@@ -534,11 +712,19 @@ module Google
|
|
534
712
|
execute_or_queue_command(command, &block)
|
535
713
|
end
|
536
714
|
|
537
|
-
#
|
715
|
+
# Immediately move a 30-day free trial subscription to a paid service
|
716
|
+
# subscription.
|
538
717
|
# @param [String] customer_id
|
539
|
-
#
|
718
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
719
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
720
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
721
|
+
# system automatically updates.
|
540
722
|
# @param [String] subscription_id
|
541
|
-
#
|
723
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
724
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
725
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
726
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
727
|
+
# reseller subscriptions method.
|
542
728
|
# @param [String] fields
|
543
729
|
# Selector specifying which fields to include in a partial response.
|
544
730
|
# @param [String] quota_user
|
@@ -572,11 +758,18 @@ module Google
|
|
572
758
|
execute_or_queue_command(command, &block)
|
573
759
|
end
|
574
760
|
|
575
|
-
# Suspends an active subscription
|
761
|
+
# Suspends an active subscription.
|
576
762
|
# @param [String] customer_id
|
577
|
-
#
|
763
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
764
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
765
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
766
|
+
# system automatically updates.
|
578
767
|
# @param [String] subscription_id
|
579
|
-
#
|
768
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
769
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
770
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
771
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
772
|
+
# reseller subscriptions method.
|
580
773
|
# @param [String] fields
|
581
774
|
# Selector specifying which fields to include in a partial response.
|
582
775
|
# @param [String] quota_user
|
@@ -25,7 +25,16 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run
|
26
26
|
module ScriptV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170228'
|
29
|
+
|
30
|
+
# Manage your calendars
|
31
|
+
CALENDAR_FEEDS = 'https://www.google.com/calendar/feeds'
|
32
|
+
|
33
|
+
# View and manage your Google Groups
|
34
|
+
AUTH_GROUPS = 'https://www.googleapis.com/auth/groups'
|
35
|
+
|
36
|
+
# View and manage forms that this application has been installed in
|
37
|
+
AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly'
|
29
38
|
|
30
39
|
# View and manage the files in your Google Drive
|
31
40
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -33,15 +42,15 @@ module Google
|
|
33
42
|
# View and manage your spreadsheets in Google Drive
|
34
43
|
AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
|
35
44
|
|
36
|
-
#
|
45
|
+
# Read, send, delete, and manage your email
|
37
46
|
AUTH_SCOPE = 'https://mail.google.com/'
|
38
47
|
|
39
|
-
# View and manage the provisioning of groups on your domain
|
40
|
-
AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group'
|
41
|
-
|
42
48
|
# View and manage the provisioning of users on your domain
|
43
49
|
AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user'
|
44
50
|
|
51
|
+
# View and manage the provisioning of groups on your domain
|
52
|
+
AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group'
|
53
|
+
|
45
54
|
# View and manage your forms in Google Drive
|
46
55
|
AUTH_FORMS = 'https://www.googleapis.com/auth/forms'
|
47
56
|
|
@@ -50,15 +59,6 @@ module Google
|
|
50
59
|
|
51
60
|
# View your email address
|
52
61
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
53
|
-
|
54
|
-
# Manage your calendars
|
55
|
-
CALENDAR_FEEDS = 'https://www.google.com/calendar/feeds'
|
56
|
-
|
57
|
-
# View and manage your Google Groups
|
58
|
-
AUTH_GROUPS = 'https://www.googleapis.com/auth/groups'
|
59
|
-
|
60
|
-
# View and manage forms that this application has been installed in
|
61
|
-
AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly'
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|