Class GSCredentials


  • public class GSCredentials
    extends ProviderCredentials
    Class to contain the Google Storage (GS) credentials of a user.
    Author:
    Google developers
    • Constructor Detail

      • GSCredentials

        public GSCredentials​(String accessKey,
                             String secretKey)
        Construct credentials.
        Parameters:
        accessKey - Access key for a Google Storage account.
        secretKey - Secret key for a Google Storage account.
      • GSCredentials

        public GSCredentials​(String accessKey,
                             String secretKey,
                             String friendlyName)
        Construct credentials, and associate them with a human-friendly name.
        Parameters:
        accessKey - Access key for a Google Storage account.
        secretKey - Secret key for a Google Storage account.
        friendlyName - a name identifying the owner of the credentials, such as 'James'.