Learn R Programming

gargle (version 1.2.1)

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

Arguments

Super classes

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

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.

Details

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