ganalytics (version 0.10.7)

GaCreds: Authentication credentials for Google Analytics API queries.

Description

Get or set the authentication credentials for a Google Analytics query object.

Usage

GaCreds(object = "GANALYTICS", value = NULL, ...)

GaCreds(object) <- value

# S4 method for .query,list GaCreds(object, value)

# S4 method for .query,ANY GaCreds(object)

# S4 method for character,ANY GaCreds(object = "GANALYTICS", value = NULL, ...)

# S4 method for missing,ANY GaCreds(object = "GANALYTICS", value = NULL, ...)

# S4 method for .query,list GaCreds(object) <- value

Arguments

object

The object to get the credentials from.

value

The replacement credentials for the supplied query object.

...

other arguments pass to GoogleApiCreds.

Methods (by class)

  • object = .query,value = list: Return the query with the supplied authentication credentials supplied.

  • object = .query,value = ANY: Return the credentials used within the supplied query.

  • object = character,value = ANY: Create a set of authentication credentials using the supplied application name.

  • object = missing,value = ANY: Return default authentication credentials.

  • object = .query,value = list: Replace the authentication credentials of a query.