test/plugin/constants.rb in fluent-plugin-google-cloud-0.7.12 vs test/plugin/constants.rb in fluent-plugin-google-cloud-0.7.13
- old
+ new
@@ -230,9 +230,17 @@
INVALID_CREDENTIALS = {
path: 'test/plugin/data/invalid_credentials.json',
project_id: ''
}.freeze
+ # Special googleauth environment variables.
+ PROJECT_ID_VAR = 'GOOGLE_PROJECT_ID'.freeze
+ PRIVATE_KEY_VAR = 'GOOGLE_PRIVATE_KEY'.freeze
+ CLIENT_EMAIL_VAR = 'GOOGLE_CLIENT_EMAIL'.freeze
+ CLIENT_ID_VAR = 'GOOGLE_CLIENT_ID'.freeze
+ CLIENT_SECRET_VAR = 'GOOGLE_CLIENT_SECRET'.freeze
+ REFRESH_TOKEN_VAR = 'GOOGLE_REFRESH_TOKEN'.freeze
+
# Configuration files for various test scenarios.
APPLICATION_DEFAULT_CONFIG = %(
).freeze
CUSTOM_LOGGING_API_URL_CONFIG = %(