google-api-client 0.18.0 → 0.18.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 +41 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +238 -10
- data/generated/google/apis/admin_directory_v1/representations.rb +101 -0
- data/generated/google/apis/admin_directory_v1/service.rb +529 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +34 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +21 -17
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +21 -17
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +326 -0
- data/generated/google/apis/calendar_v3/representations.rb +118 -0
- data/generated/google/apis/calendar_v3/service.rb +28 -4
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +69 -0
- data/generated/google/apis/classroom_v1/representations.rb +31 -0
- data/generated/google/apis/classroom_v1/service.rb +88 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +49 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +20 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +9 -12
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +25 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +4 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +8 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +7 -3
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +19 -13
- data/generated/google/apis/cloudshell_v1.rb +35 -0
- data/generated/google/apis/cloudshell_v1/classes.rb +409 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +161 -0
- data/generated/google/apis/cloudshell_v1/service.rb +214 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +35 -0
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +403 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +160 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +237 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +106 -13
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +31 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +63 -8
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/classes.rb +6 -7
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +4 -4
- data/generated/google/apis/container_v1beta1/service.rb +3 -3
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +257 -0
- data/generated/google/apis/content_v2/representations.rb +114 -0
- data/generated/google/apis/content_v2/service.rb +84 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +257 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +114 -0
- data/generated/google/apis/content_v2sandbox/service.rb +84 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +32 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +305 -0
- data/generated/google/apis/digitalassetlinks_v1/representations.rb +133 -0
- data/generated/google/apis/digitalassetlinks_v1/service.rb +324 -0
- data/generated/google/apis/dlp_v2beta2.rb +36 -0
- data/generated/google/apis/dlp_v2beta2/classes.rb +5475 -0
- data/generated/google/apis/dlp_v2beta2/representations.rb +2734 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +1135 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +25 -16
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +50 -1
- data/generated/google/apis/monitoring_v3/representations.rb +16 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -5
- data/generated/google/apis/slides_v1.rb +4 -1
- data/generated/google/apis/speech_v1.rb +1 -4
- data/generated/google/apis/speech_v1beta1.rb +1 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +0 -2
- data/generated/google/apis/streetviewpublish_v1/service.rb +6 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +81 -0
- data/generated/google/apis/testing_v1/representations.rb +45 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -6
- data/generated/google/apis/youtube_v3/representations.rb +0 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +576 -19
- data/generated/google/apis/youtubereporting_v1/representations.rb +218 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -2
@@ -2201,6 +2201,241 @@ module Google
|
|
2201
2201
|
execute_or_queue_command(command, &block)
|
2202
2202
|
end
|
2203
2203
|
|
2204
|
+
# Deletes a building.
|
2205
|
+
# @param [String] customer
|
2206
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2207
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2208
|
+
# @param [String] building_id
|
2209
|
+
# The ID of the building to delete.
|
2210
|
+
# @param [String] fields
|
2211
|
+
# Selector specifying which fields to include in a partial response.
|
2212
|
+
# @param [String] quota_user
|
2213
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2214
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2215
|
+
# Overrides userIp if both are provided.
|
2216
|
+
# @param [String] user_ip
|
2217
|
+
# IP address of the site where the request originates. Use this if you want to
|
2218
|
+
# enforce per-user limits.
|
2219
|
+
# @param [Google::Apis::RequestOptions] options
|
2220
|
+
# Request-specific options
|
2221
|
+
#
|
2222
|
+
# @yield [result, err] Result & error if block supplied
|
2223
|
+
# @yieldparam result [NilClass] No result returned for this method
|
2224
|
+
# @yieldparam err [StandardError] error object if request failed
|
2225
|
+
#
|
2226
|
+
# @return [void]
|
2227
|
+
#
|
2228
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2229
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2230
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2231
|
+
def delete_resource_building(customer, building_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2232
|
+
command = make_simple_command(:delete, 'customer/{customer}/resources/buildings/{buildingId}', options)
|
2233
|
+
command.params['customer'] = customer unless customer.nil?
|
2234
|
+
command.params['buildingId'] = building_id unless building_id.nil?
|
2235
|
+
command.query['fields'] = fields unless fields.nil?
|
2236
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2237
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2238
|
+
execute_or_queue_command(command, &block)
|
2239
|
+
end
|
2240
|
+
|
2241
|
+
# Retrieves a building.
|
2242
|
+
# @param [String] customer
|
2243
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2244
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2245
|
+
# @param [String] building_id
|
2246
|
+
# The unique ID of the building to retrieve.
|
2247
|
+
# @param [String] fields
|
2248
|
+
# Selector specifying which fields to include in a partial response.
|
2249
|
+
# @param [String] quota_user
|
2250
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2251
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2252
|
+
# Overrides userIp if both are provided.
|
2253
|
+
# @param [String] user_ip
|
2254
|
+
# IP address of the site where the request originates. Use this if you want to
|
2255
|
+
# enforce per-user limits.
|
2256
|
+
# @param [Google::Apis::RequestOptions] options
|
2257
|
+
# Request-specific options
|
2258
|
+
#
|
2259
|
+
# @yield [result, err] Result & error if block supplied
|
2260
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Building] parsed result object
|
2261
|
+
# @yieldparam err [StandardError] error object if request failed
|
2262
|
+
#
|
2263
|
+
# @return [Google::Apis::AdminDirectoryV1::Building]
|
2264
|
+
#
|
2265
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2266
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2267
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2268
|
+
def get_resource_building(customer, building_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2269
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/buildings/{buildingId}', options)
|
2270
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
2271
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Building
|
2272
|
+
command.params['customer'] = customer unless customer.nil?
|
2273
|
+
command.params['buildingId'] = building_id unless building_id.nil?
|
2274
|
+
command.query['fields'] = fields unless fields.nil?
|
2275
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2276
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2277
|
+
execute_or_queue_command(command, &block)
|
2278
|
+
end
|
2279
|
+
|
2280
|
+
# Inserts a building.
|
2281
|
+
# @param [String] customer
|
2282
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2283
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2284
|
+
# @param [Google::Apis::AdminDirectoryV1::Building] building_object
|
2285
|
+
# @param [String] fields
|
2286
|
+
# Selector specifying which fields to include in a partial response.
|
2287
|
+
# @param [String] quota_user
|
2288
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2289
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2290
|
+
# Overrides userIp if both are provided.
|
2291
|
+
# @param [String] user_ip
|
2292
|
+
# IP address of the site where the request originates. Use this if you want to
|
2293
|
+
# enforce per-user limits.
|
2294
|
+
# @param [Google::Apis::RequestOptions] options
|
2295
|
+
# Request-specific options
|
2296
|
+
#
|
2297
|
+
# @yield [result, err] Result & error if block supplied
|
2298
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Building] parsed result object
|
2299
|
+
# @yieldparam err [StandardError] error object if request failed
|
2300
|
+
#
|
2301
|
+
# @return [Google::Apis::AdminDirectoryV1::Building]
|
2302
|
+
#
|
2303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2306
|
+
def insert_resource_building(customer, building_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2307
|
+
command = make_simple_command(:post, 'customer/{customer}/resources/buildings', options)
|
2308
|
+
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
2309
|
+
command.request_object = building_object
|
2310
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
2311
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Building
|
2312
|
+
command.params['customer'] = customer unless customer.nil?
|
2313
|
+
command.query['fields'] = fields unless fields.nil?
|
2314
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2315
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2316
|
+
execute_or_queue_command(command, &block)
|
2317
|
+
end
|
2318
|
+
|
2319
|
+
# Retrieves a list of buildings for an account.
|
2320
|
+
# @param [String] customer
|
2321
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2322
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2323
|
+
# @param [String] fields
|
2324
|
+
# Selector specifying which fields to include in a partial response.
|
2325
|
+
# @param [String] quota_user
|
2326
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2327
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2328
|
+
# Overrides userIp if both are provided.
|
2329
|
+
# @param [String] user_ip
|
2330
|
+
# IP address of the site where the request originates. Use this if you want to
|
2331
|
+
# enforce per-user limits.
|
2332
|
+
# @param [Google::Apis::RequestOptions] options
|
2333
|
+
# Request-specific options
|
2334
|
+
#
|
2335
|
+
# @yield [result, err] Result & error if block supplied
|
2336
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Buildings] parsed result object
|
2337
|
+
# @yieldparam err [StandardError] error object if request failed
|
2338
|
+
#
|
2339
|
+
# @return [Google::Apis::AdminDirectoryV1::Buildings]
|
2340
|
+
#
|
2341
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2342
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2343
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2344
|
+
def list_resource_buildings(customer, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2345
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/buildings', options)
|
2346
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Buildings::Representation
|
2347
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Buildings
|
2348
|
+
command.params['customer'] = customer unless customer.nil?
|
2349
|
+
command.query['fields'] = fields unless fields.nil?
|
2350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2351
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2352
|
+
execute_or_queue_command(command, &block)
|
2353
|
+
end
|
2354
|
+
|
2355
|
+
# Updates a building. This method supports patch semantics.
|
2356
|
+
# @param [String] customer
|
2357
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2358
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2359
|
+
# @param [String] building_id
|
2360
|
+
# The ID of the building to update.
|
2361
|
+
# @param [Google::Apis::AdminDirectoryV1::Building] building_object
|
2362
|
+
# @param [String] fields
|
2363
|
+
# Selector specifying which fields to include in a partial response.
|
2364
|
+
# @param [String] quota_user
|
2365
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2366
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2367
|
+
# Overrides userIp if both are provided.
|
2368
|
+
# @param [String] user_ip
|
2369
|
+
# IP address of the site where the request originates. Use this if you want to
|
2370
|
+
# enforce per-user limits.
|
2371
|
+
# @param [Google::Apis::RequestOptions] options
|
2372
|
+
# Request-specific options
|
2373
|
+
#
|
2374
|
+
# @yield [result, err] Result & error if block supplied
|
2375
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Building] parsed result object
|
2376
|
+
# @yieldparam err [StandardError] error object if request failed
|
2377
|
+
#
|
2378
|
+
# @return [Google::Apis::AdminDirectoryV1::Building]
|
2379
|
+
#
|
2380
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2381
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2382
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2383
|
+
def patch_resource_building(customer, building_id, building_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2384
|
+
command = make_simple_command(:patch, 'customer/{customer}/resources/buildings/{buildingId}', options)
|
2385
|
+
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
2386
|
+
command.request_object = building_object
|
2387
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
2388
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Building
|
2389
|
+
command.params['customer'] = customer unless customer.nil?
|
2390
|
+
command.params['buildingId'] = building_id unless building_id.nil?
|
2391
|
+
command.query['fields'] = fields unless fields.nil?
|
2392
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2393
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2394
|
+
execute_or_queue_command(command, &block)
|
2395
|
+
end
|
2396
|
+
|
2397
|
+
# Updates a building.
|
2398
|
+
# @param [String] customer
|
2399
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2400
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2401
|
+
# @param [String] building_id
|
2402
|
+
# The ID of the building to update.
|
2403
|
+
# @param [Google::Apis::AdminDirectoryV1::Building] building_object
|
2404
|
+
# @param [String] fields
|
2405
|
+
# Selector specifying which fields to include in a partial response.
|
2406
|
+
# @param [String] quota_user
|
2407
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2408
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2409
|
+
# Overrides userIp if both are provided.
|
2410
|
+
# @param [String] user_ip
|
2411
|
+
# IP address of the site where the request originates. Use this if you want to
|
2412
|
+
# enforce per-user limits.
|
2413
|
+
# @param [Google::Apis::RequestOptions] options
|
2414
|
+
# Request-specific options
|
2415
|
+
#
|
2416
|
+
# @yield [result, err] Result & error if block supplied
|
2417
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Building] parsed result object
|
2418
|
+
# @yieldparam err [StandardError] error object if request failed
|
2419
|
+
#
|
2420
|
+
# @return [Google::Apis::AdminDirectoryV1::Building]
|
2421
|
+
#
|
2422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2425
|
+
def update_resource_building(customer, building_id, building_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2426
|
+
command = make_simple_command(:put, 'customer/{customer}/resources/buildings/{buildingId}', options)
|
2427
|
+
command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
2428
|
+
command.request_object = building_object
|
2429
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
|
2430
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Building
|
2431
|
+
command.params['customer'] = customer unless customer.nil?
|
2432
|
+
command.params['buildingId'] = building_id unless building_id.nil?
|
2433
|
+
command.query['fields'] = fields unless fields.nil?
|
2434
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2435
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2436
|
+
execute_or_queue_command(command, &block)
|
2437
|
+
end
|
2438
|
+
|
2204
2439
|
# Deletes a calendar resource.
|
2205
2440
|
# @param [String] customer
|
2206
2441
|
# The unique ID for the customer's G Suite account. As an account administrator,
|
@@ -2322,8 +2557,21 @@ module Google
|
|
2322
2557
|
# you can also use the my_customer alias to represent your account's customer ID.
|
2323
2558
|
# @param [Fixnum] max_results
|
2324
2559
|
# Maximum number of results to return.
|
2560
|
+
# @param [String] order_by
|
2561
|
+
# Field(s) to sort results by in either ascending or descending order. Supported
|
2562
|
+
# fields include resourceId, resourceName, capacity, buildingId, and floorName.
|
2563
|
+
# If no order is specified, defaults to ascending. Should be of the form "field [
|
2564
|
+
# asc|desc], field [asc|desc], ...". For example buildingId, capacity desc would
|
2565
|
+
# return results sorted first by buildingId in ascending order then by capacity
|
2566
|
+
# in descending order.
|
2325
2567
|
# @param [String] page_token
|
2326
2568
|
# Token to specify the next page in the list.
|
2569
|
+
# @param [String] query
|
2570
|
+
# String query used to filter results. Should be of the form "field operator
|
2571
|
+
# value" where field can be any of supported fields and operators can be any of
|
2572
|
+
# supported operations. Operators include '=' for exact match and ':' for prefix
|
2573
|
+
# match where applicable. For prefix match, the value should always be followed
|
2574
|
+
# by a *.
|
2327
2575
|
# @param [String] fields
|
2328
2576
|
# Selector specifying which fields to include in a partial response.
|
2329
2577
|
# @param [String] quota_user
|
@@ -2345,13 +2593,15 @@ module Google
|
|
2345
2593
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2346
2594
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2347
2595
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2348
|
-
def list_calendar_resources(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2596
|
+
def list_calendar_resources(customer, max_results: nil, order_by: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2349
2597
|
command = make_simple_command(:get, 'customer/{customer}/resources/calendars', options)
|
2350
2598
|
command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResources::Representation
|
2351
2599
|
command.response_class = Google::Apis::AdminDirectoryV1::CalendarResources
|
2352
2600
|
command.params['customer'] = customer unless customer.nil?
|
2353
2601
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2602
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2354
2603
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2604
|
+
command.query['query'] = query unless query.nil?
|
2355
2605
|
command.query['fields'] = fields unless fields.nil?
|
2356
2606
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2357
2607
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -2448,6 +2698,284 @@ module Google
|
|
2448
2698
|
execute_or_queue_command(command, &block)
|
2449
2699
|
end
|
2450
2700
|
|
2701
|
+
# Deletes a feature.
|
2702
|
+
# @param [String] customer
|
2703
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2704
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2705
|
+
# @param [String] feature_key
|
2706
|
+
# The unique ID of the feature to delete.
|
2707
|
+
# @param [String] fields
|
2708
|
+
# Selector specifying which fields to include in a partial response.
|
2709
|
+
# @param [String] quota_user
|
2710
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2711
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2712
|
+
# Overrides userIp if both are provided.
|
2713
|
+
# @param [String] user_ip
|
2714
|
+
# IP address of the site where the request originates. Use this if you want to
|
2715
|
+
# enforce per-user limits.
|
2716
|
+
# @param [Google::Apis::RequestOptions] options
|
2717
|
+
# Request-specific options
|
2718
|
+
#
|
2719
|
+
# @yield [result, err] Result & error if block supplied
|
2720
|
+
# @yieldparam result [NilClass] No result returned for this method
|
2721
|
+
# @yieldparam err [StandardError] error object if request failed
|
2722
|
+
#
|
2723
|
+
# @return [void]
|
2724
|
+
#
|
2725
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2726
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2727
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2728
|
+
def delete_resource_feature(customer, feature_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2729
|
+
command = make_simple_command(:delete, 'customer/{customer}/resources/features/{featureKey}', options)
|
2730
|
+
command.params['customer'] = customer unless customer.nil?
|
2731
|
+
command.params['featureKey'] = feature_key unless feature_key.nil?
|
2732
|
+
command.query['fields'] = fields unless fields.nil?
|
2733
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2734
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2735
|
+
execute_or_queue_command(command, &block)
|
2736
|
+
end
|
2737
|
+
|
2738
|
+
# Retrieves a feature.
|
2739
|
+
# @param [String] customer
|
2740
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2741
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2742
|
+
# @param [String] feature_key
|
2743
|
+
# The unique ID of the feature to retrieve.
|
2744
|
+
# @param [String] fields
|
2745
|
+
# Selector specifying which fields to include in a partial response.
|
2746
|
+
# @param [String] quota_user
|
2747
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2748
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2749
|
+
# Overrides userIp if both are provided.
|
2750
|
+
# @param [String] user_ip
|
2751
|
+
# IP address of the site where the request originates. Use this if you want to
|
2752
|
+
# enforce per-user limits.
|
2753
|
+
# @param [Google::Apis::RequestOptions] options
|
2754
|
+
# Request-specific options
|
2755
|
+
#
|
2756
|
+
# @yield [result, err] Result & error if block supplied
|
2757
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Feature] parsed result object
|
2758
|
+
# @yieldparam err [StandardError] error object if request failed
|
2759
|
+
#
|
2760
|
+
# @return [Google::Apis::AdminDirectoryV1::Feature]
|
2761
|
+
#
|
2762
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2763
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2764
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2765
|
+
def get_resource_feature(customer, feature_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2766
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/features/{featureKey}', options)
|
2767
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
2768
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Feature
|
2769
|
+
command.params['customer'] = customer unless customer.nil?
|
2770
|
+
command.params['featureKey'] = feature_key unless feature_key.nil?
|
2771
|
+
command.query['fields'] = fields unless fields.nil?
|
2772
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2773
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2774
|
+
execute_or_queue_command(command, &block)
|
2775
|
+
end
|
2776
|
+
|
2777
|
+
# Inserts a feature.
|
2778
|
+
# @param [String] customer
|
2779
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2780
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2781
|
+
# @param [Google::Apis::AdminDirectoryV1::Feature] feature_object
|
2782
|
+
# @param [String] fields
|
2783
|
+
# Selector specifying which fields to include in a partial response.
|
2784
|
+
# @param [String] quota_user
|
2785
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2786
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2787
|
+
# Overrides userIp if both are provided.
|
2788
|
+
# @param [String] user_ip
|
2789
|
+
# IP address of the site where the request originates. Use this if you want to
|
2790
|
+
# enforce per-user limits.
|
2791
|
+
# @param [Google::Apis::RequestOptions] options
|
2792
|
+
# Request-specific options
|
2793
|
+
#
|
2794
|
+
# @yield [result, err] Result & error if block supplied
|
2795
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Feature] parsed result object
|
2796
|
+
# @yieldparam err [StandardError] error object if request failed
|
2797
|
+
#
|
2798
|
+
# @return [Google::Apis::AdminDirectoryV1::Feature]
|
2799
|
+
#
|
2800
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2801
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2802
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2803
|
+
def insert_resource_feature(customer, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2804
|
+
command = make_simple_command(:post, 'customer/{customer}/resources/features', options)
|
2805
|
+
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
2806
|
+
command.request_object = feature_object
|
2807
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
2808
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Feature
|
2809
|
+
command.params['customer'] = customer unless customer.nil?
|
2810
|
+
command.query['fields'] = fields unless fields.nil?
|
2811
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2812
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2813
|
+
execute_or_queue_command(command, &block)
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
# Retrieves a list of features for an account.
|
2817
|
+
# @param [String] customer
|
2818
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2819
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2820
|
+
# @param [String] page_token
|
2821
|
+
# Token to specify the next page in the list.
|
2822
|
+
# @param [String] fields
|
2823
|
+
# Selector specifying which fields to include in a partial response.
|
2824
|
+
# @param [String] quota_user
|
2825
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2826
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2827
|
+
# Overrides userIp if both are provided.
|
2828
|
+
# @param [String] user_ip
|
2829
|
+
# IP address of the site where the request originates. Use this if you want to
|
2830
|
+
# enforce per-user limits.
|
2831
|
+
# @param [Google::Apis::RequestOptions] options
|
2832
|
+
# Request-specific options
|
2833
|
+
#
|
2834
|
+
# @yield [result, err] Result & error if block supplied
|
2835
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Features] parsed result object
|
2836
|
+
# @yieldparam err [StandardError] error object if request failed
|
2837
|
+
#
|
2838
|
+
# @return [Google::Apis::AdminDirectoryV1::Features]
|
2839
|
+
#
|
2840
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2841
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2842
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2843
|
+
def list_resource_features(customer, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2844
|
+
command = make_simple_command(:get, 'customer/{customer}/resources/features', options)
|
2845
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Features::Representation
|
2846
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Features
|
2847
|
+
command.params['customer'] = customer unless customer.nil?
|
2848
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2849
|
+
command.query['fields'] = fields unless fields.nil?
|
2850
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2851
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2852
|
+
execute_or_queue_command(command, &block)
|
2853
|
+
end
|
2854
|
+
|
2855
|
+
# Updates a feature. This method supports patch semantics.
|
2856
|
+
# @param [String] customer
|
2857
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2858
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2859
|
+
# @param [String] feature_key
|
2860
|
+
# The unique ID of the feature to update.
|
2861
|
+
# @param [Google::Apis::AdminDirectoryV1::Feature] feature_object
|
2862
|
+
# @param [String] fields
|
2863
|
+
# Selector specifying which fields to include in a partial response.
|
2864
|
+
# @param [String] quota_user
|
2865
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2866
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2867
|
+
# Overrides userIp if both are provided.
|
2868
|
+
# @param [String] user_ip
|
2869
|
+
# IP address of the site where the request originates. Use this if you want to
|
2870
|
+
# enforce per-user limits.
|
2871
|
+
# @param [Google::Apis::RequestOptions] options
|
2872
|
+
# Request-specific options
|
2873
|
+
#
|
2874
|
+
# @yield [result, err] Result & error if block supplied
|
2875
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Feature] parsed result object
|
2876
|
+
# @yieldparam err [StandardError] error object if request failed
|
2877
|
+
#
|
2878
|
+
# @return [Google::Apis::AdminDirectoryV1::Feature]
|
2879
|
+
#
|
2880
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2881
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2882
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2883
|
+
def patch_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2884
|
+
command = make_simple_command(:patch, 'customer/{customer}/resources/features/{featureKey}', options)
|
2885
|
+
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
2886
|
+
command.request_object = feature_object
|
2887
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
2888
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Feature
|
2889
|
+
command.params['customer'] = customer unless customer.nil?
|
2890
|
+
command.params['featureKey'] = feature_key unless feature_key.nil?
|
2891
|
+
command.query['fields'] = fields unless fields.nil?
|
2892
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2893
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2894
|
+
execute_or_queue_command(command, &block)
|
2895
|
+
end
|
2896
|
+
|
2897
|
+
# Renames a feature.
|
2898
|
+
# @param [String] customer
|
2899
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2900
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2901
|
+
# @param [String] old_name
|
2902
|
+
# The unique ID of the feature to rename.
|
2903
|
+
# @param [Google::Apis::AdminDirectoryV1::FeatureRename] feature_rename_object
|
2904
|
+
# @param [String] fields
|
2905
|
+
# Selector specifying which fields to include in a partial response.
|
2906
|
+
# @param [String] quota_user
|
2907
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2908
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2909
|
+
# Overrides userIp if both are provided.
|
2910
|
+
# @param [String] user_ip
|
2911
|
+
# IP address of the site where the request originates. Use this if you want to
|
2912
|
+
# enforce per-user limits.
|
2913
|
+
# @param [Google::Apis::RequestOptions] options
|
2914
|
+
# Request-specific options
|
2915
|
+
#
|
2916
|
+
# @yield [result, err] Result & error if block supplied
|
2917
|
+
# @yieldparam result [NilClass] No result returned for this method
|
2918
|
+
# @yieldparam err [StandardError] error object if request failed
|
2919
|
+
#
|
2920
|
+
# @return [void]
|
2921
|
+
#
|
2922
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2923
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2924
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2925
|
+
def rename_resource_feature(customer, old_name, feature_rename_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2926
|
+
command = make_simple_command(:post, 'customer/{customer}/resources/features/{oldName}/rename', options)
|
2927
|
+
command.request_representation = Google::Apis::AdminDirectoryV1::FeatureRename::Representation
|
2928
|
+
command.request_object = feature_rename_object
|
2929
|
+
command.params['customer'] = customer unless customer.nil?
|
2930
|
+
command.params['oldName'] = old_name unless old_name.nil?
|
2931
|
+
command.query['fields'] = fields unless fields.nil?
|
2932
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2933
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2934
|
+
execute_or_queue_command(command, &block)
|
2935
|
+
end
|
2936
|
+
|
2937
|
+
# Updates a feature.
|
2938
|
+
# @param [String] customer
|
2939
|
+
# The unique ID for the customer's G Suite account. As an account administrator,
|
2940
|
+
# you can also use the my_customer alias to represent your account's customer ID.
|
2941
|
+
# @param [String] feature_key
|
2942
|
+
# The unique ID of the feature to update.
|
2943
|
+
# @param [Google::Apis::AdminDirectoryV1::Feature] feature_object
|
2944
|
+
# @param [String] fields
|
2945
|
+
# Selector specifying which fields to include in a partial response.
|
2946
|
+
# @param [String] quota_user
|
2947
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2948
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2949
|
+
# Overrides userIp if both are provided.
|
2950
|
+
# @param [String] user_ip
|
2951
|
+
# IP address of the site where the request originates. Use this if you want to
|
2952
|
+
# enforce per-user limits.
|
2953
|
+
# @param [Google::Apis::RequestOptions] options
|
2954
|
+
# Request-specific options
|
2955
|
+
#
|
2956
|
+
# @yield [result, err] Result & error if block supplied
|
2957
|
+
# @yieldparam result [Google::Apis::AdminDirectoryV1::Feature] parsed result object
|
2958
|
+
# @yieldparam err [StandardError] error object if request failed
|
2959
|
+
#
|
2960
|
+
# @return [Google::Apis::AdminDirectoryV1::Feature]
|
2961
|
+
#
|
2962
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2963
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2964
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2965
|
+
def update_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2966
|
+
command = make_simple_command(:put, 'customer/{customer}/resources/features/{featureKey}', options)
|
2967
|
+
command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
2968
|
+
command.request_object = feature_object
|
2969
|
+
command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
|
2970
|
+
command.response_class = Google::Apis::AdminDirectoryV1::Feature
|
2971
|
+
command.params['customer'] = customer unless customer.nil?
|
2972
|
+
command.params['featureKey'] = feature_key unless feature_key.nil?
|
2973
|
+
command.query['fields'] = fields unless fields.nil?
|
2974
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2975
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2976
|
+
execute_or_queue_command(command, &block)
|
2977
|
+
end
|
2978
|
+
|
2451
2979
|
# Deletes a role assignment.
|
2452
2980
|
# @param [String] customer
|
2453
2981
|
# Immutable ID of the G Suite account.
|