@@ -3363,6 +3363,16 @@ PostPolicyV4 generateSignedPostPolicyV4(
|
3363 | 3363 | * Acl acl = storage.getAcl(bucketName, new User(userEmail), userProjectOption);
|
3364 | 3364 | * }</pre>
|
3365 | 3365 | *
|
| 3366 | +* <h4>Behavioral Differences between HTTP and gRPC</h4> |
| 3367 | +* |
| 3368 | +* <ol> |
| 3369 | +* <li>Calling this method for a Bucket which has <a target="_blank" rel="noopener noreferrer" |
| 3370 | +* href="https://cloud.google.com/storage/docs/uniform-bucket-level-access">Uniform |
| 3371 | +* bucket-level access</a> enabled exhibits different behavior Depending on which {@link |
| 3372 | +* Transport} is used. For JSON, an HTTP 400 Bad Request error will be thrown. Whereas for |
| 3373 | +* gRPC, an empty list will be returned. |
| 3374 | +* </ol> |
| 3375 | +* |
3366 | 3376 | * @param bucket name of the bucket where the getAcl operation takes place
|
3367 | 3377 | * @param entity ACL entity to fetch
|
3368 | 3378 | * @param options extra parameters to apply to this operation
|
@@ -3496,6 +3506,16 @@ PostPolicyV4 generateSignedPostPolicyV4(
|
3496 | 3506 | * }
|
3497 | 3507 | * }</pre>
|
3498 | 3508 | *
|
| 3509 | +* <h4>Behavioral Differences between HTTP and gRPC</h4> |
| 3510 | +* |
| 3511 | +* <ol> |
| 3512 | +* <li>Calling this method for a Bucket which has <a target="_blank" rel="noopener noreferrer" |
| 3513 | +* href="https://cloud.google.com/storage/docs/uniform-bucket-level-access">Uniform |
| 3514 | +* bucket-level access</a> enabled exhibits different behavior Depending on which {@link |
| 3515 | +* Transport} is used. For JSON, an HTTP 400 Bad Request error will be thrown. Whereas for |
| 3516 | +* gRPC, an empty list will be returned. |
| 3517 | +* </ol> |
| 3518 | +* |
3499 | 3519 | * @param bucket the name of the bucket to list ACLs for
|
3500 | 3520 | * @param options any number of BucketSourceOptions to apply to this operation
|
3501 | 3521 | * @throws StorageException upon failure
|
@@ -3521,6 +3541,16 @@ PostPolicyV4 generateSignedPostPolicyV4(
|
3521 | 3541 | * Acl acl = storage.getDefaultAcl(bucketName, User.ofAllAuthenticatedUsers());
|
3522 | 3542 | * }</pre>
|
3523 | 3543 | *
|
| 3544 | +* <h4>Behavioral Differences between HTTP and gRPC</h4> |
| 3545 | +* |
| 3546 | +* <ol> |
| 3547 | +* <li>Calling this method for a Bucket which has <a target="_blank" rel="noopener noreferrer" |
| 3548 | +* href="https://cloud.google.com/storage/docs/uniform-bucket-level-access">Uniform |
| 3549 | +* bucket-level access</a> enabled exhibits different behavior Depending on which {@link |
| 3550 | +* Transport} is used. For JSON, an HTTP 400 Bad Request error will be thrown. Whereas for |
| 3551 | +* gRPC, an empty list will be returned. |
| 3552 | +* </ol> |
| 3553 | +* |
3524 | 3554 | * @throws StorageException upon failure
|
3525 | 3555 | */
|
3526 | 3556 | @TransportCompatibility({Transport.HTTP, Transport.GRPC})
|
@@ -3604,6 +3634,16 @@ PostPolicyV4 generateSignedPostPolicyV4(
|
3604 | 3634 | * }
|
3605 | 3635 | * }</pre>
|
3606 | 3636 | *
|
| 3637 | +* <h4>Behavioral Differences between HTTP and gRPC</h4> |
| 3638 | +* |
| 3639 | +* <ol> |
| 3640 | +* <li>Calling this method for a Bucket which has <a target="_blank" rel="noopener noreferrer" |
| 3641 | +* href="https://cloud.google.com/storage/docs/uniform-bucket-level-access">Uniform |
| 3642 | +* bucket-level access</a> enabled exhibits different behavior Depending on which {@link |
| 3643 | +* Transport} is used. For JSON, an HTTP 400 Bad Request error will be thrown. Whereas for |
| 3644 | +* gRPC, an empty list will be returned. |
| 3645 | +* </ol> |
| 3646 | +* |
3607 | 3647 | * @throws StorageException upon failure
|
3608 | 3648 | */
|
3609 | 3649 | @TransportCompatibility({Transport.HTTP, Transport.GRPC})
|
|
0 commit comments