Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GceToken

Token for use on Google Compute Engine instances


Description

Token for use on Google Compute Engine instances

Token for use on Google Compute Engine instances

Details

This class uses the metadata service available on GCE VMs to fetch access tokens. Not intended for direct use. See credentials_gce() instead.

Super classes

httr::Token -> httr::Token2.0 -> GceToken

Methods

Public methods


Method print()

Print token

Usage
GceToken$print(...)
Arguments
...

Not used.


Method init_credentials()

Placeholder implementation of required method

Usage
GceToken$init_credentials()

Method cache()

Placeholder implementation of required method

Usage
GceToken$cache(...)
Arguments
...

Not used.


Method load_from_cache()

Placeholder implementation of required method

Usage
GceToken$load_from_cache(...)
Arguments
...

Not used.


Method can_refresh()

Placeholder implementation of required method

Usage
GceToken$can_refresh()

Method refresh()

Refresh a GCE token

Usage
GceToken$refresh()

Method revoke()

Placeholder implementation of required method

Usage
GceToken$revoke()

Method clone()

The objects of this class are cloneable with this method.

Usage
GceToken$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


gargle

Utilities for Working with Google APIs

v1.1.0
MIT + file LICENSE
Authors
Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), Craig Citro [aut], Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Google Inc [cph], RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.