(cls, info, **kwargs)
return cls._from_signer_and_info(signer, info, **kwargs)
Creates an OnDemandCredentials instance from a dictionary.

        Args:
            info (Mapping[str, str]): The service account info in Google
                format.
            kwargs: Additional arguments to pass to the constructor.

        Returns:
            google.auth.jwt.OnDemandCredentials: The constructed credentials.

        Raises:
            ValueError: If the info is not in the expected format.
Creates an OnDemandCredentials instance from a dictionary.
Creates an OnDemandCredentials instance from a dictionary .
def from_service_account_info(cls, info, **kwargs):
        """Creates an OnDemandCredentials instance from a dictionary.

        Args:
            info (Mapping[str, str]): The service account info in Google
                format.
            kwargs: Additional arguments to pass to the constructor.

        Returns:
            google.auth.jwt.OnDemandCredentials: The constructed credentials.

        Raises:
            ValueError: If the info is not in the expected format.
        """
        signer = _service_account_info.from_dict(info, require=["client_email"])
        return cls._from_signer_and_info(signer, info, **kwargs)
def from_service_account_info ( cls , info , * * kwargs ) : signer = _service_account_info . from_dict ( info , require = [ "client_email" ] ) return cls . _from_signer_and_info ( signer , info , * * kwargs )