Class: Google::Auth::GCECredentials
- Inherits:
-
Object
- Object
- Google::Auth::GCECredentials
- Defined in:
- lib/firebase/admin/gce.rb
Overview
Patches GCECredentials to lookup the project id using the metadata service when on compute engine.
Instance Method Summary collapse
-
#project_id ⇒ Object
The compute engine project id.
Instance Method Details
#project_id ⇒ Object
The compute engine project id
14 15 16 |
# File 'lib/firebase/admin/gce.rb', line 14 def project_id @project_id ||= fetch_project_id end |