@@ -68,9 +68,9 @@ export class ServiceAccountCredential implements Credential {
6868 /**
6969 * Creates a new ServiceAccountCredential from the given parameters.
7070 *
71- * @param serviceAccountPathOrObject Service account json object or path to a service account json file.
72- * @param httpAgent Optional http.Agent to use when calling the remote token server.
73- * @param implicit An optinal boolean indicating whether this credential was implicitly discovered from the
71+ * @param serviceAccountPathOrObject - Service account json object or path to a service account json file.
72+ * @param httpAgent - Optional http.Agent to use when calling the remote token server.
73+ * @param implicit - An optinal boolean indicating whether this credential was implicitly discovered from the
7474 * environment, as opposed to being explicitly specified by the developer.
7575 *
7676 * @constructor
@@ -248,10 +248,11 @@ export class RefreshTokenCredential implements Credential {
248248 /**
249249 * Creates a new RefreshTokenCredential from the given parameters.
250250 *
251- * @param refreshTokenPathOrObject Refresh token json object or path to a refresh token (user credentials) json file.
252- * @param httpAgent Optional http.Agent to use when calling the remote token server.
253- * @param implicit An optinal boolean indicating whether this credential was implicitly discovered from the
254- * environment, as opposed to being explicitly specified by the developer.
251+ * @param refreshTokenPathOrObject - Refresh token json object or path to a refresh token
252+ * (user credentials) json file.
253+ * @param httpAgent - Optional http.Agent to use when calling the remote token server.
254+ * @param implicit - An optinal boolean indicating whether this credential was implicitly
255+ * discovered from the environment, as opposed to being explicitly specified by the developer.
255256 *
256257 * @constructor
257258 */
@@ -338,7 +339,7 @@ class RefreshToken {
338339 * instances that were loaded from well-known files or environment variables, rather than being explicitly
339340 * instantiated.
340341 *
341- * @param credential The credential instance to check.
342+ * @param credential - The credential instance to check.
342343 */
343344export function isApplicationDefault ( credential ?: Credential ) : boolean {
344345 return credential instanceof ComputeEngineCredential ||
@@ -368,10 +369,10 @@ export function getApplicationDefault(httpAgent?: Agent): Credential {
368369 * If no property exists by the given "key", looks for a property identified by "alt", and copies it instead.
369370 * This can be used to implement behaviors such as "copy property myKey or my_key".
370371 *
371- * @param to Target object to copy the property into.
372- * @param from Source object to copy the property from.
373- * @param key Name of the property to copy.
374- * @param alt Alternative name of the property to copy.
372+ * @param to - Target object to copy the property into.
373+ * @param from - Source object to copy the property from.
374+ * @param key - Name of the property to copy.
375+ * @param alt - Alternative name of the property to copy.
375376 */
376377function copyAttr ( to : { [ key : string ] : any } , from : { [ key : string ] : any } , key : string , alt : string ) : void {
377378 const tmp = from [ key ] || from [ alt ] ;
0 commit comments