google-apis-storage_v1 0.10.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,9 +60,6 @@ module Google
60
60
  # @param [String] entity
61
61
  # The entity holding the permission. Can be user-userId, user-emailAddress,
62
62
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
63
- # @param [String] provisional_user_project
64
- # The project to be billed for this request if the target bucket is requester-
65
- # pays bucket.
66
63
  # @param [String] user_project
67
64
  # The project to be billed for this request. Required for Requester Pays buckets.
68
65
  # @param [String] fields
@@ -84,11 +81,10 @@ module Google
84
81
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
85
82
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
86
83
  # @raise [Google::Apis::AuthorizationError] Authorization is required
87
- def delete_bucket_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
84
+ def delete_bucket_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
88
85
  command = make_simple_command(:delete, 'b/{bucket}/acl/{entity}', options)
89
86
  command.params['bucket'] = bucket unless bucket.nil?
90
87
  command.params['entity'] = entity unless entity.nil?
91
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
92
88
  command.query['userProject'] = user_project unless user_project.nil?
93
89
  command.query['fields'] = fields unless fields.nil?
94
90
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -102,9 +98,6 @@ module Google
102
98
  # @param [String] entity
103
99
  # The entity holding the permission. Can be user-userId, user-emailAddress,
104
100
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
105
- # @param [String] provisional_user_project
106
- # The project to be billed for this request if the target bucket is requester-
107
- # pays bucket.
108
101
  # @param [String] user_project
109
102
  # The project to be billed for this request. Required for Requester Pays buckets.
110
103
  # @param [String] fields
@@ -126,13 +119,12 @@ module Google
126
119
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
127
120
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
128
121
  # @raise [Google::Apis::AuthorizationError] Authorization is required
129
- def get_bucket_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
122
+ def get_bucket_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
130
123
  command = make_simple_command(:get, 'b/{bucket}/acl/{entity}', options)
131
124
  command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
132
125
  command.response_class = Google::Apis::StorageV1::BucketAccessControl
133
126
  command.params['bucket'] = bucket unless bucket.nil?
134
127
  command.params['entity'] = entity unless entity.nil?
135
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
136
128
  command.query['userProject'] = user_project unless user_project.nil?
137
129
  command.query['fields'] = fields unless fields.nil?
138
130
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -144,9 +136,6 @@ module Google
144
136
  # @param [String] bucket
145
137
  # Name of a bucket.
146
138
  # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object
147
- # @param [String] provisional_user_project
148
- # The project to be billed for this request if the target bucket is requester-
149
- # pays bucket.
150
139
  # @param [String] user_project
151
140
  # The project to be billed for this request. Required for Requester Pays buckets.
152
141
  # @param [String] fields
@@ -168,14 +157,13 @@ module Google
168
157
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
169
158
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
170
159
  # @raise [Google::Apis::AuthorizationError] Authorization is required
