GceToken: Token for use on Google Compute Engine instances

Description Details Super classes Methods

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

Inherited 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 documentation built on July 2, 2021, 5:07 p.m.