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

feat: quota_project can be set via library configuration #7630

Merged
merged 1 commit into from Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions google-cloud-bigtable/lib/google-cloud-bigtable.rb
Expand Up @@ -166,6 +166,7 @@ def self.bigtable project_id: nil, credentials: nil, scope: nil, timeout: nil
],
allow_nil: true
config.add_field! :scope, default_scopes, match: [String, Array]
config.add_field! :quota_project, nil, match: String
config.add_field! :timeout, nil, match: Integer
config.add_field! :emulator_host, default_emulator, match: String, allow_nil: true
config.add_field! :endpoint, "bigtable.googleapis.com", match: String
Expand Down
1 change: 1 addition & 0 deletions google-cloud-datastore/lib/google-cloud-datastore.rb
Expand Up @@ -145,6 +145,7 @@ def self.datastore project_id = nil, credentials = nil, scope: nil,
config.add_field! :credentials, default_creds, match: [String, Hash, Google::Auth::Credentials], allow_nil: true
config.add_alias! :keyfile, :credentials
config.add_field! :scope, default_scopes, match: [String, Array]
config.add_field! :quota_project, nil, match: String
config.add_field! :timeout, nil, match: Integer
config.add_field! :emulator_host, default_emulator, match: String, allow_nil: true
config.add_field! :endpoint, "datastore.googleapis.com", match: String
Expand Down
1 change: 1 addition & 0 deletions google-cloud-debugger/lib/google-cloud-debugger.rb
Expand Up @@ -173,6 +173,7 @@ def self.debugger project_id = nil, credentials = nil, service_name: nil,
config.add_field! :app_root, nil, match: String
config.add_field! :root, nil, match: String
config.add_field! :scope, default_scopes, match: [String, Array]
config.add_field! :quota_project, nil, match: String
config.add_field! :timeout, nil, match: Integer
config.add_field! :endpoint, "clouddebugger.googleapis.com", match: String
config.add_field! :allow_mutating_methods, false
Expand Down
Expand Up @@ -150,6 +150,7 @@ def self.error_reporting project_id = nil, credentials = nil, scope: nil, timeou
allow_nil: true
config.add_alias! :keyfile, :credentials
config.add_field! :scope, default_scopes, match: [String, Array]
config.add_field! :quota_project, nil, match: String
config.add_field! :timeout, nil, match: Integer
config.add_field! :endpoint, "clouderrorreporting.googleapis.com", match: String
config.add_field! :service_name, default_service,
Expand Down
1 change: 1 addition & 0 deletions google-cloud-firestore/lib/google-cloud-firestore.rb
Expand Up @@ -125,6 +125,7 @@ def self.firestore project_id = nil, credentials = nil, scope: nil, timeout: nil
config.add_field! :credentials, default_creds, match: [String, Hash, Google::Auth::Credentials], allow_nil: true
config.add_alias! :keyfile, :credentials
config.add_field! :scope, default_scopes, match: [String, Array]
config.add_field! :quota_project, nil, match: String
config.add_field! :timeout, nil, match: Integer
config.add_field! :emulator_host, default_emulator, match: String, allow_nil: true
config.add_field! :endpoint, "firestore.googleapis.com", match: String
Expand Down
1 change: 1 addition & 0 deletions google-cloud-logging/lib/google-cloud-logging.rb
Expand Up @@ -147,6 +147,7 @@ def self.logging project_id = nil, credentials = nil, scope: nil, timeout: nil
allow_nil: true
config.add_alias! :keyfile, :credentials
config.add_field! :scope, default_scopes, match: [String, Array]
config.add_field! :quota_project, nil, match: String
config.add_field! :timeout, nil, match: Integer
config.add_field! :endpoint, "logging.googleapis.com", match: String
config.add_field! :log_name, nil, match: String
Expand Down
1 change: 1 addition & 0 deletions google-cloud-pubsub/lib/google-cloud-pubsub.rb
Expand Up @@ -132,6 +132,7 @@ def self.pubsub project_id = nil,
config.add_field! :credentials, default_creds, match: [String, Hash, Google::Auth::Credentials], allow_nil: true
config.add_alias! :keyfile, :credentials
config.add_field! :scope, default_scopes, match: [String, Array]
config.add_field! :quota_project, nil, match: String
config.add_field! :timeout, nil, match: Integer
config.add_field! :emulator_host, default_emulator, match: String, allow_nil: true
config.add_field! :on_error, nil, match: Proc
Expand Down
1 change: 1 addition & 0 deletions google-cloud-spanner/lib/google-cloud-spanner.rb
Expand Up @@ -174,6 +174,7 @@ def self.spanner project_id = nil, credentials = nil, scope: nil,
allow_nil: true
config.add_alias! :keyfile, :credentials
config.add_field! :scope, default_scopes, match: [String, Array]
config.add_field! :quota_project, nil, match: String
config.add_field! :timeout, nil, match: Integer
config.add_field! :endpoint, "spanner.googleapis.com", match: String
config.add_field! :emulator_host, default_emulator, match: String, allow_nil: true
Expand Down