GceToken | R Documentation |
Token for use on Google Compute Engine instances
Token for use on Google Compute Engine instances
This class uses the metadata service available on GCE VMs to fetch access
tokens. Not intended for direct use. See credentials_gce()
instead.
httr::Token
-> httr::Token2.0
-> GceToken
new()
Get an access for a GCE service account.
GceToken$new(params)
params
A list of parameters for fetch_gce_access_token()
.
A GceToken.
init_credentials()
Request an access token.
GceToken$init_credentials()
refresh()
Refreshes the token. In this case, that just means "ask again for an access token".
GceToken$refresh()
can_refresh()
Placeholder implementation of required method. Returns TRUE
.
GceToken$can_refresh()
format()
Format a GceToken()
.
GceToken$format(...)
...
Not used.
print()
Print a GceToken()
.
GceToken$print(...)
...
Not used.
cache()
Placeholder implementation of required method.
GceToken$cache()
load_from_cache()
Placeholder implementation of required method.
GceToken$load_from_cache()
revoke()
Placeholder implementation of required method.
GceToken$revoke()
validate()
Placeholder implementation of required method
GceToken$validate()
clone()
The objects of this class are cloneable with this method.
GceToken$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.