def METHOD_NAME(cls, crypto_key_name, crypto_key_full_name,
              crypto_key_parent_type_name, crypto_key_type, json_string):
    """Returns a new CryptoKey object from a JSON object.
    Args:
        crypto_key_name (str): The unique Cryptokey id.
        crypto_key_full_name (str): The Cryptokey full name.
        crypto_key_parent_type_name (str): The Cryptokey parent type name.
        crypto_key_type (str): The Cryptokey type name.
        json_string(str): JSON string of a Cryptokey GCP API response.
    Returns:
       CryptoKey: A new CryptoKey object.
    """
    key_dict = json.loads(json_string)
    return cls(
        crypto_key_name=crypto_key_name,
        crypto_key_full_name=crypto_key_full_name,
        crypto_key_parent_type_name=crypto_key_parent_type_name,
        crypto_key_type=crypto_key_type,
        primary_version=key_dict.get('primary', {}),
        purpose=key_dict.get('purpose'),
        create_time=key_dict.get('createTime'),
        next_rotation_time=key_dict.get('nextRotationTime'),
        version_template=key_dict.get('versionTemplate', {}),
        labels=key_dict.get('labels', {}),
        rotation_period=key_dict.get('rotationPeriod'),
        data=json.dumps(key_dict, sort_keys=True),
    )