…d into method arguments (#386)
As the previous PR #382 and #379.
I find several other samples that have the tendencies of including tightly coupled
variable for each of specific method. Hence I think it will be better to pass it as an argument instead of simply using local variable inside of the method.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-bigquery/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)