171
- def insert_bucket_access_control(bucket, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
160
+ def insert_bucket_access_control(bucket, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
172
161
  command = make_simple_command(:post, 'b/{bucket}/acl', options)
173
162
  command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
174
163
  command.request_object = bucket_access_control_object
175
164
  command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
176
165
  command.response_class = Google::Apis::StorageV1::BucketAccessControl
177
166
  command.params['bucket'] = bucket unless bucket.nil?
178
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
179
167
  command.query['userProject'] = user_project unless user_project.nil?
180
168
  command.query['fields'] = fields unless fields.nil?
181
169
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -186,9 +174,6 @@ module Google
186
174
  # Retrieves ACL entries on the specified bucket.
187
175
  # @param [String] bucket
188
176
  # Name of a bucket.
189
- # @param [String] provisional_user_project
190
- # The project to be billed for this request if the target bucket is requester-
191
- # pays bucket.
192
177
  # @param [String] user_project
193
178
  # The project to be billed for this request. Required for Requester Pays buckets.
194
179
  # @param [String] fields
@@ -210,12 +195,11 @@ module Google
210
195
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
211
196
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
212
197
  # @raise [Google::Apis::AuthorizationError] Authorization is required
213
- def list_bucket_access_controls(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
198
+ def list_bucket_access_controls(bucket, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
214
199
  command = make_simple_command(:get, 'b/{bucket}/acl', options)
215
200
  command.response_representation = Google::Apis::StorageV1::BucketAccessControls::Representation
216
201
  command.response_class = Google::Apis::StorageV1::BucketAccessControls
217
202
  command.params['bucket'] = bucket unless bucket.nil?
218
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
219
203
  command.query['userProject'] = user_project unless user_project.nil?
220
204
  command.query['fields'] = fields unless fields.nil?
221
205
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -230,9 +214,6 @@ module Google
230
214
  # The entity holding the permission. Can be user-userId, user-emailAddress,
231
215
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
232
216
  # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object
233
- # @param [String] provisional_user_project
234
- # The project to be billed for this request if the target bucket is requester-
235
- # pays bucket.
236
217
  # @param [String] user_project
237
218
  # The project to be billed for this request. Required for Requester Pays buckets.
238
219
  # @param [String] fields
@@ -254,7 +235,7 @@ module Google
254
235
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
255
236
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
256
237
  # @raise [Google::Apis::AuthorizationError] Authorization is required
257
- def patch_bucket_access_control(bucket, entity, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
238
+ def patch_bucket_access_control(bucket, entity, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
258
239
  command = make_simple_command(:patch, 'b/{bucket}/acl/{entity}', options)
259
240
  command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
260
241
  command.request_object = bucket_access_control_object
@@ -262,7 +243,6 @@ module Google
262
243
  command.response_class = Google::Apis::StorageV1::BucketAccessControl
263
244
  command.params['bucket'] = bucket unless bucket.nil?
264
245
  command.params['entity'] = entity unless entity.nil?
265
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
266
246
  command.query['userProject'] = user_project unless user_project.nil?
267
247
  command.query['fields'] = fields unless fields.nil?
268
248
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -277,9 +257,6 @@ module Google
277
257
  # The entity holding the permission. Can be user-userId, user-emailAddress,
278
258
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
279
259
  # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object
280
- # @param [String] provisional_user_project
281
- # The project to be billed for this request if the target bucket is requester-
282
- # pays bucket.
283
260
  # @param [String] user_project
284
261
  # The project to be billed for this request. Required for Requester Pays buckets.
285
262
  # @param [String] fields
@@ -301,7 +278,7 @@ module Google
301
278
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
302
279
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
303
280
  # @raise [Google::Apis::AuthorizationError] Authorization is required
304
- def update_bucket_access_control(bucket, entity, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
281
+ def update_bucket_access_control(bucket, entity, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
305
282
  command = make_simple_command(:put, 'b/{bucket}/acl/{entity}', options)
306
283
  command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
307
284
  command.request_object = bucket_access_control_object
@@ -309,7 +286,6 @@ module Google
309
286
  command.response_class = Google::Apis::StorageV1::BucketAccessControl
310
287
  command.params['bucket'] = bucket unless bucket.nil?
311
288
  command.params['entity'] = entity unless entity.nil?
312
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
313
289
  command.query['userProject'] = user_project unless user_project.nil?
314
290
  command.query['fields'] = fields unless fields.nil?
315
291
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -325,9 +301,6 @@ module Google
325
301
  # @param [Fixnum] if_metageneration_not_match
326
302
  # If set, only deletes the bucket if its metageneration does not match this
327
303
  # value.
328
- # @param [String] provisional_user_project
329
- # The project to be billed for this request if the target bucket is requester-
330
- # pays bucket.
331
304
  # @param [String] user_project
332
305
  # The project to be billed for this request. Required for Requester Pays buckets.
333
306
  # @param [String] fields
@@ -349,12 +322,11 @@ module Google
349
322
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
350
323
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
351
324
  # @raise [Google::Apis::AuthorizationError] Authorization is required
352
- def delete_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
325
+ def delete_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
353
326
  command = make_simple_command(:delete, 'b/{bucket}', options)
354
327
  command.params['bucket'] = bucket unless bucket.nil?
355
328
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
356
329
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
357
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
358
330
  command.query['userProject'] = user_project unless user_project.nil?
359
331
  command.query['fields'] = fields unless fields.nil?
360
332
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -373,9 +345,6 @@ module Google
373
345
  # current metageneration does not match the given value.
374
346
  # @param [String] projection
375
347
  # Set of properties to return. Defaults to noAcl.
376
- # @param [String] provisional_user_project
377
- # The project to be billed for this request if the target bucket is requester-
378
- # pays bucket.
379
348
  # @param [String] user_project
380
349
  # The project to be billed for this request. Required for Requester Pays buckets.
381
350
  # @param [String] fields
@@ -397,7 +366,7 @@ module Google
397
366
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
398
367
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
399
368
  # @raise [Google::Apis::AuthorizationError] Authorization is required
400
- def get_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
369
+ def get_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
401
370
  command = make_simple_command(:get, 'b/{bucket}', options)
402
371
  command.response_representation = Google::Apis::StorageV1::Bucket::Representation
403
372
  command.response_class = Google::Apis::StorageV1::Bucket
@@ -405,7 +374,6 @@ module Google
405
374
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
406
375
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
407
376
  command.query['projection'] = projection unless projection.nil?
408
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
409
377
  command.query['userProject'] = user_project unless user_project.nil?
410
378
  command.query['fields'] = fields unless fields.nil?
411
379
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -420,9 +388,6 @@ module Google
420
388
  # The IAM policy format version to be returned. If the
421
389
  # optionsRequestedPolicyVersion is for an older version that doesn't support
422
390
  # part of the requested IAM policy, the request fails.
423
- # @param [String] provisional_user_project
424
- # The project to be billed for this request if the target bucket is requester-
425
- # pays bucket.
426
391
  # @param [String] user_project
427
392
  # The project to be billed for this request. Required for Requester Pays buckets.
428
393
  # @param [String] fields
@@ -444,13 +409,12 @@ module Google
444
409
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
445
410
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
446
411
  # @raise [Google::Apis::AuthorizationError] Authorization is required
447
- def get_bucket_iam_policy(bucket, options_requested_policy_version: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
412
+ def get_bucket_iam_policy(bucket, options_requested_policy_version: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
448
413
  command = make_simple_command(:get, 'b/{bucket}/iam', options)
449
414
  command.response_representation = Google::Apis::StorageV1::Policy::Representation
450
415
  command.response_class = Google::Apis::StorageV1::Policy
451
416
  command.params['bucket'] = bucket unless bucket.nil?
452
417
  command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
453
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
454
418
  command.query['userProject'] = user_project unless user_project.nil?
455
419
  command.query['fields'] = fields unless fields.nil?
456
420
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -469,9 +433,6 @@ module Google
469
433
  # @param [String] projection
470
434
  # Set of properties to return. Defaults to noAcl, unless the bucket resource
471
435
  # specifies acl or defaultObjectAcl properties, when it defaults to full.
472
- # @param [String] provisional_user_project
473
- # The project to be billed for this request if the target bucket is requester-
474
- # pays bucket.
475
436
  # @param [String] user_project
476
437
  # The project to be billed for this request.
477
438
  # @param [String] fields
@@ -493,7 +454,7 @@ module Google
493
454
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
494
455
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
495
456
  # @raise [Google::Apis::AuthorizationError] Authorization is required
496
- def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
457
+ def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
497
458
  command = make_simple_command(:post, 'b', options)
498
459
  command.request_representation = Google::Apis::StorageV1::Bucket::Representation
499
460
  command.request_object = bucket_object
@@ -503,7 +464,6 @@ module Google
503
464
  command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
504
465
  command.query['project'] = project unless project.nil?
505
466
  command.query['projection'] = projection unless projection.nil?
506
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
507
467
  command.query['userProject'] = user_project unless user_project.nil?
508
468
  command.query['fields'] = fields unless fields.nil?
509
469
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -524,9 +484,6 @@ module Google
524
484
  # Filter results to buckets whose names begin with this prefix.
525
485
  # @param [String] projection
526
486
  # Set of properties to return. Defaults to noAcl.
527
- # @param [String] provisional_user_project
528
- # The project to be billed for this request if the target bucket is requester-
529
- # pays bucket.
530
487
  # @param [String] user_project
531
488
  # The project to be billed for this request.
532
489
  # @param [String] fields
@@ -548,7 +505,7 @@ module Google
548
505
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
549
506
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
550
507
  # @raise [Google::Apis::AuthorizationError] Authorization is required
551
- def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
508
+ def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
552
509
  command = make_simple_command(:get, 'b', options)
553
510
  command.response_representation = Google::Apis::StorageV1::Buckets::Representation
554
511
  command.response_class = Google::Apis::StorageV1::Buckets
@@ -557,7 +514,6 @@ module Google
557
514
  command.query['prefix'] = prefix unless prefix.nil?
558
515
  command.query['project'] = project unless project.nil?
559
516
  command.query['projection'] = projection unless projection.nil?
560
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
561
517
  command.query['userProject'] = user_project unless user_project.nil?
562
518
  command.query['fields'] = fields unless fields.nil?
563
519
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -571,9 +527,6 @@ module Google
571
527
  # @param [Fixnum] if_metageneration_match
572
528
  # Makes the operation conditional on whether bucket's current metageneration
573
529
  # matches the given value.
574
- # @param [String] provisional_user_project
575
- # The project to be billed for this request if the target bucket is requester-
576
- # pays bucket.
577
530
  # @param [String] user_project
578
531
  # The project to be billed for this request. Required for Requester Pays buckets.
579
532
  # @param [String] fields
@@ -595,13 +548,12 @@ module Google
595
548
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
596
549
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
597
550
  # @raise [Google::Apis::AuthorizationError] Authorization is required
598
- def lock_bucket_retention_policy(bucket, if_metageneration_match, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
551
+ def lock_bucket_retention_policy(bucket, if_metageneration_match, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
599
552
  command = make_simple_command(:post, 'b/{bucket}/lockRetentionPolicy', options)
600
553
  command.response_representation = Google::Apis::StorageV1::Bucket::Representation
601
554
  command.response_class = Google::Apis::StorageV1::Bucket
602
555
  command.params['bucket'] = bucket unless bucket.nil?
603
556
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
604
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
605
557
  command.query['userProject'] = user_project unless user_project.nil?
606
558
  command.query['fields'] = fields unless fields.nil?
607
559
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -626,9 +578,6 @@ module Google
626
578
  # Apply a predefined set of default object access controls to this bucket.
627
579
  # @param [String] projection
628
580
  # Set of properties to return. Defaults to full.
629
- # @param [String] provisional_user_project
630
- # The project to be billed for this request if the target bucket is requester-
631
- # pays bucket.
632
581
  # @param [String] user_project
633
582
  # The project to be billed for this request. Required for Requester Pays buckets.
634
583
  # @param [String] fields
@@ -650,7 +599,7 @@ module Google
650
599
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
651
600
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
652
601
  # @raise [Google::Apis::AuthorizationError] Authorization is required
653
- def patch_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
602
+ def patch_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
654
603
  command = make_simple_command(:patch, 'b/{bucket}', options)
655
604
  command.request_representation = Google::Apis::StorageV1::Bucket::Representation
656
605
  command.request_object = bucket_object
@@ -662,7 +611,6 @@ module Google
662
611
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
663
612
  command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
664
613
  command.query['projection'] = projection unless projection.nil?
665
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
666
614
  command.query['userProject'] = user_project unless user_project.nil?
667
615
  command.query['fields'] = fields unless fields.nil?
668
616
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -674,9 +622,6 @@ module Google
674
622
  # @param [String] bucket
675
623
  # Name of a bucket.
676
624
  # @param [Google::Apis::StorageV1::Policy] policy_object
677
- # @param [String] provisional_user_project
678
- # The project to be billed for this request if the target bucket is requester-
679
- # pays bucket.
680
625
  # @param [String] user_project
681
626
  # The project to be billed for this request. Required for Requester Pays buckets.
682
627
  # @param [String] fields
@@ -698,14 +643,13 @@ module Google
698
643
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
699
644
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
700
645
  # @raise [Google::Apis::AuthorizationError] Authorization is required
701
- def set_bucket_iam_policy(bucket, policy_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
646
+ def set_bucket_iam_policy(bucket, policy_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
702
647
  command = make_simple_command(:put, 'b/{bucket}/iam', options)
703
648
  command.request_representation = Google::Apis::StorageV1::Policy::Representation
704
649
  command.request_object = policy_object
705
650
  command.response_representation = Google::Apis::StorageV1::Policy::Representation
706
651
  command.response_class = Google::Apis::StorageV1::Policy
707
652
  command.params['bucket'] = bucket unless bucket.nil?
708
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
709
653
  command.query['userProject'] = user_project unless user_project.nil?
710
654
  command.query['fields'] = fields unless fields.nil?
711
655
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -719,9 +663,6 @@ module Google
719
663
  # Name of a bucket.
720
664
  # @param [Array<String>, String] permissions
721
665
  # Permissions to test.
722
- # @param [String] provisional_user_project
723
- # The project to be billed for this request if the target bucket is requester-
724
- # pays bucket.
725
666
  # @param [String] user_project
726
667
  # The project to be billed for this request. Required for Requester Pays buckets.
727
668
  # @param [String] fields
@@ -743,13 +684,12 @@ module Google
743
684
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744
685
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
686
  # @raise [Google::Apis::AuthorizationError] Authorization is required
746
- def test_bucket_iam_permissions(bucket, permissions, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
687
+ def test_bucket_iam_permissions(bucket, permissions, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
747
688
  command = make_simple_command(:get, 'b/{bucket}/iam/testPermissions', options)
748
689
  command.response_representation = Google::Apis::StorageV1::TestIamPermissionsResponse::Representation
749
690
  command.response_class = Google::Apis::StorageV1::TestIamPermissionsResponse
750
691
  command.params['bucket'] = bucket unless bucket.nil?
751
692
  command.query['permissions'] = permissions unless permissions.nil?
752
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
753
693
  command.query['userProject'] = user_project unless user_project.nil?
754
694
  command.query['fields'] = fields unless fields.nil?
755
695
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -774,9 +714,6 @@ module Google
774
714
  # Apply a predefined set of default object access controls to this bucket.
775
715
  # @param [String] projection
776
716
  # Set of properties to return. Defaults to full.
777
- # @param [String] provisional_user_project
778
- # The project to be billed for this request if the target bucket is requester-
779
- # pays bucket.
780
717
  # @param [String] user_project
781
718
  # The project to be billed for this request. Required for Requester Pays buckets.
782
719
  # @param [String] fields
@@ -798,7 +735,7 @@ module Google
798
735
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
799
736
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
800
737
  # @raise [Google::Apis::AuthorizationError] Authorization is required
801
- def update_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
738
+ def update_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
802
739
  command = make_simple_command(:put, 'b/{bucket}', options)
803
740
  command.request_representation = Google::Apis::StorageV1::Bucket::Representation
804
741
  command.request_object = bucket_object
@@ -810,7 +747,6 @@ module Google
810
747
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
811
748
  command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
812
749
  command.query['projection'] = projection unless projection.nil?
813
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
814
750
  command.query['userProject'] = user_project unless user_project.nil?
815
751
  command.query['fields'] = fields unless fields.nil?
816
752
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -856,9 +792,6 @@ module Google
856
792
  # @param [String] entity
857
793
  # The entity holding the permission. Can be user-userId, user-emailAddress,
858
794
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
859
- # @param [String] provisional_user_project
860
- # The project to be billed for this request if the target bucket is requester-
861
- # pays bucket.
862
795
  # @param [String] user_project
863
796
  # The project to be billed for this request. Required for Requester Pays buckets.
864
797
  # @param [String] fields
@@ -880,11 +813,10 @@ module Google
880
813
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
881
814
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
882
815
  # @raise [Google::Apis::AuthorizationError] Authorization is required
883
- def delete_default_object_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
816
+ def delete_default_object_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
884
817
  command = make_simple_command(:delete, 'b/{bucket}/defaultObjectAcl/{entity}', options)
885
818
  command.params['bucket'] = bucket unless bucket.nil?
886
819
  command.params['entity'] = entity unless entity.nil?
887
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
888
820
  command.query['userProject'] = user_project unless user_project.nil?
889
821
  command.query['fields'] = fields unless fields.nil?
890
822
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -899,9 +831,6 @@ module Google
899
831
  # @param [String] entity
900
832
  # The entity holding the permission. Can be user-userId, user-emailAddress,
901
833
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
902
- # @param [String] provisional_user_project
903
- # The project to be billed for this request if the target bucket is requester-
904
- # pays bucket.
905
834
  # @param [String] user_project
906
835
  # The project to be billed for this request. Required for Requester Pays buckets.
907
836
  # @param [String] fields
@@ -923,13 +852,12 @@ module Google
923
852
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
924
853
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
925
854
  # @raise [Google::Apis::AuthorizationError] Authorization is required
926
- def get_default_object_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
855
+ def get_default_object_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
927
856
  command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl/{entity}', options)
928
857
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
929
858
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
930
859
  command.params['bucket'] = bucket unless bucket.nil?
931
860
  command.params['entity'] = entity unless entity.nil?
932
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
933
861
  command.query['userProject'] = user_project unless user_project.nil?
934
862
  command.query['fields'] = fields unless fields.nil?
935
863
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -941,9 +869,6 @@ module Google
941
869
  # @param [String] bucket
942
870
  # Name of a bucket.
943
871
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
944
- # @param [String] provisional_user_project
945
- # The project to be billed for this request if the target bucket is requester-
946
- # pays bucket.
947
872
  # @param [String] user_project
948
873
  # The project to be billed for this request. Required for Requester Pays buckets.
949
874
  # @param [String] fields
@@ -965,14 +890,13 @@ module Google
965
890
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
966
891
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
967
892
  # @raise [Google::Apis::AuthorizationError] Authorization is required
968
- def insert_default_object_access_control(bucket, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
893
+ def insert_default_object_access_control(bucket, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
969
894
  command = make_simple_command(:post, 'b/{bucket}/defaultObjectAcl', options)
970
895
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
971
896
  command.request_object = object_access_control_object
972
897
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
973
898
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
974
899
  command.params['bucket'] = bucket unless bucket.nil?
975
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
976
900
  command.query['userProject'] = user_project unless user_project.nil?
977
901
  command.query['fields'] = fields unless fields.nil?
978
902
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -989,9 +913,6 @@ module Google
989
913
  # @param [Fixnum] if_metageneration_not_match
990
914
  # If present, only return default ACL listing if the bucket's current
991
915
  # metageneration does not match the given value.
992
- # @param [String] provisional_user_project
993
- # The project to be billed for this request if the target bucket is requester-
994
- # pays bucket.
995
916
  # @param [String] user_project
996
917
  # The project to be billed for this request. Required for Requester Pays buckets.
997
918
  # @param [String] fields
@@ -1013,14 +934,13 @@ module Google
1013
934
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1014
935
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1015
936
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1016
- def list_default_object_access_controls(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
937
+ def list_default_object_access_controls(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1017
938
  command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl', options)
1018
939
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControls::Representation
1019
940
  command.response_class = Google::Apis::StorageV1::ObjectAccessControls
1020
941
  command.params['bucket'] = bucket unless bucket.nil?
1021
942
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
1022
943
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
1023
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1024
944
  command.query['userProject'] = user_project unless user_project.nil?
1025
945
  command.query['fields'] = fields unless fields.nil?
1026
946
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1035,9 +955,6 @@ module Google
1035
955
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1036
956
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
1037
957
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
1038
- # @param [String] provisional_user_project
1039
- # The project to be billed for this request if the target bucket is requester-
1040
- # pays bucket.
1041
958
  # @param [String] user_project
1042
959
  # The project to be billed for this request. Required for Requester Pays buckets.
1043
960
  # @param [String] fields
@@ -1059,7 +976,7 @@ module Google
1059
976
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1060
977
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1061
978
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1062
- def patch_default_object_access_control(bucket, entity, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
979
+ def patch_default_object_access_control(bucket, entity, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1063
980
  command = make_simple_command(:patch, 'b/{bucket}/defaultObjectAcl/{entity}', options)
1064
981
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1065
982
  command.request_object = object_access_control_object
@@ -1067,7 +984,6 @@ module Google
1067
984
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
1068
985
  command.params['bucket'] = bucket unless bucket.nil?
1069
986
  command.params['entity'] = entity unless entity.nil?
1070
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1071
987
  command.query['userProject'] = user_project unless user_project.nil?
1072
988
  command.query['fields'] = fields unless fields.nil?
1073
989
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1082,9 +998,6 @@ module Google
1082
998
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1083
999
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
1084
1000
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
1085
- # @param [String] provisional_user_project
1086
- # The project to be billed for this request if the target bucket is requester-
1087
- # pays bucket.
1088
1001
  # @param [String] user_project
1089
1002
  # The project to be billed for this request. Required for Requester Pays buckets.
1090
1003
  # @param [String] fields
@@ -1106,7 +1019,7 @@ module Google
1106
1019
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1107
1020
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1108
1021
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1109
- def update_default_object_access_control(bucket, entity, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1022
+ def update_default_object_access_control(bucket, entity, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1110
1023
  command = make_simple_command(:put, 'b/{bucket}/defaultObjectAcl/{entity}', options)
1111
1024
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1112
1025
  command.request_object = object_access_control_object
@@ -1114,7 +1027,6 @@ module Google
1114
1027
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
1115
1028
  command.params['bucket'] = bucket unless bucket.nil?
1116
1029
  command.params['entity'] = entity unless entity.nil?
1117
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1118
1030
  command.query['userProject'] = user_project unless user_project.nil?
1119
1031
  command.query['fields'] = fields unless fields.nil?
1120
1032
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1127,9 +1039,6 @@ module Google
1127
1039
  # The parent bucket of the notification.
1128
1040
  # @param [String] notification
1129
1041
  # ID of the notification to delete.
1130
- # @param [String] provisional_user_project
1131
- # The project to be billed for this request if the target bucket is requester-
1132
- # pays bucket.
1133
1042
  # @param [String] user_project
1134
1043
  # The project to be billed for this request. Required for Requester Pays buckets.
1135
1044
  # @param [String] fields
@@ -1151,11 +1060,10 @@ module Google
1151
1060
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1152
1061
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1153
1062
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1154
- def delete_notification(bucket, notification, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1063
+ def delete_notification(bucket, notification, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1155
1064
  command = make_simple_command(:delete, 'b/{bucket}/notificationConfigs/{notification}', options)
1156
1065
  command.params['bucket'] = bucket unless bucket.nil?
1157
1066
  command.params['notification'] = notification unless notification.nil?
1158
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1159
1067
  command.query['userProject'] = user_project unless user_project.nil?
1160
1068
  command.query['fields'] = fields unless fields.nil?
1161
1069
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1168,9 +1076,6 @@ module Google
1168
1076
  # The parent bucket of the notification.
1169
1077
  # @param [String] notification
1170
1078
  # Notification ID
1171
- # @param [String] provisional_user_project
1172
- # The project to be billed for this request if the target bucket is requester-
1173
- # pays bucket.
1174
1079
  # @param [String] user_project
1175
1080
  # The project to be billed for this request. Required for Requester Pays buckets.
1176
1081
  # @param [String] fields
@@ -1192,13 +1097,12 @@ module Google
1192
1097
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1193
1098
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1194
1099
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1195
- def get_notification(bucket, notification, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1100
+ def get_notification(bucket, notification, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1196
1101
  command = make_simple_command(:get, 'b/{bucket}/notificationConfigs/{notification}', options)
1197
1102
  command.response_representation = Google::Apis::StorageV1::Notification::Representation
1198
1103
  command.response_class = Google::Apis::StorageV1::Notification
1199
1104
  command.params['bucket'] = bucket unless bucket.nil?
1200
1105
  command.params['notification'] = notification unless notification.nil?
1201
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1202
1106
  command.query['userProject'] = user_project unless user_project.nil?
1203
1107
  command.query['fields'] = fields unless fields.nil?
1204
1108
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1210,9 +1114,6 @@ module Google
1210
1114
  # @param [String] bucket
1211
1115
  # The parent bucket of the notification.
1212
1116
  # @param [Google::Apis::StorageV1::Notification] notification_object
1213
- # @param [String] provisional_user_project
1214
- # The project to be billed for this request if the target bucket is requester-
1215
- # pays bucket.
1216
1117
  # @param [String] user_project
1217
1118
  # The project to be billed for this request. Required for Requester Pays buckets.
1218
1119
  # @param [String] fields
@@ -1234,14 +1135,13 @@ module Google
1234
1135
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1235
1136
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1236
1137
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1237
- def insert_notification(bucket, notification_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1138
+ def insert_notification(bucket, notification_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1238
1139
  command = make_simple_command(:post, 'b/{bucket}/notificationConfigs', options)
1239
1140
  command.request_representation = Google::Apis::StorageV1::Notification::Representation
1240
1141
  command.request_object = notification_object
1241
1142
  command.response_representation = Google::Apis::StorageV1::Notification::Representation
1242
1143
  command.response_class = Google::Apis::StorageV1::Notification
1243
1144
  command.params['bucket'] = bucket unless bucket.nil?
1244
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1245
1145
  command.query['userProject'] = user_project unless user_project.nil?
1246
1146
  command.query['fields'] = fields unless fields.nil?
1247
1147
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1252,9 +1152,6 @@ module Google
1252
1152
  # Retrieves a list of notification subscriptions for a given bucket.
1253
1153
  # @param [String] bucket
1254
1154
  # Name of a Google Cloud Storage bucket.
1255
- # @param [String] provisional_user_project
1256
- # The project to be billed for this request if the target bucket is requester-
1257
- # pays bucket.
1258
1155
  # @param [String] user_project
1259
1156
  # The project to be billed for this request. Required for Requester Pays buckets.
1260
1157
  # @param [String] fields
@@ -1276,12 +1173,11 @@ module Google
1276
1173
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1277
1174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1278
1175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1279
- def list_notifications(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1176
+ def list_notifications(bucket, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1280
1177
  command = make_simple_command(:get, 'b/{bucket}/notificationConfigs', options)
1281
1178
  command.response_representation = Google::Apis::StorageV1::Notifications::Representation
1282
1179
  command.response_class = Google::Apis::StorageV1::Notifications
1283
1180
  command.params['bucket'] = bucket unless bucket.nil?
1284
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1285
1181
  command.query['userProject'] = user_project unless user_project.nil?
1286
1182
  command.query['fields'] = fields unless fields.nil?
1287
1183
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1302,9 +1198,6 @@ module Google
1302
1198
  # @param [Fixnum] generation
1303
1199
  # If present, selects a specific revision of this object (as opposed to the
1304
1200
  # latest version, the default).
1305
- # @param [String] provisional_user_project
1306
- # The project to be billed for this request if the target bucket is requester-
1307
- # pays bucket.
1308
1201
  # @param [String] user_project
1309
1202
  # The project to be billed for this request. Required for Requester Pays buckets.
1310
1203
  # @param [String] fields
@@ -1326,13 +1219,12 @@ module Google
1326
1219
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1327
1220
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1328
1221
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1329
- def delete_object_access_control(bucket, object, entity, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1222
+ def delete_object_access_control(bucket, object, entity, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1330
1223
  command = make_simple_command(:delete, 'b/{bucket}/o/{object}/acl/{entity}', options)
1331
1224
  command.params['bucket'] = bucket unless bucket.nil?
1332
1225
  command.params['object'] = object unless object.nil?
1333
1226
  command.params['entity'] = entity unless entity.nil?
1334
1227
  command.query['generation'] = generation unless generation.nil?
1335
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1336
1228
  command.query['userProject'] = user_project unless user_project.nil?
1337
1229
  command.query['fields'] = fields unless fields.nil?
1338
1230
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1352,9 +1244,6 @@ module Google
1352
1244
  # @param [Fixnum] generation
1353
1245
  # If present, selects a specific revision of this object (as opposed to the
1354
1246
  # latest version, the default).
1355
- # @param [String] provisional_user_project
1356
- # The project to be billed for this request if the target bucket is requester-
1357
- # pays bucket.
1358
1247
  # @param [String] user_project
1359
1248
  # The project to be billed for this request. Required for Requester Pays buckets.
1360
1249
  # @param [String] fields
@@ -1376,7 +1265,7 @@ module Google
1376
1265
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1377
1266
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1378
1267
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1379
- def get_object_access_control(bucket, object, entity, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1268
+ def get_object_access_control(bucket, object, entity, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1380
1269
  command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl/{entity}', options)
1381
1270
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1382
1271
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
@@ -1384,7 +1273,6 @@ module Google
1384
1273
  command.params['object'] = object unless object.nil?
1385
1274
  command.params['entity'] = entity unless entity.nil?
1386
1275
  command.query['generation'] = generation unless generation.nil?
1387
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1388
1276
  command.query['userProject'] = user_project unless user_project.nil?
1389
1277
  command.query['fields'] = fields unless fields.nil?
1390
1278
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1402,9 +1290,6 @@ module Google
1402
1290
  # @param [Fixnum] generation
1403
1291
  # If present, selects a specific revision of this object (as opposed to the
1404
1292
  # latest version, the default).
1405
- # @param [String] provisional_user_project
1406
- # The project to be billed for this request if the target bucket is requester-
1407
- # pays bucket.
1408
1293
  # @param [String] user_project
1409
1294
  # The project to be billed for this request. Required for Requester Pays buckets.
1410
1295
  # @param [String] fields
@@ -1426,7 +1311,7 @@ module Google
1426
1311
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1427
1312
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1428
1313
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1429
- def insert_object_access_control(bucket, object, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1314
+ def insert_object_access_control(bucket, object, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1430
1315
  command = make_simple_command(:post, 'b/{bucket}/o/{object}/acl', options)
1431
1316
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1432
1317
  command.request_object = object_access_control_object
@@ -1435,7 +1320,6 @@ module Google
1435
1320
  command.params['bucket'] = bucket unless bucket.nil?
1436
1321
  command.params['object'] = object unless object.nil?
1437
1322
  command.query['generation'] = generation unless generation.nil?
1438
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1439
1323
  command.query['userProject'] = user_project unless user_project.nil?
1440
1324
  command.query['fields'] = fields unless fields.nil?
1441
1325
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1452,9 +1336,6 @@ module Google
1452
1336
  # @param [Fixnum] generation
1453
1337
  # If present, selects a specific revision of this object (as opposed to the
1454
1338
  # latest version, the default).
1455
- # @param [String] provisional_user_project
1456
- # The project to be billed for this request if the target bucket is requester-
1457
- # pays bucket.
1458
1339
  # @param [String] user_project
1459
1340
  # The project to be billed for this request. Required for Requester Pays buckets.
1460
1341
  # @param [String] fields
@@ -1476,14 +1357,13 @@ module Google
1476
1357
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1477
1358
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1478
1359
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1479
- def list_object_access_controls(bucket, object, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1360
+ def list_object_access_controls(bucket, object, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1480
1361
  command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl', options)
1481
1362
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControls::Representation
1482
1363
  command.response_class = Google::Apis::StorageV1::ObjectAccessControls
1483
1364
  command.params['bucket'] = bucket unless bucket.nil?
1484
1365
  command.params['object'] = object unless object.nil?
1485
1366
  command.query['generation'] = generation unless generation.nil?
1486
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1487
1367
  command.query['userProject'] = user_project unless user_project.nil?
1488
1368
  command.query['fields'] = fields unless fields.nil?
1489
1369
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1504,9 +1384,6 @@ module Google
1504
1384
  # @param [Fixnum] generation
1505
1385
  # If present, selects a specific revision of this object (as opposed to the
1506
1386
  # latest version, the default).
1507
- # @param [String] provisional_user_project
1508
- # The project to be billed for this request if the target bucket is requester-
1509
- # pays bucket.
1510
1387
  # @param [String] user_project
1511
1388
  # The project to be billed for this request. Required for Requester Pays buckets.
1512
1389
  # @param [String] fields
@@ -1528,7 +1405,7 @@ module Google
1528
1405
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1529
1406
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1530
1407
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1531
- def patch_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1408
+ def patch_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1532
1409
  command = make_simple_command(:patch, 'b/{bucket}/o/{object}/acl/{entity}', options)
1533
1410
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1534
1411
  command.request_object = object_access_control_object
@@ -1538,7 +1415,6 @@ module Google
1538
1415
  command.params['object'] = object unless object.nil?
1539
1416
  command.params['entity'] = entity unless entity.nil?
1540
1417
  command.query['generation'] = generation unless generation.nil?
1541
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1542
1418
  command.query['userProject'] = user_project unless user_project.nil?
1543
1419
  command.query['fields'] = fields unless fields.nil?
1544
1420
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1559,9 +1435,6 @@ module Google
1559
1435
  # @param [Fixnum] generation
1560
1436
  # If present, selects a specific revision of this object (as opposed to the
1561
1437
  # latest version, the default).
1562
- # @param [String] provisional_user_project
1563
- # The project to be billed for this request if the target bucket is requester-
1564
- # pays bucket.
1565
1438
  # @param [String] user_project
1566
1439
  # The project to be billed for this request. Required for Requester Pays buckets.
1567
1440
  # @param [String] fields
@@ -1583,7 +1456,7 @@ module Google
1583
1456
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1584
1457
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1585
1458
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1586
- def update_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1459
+ def update_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1587
1460
  command = make_simple_command(:put, 'b/{bucket}/o/{object}/acl/{entity}', options)
1588
1461
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1589
1462
  command.request_object = object_access_control_object
@@ -1593,7 +1466,6 @@ module Google
1593
1466
  command.params['object'] = object unless object.nil?
1594
1467
  command.params['entity'] = entity unless entity.nil?
1595
1468
  command.query['generation'] = generation unless generation.nil?
1596
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1597
1469
  command.query['userProject'] = user_project unless user_project.nil?
1598
1470
  command.query['fields'] = fields unless fields.nil?
1599
1471
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1622,9 +1494,6 @@ module Google
1622
1494
  # Resource name of the Cloud KMS key, of the form projects/my-project/locations/
1623
1495
  # global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the
1624
1496
  # object. Overrides the object metadata's kms_key_name value, if any.
1625
- # @param [String] provisional_user_project
1626
- # The project to be billed for this request if the target bucket is requester-
1627
- # pays bucket.
1628
1497
  # @param [String] user_project
1629
1498
  # The project to be billed for this request. Required for Requester Pays buckets.
1630
1499
  # @param [String] fields
@@ -1646,7 +1515,7 @@ module Google
1646
1515
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1647
1516
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1648
1517
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1649
- def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1518
+ def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1650
1519
  command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options)
1651
1520
  command.request_representation = Google::Apis::StorageV1::ComposeRequest::Representation
1652
1521
  command.request_object = compose_request_object
@@ -1658,7 +1527,6 @@ module Google
1658
1527
  command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
1659
1528
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
1660
1529
  command.query['kmsKeyName'] = kms_key_name unless kms_key_name.nil?
1661
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1662
1530
  command.query['userProject'] = user_project unless user_project.nil?
1663
1531
  command.query['fields'] = fields unless fields.nil?
1664
1532
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1716,9 +1584,6 @@ module Google
1716
1584
  # @param [String] projection
1717
1585
  # Set of properties to return. Defaults to noAcl, unless the object resource
1718
1586
  # specifies the acl property, when it defaults to full.
1719
- # @param [String] provisional_user_project
1720
- # The project to be billed for this request if the target bucket is requester-
1721
- # pays bucket.
1722
1587
  # @param [Fixnum] source_generation
1723
1588
  # If present, selects a specific revision of the source object (as opposed to
1724
1589
  # the latest version, the default).
@@ -1743,7 +1608,7 @@ module Google
1743
1608
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1744
1609
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1745
1610
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1746
- def copy_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1611
+ def copy_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, projection: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1747
1612
  command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', options)
1748
1613
  command.request_representation = Google::Apis::StorageV1::Object::Representation
1749
1614
  command.request_object = object_object
@@ -1764,7 +1629,6 @@ module Google
1764
1629
  command.query['ifSourceMetagenerationMatch'] = if_source_metageneration_match unless if_source_metageneration_match.nil?
1765
1630
  command.query['ifSourceMetagenerationNotMatch'] = if_source_metageneration_not_match unless if_source_metageneration_not_match.nil?
1766
1631
  command.query['projection'] = projection unless projection.nil?
1767
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1768
1632
  command.query['sourceGeneration'] = source_generation unless source_generation.nil?
1769
1633
  command.query['userProject'] = user_project unless user_project.nil?
1770
1634
  command.query['fields'] = fields unless fields.nil?
@@ -1798,9 +1662,6 @@ module Google
1798
1662
  # @param [Fixnum] if_metageneration_not_match
1799
1663
  # Makes the operation conditional on whether the object's current metageneration
1800
1664
  # does not match the given value.
1801
- # @param [String] provisional_user_project
1802
- # The project to be billed for this request if the target bucket is requester-
1803
- # pays bucket.
1804
1665
  # @param [String] user_project
1805
1666
  # The project to be billed for this request. Required for Requester Pays buckets.
1806
1667
  # @param [String] fields
@@ -1822,7 +1683,7 @@ module Google
1822
1683
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1823
1684
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1824
1685
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1825
- def delete_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1686
+ def delete_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1826
1687
  command = make_simple_command(:delete, 'b/{bucket}/o/{object}', options)
1827
1688
  command.params['bucket'] = bucket unless bucket.nil?
1828
1689
  command.params['object'] = object unless object.nil?
@@ -1831,7 +1692,6 @@ module Google
1831
1692
  command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
1832
1693
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
1833
1694
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
1834
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1835
1695
  command.query['userProject'] = user_project unless user_project.nil?
1836
1696
  command.query['fields'] = fields unless fields.nil?
1837
1697
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1865,9 +1725,6 @@ module Google
1865
1725
  # does not match the given value.
1866
1726
  # @param [String] projection
1867
1727
  # Set of properties to return. Defaults to noAcl.
1868
- # @param [String] provisional_user_project
1869
- # The project to be billed for this request if the target bucket is requester-
1870
- # pays bucket.
1871
1728
  # @param [String] user_project
1872
1729
  # The project to be billed for this request. Required for Requester Pays buckets.
1873
1730
  # @param [String] fields
@@ -1891,7 +1748,7 @@ module Google
1891
1748
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1892
1749
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1893
1750
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1894
- def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1751
+ def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1895
1752
  if download_dest.nil?
1896
1753
  command = make_simple_command(:get, 'b/{bucket}/o/{object}', options)
1897
1754
  else
@@ -1908,7 +1765,6 @@ module Google
1908
1765
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
1909
1766
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
1910
1767
  command.query['projection'] = projection unless projection.nil?
1911
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1912
1768
  command.query['userProject'] = user_project unless user_project.nil?
1913
1769
  command.query['fields'] = fields unless fields.nil?
1914
1770
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1925,9 +1781,6 @@ module Google
1925
1781
  # @param [Fixnum] generation
1926
1782
  # If present, selects a specific revision of this object (as opposed to the
1927
1783
  # latest version, the default).
1928
- # @param [String] provisional_user_project
1929
- # The project to be billed for this request if the target bucket is requester-
1930
- # pays bucket.
1931
1784
  # @param [String] user_project
1932
1785
  # The project to be billed for this request. Required for Requester Pays buckets.
1933
1786
  # @param [String] fields
@@ -1949,14 +1802,13 @@ module Google
1949
1802
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1950
1803
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1951
1804
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1952
- def get_object_iam_policy(bucket, object, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1805
+ def get_object_iam_policy(bucket, object, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1953
1806
  command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam', options)
1954
1807
  command.response_representation = Google::Apis::StorageV1::Policy::Representation
1955
1808
  command.response_class = Google::Apis::StorageV1::Policy
1956
1809
  command.params['bucket'] = bucket unless bucket.nil?
1957
1810
  command.params['object'] = object unless object.nil?
1958
1811
  command.query['generation'] = generation unless generation.nil?
1959
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1960
1812
  command.query['userProject'] = user_project unless user_project.nil?
1961
1813
  command.query['fields'] = fields unless fields.nil?
1962
1814
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2003,9 +1855,6 @@ module Google
2003
1855
  # @param [String] projection
2004
1856
  # Set of properties to return. Defaults to noAcl, unless the object resource
2005
1857
  # specifies the acl property, when it defaults to full.
2006
- # @param [String] provisional_user_project
2007
- # The project to be billed for this request if the target bucket is requester-
2008
- # pays bucket.
2009
1858
  # @param [String] user_project
2010
1859
  # The project to be billed for this request. Required for Requester Pays buckets.
2011
1860
  # @param [String] fields
@@ -2031,7 +1880,7 @@ module Google
2031
1880
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2032
1881
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2033
1882
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2034
- def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, kms_key_name: nil, name: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1883
+ def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, kms_key_name: nil, name: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
2035
1884
  if upload_source.nil?
2036
1885
  command = make_simple_command(:post, 'b/{bucket}/o', options)
2037
1886
  else
@@ -2053,7 +1902,6 @@ module Google
2053
1902
  command.query['name'] = name unless name.nil?
2054
1903
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
2055
1904
  command.query['projection'] = projection unless projection.nil?
2056
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2057
1905
  command.query['userProject'] = user_project unless user_project.nil?
2058
1906
  command.query['fields'] = fields unless fields.nil?
2059
1907
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2089,9 +1937,6 @@ module Google
2089
1937
  # Filter results to objects whose names begin with this prefix.
2090
1938
  # @param [String] projection
2091
1939
  # Set of properties to return. Defaults to noAcl.
2092
- # @param [String] provisional_user_project
2093
- # The project to be billed for this request if the target bucket is requester-
2094
- # pays bucket.
2095
1940
  # @param [String] start_offset
2096
1941
  # Filter results to objects whose names are lexicographically equal to or after
2097
1942
  # startOffset. If endOffset is also set, the objects listed will have names
@@ -2120,7 +1965,7 @@ module Google
2120
1965
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2121
1966
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2122
1967
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2123
- def list_objects(bucket, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1968
+ def list_objects(bucket, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2124
1969
  command = make_simple_command(:get, 'b/{bucket}/o', options)
2125
1970
  command.response_representation = Google::Apis::StorageV1::Objects::Representation
2126
1971
  command.response_class = Google::Apis::StorageV1::Objects
@@ -2132,7 +1977,6 @@ module Google
2132
1977
  command.query['pageToken'] = page_token unless page_token.nil?
2133
1978
  command.query['prefix'] = prefix unless prefix.nil?
2134
1979
  command.query['projection'] = projection unless projection.nil?
2135
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2136
1980
  command.query['startOffset'] = start_offset unless start_offset.nil?
2137
1981
  command.query['userProject'] = user_project unless user_project.nil?
2138
1982
  command.query['versions'] = versions unless versions.nil?
@@ -2171,9 +2015,6 @@ module Google
2171
2015
  # Apply a predefined set of access controls to this object.
2172
2016
  # @param [String] projection
2173
2017
  # Set of properties to return. Defaults to full.
2174
- # @param [String] provisional_user_project
2175
- # The project to be billed for this request if the target bucket is requester-
2176
- # pays bucket.
2177
2018
  # @param [String] user_project
2178
2019
  # The project to be billed for this request, for Requester Pays buckets.
2179
2020
  # @param [String] fields
@@ -2195,7 +2036,7 @@ module Google
2195
2036
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2196
2037
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2197
2038
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2198
- def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2039
+ def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2199
2040
  command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
2200
2041
  command.request_representation = Google::Apis::StorageV1::Object::Representation
2201
2042
  command.request_object = object_object
@@ -2210,7 +2051,6 @@ module Google
2210
2051
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
2211
2052
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
2212
2053
  command.query['projection'] = projection unless projection.nil?
2213
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2214
2054
  command.query['userProject'] = user_project unless user_project.nil?
2215
2055
  command.query['fields'] = fields unless fields.nil?
2216
2056
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2277,9 +2117,6 @@ module Google
2277
2117
  # @param [String] projection
2278
2118
  # Set of properties to return. Defaults to noAcl, unless the object resource
2279
2119
  # specifies the acl property, when it defaults to full.
2280
- # @param [String] provisional_user_project
2281
- # The project to be billed for this request if the target bucket is requester-
2282
- # pays bucket.
2283
2120
  # @param [String] rewrite_token
2284
2121
  # Include this field (from the previous rewrite response) on each rewrite
2285
2122
  # request after the first one, until the rewrite response 'done' flag is true.
@@ -2310,7 +2147,7 @@ module Google
2310
2147
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2311
2148
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2312
2149
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2313
- def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, max_bytes_rewritten_per_call: nil, projection: nil, provisional_user_project: nil, rewrite_token: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2150
+ def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, max_bytes_rewritten_per_call: nil, projection: nil, rewrite_token: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2314
2151
  command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', options)
2315
2152
  command.request_representation = Google::Apis::StorageV1::Object::Representation
2316
2153
  command.request_object = object_object
@@ -2332,7 +2169,6 @@ module Google
2332
2169
  command.query['ifSourceMetagenerationNotMatch'] = if_source_metageneration_not_match unless if_source_metageneration_not_match.nil?
2333
2170
  command.query['maxBytesRewrittenPerCall'] = max_bytes_rewritten_per_call unless max_bytes_rewritten_per_call.nil?
2334
2171
  command.query['projection'] = projection unless projection.nil?
2335
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2336
2172
  command.query['rewriteToken'] = rewrite_token unless rewrite_token.nil?
2337
2173
  command.query['sourceGeneration'] = source_generation unless source_generation.nil?
2338
2174
  command.query['userProject'] = user_project unless user_project.nil?
@@ -2352,9 +2188,6 @@ module Google
2352
2188
  # @param [Fixnum] generation
2353
2189
  # If present, selects a specific revision of this object (as opposed to the
2354
2190
  # latest version, the default).
2355
- # @param [String] provisional_user_project
2356
- # The project to be billed for this request if the target bucket is requester-
2357
- # pays bucket.
2358
2191
  # @param [String] user_project
2359
2192
  # The project to be billed for this request. Required for Requester Pays buckets.
2360
2193
  # @param [String] fields
@@ -2376,7 +2209,7 @@ module Google
2376
2209
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2377
2210
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2378
2211
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2379
- def set_object_iam_policy(bucket, object, policy_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2212
+ def set_object_iam_policy(bucket, object, policy_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2380
2213
  command = make_simple_command(:put, 'b/{bucket}/o/{object}/iam', options)
2381
2214
  command.request_representation = Google::Apis::StorageV1::Policy::Representation
2382
2215
  command.request_object = policy_object
@@ -2385,7 +2218,6 @@ module Google
2385
2218
  command.params['bucket'] = bucket unless bucket.nil?
2386
2219
  command.params['object'] = object unless object.nil?
2387
2220
  command.query['generation'] = generation unless generation.nil?
2388
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2389
2221
  command.query['userProject'] = user_project unless user_project.nil?
2390
2222
  command.query['fields'] = fields unless fields.nil?
2391
2223
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2405,9 +2237,6 @@ module Google
2405
2237
  # @param [Fixnum] generation
2406
2238
  # If present, selects a specific revision of this object (as opposed to the
2407
2239
  # latest version, the default).
2408
- # @param [String] provisional_user_project
2409
- # The project to be billed for this request if the target bucket is requester-
2410
- # pays bucket.
2411
2240
  # @param [String] user_project
2412
2241
  # The project to be billed for this request. Required for Requester Pays buckets.
2413
2242
  # @param [String] fields
@@ -2429,7 +2258,7 @@ module Google
2429
2258
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2430
2259
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2431
2260
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2432
- def test_object_iam_permissions(bucket, object, permissions, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2261
+ def test_object_iam_permissions(bucket, object, permissions, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2433
2262
  command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam/testPermissions', options)
2434
2263
  command.response_representation = Google::Apis::StorageV1::TestIamPermissionsResponse::Representation
2435
2264
  command.response_class = Google::Apis::StorageV1::TestIamPermissionsResponse
@@ -2437,7 +2266,6 @@ module Google
2437
2266
  command.params['object'] = object unless object.nil?
2438
2267
  command.query['generation'] = generation unless generation.nil?
2439
2268
  command.query['permissions'] = permissions unless permissions.nil?
2440
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2441
2269
  command.query['userProject'] = user_project unless user_project.nil?
2442
2270
  command.query['fields'] = fields unless fields.nil?
2443
2271
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2474,9 +2302,6 @@ module Google
2474
2302
  # Apply a predefined set of access controls to this object.
2475
2303
  # @param [String] projection
2476
2304
  # Set of properties to return. Defaults to full.
2477
- # @param [String] provisional_user_project
2478
- # The project to be billed for this request if the target bucket is requester-
2479
- # pays bucket.
2480
2305
  # @param [String] user_project
2481
2306
  # The project to be billed for this request. Required for Requester Pays buckets.
2482
2307
  # @param [String] fields
@@ -2498,7 +2323,7 @@ module Google
2498
2323
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2499
2324
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2500
2325
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2501
- def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2326
+ def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2502
2327
  command = make_simple_command(:put, 'b/{bucket}/o/{object}', options)
2503
2328
  command.request_representation = Google::Apis::StorageV1::Object::Representation
2504
2329
  command.request_object = object_object
@@ -2513,7 +2338,6 @@ module Google
2513
2338
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
2514
2339
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
2515
2340
  command.query['projection'] = projection unless projection.nil?
2516
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2517
2341
  command.query['userProject'] = user_project unless user_project.nil?
2518
2342
  command.query['fields'] = fields unless fields.nil?
2519
2343
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2550,9 +2374,6 @@ module Google
2550
2374
  # Filter results to objects whose names begin with this prefix.
2551
2375
  # @param [String] projection
2552
2376
  # Set of properties to return. Defaults to noAcl.
2553
- # @param [String] provisional_user_project
2554
- # The project to be billed for this request if the target bucket is requester-
2555
- # pays bucket.
2556
2377
  # @param [String] start_offset
2557
2378
  # Filter results to objects whose names are lexicographically equal to or after
2558
2379
  # startOffset. If endOffset is also set, the objects listed will have names
@@ -2581,7 +2402,7 @@ module Google
2581
2402
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2582
2403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2583
2404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2584
- def watch_all_objects(bucket, channel_object = nil, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2405
+ def watch_all_objects(bucket, channel_object = nil, delimiter: nil, end_offset: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, start_offset: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2585
2406
  command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
2586
2407
  command.request_representation = Google::Apis::StorageV1::Channel::Representation
2587
2408
  command.request_object = channel_object
@@ -2595,7 +2416,6 @@ module Google
2595
2416
  command.query['pageToken'] = page_token unless page_token.nil?
2596
2417
  command.query['prefix'] = prefix unless prefix.nil?
2597
2418
  command.query['projection'] = projection unless projection.nil?
2598
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2599
2419
  command.query['startOffset'] = start_offset unless start_offset.nil?
2600
2420
  command.query['userProject'] = user_project unless user_project.nil?
2601
2421
  command.query['versions'] = versions unless versions.nil?
@@ -2819,9 +2639,6 @@ module Google
2819
2639
  # Get the email address of this project's Google Cloud Storage service account.
2820
2640
  # @param [String] project_id
2821
2641
  # Project ID
2822
- # @param [String] provisional_user_project
2823
- # The project to be billed for this request if the target bucket is requester-
2824
- # pays bucket.
2825
2642
  # @param [String] user_project
2826
2643
  # The project to be billed for this request.
2827
2644
  # @param [String] fields
@@ -2843,12 +2660,11 @@ module Google
2843
2660
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2844
2661
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2845
2662
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2846
- def get_project_service_account(project_id, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2663
+ def get_project_service_account(project_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2847
2664
  command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options)
2848
2665
  command.response_representation = Google::Apis::StorageV1::ServiceAccount::Representation
2849
2666
  command.response_class = Google::Apis::StorageV1::ServiceAccount
2850
2667
  command.params['projectId'] = project_id unless project_id.nil?
2851
- command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2852
2668
  command.query['userProject'] = user_project unless user_project.nil?
2853
2669
  command.query['fields'] = fields unless fields.nil?
2854
2670
  command.query['quotaUser'] = quota_user unless quota_user.nil?