Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requester-Pays bucket support. #3406

Merged
merged 6 commits into from
Jul 9, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Put defaults back, remove unused import.
  • Loading branch information
jean-philippe-martin committed Jun 29, 2018
commit af4e4c5d11f39a0a8691e4169e02b4c59a64a1c5
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,10 @@ public static final class Builder {
private boolean stripPrefixSlash = true;
private boolean usePseudoDirectories = true;
private int blockSize = CloudStorageFileSystem.BLOCK_SIZE_DEFAULT;
// default: 0
private int maxChannelReopens;
// default: null
private @Nullable String userProject;
private int maxChannelReopens = 0;
private @Nullable String userProject = null;
// This of this as "clear userProject if not RequesterPays"
// default: false
private boolean useUserProjectOnlyForRequesterPaysBuckets;
private boolean useUserProjectOnlyForRequesterPaysBuckets = false;

/**
* Changes current working directory for new filesystem. This defaults to the root directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import com.google.cloud.storage.StorageOptions;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.MoreObjects;
import com.google.common.base.Strings;
import com.google.common.collect.AbstractIterator;
import com.google.common.net.UrlEscapers;
import com.google.common.primitives.Ints;
Expand Down